[go: up one dir, main page]

WO2018153256A1 - Procédé et appareil d'accélération d'accès à une ressource dynamique, support et dispositif - Google Patents

Procédé et appareil d'accélération d'accès à une ressource dynamique, support et dispositif Download PDF

Info

Publication number
WO2018153256A1
WO2018153256A1 PCT/CN2018/075540 CN2018075540W WO2018153256A1 WO 2018153256 A1 WO2018153256 A1 WO 2018153256A1 CN 2018075540 W CN2018075540 W CN 2018075540W WO 2018153256 A1 WO2018153256 A1 WO 2018153256A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
result
stored
target
mapping
Prior art date
Application number
PCT/CN2018/075540
Other languages
English (en)
Chinese (zh)
Inventor
丛磊
Original Assignee
贵州白山云科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 贵州白山云科技有限公司 filed Critical 贵州白山云科技有限公司
Publication of WO2018153256A1 publication Critical patent/WO2018153256A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Definitions

  • the embodiments of the present invention are not limited to the field of communications, and particularly relate to a dynamic resource access acceleration method, apparatus, medium, and device.
  • a Content Delivery Network adds a layer of cache between the source server and the end user of the content provider, including one or more content nodes distributed in each area to provide content to the end user. Faster and less waiting time for access.
  • an embodiment of the present invention provides a dynamic resource access acceleration method, apparatus, medium, and device.
  • the method further includes: when it is determined that the request result corresponding to the mapping request is not stored, or when determining that the request result corresponding to the mapping request is stored and the duration of the request result storage is greater than a preset duration, obtaining the location from the target website After the request result of the request target is stored, the result of the request is stored as a result of the request corresponding to the mapping request, and the result of the request is sent to the user corresponding to the user identifier.
  • the method further includes: determining an association target corresponding to the request target, determining that the user corresponding to the user identifier is a user accepting the recommendation, and generating a mapping request carrying the request target of the target website according to the API request, determining the The request result corresponding to the mapping request is stored, and the duration of the request result storage is less than or equal to the preset duration, and the stored request result corresponding to the mapping request is extracted, and the identifier of the associated target and the corresponding request result are sent to the recommended content as the recommended content.
  • the user corresponding to the user ID determining an association target corresponding to the request target, determining that the user corresponding to the user identifier is a user accepting the recommendation, and generating a mapping request carrying the request target of the target website according to the API request, determining the The request result corresponding to the mapping request is stored, and the duration of the request result storage is less than or equal to the preset duration, and the stored request result corresponding to the mapping request is extracted, and the identifier of the associated target
  • the preset duration is a value between 1 and 1000 milliseconds.
  • the request target is a code for a security.
  • a receiving module configured to receive an application programming interface API request that carries a user identifier and a request target for the target website;
  • a generating module configured to generate, according to the API request, a mapping request for removing related information of the user identifier
  • a storage judging module configured to determine whether a request result corresponding to the mapping request is stored, and whether the duration of the request result storage is less than or equal to a preset duration
  • a processing module configured to: when the determining module determines that the request result corresponding to the mapping request is stored, and the duration of the request result storage is less than or equal to the preset duration, extracting the stored request result corresponding to the mapping request;
  • a sending module configured to return the result of the request to a user corresponding to the user identifier.
  • the above dynamic resource access acceleration device also has the following features:
  • the storage maintenance module is configured to: when it is determined that the request result corresponding to the mapping request is not stored, or to determine that the request result corresponding to the mapping request is stored, and the time length of the request result storage is greater than a preset duration, to the target website After obtaining the request result of the request target, storing the result of the request as a request result corresponding to the mapping request;
  • the sending module is configured to send a newly stored or updated stored request result of the storage maintenance module to a user corresponding to the user identifier.
  • the above dynamic resource access acceleration device also has the following features:
  • the recommendation module is configured to determine an association target corresponding to the request target, and determine that the user corresponding to the user identifier is a user that accepts the recommendation, and generates a mapping request that carries the request target of the target website according to the API request, and determines the The request result corresponding to the mapping request is stored, and the duration of the request result storage is less than or equal to the preset duration, and the stored request result corresponding to the mapping request is extracted; the identifier of the associated target and the corresponding request result are sent to the recommended content as the recommended content. Transmitting module;
  • the sending module is further configured to send the identifier of the associated target and the corresponding request result as the recommended content to the user corresponding to the user identifier.
  • the above dynamic resource access acceleration device also has the following features:
  • the preset duration is a value between 1 and 1000 milliseconds.
  • the above dynamic resource access acceleration device also has the following features:
  • the request target is a code for a security.
  • the embodiment of the invention further provides a computer readable storage medium on which a computer program is stored, the program being implemented by the processor to implement the steps of the above method.
  • Embodiments of the present invention also provide a computer device including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the steps of the method when the program is executed.
  • the embodiment of the invention can effectively accelerate the dynamic resource access based on the API request, and is particularly suitable for the price inquiry of the financial product, can effectively improve the cache hit rate of the user API request, and further improve the cache hit rate. Can improve the response speed of the request.
  • the recommendation function is also added in the embodiment of the present invention, which can improve the intelligence of the service and improve the user experience.
  • Embodiment 1 is a flowchart of a dynamic resource access acceleration method in Embodiment 1;
  • FIG. 2 is a structural diagram of a dynamic resource access acceleration apparatus in Embodiment 2.
  • the main body of execution of this method is a server or a node.
  • the server can be a web server, a CDN content node server, or a server in a cloud computing service platform.
  • Embodiment 1 is a flowchart of a dynamic resource access acceleration method in Embodiment 1; the method includes:
  • Step 101 Receive an application programming interface API request that carries a user identifier and a request target for the target website.
  • Step 102 Generate, according to the API request, a mapping request for removing related information of the user identifier.
  • Step 103 Determine that the request result corresponding to the mapping request is stored, and the duration of the request result storage is less than or equal to the preset duration, extract the stored request result corresponding to the mapping request, and return the result of the request to the user identifier. User.
  • the method further includes a step 104 performed in parallel with step 103: determining that the request result corresponding to the mapping request is not stored, or determining that the request result corresponding to the mapping request is stored and the time length of the request result storage is greater than a preset duration, After the request result of the request target is obtained from the target website, the result of the request is stored as a result of the request corresponding to the mapping request, and the result of the request is sent to the user corresponding to the user identifier.
  • the method further includes the step of recommending the user according to the request target of the user, including: determining an association target corresponding to the request target, and determining that the user corresponding to the user identifier is a user accepting the recommendation, and generating the carrying according to the API request.
  • the mapping request request target of the target website determines that the request result corresponding to the mapping request is stored, and the duration of the request result storage is less than or equal to the preset duration, and the stored request result corresponding to the mapping request is extracted, and the associated target is The identifier and the corresponding request result are sent as recommended content to the user corresponding to the user identifier.
  • the preset duration is a value between 1 and 1000 milliseconds, so that the cache speed is increased to the millisecond level, and the preset duration is typically 1 millisecond.
  • the preset duration is typically 1 millisecond.
  • the request target in this method is typically a code for a security, or other request object with real-time results.
  • the embodiment of the invention can effectively accelerate the dynamic resource access based on the API request, and is particularly suitable for the price inquiry of the financial product, can effectively improve the cache hit rate of the user API request, and further improve the cache hit rate. Can improve the response speed of the request.
  • the recommendation function is also added in the embodiment of the present invention, which can improve the intelligence of the service and improve the user experience.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer program stores a computer program, and when the program is executed by the processor, the steps of the foregoing method are implemented.
  • the embodiment of the invention further provides a computer device, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the steps of the above method.
  • FIG. 2 is a structural diagram of a dynamic resource access acceleration apparatus in Embodiment 2, where the apparatus is applied to a server or a node, and the server may be a website server, a CDN content node server, or a server in a cloud computing service platform, and the apparatus includes:
  • a receiving module configured to receive an application programming interface API request that carries a user identifier and a request target for the target website;
  • a generating module configured to generate, according to the API request, a mapping request for removing related information of the user identifier
  • a storage judging module configured to determine whether a request result corresponding to the mapping request is stored, and whether the duration of the request result storage is less than or equal to a preset duration
  • a processing module configured to: when the determining module determines that the request result corresponding to the mapping request is stored, and the duration of the request result storage is less than or equal to the preset duration, extracting the stored request result corresponding to the mapping request;
  • a sending module configured to return the result of the request to a user corresponding to the user identifier.
  • the device also includes a storage maintenance module.
  • the storage maintenance module is further configured to: when it is determined that the request result corresponding to the mapping request is not stored, or to determine that the request result corresponding to the mapping request is stored, and the duration of the request result storage is greater than a preset duration, obtain the location from the target website. After the result of the request of the request target is stored, the result of the request is stored as a result of the request corresponding to the mapping request;
  • the sending module is further configured to send the newly stored or updated stored request result of the storage maintenance module to the user corresponding to the user identifier.
  • This device also includes a recommendation module.
  • a recommendation module configured to determine an association target corresponding to the request target, and determine that the user corresponding to the user identifier is a user that accepts the recommendation, and generates a mapping request carrying the request target of the target website according to the API request, and determines the mapping request.
  • the corresponding request result is stored and the duration of the request result storage is less than or equal to the preset duration, and the stored request result corresponding to the mapping request is extracted; the identifier of the associated target and the corresponding request result are sent as the recommended content to the sending. Module.
  • the sending module is further configured to send the identifier of the associated target and the corresponding request result as the recommended content to the user corresponding to the user identifier.
  • the preset duration is a value between 1 and 1000 milliseconds.
  • the request is for the code of the securities.
  • the server provides a real-time query of the fund price for registered users of a website, and only stores the fund code and the corresponding price when storing.
  • the user identifier and the fund code are parsed from the API request, and the real-time price of the fund code is queried to the back-end server.
  • the queried real-time price is returned to the user corresponding to the above user identifier.
  • the fund identifier and the corresponding price requested by the user are cached in real time, and the preset duration is set to 1 millisecond, and the price is updated after 1 millisecond.
  • the relevant information of the user identifier described in the API request is removed, and a mapping request carrying the request target of the target website is generated http://www.stock.com/price.php?
  • the result of the request is that the result of the request is stored and the length of the result of the request is less than or equal to 1 millisecond
  • the result of the request corresponding to the stored mapping request is extracted, and the result of the request is returned to the user identifier.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the embodiment of the invention can effectively accelerate the dynamic resource access based on the API request, and is particularly suitable for the price inquiry of the financial product, can effectively improve the cache hit rate of the user API request, and further improve the cache hit rate.
  • the request response speed can be improved.
  • the embodiment of the present invention also adds a recommendation function, which can improve the intelligence of the service and improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente invention concerne un procédé et un appareil d'accélération d'accès à une ressource dynamique, un support et un dispositif. Le procédé consiste à : recevoir une demande d'API véhiculant un identifiant d'utilisateur et une cible de demande de site Internet cible ; générer, conformément à la demande d'API, une demande de mappage de suppression d'informations associées de l'identifiant d'utilisateur ; déterminer qu'un résultat de demande correspondant à la demande de mappage est mémorisé et qu'une durée pendant laquelle est mémorisé le résultat de demande est inférieure ou égale à une durée prédéfinie ; et extraire le résultat de demande mémorisé correspondant à la demande de mappage, puis renvoyer le résultat de demande à un utilisateur correspondant à l'identifiant d'utilisateur. La présente invention permet d'accélérer efficacement un accès à une ressource dynamique basé sur une demande d'API, et est particulièrement applicable à une interrogation de prix d'un produit financier, et permet également d'améliorer efficacement le taux de présence en antémémoire d'une demande d'API d'utilisateur ; la vitesse de réponse d'une demande peut de plus être augmentée tout en améliorant le taux de présence en antémémoire.
PCT/CN2018/075540 2017-02-21 2018-02-07 Procédé et appareil d'accélération d'accès à une ressource dynamique, support et dispositif WO2018153256A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710093381.6A CN107707593B (zh) 2017-02-21 2017-02-21 一种提高缓存命中率的动态资源访问加速方法及装置
CN201710093381.6 2017-02-21

Publications (1)

Publication Number Publication Date
WO2018153256A1 true WO2018153256A1 (fr) 2018-08-30

Family

ID=61169457

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075540 WO2018153256A1 (fr) 2017-02-21 2018-02-07 Procédé et appareil d'accélération d'accès à une ressource dynamique, support et dispositif

Country Status (2)

Country Link
CN (1) CN107707593B (fr)
WO (1) WO2018153256A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385335A (zh) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 数据请求的处理方法、装置、设备及存储介质
CN111522836A (zh) * 2020-04-22 2020-08-11 杭州海康威视系统技术有限公司 一种数据查询方法、装置、电子设备及存储介质
CN110764903B (zh) * 2019-09-19 2023-06-16 平安科技(深圳)有限公司 弹性执行热容器方法、装置、设备和存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696579A (zh) * 2018-04-28 2018-10-23 北京奇艺世纪科技有限公司 一种请求响应方法、装置及电子设备
US11119673B2 (en) 2018-08-12 2021-09-14 International Business Machines Corporation Optimizing synchronous I/O for zHyperLink
CN111562994B (zh) * 2020-04-29 2023-10-31 北京达佳互联信息技术有限公司 应用程序接口转发方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935636A (zh) * 2015-04-29 2015-09-23 广州杰赛科技股份有限公司 网络通道加速方法和系统
CN104994079A (zh) * 2015-06-10 2015-10-21 网宿科技股份有限公司 访问请求的处理方法和装置、加速服务器
US20150310482A1 (en) * 2014-04-23 2015-10-29 Iperceptions Inc. Method and survey server for generating metrics indicative of website visit originating channel effectiveneess
CN105930528A (zh) * 2016-06-03 2016-09-07 腾讯科技(深圳)有限公司 一种网页缓存的方法及服务器

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729273A (zh) * 2008-10-27 2010-06-09 中国移动通信集团公司 一种流媒体分发系统、方法及装置
CN102750493B (zh) * 2012-06-26 2016-01-06 华为终端有限公司 访问权限控制方法、装置及系统
CN102904959B (zh) * 2012-10-19 2016-01-20 北京极科极客科技有限公司 网络加速方法和网关
CN104168300B (zh) * 2013-05-17 2017-06-27 中国电信股份有限公司 内容加速方法与系统
CN103516785A (zh) * 2013-08-19 2014-01-15 上海艾泰网络信息有限公司 网页代理系统及其通信方法
US9794339B2 (en) * 2013-09-12 2017-10-17 Data Accelerator Ltd. Accelerated remote operation system API requests
CN104836821B (zh) * 2014-02-10 2019-03-19 腾讯科技(深圳)有限公司 一种基于路由器设备的网络加速方法、装置和设备
CN104132634A (zh) * 2014-07-14 2014-11-05 华南理工大学 一种基于移动终端的桥梁动位移测量装置及方法
US9930103B2 (en) * 2015-04-08 2018-03-27 Amazon Technologies, Inc. Endpoint management system providing an application programming interface proxy service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150310482A1 (en) * 2014-04-23 2015-10-29 Iperceptions Inc. Method and survey server for generating metrics indicative of website visit originating channel effectiveneess
CN104935636A (zh) * 2015-04-29 2015-09-23 广州杰赛科技股份有限公司 网络通道加速方法和系统
CN104994079A (zh) * 2015-06-10 2015-10-21 网宿科技股份有限公司 访问请求的处理方法和装置、加速服务器
CN105930528A (zh) * 2016-06-03 2016-09-07 腾讯科技(深圳)有限公司 一种网页缓存的方法及服务器

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111385335A (zh) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 数据请求的处理方法、装置、设备及存储介质
CN111385335B (zh) * 2018-12-29 2023-04-07 广州市百果园信息技术有限公司 数据请求的处理方法、装置、设备及存储介质
CN110764903B (zh) * 2019-09-19 2023-06-16 平安科技(深圳)有限公司 弹性执行热容器方法、装置、设备和存储介质
CN111522836A (zh) * 2020-04-22 2020-08-11 杭州海康威视系统技术有限公司 一种数据查询方法、装置、电子设备及存储介质
CN111522836B (zh) * 2020-04-22 2023-10-10 杭州海康威视系统技术有限公司 一种数据查询方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN107707593B (zh) 2018-08-17
CN107707593A (zh) 2018-02-16

Similar Documents

Publication Publication Date Title
WO2018153256A1 (fr) Procédé et appareil d'accélération d'accès à une ressource dynamique, support et dispositif
US11394805B1 (en) Automatic discovery of API information
US9043383B2 (en) Stream processing using a client-server architecture
US10289748B2 (en) Optimizing transmission of digital components
CN107317879B (zh) 一种用户请求的分发方法及系统
JP2019533235A5 (fr)
EP2975826B1 (fr) Procédé et système pour maintenir un intérêt vivant dans un réseau central de contenu
CN107347015B (zh) 一种内容分发网络的识别方法、装置及系统
US20180013610A1 (en) File delivery method, apparatus and system
EP2996309A1 (fr) Paquets de supervision au niveau de routeurs intermédiaires dans un ccn
CN107332908A (zh) 一种数据传输方法及其系统
CN116546080A (zh) 增强的在线隐私
RU2018118379A (ru) Управление доступом к ресурсам на ролевой основе
CN105959358A (zh) Cdn服务器及其缓存数据的方法
WO2018228234A1 (fr) Procédé de mise en cache vidéo et dispositif de mise en cache
JP6687802B2 (ja) サービス処理方法及び装置
CN110943876B (zh) Url状态检测方法、装置、设备和系统
CN108512869B (zh) 一种采用异步化方式处理并发数据的方法及系统
CN117592685A (zh) 业务处理方法、装置、电子设备及存储介质
CN102932358B (zh) 基于内容分发网络的第三方文件改写加速分发方法和装置
US20170180269A1 (en) Publisher-Subscriber Queue Provisioning
WO2018153236A1 (fr) Procédé et appareil pour accélérer un accès à une ressource dynamique sur la base d'une requête d'api, support et dispositif
US20160028641A1 (en) Advanced notification of workload
US8661108B2 (en) Status determination in computer network-based communications system
US11290370B2 (en) Apparatus and method for transmitting content

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18756558

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18756558

Country of ref document: EP

Kind code of ref document: A1