CN106856494A - Data processing method, device and system based on internet content adapting protocol - Google Patents
Data processing method, device and system based on internet content adapting protocol Download PDFInfo
- Publication number
- CN106856494A CN106856494A CN201510904001.3A CN201510904001A CN106856494A CN 106856494 A CN106856494 A CN 106856494A CN 201510904001 A CN201510904001 A CN 201510904001A CN 106856494 A CN106856494 A CN 106856494A
- Authority
- CN
- China
- Prior art keywords
- data
- cache
- icap
- response
- request
- Prior art date
- Legal status (The legal status 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 status listed.)
- Withdrawn
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 18
- 230000004044 response Effects 0.000 claims abstract description 257
- 238000012545 processing Methods 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims description 24
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000006978 adaptation Effects 0.000 abstract description 44
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明涉及一种基于因特网内容适配协议的数据处理方法,包括:向因特网内容适配协议ICAP服务器发送数据缓存请求,所述数据缓存请求包括缓存数据说明字段,以使所述ICAP服务器根据所述数据缓存请求返回对应的缓存响应,所述缓存响应包括缓存数据响应说明字段和业务数据;根据所述缓存数据响应说明字段将所述业务数据保存在本地缓存,本地缓存中的业务数据可用于ICAP业务查询时优先查找并使用,提高了业务响应的速度,此外,还提供了一种基于因特网内容适配协议的数据处理装置和系统。
The present invention relates to a data processing method based on the Internet Content Adaptation Protocol, comprising: sending a data cache request to an Internet Content Adaptation Protocol (ICAP) server, the data cache request includes a cache data description field, so that the ICAP server according to the The data cache request returns a corresponding cache response, the cache response includes a cache data response description field and business data; according to the cache data response description field, the business data is stored in a local cache, and the business data in the local cache can be used for The ICAP is preferentially searched and used during business query, which improves the speed of business response, and also provides a data processing device and system based on the Internet Content Adaptation Protocol.
Description
技术领域technical field
本发明涉及通信领域,特别是涉及一种基于因特网内容适配协议的数据处理方法、装置和系统。The present invention relates to the communication field, in particular to a data processing method, device and system based on the Internet Content Adaptation Protocol.
背景技术Background technique
ICAP(Internet Content Adaptation Protocol,因特网内容适配协议)设计的目的是使Web内容设备能够互操作、共享数据和控制信息,使得用户能够在分离的设备上实施某种服务,优化所执行的功能。ICAP是轻量级的基于HTTP(HyperText Transfer Protocol,超文本传输协议)的远程过程调用协议,设备可以传送基于HTTP的内容到ICAP服务器进行内容操作。The purpose of ICAP (Internet Content Adaptation Protocol, Internet Content Adaptation Protocol) design is to enable Web content devices to interoperate, share data and control information, so that users can implement certain services on separate devices and optimize the functions performed. ICAP is a lightweight remote procedure call protocol based on HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol). The device can transmit content based on HTTP to the ICAP server for content operation.
现有技术中,当ICAP请求访问频率激增或网络状况差的时候,可能导致ICAP服务器负荷增大处理时长变长,也可能导致ICAP请求、应答消息在网络中滞留时间变长,这两种情况都会导致ICAP业务服务提供速度迟缓。In the prior art, when the access frequency of ICAP requests increases sharply or the network conditions are poor, the load on the ICAP server may increase and the processing time may become longer, or the residence time of ICAP request and response messages in the network may become longer. All will lead to the slow speed of ICAP business service provision.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种基于因特网内容适配协议的数据处理方法、装置和系统,提高ICAP业务的响应速度。Based on this, it is necessary to provide a data processing method, device and system based on the Internet Content Adaptation Protocol to improve the response speed of the ICAP service in view of the above technical problems.
一种基于因特网内容适配协议的数据处理方法,所述方法包括:A data processing method based on Internet Content Adaptation Protocol, said method comprising:
向因特网内容适配协议ICAP服务器发送数据缓存请求,所述数据缓存请求包括缓存数据说明字段,以使所述ICAP服务器根据所述数据缓存请求返回对应的缓存响应,所述缓存响应包括缓存数据响应说明字段和业务数据;Sending a data cache request to the Internet Content Adaptation Protocol ICAP server, the data cache request includes a cache data description field, so that the ICAP server returns a corresponding cache response according to the data cache request, and the cache response includes a cache data response Description fields and business data;
根据所述缓存数据响应说明字段将所述业务数据保存在本地缓存。Save the service data in a local cache according to the description field of the cached data response.
在其中一个实施例中,所述向ICAP服务器发送数据缓存请求的步骤之前,还包括:In one of the embodiments, before the step of sending the data cache request to the ICAP server, it also includes:
向ICAP服务器发送选项查询请求,所述选项查询请求包括客户端缓存数据支持字段,以使所述ICAP服务器根据所述客户端缓存数据支持字段返回选项查询响应,所述选项查询响应包括服务器缓存数据能力字段。Send an option query request to the ICAP server, the option query request includes a client cache data support field, so that the ICAP server returns an option query response according to the client cache data support field, and the option query response includes server cache data capability field.
在其中一个实施例中,所述数据缓存请求为定制的数据缓存请求消息或复用ICAP协议的请求消息,所述缓存响应为定制的缓存响应消息或复用ICAP协议的响应消息,所述数据缓存请求与缓存响应的消息类型一致。In one of the embodiments, the data cache request is a customized data cache request message or a request message of the multiplexing ICAP protocol, and the cache response is a customized cache response message or a multiplexing ICAP protocol response message, and the data The message type of the cache request is the same as the cache response.
在其中一个实施例中,所述缓存数据说明字段包括业务数据请求记录数字段和业务数据索引字段,所述缓存数据响应说明字段包括业务数据响应记录数字段。In one of the embodiments, the cached data description field includes a service data request record number field and a service data index field, and the cached data response description field includes a service data response record number field.
在其中一个实施例中,所述缓存数据响应说明字段还包括业务数据结束标志字段,所述根据所述缓存数据响应说明字段将所述业务数据保存在本地缓存的步骤之后还包括:In one of the embodiments, the cached data response description field further includes a service data end flag field, and after the step of saving the business data in the local cache according to the cached data response description field, the step further includes:
如果所述业务数据结束标志字段为继续数据缓存,则向ICAP服务器继续发送数据缓存请求。If the service data end flag field is to continue data caching, then continue to send a data caching request to the ICAP server.
在其中一个实施例中,还包括:In one of the embodiments, it also includes:
接收ICAP业务查询请求;Receive ICAP service query request;
在所述本地缓存查找所述ICAP业务查询请求匹配的业务数据并直接使用。Find the service data matched by the ICAP service query request in the local cache and use it directly.
一种基于因特网内容适配协议的数据处理装置,所述装置包括:A data processing device based on Internet Content Adaptation Protocol, said device comprising:
数据缓存请求发送模块,用于向因特网内容适配协议ICAP服务器发送数据缓存请求,所述数据缓存请求包括缓存数据说明字段,以使所述ICAP服务器根据所述数据缓存请求返回对应的缓存响应,所述缓存响应包括缓存数据响应说明字段和业务数据;A data cache request sending module, configured to send a data cache request to an Internet Content Adaptation Protocol ICAP server, where the data cache request includes a cache data description field, so that the ICAP server returns a corresponding cache response according to the data cache request, The cache response includes a cache data response description field and business data;
缓存模块,用于根据所述缓存数据响应说明字段将所述业务数据保存在本地缓存。A caching module, configured to store the service data in a local cache according to the description field of the cached data response.
上述基于因特网内容适配协议的数据处理方法和装置,通过向因特网内容适配协议ICAP服务器发送数据缓存请求,数据缓存请求包括缓存数据说明字段,以使ICAP服务器根据数据缓存请求返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和业务数据,根据缓存数据响应说明字段将业务数据保存在本地缓存,由于本地缓存中的业务数据已经预先存储好了,当有ICAP业务查询时可在本地缓存中查找匹配的业务数据,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。The above-mentioned data processing method and device based on the Internet Content Adaptation Protocol sends a data cache request to the Internet Content Adaptation Protocol ICAP server, and the data cache request includes a cache data description field, so that the ICAP server returns a corresponding cache response according to the data cache request , the cached response includes the cached data response description field and business data. According to the cached data response description field, the business data is saved in the local cache. Since the business data in the local cache has been pre-stored, it can be cached locally when there is an ICAP service query Search for matching business data in the database, and if there is a matching one, it can be used directly, which speeds up the acquisition of business data and improves the speed of business response.
一种基于因特网内容适配协议的数据处理方法,所述方法包括:A data processing method based on Internet Content Adaptation Protocol, said method comprising:
接收因特网内容适配协议ICAP客户端发送的数据缓存请求,所述数据缓存请求包括缓存数据说明字段;Receiving a data cache request sent by an Internet Content Adaptation Protocol ICAP client, where the data cache request includes a cache data description field;
根据所述数据缓存请求获取对应的业务数据,返回对应的缓存响应,所述缓存响应包括缓存数据响应说明字段和所述业务数据,以使所述ICAP客户端根据所述缓存数据响应说明字段将所述业务数据保存在本地缓存。Obtain corresponding service data according to the data cache request, and return a corresponding cache response, where the cache response includes a cache data response description field and the service data, so that the ICAP client responds to the cache data according to the cache data response description field. The business data is stored in a local cache.
在其中一个实施例中,所述接收ICAP客户端发送的数据缓存请求的步骤之前,还包括:In one of the embodiments, before the step of receiving the data cache request sent by the ICAP client, it also includes:
接收ICAP客户端发送的选项查询请求,所述选项查询请求包括客户端缓存数据支持字段,根据所述客户端缓存数据支持字段返回选项查询响应,所述选项查询响应包括服务器缓存数据能力字段。An option query request sent by the ICAP client is received, the option query request includes a client cache data support field, and an option query response is returned according to the client cache data support field, and the option query response includes a server cache data capability field.
在其中一个实施例中,所述数据缓存请求为定制的数据缓存请求消息或复用ICAP协议的请求消息,所述缓存响应为定制的缓存响应消息或复用ICAP协议的响应消息,所述数据缓存请求与缓存响应的消息类型一致。In one of the embodiments, the data cache request is a customized data cache request message or a request message of the multiplexing ICAP protocol, and the cache response is a customized cache response message or a multiplexing ICAP protocol response message, and the data The message type of the cache request is the same as the cache response.
在其中一个实施例中,所述缓存数据说明字段包括业务数据请求记录数字段和业务数据索引字段,所述缓存数据响应说明字段包括业务数据响应记录数字段。In one of the embodiments, the cached data description field includes a service data request record number field and a service data index field, and the cached data response description field includes a service data response record number field.
在其中一个实施例中,所述缓存数据响应说明字段还包括业务数据结束标志字段,所述方法还包括:In one of the embodiments, the cached data response description field also includes a service data end flag field, and the method further includes:
判断向ICAP客户端发送的业务数据是否发送完毕,如果没有发送完毕,则所述业务数据结束标志字段为继续数据缓存,否则所述业务数据结束标志字段为结束数据缓存。Judging whether the service data sent to the ICAP client has been sent, if not, the service data end flag field is continued data buffering, otherwise the service data end flag field is end data buffering.
一种基于因特网内容适配协议的数据处理装置,所述装置包括:A data processing device based on Internet Content Adaptation Protocol, said device comprising:
接收模块,用于接收因特网内容适配协议ICAP客户端发送的数据缓存请求,所述数据缓存请求包括缓存数据说明字段;A receiving module, configured to receive a data cache request sent by an Internet Content Adaptation Protocol ICAP client, where the data cache request includes a cache data description field;
响应模块,用于根据所述数据缓存请求获取对应的业务数据,返回对应的缓存响应,所述缓存响应包括缓存数据响应说明字段和所述业务数据,以使所述ICAP客户端根据所述缓存数据响应说明字段将所述业务数据保存在本地缓存。A response module, configured to obtain corresponding service data according to the data cache request, and return a corresponding cache response, the cache response including a cache data response description field and the service data, so that the ICAP client can The data response description field stores the business data in a local cache.
上述基于因特网内容适配协议的数据处理方法和装置,通过接收因特网内容适配协议ICAP客户端发送的数据缓存请求,数据缓存请求包括缓存数据说明字段,根据数据缓存请求获取对应的业务数据,返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和所述业务数据,以使ICAP客户端根据所述缓存数据响应说明字段将业务数据保存在本地缓存,本地缓存中的业务数据用于ICAP客户端在进行ICAP业务查询时优先查找并使用,可根据ICAP客户端发送的数据缓存请求返回对应的需要缓存的业务数据,使得ICAP客户端将接收到的业务数据进行缓存,用于ICAP业务查询时优先查找并使用,由于ICAP服务器已经提前将业务数据发送至ICAP客户端预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。The above-mentioned data processing method and device based on the Internet Content Adaptation Protocol receives the data cache request sent by the Internet Content Adaptation Protocol ICAP client, the data cache request includes a cache data description field, obtains the corresponding business data according to the data cache request, and returns Corresponding cache response, the cache response includes the cache data response description field and the business data, so that the ICAP client stores the business data in the local cache according to the cache data response description field, and the business data in the local cache is used for the ICAP client When the terminal performs ICAP business query, it will search and use it first. It can return the corresponding business data that needs to be cached according to the data cache request sent by the ICAP client, so that the ICAP client can cache the received business data for ICAP business query. Search and use first, because the ICAP server has sent the business data to the ICAP client in advance and stored it in advance, if there is a match, it can be used directly, which speeds up the acquisition of business data and improves the speed of business response.
一种基于因特网内容适配协议的数据处理系统,所述系统包括:A data processing system based on Internet Content Adaptation Protocol, said system comprising:
ICAP客户端,用于向因特网内容适配协议ICAP服务器发送数据缓存请求,所述数据缓存请求包括缓存数据说明字段;The ICAP client is configured to send a data cache request to an Internet Content Adaptation Protocol ICAP server, and the data cache request includes a cache data description field;
ICAP服务器,用于接收ICAP客户端发送的数据缓存请求,根据所述数据缓存请求获取对应的业务数据,返回对应的缓存响应,所述缓存响应包括缓存数据响应说明字段和所述业务数据;The ICAP server is configured to receive a data cache request sent by the ICAP client, obtain corresponding service data according to the data cache request, and return a corresponding cache response, the cache response including a cache data response description field and the service data;
所述ICAP客户端还用于根据所述缓存数据响应说明字段将所述业务数据保存在本地缓存。The ICAP client is further configured to store the service data in a local cache according to the description field of the cached data response.
上述基于因特网内容适配协议的数据处理系统,通过因特网内容适配协议ICAP客户端和ICAP服务器的配合,ICAP服务器可根据ICAP客户端发送的数据缓存请求返回对应的需要缓存的业务数据,使得ICAP客户端将接收到的业务数据进行缓存,用于ICAP业务查询时优先查找并使用,由于ICAP服务器已经提前将业务数据发送至ICAP客户端预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。The above-mentioned data processing system based on the Internet Content Adaptation Protocol, through the cooperation of the Internet Content Adaptation Protocol ICAP client and the ICAP server, the ICAP server can return the corresponding service data that needs to be cached according to the data cache request sent by the ICAP client, so that the ICAP The client caches the received business data, and searches and uses it preferentially for ICAP business queries. Since the ICAP server has sent the business data to the ICAP client in advance and stored them in advance, if there is a match, it can be used directly, which speeds up The acquisition speed of business data improves the speed of business response.
附图说明Description of drawings
图1为一个实施例中基于因特网内容适配协议的数据处理方法的应用环境图;Fig. 1 is the application environment figure of the data processing method based on Internet Content Adaptation Protocol in one embodiment;
图2为一个实施例中基于因特网内容适配协议的数据处理方法的流程图;Fig. 2 is the flowchart of the data processing method based on Internet Content Adaptation Protocol in one embodiment;
图3为另一个实施例中基于因特网内容适配协议的数据处理方法的流程图;Fig. 3 is the flowchart of the data processing method based on Internet Content Adaptation Protocol in another embodiment;
图4为一个实施例中另一种基于因特网内容适配协议的数据处理方法的流程图;Fig. 4 is a flow chart of another data processing method based on Internet Content Adaptation Protocol in one embodiment;
图5为一个实施例中基于因特网内容适配协议的数据处理装置的结构框图;Fig. 5 is a structural block diagram of a data processing device based on the Internet Content Adaptation Protocol in an embodiment;
图6为另一个实施例中基于因特网内容适配协议的数据处理装置的结构框图;Fig. 6 is a structural block diagram of a data processing device based on the Internet Content Adaptation Protocol in another embodiment;
图7为再一个实施例中基于因特网内容适配协议的数据处理装置的结构框图;FIG. 7 is a structural block diagram of a data processing device based on the Internet Content Adaptation Protocol in another embodiment;
图8为一个实施例中另一种基于因特网内容适配协议的数据处理装置的结构框图;FIG. 8 is a structural block diagram of another data processing device based on the Internet Content Adaptation Protocol in an embodiment;
图9为另一个实施例中另一种基于因特网内容适配协议的数据处理装置的结构框图;Fig. 9 is a structural block diagram of another data processing device based on the Internet Content Adaptation Protocol in another embodiment;
图10为一个实施例中基于因特网内容适配协议的数据处理系统的结构框图。Fig. 10 is a structural block diagram of a data processing system based on the Internet Content Adaptation Protocol in an embodiment.
具体实施方式detailed description
图1为一个实施例中基于因特网内容适配协议的数据处理方法运行的应用环境图。如图1所示,该应用环境包括ICAP客户端110、ICAP服务器120,其中ICAP客户端110和ICAP服务器120通过网络进行通信。Fig. 1 is a diagram of an application environment in which a data processing method based on Internet Content Adaptation Protocol operates in an embodiment. As shown in FIG. 1 , the application environment includes an ICAP client 110 and an ICAP server 120 , wherein the ICAP client 110 and the ICAP server 120 communicate through a network.
ICAP客户端110为支持ICAP协议的客户端可为安装支持ICAP协议软件的PC机、终端,也为实现ICAP协议的电信级网络节点设备,但不局限于此。ICAP客户端110通过向ICAP服务器120发送相关请求消息,以获取相关资源用于业务处理。The ICAP client 110 is a client supporting the ICAP protocol, which may be a PC or terminal installed with software supporting the ICAP protocol, or a carrier-class network node device implementing the ICAP protocol, but is not limited thereto. The ICAP client 110 sends a related request message to the ICAP server 120 to acquire related resources for service processing.
ICAP服务器120可为支持ICAP协议的服务器,也可为安装支持ICAP协议软件的PC机、终端、商用服务器,也可为实现ICAP协议的电信级网络节点设备,但不局限于此。ICAP服务器120对ICAP客户端110发送过来的ICAP协议消息进行相关业务处理后,返回给ICAP客户端110应答消息,携带ICAP客户端110所需要的相关资源。The ICAP server 120 can be a server supporting the ICAP protocol, a PC, a terminal, a commercial server installed with software supporting the ICAP protocol, or a carrier-class network node device implementing the ICAP protocol, but is not limited thereto. After the ICAP server 120 performs relevant business processing on the ICAP protocol message sent by the ICAP client 110 , it returns a response message to the ICAP client 110 , carrying the relevant resources required by the ICAP client 110 .
如图2所示,在一个实施例中,提供了一种基于因特网内容适配协议的数据处理方法,以应用于上述应用环境中的ICAP客户端来举例说明,包括如下步骤:As shown in Figure 2, in one embodiment, a kind of data processing method based on Internet Content Adaptation Protocol is provided, is applied to the ICAP client in the above-mentioned application environment as an example, including the following steps:
步骤S210,向因特网内容适配协议ICAP服务器发送数据缓存请求,数据缓存请求包括缓存数据说明字段,以使ICAP服务器根据数据缓存请求返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和业务数据。Step S210, sending a data cache request to the Internet Content Adaptation Protocol ICAP server, the data cache request includes a cache data description field, so that the ICAP server returns a corresponding cache response according to the data cache request, and the cache response includes a cache data response description field and business data .
具体的,ICAP客户端存在数据缓存功能开关,可接收对功能开关的操作或信号打开数据缓存功能,当数据缓存功能打开时,如果预设条件满足,则向ICAP服务器进行数据缓存请求的发送,预设条件可根据需要自定义,如可启动数据缓存控制定时器,当预设的定时时间到达时,自动向ICAP服务器发送数据缓存请求。也可以检测当前的网络状态,根据当前的网络状态发送数据缓存请求,如网络流畅时,发送数据缓存请求,进行业务数据的缓存,在网络拥塞时就可利用缓存的业务数据。也可根据用户的触发发送数据缓存请求,如设置虚拟按键接收用户发送数据缓存请求的信号。缓存数据说明字段用于描述需要ICAP服务器下发的业务数据,以使得ICAP服务器根据缓存数据说明字段获取需要下发的业务数据,缓存数据说明字段的内容可根据需要自定义,如缓存数据说明字段可包括业务数据的名称、业务数据的起始位置和终止位置、业务数据的记录数等。ICAP服务器获取到需要下发的业务数据后,生成对应的缓存响应,缓存响应中包括了缓存数据响应说明字段和业务数据。其中缓存数据响应说明字段用于描述缓存响应的状态和业务数据,可根据需要自定义,如缓存数据响应说明字段包括业务数据结束标志字段,表示缓存数据下发是否完毕,是否需要继续下发缓存数据。缓存数据响应说明字段还可包括业务数据继续获取的次数等。缓存数据响应说明字段还可包括描述业务数据的长度字段,便于ICAP客户端根据缓存数据响应说明字段进行业务数据的缓存。可以理解的是,在下发业务数据前,可根据预设条件对业务数据进行排序,如按照查询热度对业务数据进行排序生成业务数据记录集合。缓存数据说明字段、缓存数据响应说明字段和业务数据可存放在扩展的字段中,如缓存响应的扩展字段X-Record-Set用来存放业务数据记录。Specifically, the ICAP client has a data cache function switch, which can receive the operation or signal of the function switch to enable the data cache function. When the data cache function is turned on, if the preset condition is met, the data cache request is sent to the ICAP server. Preset conditions can be customized as required, for example, the data cache control timer can be started, and when the preset timing time arrives, a data cache request will be automatically sent to the ICAP server. It can also detect the current network status and send a data cache request according to the current network status. For example, when the network is smooth, send a data cache request to cache business data. When the network is congested, the cached business data can be used. The data cache request can also be sent according to the user's trigger, such as setting a virtual key to receive a signal from the user to send the data cache request. The cached data description field is used to describe the business data that needs to be delivered by the ICAP server, so that the ICAP server can obtain the business data that needs to be delivered according to the cached data description field. The content of the cached data description field can be customized according to needs, such as the cached data description field It may include the name of the business data, the start position and end position of the business data, the record number of the business data, etc. After the ICAP server obtains the service data to be delivered, it generates a corresponding cache response, and the cache response includes a cache data response description field and service data. The cached data response description field is used to describe the status and business data of the cached response, which can be customized according to needs. For example, the cached data response description field includes the business data end flag field, indicating whether the cached data has been delivered and whether it is necessary to continue sending the cache data. The caching data response description field may also include the number of times the business data is continuously acquired, and the like. The description field of the cached data response may also include a length field describing the service data, so that the ICAP client may cache the service data according to the description field of the cached data response. It can be understood that before delivering the business data, the business data can be sorted according to preset conditions, for example, the business data can be sorted according to the query popularity to generate a business data record set. Cache data description field, cache data response description field and business data can be stored in extended fields, for example, the extension field X-Record-Set of cache response is used to store business data records.
步骤S220,根据缓存数据响应说明字段将业务数据保存在本地缓存。Step S220, store the business data in the local cache according to the description field of the cached data response.
具体的,可根据缓存数据响应说明字段开辟与业务数据对应的缓存,将业务数据保存在本地缓存。还可根据缓存数据响应说明字段判断是否还需要与ICAP服务器交互继续获取业务数据以及继续获取业务数据的次数等。在有ICAP业务查询时,可根据ICAP业务查询请求,优先在本地缓存的业务数据中获取与ICAP业务查询请求匹配的业务数据,由于本地缓存中的业务数据已经预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。在一个实施例中,可根据本地缓存中的业务数据的匹配使用情况更新数据缓存请求的生成策略和更新本地缓存中的业务数据,提高本地缓存中的业务数据的利用率和节省本地缓存的空间,如对于长时间不使用的本地缓存中的业务数据可进行删除。Specifically, a cache corresponding to the service data may be opened according to the description field of the cache data response, and the service data may be stored in the local cache. It can also be judged according to the description field of the cached data response whether it is necessary to interact with the ICAP server to continue to obtain business data and the number of times to continue to obtain business data. When there is an ICAP service query, according to the ICAP service query request, the service data matching the ICAP service query request can be obtained first from the locally cached service data. Since the service data in the local cache has been pre-stored, if there is a matching It can be used directly, speeding up the acquisition of business data and improving the speed of business response. In one embodiment, the generation strategy of the data cache request and the service data in the local cache can be updated according to the matching usage of the service data in the local cache, so as to improve the utilization rate of the service data in the local cache and save the space of the local cache , such as business data in the local cache that has not been used for a long time can be deleted.
本实施例中,通过向因特网内容适配协议ICAP服务器发送数据缓存请求,数据缓存请求包括缓存数据说明字段,以使ICAP服务器根据数据缓存请求返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和业务数据,根据缓存数据响应说明字段将业务数据保存在本地缓存,由于本地缓存中的业务数据已经预先存储好了,当有ICAP业务查询时可在本地缓存中查找匹配的业务数据,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。In this embodiment, by sending a data cache request to the Internet Content Adaptation Protocol ICAP server, the data cache request includes a cache data description field, so that the ICAP server returns a corresponding cache response according to the data cache request, and the cache response includes a cache data response description field and business data, save the business data in the local cache according to the cached data response description field. Since the business data in the local cache has been pre-stored, when there is an ICAP service query, you can find the matching business data in the local cache. If there is The matching ones can be used directly, which speeds up the acquisition of business data and improves the speed of business response.
在一个实施例中,如图3所示,提供了一种基于因特网内容适配协议的数据处理方法,包括以下步骤:In one embodiment, as shown in Figure 3, a data processing method based on Internet Content Adaptation Protocol is provided, comprising the following steps:
步骤S310,向ICAP服务器发送选项查询请求,选项查询请求包括客户端缓存数据支持字段,以使ICAP服务器根据客户端缓存数据支持字段返回选项查询响应,选项查询响应包括服务器缓存数据能力字段。Step S310, sending an option query request to the ICAP server, the option query request includes a client cache data support field, so that the ICAP server returns an option query response according to the client cache data support field, and the option query response includes a server cache data capability field.
具体的,向ICAP服务器发送选项查询请求,其中携带客户端缓存数据支持字段,如客户端缓存数据支持字段为扩展字段X-Cache-Capability,值为1,表示ICAP客户端支持Cache缓存功能或无论其值为多少,只要存在扩展字段X-Cache-Capability则表示支持Cache缓存功能。选项查询请求这个消息是复用ICAP协议现有的请求消息,只要在ICAP协议现有的请求消息的预设位置加入需要的扩展字段即可。ICAP服务器收到选项查询请求后,判断选项查询请求中携带了客户端缓存数据支持字段,如扩展字段X-Cache-Capability字段,则向ICAP客户端返回的选项查询响应中携带服务器缓存数据能力字段,如服务器缓存数据能力字段为扩展字段Y-Cache-Capability,表示ICAP服务器是否支持Cache缓存功能,如值为1表示支持,0表示不支持。选项查询响应这个消息是复用ICAP协议现有的响应消息,只要在ICAP协议现有的响应消息的预设位置加入需要的扩展字段即可。Specifically, send an option query request to the ICAP server, which carries the client cache data support field, such as the client cache data support field is an extended field X-Cache-Capability, and the value is 1, indicating that the ICAP client supports the Cache cache function or whether What is its value, as long as there is an extension field X-Cache-Capability, it means that it supports the Cache caching function. The option query request message is to reuse the existing request message of the ICAP protocol, as long as the required extension field is added to the preset position of the existing request message of the ICAP protocol. After the ICAP server receives the option query request, it judges that the option query request carries the client cache data support field, such as the extended field X-Cache-Capability field, then returns the option query response to the ICAP client to carry the server cache data capability field , if the server caching data capability field is the extended field Y-Cache-Capability, it indicates whether the ICAP server supports the Cache caching function, such as a value of 1 means it supports it, and 0 means it does not support it. The option query response message is to reuse the existing response message of the ICAP protocol, as long as the required extension field is added to the preset position of the existing response message of the ICAP protocol.
步骤S320,判断服务器缓存数据能力字段是否为ICAP服务器支持数据缓存,如果是,则进入步骤S330,否则不作处理。Step S320, judging whether the server caching data capability field indicates that the ICAP server supports data caching, if yes, proceed to step S330, otherwise, do not process.
具体的,ICAP客户端收到选项查询响应,并判断选项查询响应携带的服务器缓存数据能力字段,如扩展字段Y-Cache-Capability是否为支持,如扩展字段值为1,则表示支持,则进入步骤S330进行数据缓存请求的发送。如果ICAP服务器不支持数据缓存,则不作处理,不能向ICAP服务器发送数据缓存请求。在发送数据缓存请求前,进行ICAP服务器是否支持数据缓存的查询,可避免ICAP服务器不支持数据缓存时,仍然向ICAP服务器发送数据缓存请求造成对ICAP服务器的干扰。Specifically, the ICAP client receives the option query response, and judges the server cache data capability field carried in the option query response, such as whether the extension field Y-Cache-Capability is supported, and if the value of the extension field is 1, it means support, and enters Step S330 sends the data cache request. If the ICAP server does not support data caching, no processing is performed, and a data caching request cannot be sent to the ICAP server. Before sending the data cache request, query whether the ICAP server supports data cache can avoid interference to the ICAP server caused by still sending a data cache request to the ICAP server when the ICAP server does not support data cache.
步骤S330,向ICAP服务器发送数据缓存请求,数据缓存请求包括缓存数据说明字段,以使ICAP服务器根据数据缓存请求返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和业务数据。Step S330, sending a data cache request to the ICAP server, the data cache request includes a cache data description field, so that the ICAP server returns a corresponding cache response according to the data cache request, and the cache response includes a cache data response description field and service data.
步骤S340,根据缓存数据响应说明字段将业务数据保存在本地缓存。Step S340, store the business data in the local cache according to the description field of the cached data response.
在一个实施例中,数据缓存请求为定制的数据缓存请求消息或复用ICAP协议的请求消息,缓存响应为定制的缓存响应消息或复用ICAP协议的响应消息,数据缓存请求与缓存响应的消息类型一致。In one embodiment, the data cache request is a customized data cache request message or a request message of the multiplexing ICAP protocol, and the cache response is a customized cache response message or a multiplexing ICAP protocol response message, and the data cache request and the cache response message The type is consistent.
具体的,定制的数据缓存请求或缓存响应消息为纯文本格式,具体的格式可自定义,只要格式符合现有ICAP协议规定即可。数据缓存请求或缓存响应也可为复用ICAP协议的请求消息,只要在ICAP协议现有的请求消息的预设位置加入需要的扩展字段即可。数据缓存请求与缓存响应的消息类型一致,比如数据缓存请求为定制的,则缓存响应也为定制的,数据缓存请求与缓存响应的消息类型一致,便于消息之间的快速解析。Specifically, the customized data cache request or cache response message is in plain text format, and the specific format can be customized as long as the format conforms to the existing ICAP protocol. The data cache request or cache response can also be a request message of the multiplexing ICAP protocol, as long as the required extension field is added to the preset position of the existing request message of the ICAP protocol. The message types of the data cache request and the cache response are consistent. For example, if the data cache request is customized, the cache response is also customized. The message types of the data cache request and the cache response are consistent, which facilitates quick parsing between messages.
在一个实施例中,缓存数据说明字段包括业务数据请求记录数字段和业务数据索引字段,缓存数据响应说明字段包括业务数据响应记录数字段。In one embodiment, the cache data description field includes a service data request record number field and a service data index field, and the cache data response description field includes a service data response record number field.
具体的,业务数据请求记录数字段用于描述本次请求需要下发的业务数据的记录数,如数据缓存请求中携带扩展字段X-Record-Number,以表示本次请求需要ICAP服务器下发的业务数据记录数。业务数据索引字段用于描述本次请求需要ICAP服务器下发的业务数据的起始位置,如数据缓存请求中携带扩展字段X-Record-Index,以指导ICAP服务器从业务数据记录集合中指定位置的业务数据记录开始下发。通过业务数据索引字段找到业务数据下发的起始位置,然后从起始位置开始找到与业务数据请求记录数字段描述的业务数据长度相同的业务数据,就为本次请求下发的目标业务数据。业务数据响应记录数字段用于描述本次ICAP服务器实际下发的业务数据的记录数,实际下发的业务数据的记录数小于或等于本次请求需要下发的业务数据的记录数。ICAP客户端可根据业务数据响应记录数字段开辟对应大小的本地缓存空间,用于将业务数据进行缓存。如缓存响应中携带扩展字段X-Record-Number,表示业务数据响应记录数字段。通过业务数据请求记录数字段和业务数据索引字段可快速获取目标业务数据,通过业务数据响应记录数字段可快速确定本地缓存的空间大小。Specifically, the business data request record number field is used to describe the number of business data records that need to be delivered in this request. For example, the data cache request carries the extended field X-Record-Number to indicate that the request needs to be delivered by the ICAP server. The number of business data records. The business data index field is used to describe the starting location of the business data that needs to be delivered by the ICAP server in this request. For example, the data cache request carries the extended field X-Record-Index to guide the ICAP server to specify the location from the business data record set. The business data records start to be distributed. Use the business data index field to find the starting position of the business data delivery, and then start from the starting position to find the business data with the same length as the business data described in the business data request record number field, which is the target business data delivered by this request . The business data response record number field is used to describe the number of business data records actually delivered by the ICAP server this time, and the number of business data records actually delivered is less than or equal to the number of business data records to be delivered in this request. The ICAP client can open up a local cache space of a corresponding size according to the field of the number of records in the business data response to cache the business data. If the cached response carries the extended field X-Record-Number, it indicates the record number field of the service data response. The target business data can be quickly obtained through the business data request record number field and the business data index field, and the local cache space can be quickly determined through the business data response record number field.
在一个实施例中,缓存数据响应说明字段还包括业务数据结束标志字段,步骤S220之后,还包括:如果业务数据结束标志字段为继续数据缓存,则向ICAP服务器继续发送数据缓存请求。In one embodiment, the caching data response description field further includes a service data end flag field, and after step S220, further includes: if the business data end flag field is continuing data caching, continuing to send a data caching request to the ICAP server.
具体的,业务数据结束标志字段用于描述本次数据缓存请求是否响应完毕,如缓存响应中携带扩展字段X-Record-Isover,根据缓存响应中的扩展字段X-Record-Isover来判断是否继续与ICAP服务器进行交互索要业务数据记录,如X-Record-Isover值为1表示需要继续交互,X-Record-Isover值为0表示不需要,如果业务数据结束标志字段为继续数据缓存,即X-Record-Isover值为1,,则向ICAP服务器继续发送数据缓存请求,继续获取需要缓存的业务数据,否则本次缓存的业务数据获取完毕。通过业务数据结束标志字段可将需要缓存的业务数据分为多次进行下发,使得数据的传输适应网络实时情况,提高了业务数据传输的灵活性。Specifically, the service data end flag field is used to describe whether the data cache request has been responded to. For example, the cache response carries the extension field X-Record-Isover. According to the extension field X-Record-Isover in the cache response, it is judged whether to continue with the The ICAP server interacts and asks for business data records. If the value of X-Record-Isover is 1, it means that the interaction needs to be continued, and the value of X-Record-Isover is 0, which means that it is not needed. If the business data end flag field is to continue data caching, that is, X-Record -Isover value is 1, then continue to send a data cache request to the ICAP server, and continue to obtain the service data that needs to be cached, otherwise the cached service data has been obtained this time. Through the service data end flag field, the service data that needs to be cached can be divided into multiple times for delivery, so that the data transmission can adapt to the real-time network situation and improve the flexibility of service data transmission.
在一个实施例中,还包括:接收ICAP业务查询请求,在本地缓存查找ICAP业务查询请求匹配的业务数据并直接使用。In one embodiment, the method further includes: receiving the ICAP service query request, searching the local cache for the service data matched by the ICAP service query request, and using it directly.
具体的,在接收到ICAP业务查询请求后,优先在本地缓存的业务数据中获取与ICAP业务查询请求匹配的业务数据,由于本地缓存中的业务数据已经预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。如果没有查找到匹配的业务数据,再向ICAP服务器发送业务请求消息,从ICAP服务器获取匹配的业务数据。Specifically, after receiving the ICAP service query request, the service data that matches the ICAP service query request is preferentially obtained from the locally cached service data. Since the service data in the local cache has been pre-stored, if there is a match, it can be directly The use speeds up the acquisition of business data and improves the speed of business response. If no matching service data is found, a service request message is sent to the ICAP server to obtain matching service data from the ICAP server.
在一个实施例中,如图4所示,提供了一种基于因特网内容适配协议的数据处理方法,以应用于上述应用环境中的ICAP服务器来举例说明,包括如下步骤:In one embodiment, as shown in FIG. 4 , a data processing method based on the Internet content adaptation protocol is provided, which is illustrated by an ICAP server applied to the above-mentioned application environment, including the following steps:
步骤S410,接收因特网内容适配协议ICAP客户端发送的数据缓存请求,数据缓存请求包括缓存数据说明字段。Step S410, receiving a data caching request sent by an ICAP client, where the data caching request includes a caching data description field.
具体的,缓存数据说明字段用于描述需要ICAP服务器下发的业务数据,ICAP服务器可根据缓存数据说明字段获取需要下发的业务数据,缓存数据说明字段的内容可根据需要自定义,如缓存数据说明字段可包括业务数据的名称、业务数据的起始位置和终止位置、业务数据的记录数等。Specifically, the cached data description field is used to describe the business data that needs to be delivered by the ICAP server. The ICAP server can obtain the business data that needs to be delivered according to the cached data description field. The content of the cached data description field can be customized according to needs, such as cached data The description field may include the name of the business data, the start location and end location of the business data, the record number of the business data, and so on.
步骤S420,根据数据缓存请求获取对应的业务数据,返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和业务数据,以使ICAP客户端根据缓存数据响应说明字段将所述业务数据保存在本地缓存。Step S420, obtain the corresponding service data according to the data cache request, and return the corresponding cache response, the cache response includes the cache data response description field and business data, so that the ICAP client can store the business data locally according to the cache data response description field cache.
具体的,ICAP服务器根据数据缓存请求获取到需要下发的业务数据后,生成对应的缓存响应,缓存响应中包括了缓存数据响应说明字段和业务数据。其中缓存数据响应说明字段用于描述缓存响应的状态和业务数据,可根据需要自定义,如缓存数据响应说明字段包括业务数据结束标志字段,表示缓存数据下发是否完毕,是否需要继续下发缓存数据。缓存数据响应说明字段还可包括业务数据继续获取的次数等。缓存数据响应说明字段还可包括描述业务数据的长度字段,便于ICAP客户端根据缓存数据响应说明字段进行业务数据的缓存。可以理解的是,在下发业务数据前,可根据预设条件对业务数据进行排序,如按照查询热度对业务数据进行排序生成业务数据记录集合。缓存数据说明字段、缓存数据响应说明字段和业务数据可存放在扩展的字段中,如缓存响应的扩展字段X-Record-Set用来存放业务数据记录。Specifically, after the ICAP server obtains the service data to be delivered according to the data cache request, it generates a corresponding cache response, and the cache response includes a cache data response description field and service data. The cached data response description field is used to describe the status and business data of the cached response, which can be customized according to needs. For example, the cached data response description field includes the business data end flag field, indicating whether the cached data has been delivered and whether it is necessary to continue sending the cache data. The caching data response description field may also include the number of times the business data is continuously acquired, and the like. The description field of the cached data response may also include a length field describing the service data, so that the ICAP client may cache the service data according to the description field of the cached data response. It can be understood that before delivering the business data, the business data can be sorted according to preset conditions, for example, the business data can be sorted according to the query popularity to generate a business data record set. Cache data description field, cache data response description field and business data can be stored in extended fields, for example, the extension field X-Record-Set of cache response is used to store business data records.
ICAP客户端接收到缓存响应后,可根据缓存数据响应说明字段开辟与业务数据对应的缓存,将业务数据保存在本地缓存。还可根据缓存数据响应说明字段判断是否还需要与ICAP服务器交互继续获取业务数据以及继续获取业务数据的次数等。在有ICAP业务查询时,可根据ICAP业务查询请求,优先在本地缓存的业务数据中获取与ICAP业务查询请求匹配的业务数据,由于本地缓存中的业务数据已经预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。After receiving the cached response, the ICAP client can open a cache corresponding to the business data according to the description field of the cached data response, and save the business data in the local cache. It can also be judged according to the description field of the cached data response whether it is necessary to interact with the ICAP server to continue to obtain business data and the number of times to continue to obtain business data. When there is an ICAP service query, according to the ICAP service query request, the service data matching the ICAP service query request can be obtained first from the locally cached service data. Since the service data in the local cache has been pre-stored, if there is a matching It can be used directly, speeding up the acquisition of business data and improving the speed of business response.
本实施例中,通过接收因特网内容适配协议ICAP客户端发送的数据缓存请求,数据缓存请求包括缓存数据说明字段,根据数据缓存请求获取对应的业务数据,返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和所述业务数据,以使ICAP客户端根据所述缓存数据响应说明字段将业务数据保存在本地缓存,本地缓存中的业务数据用于ICAP客户端在进行ICAP业务查询时优先查找并使用,可根据ICAP客户端发送的数据缓存请求返回对应的需要缓存的业务数据,使得ICAP客户端将接收到的业务数据进行缓存,用于ICAP业务查询时优先查找并使用,由于ICAP服务器已经提前将业务数据发送至ICAP客户端预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。In this embodiment, by receiving the data cache request sent by the Internet Content Adaptation Protocol ICAP client, the data cache request includes a cache data description field, obtains the corresponding business data according to the data cache request, and returns the corresponding cache response, and the cache response includes cache The data response description field and the business data, so that the ICAP client stores the business data in the local cache according to the cached data response description field, and the business data in the local cache is used for the ICAP client to search preferentially when performing an ICAP business query And use, can return the corresponding business data that needs to be cached according to the data cache request sent by the ICAP client, so that the ICAP client will cache the received business data, and use it for ICAP business query priority search and use, because the ICAP server has already The business data is sent to the ICAP client in advance and stored in advance. If there is a match, it can be used directly, which speeds up the acquisition of business data and improves the speed of business response.
在一个实施例中,步骤S410之前,还包括:接收ICAP客户端发送的选项查询请求,选项查询请求包括客户端缓存数据支持字段,根据客户端缓存数据支持字段返回选项查询响应,选项查询响应包括服务器缓存数据能力字段。In one embodiment, before step S410, it also includes: receiving an option query request sent by the ICAP client, the option query request includes a client cache data support field, and returns an option query response according to the client cache data support field, and the option query response includes Server caching data capability field.
具体的,选项查询请求中携带客户端缓存数据支持字段,如客户端缓存数据支持字段为扩展字段X-Cache-Capability,值为1,表示ICAP客户端支持Cache缓存功能,或无论其值为多少,只要存在扩展字段X-Cache-Capability则表示支持Cache缓存功能。选项查询请求这个消息是复用ICAP协议现有的请求消息,只要在ICAP协议现有的请求消息的预设位置加入需要的扩展字段即可。ICAP服务器收到选项查询请求后,判断选项查询请求中携带了客户端缓存数据支持字段,如扩展字段X-Cache-Capability且值为1或只要携带了X-Cache-Capability字段无论其值为多少,则向ICAP客户端返回的选项查询响应中携带服务器缓存数据能力字段,如服务器缓存数据能力字段为扩展字段Y-Cache-Capability,表示ICAP服务器是否支持Cache缓存功能,如值为1表示支持,0表示不支持。选项查询响应这个消息是复用ICAP协议现有的响应消息,只要在ICAP协议现有的响应消息的预设位置加入需要的扩展字段即可。ICAP客户端收到选项查询响应,并判断选项查询响应携带的服务器缓存数据能力字段,如扩展字段Y-Cache-Capability是否为支持,如扩展字段值为1,则表示支持,则发送数据缓存请求,否则不能向ICAP服务器发送数据缓存请求。对于不支持数据缓存的ICAP服务器,可向ICAP客户端的查询请求返回不支持数据缓存的对应的响应,从而可避免ICAP服务器不支持数据缓存时,ICAP客户端仍然向ICAP服务器发送数据缓存请求造成对ICAP服务器的干扰。Specifically, the client cache data support field is carried in the option query request. For example, the client cache data support field is an extended field X-Cache-Capability with a value of 1, indicating that the ICAP client supports the Cache function, or whatever the value is , as long as there is an extension field X-Cache-Capability, it indicates that the Cache caching function is supported. The option query request message is to reuse the existing request message of the ICAP protocol, as long as the required extension field is added to the preset position of the existing request message of the ICAP protocol. After the ICAP server receives the option query request, it judges that the option query request carries the client cache data support field, such as the extension field X-Cache-Capability with a value of 1 or as long as the X-Cache-Capability field is carried regardless of its value , the option query response returned to the ICAP client carries the server cache data capability field. For example, the server cache data capability field is an extension field Y-Cache-Capability, indicating whether the ICAP server supports the Cache cache function. If the value is 1, it indicates support. 0 means not supported. The option query response message is to reuse the existing response message of the ICAP protocol, as long as the required extension field is added to the preset position of the existing response message of the ICAP protocol. The ICAP client receives the option query response, and judges the server cache data capability field carried in the option query response, such as whether the extension field Y-Cache-Capability is supported, and if the value of the extension field is 1, it means support, and then sends a data cache request , otherwise the data cache request cannot be sent to the ICAP server. For an ICAP server that does not support data caching, it can return a corresponding response that does not support data caching to the query request of the ICAP client, thereby avoiding that when the ICAP server does not support data caching, the ICAP client still sends a data caching request to the ICAP server. Interference with the ICAP server.
在一个实施例中,数据缓存请求为定制的数据缓存请求消息或复用ICAP协议的请求消息,缓存响应为定制的缓存响应消息或复用ICAP协议的响应消息,数据缓存请求与缓存响应的消息类型一致。In one embodiment, the data cache request is a customized data cache request message or a request message of the multiplexing ICAP protocol, and the cache response is a customized cache response message or a multiplexing ICAP protocol response message, and the data cache request and the cache response message The type is consistent.
具体的,定制的数据缓存请求或缓存响应消息为纯文本格式,具体的格式可自定义,只要格式符合现有ICAP协议规定即可。数据缓存请求或缓存响应也可为复用ICAP协议的请求消息,只要在ICAP协议现有的请求消息的预设位置加入需要的扩展字段即可。数据缓存请求与缓存响应的消息类型一致,比如数据缓存请求为定制的,则缓存响应也为定制的,数据缓存请求与缓存响应的消息类型一致,便于消息之间的快速解析。Specifically, the customized data cache request or cache response message is in plain text format, and the specific format can be customized as long as the format conforms to the existing ICAP protocol. The data cache request or cache response can also be a request message of the multiplexing ICAP protocol, as long as the required extension field is added to the preset position of the existing request message of the ICAP protocol. The message types of the data cache request and the cache response are consistent. For example, if the data cache request is customized, the cache response is also customized. The message types of the data cache request and the cache response are consistent, which facilitates quick parsing between messages.
在一个实施例中,缓存数据说明字段包括业务数据请求记录数字段和业务数据索引字段,缓存数据响应说明字段包括业务数据响应记录数字段。In one embodiment, the cache data description field includes a service data request record number field and a service data index field, and the cache data response description field includes a service data response record number field.
具体的,业务数据请求记录数字段用于描述本次请求需要下发的业务数据的记录数,如数据缓存请求中携带扩展字段X-Record-Number,以表示本次请求需要ICAP服务器下发的业务数据记录数。业务数据索引字段用于描述本次请求需要ICAP服务器下发的业务数据的起始位置,如数据缓存请求中携带扩展字段X-Record-Index,以指导ICAP服务器从业务数据记录集合中指定位置的业务数据记录开始下发。通过业务数据索引字段找到业务数据下发的起始位置,然后从起始位置开始找到与业务数据请求记录数字段描述的业务数据长度相同的业务数据,就为本次请求下发的目标业务数据。业务数据响应记录数字段用于描述本次ICAP服务器实际下发的业务数据的记录数,实际下发的业务数据的记录数小于或等于本次请求需要下发的业务数据的记录数。ICAP客户端可根据业务数据响应记录数字段开辟对应大小的本地缓存空间,用于将业务数据进行缓存。如缓存响应中携带扩展字段X-Record-Number,表示业务数据响应记录数字段。通过业务数据请求记录数字段和业务数据索引字段可快速获取目标业务数据,通过业务数据响应记录数字段可快速确定本地缓存的空间大小。Specifically, the business data request record number field is used to describe the number of business data records that need to be delivered in this request. For example, the data cache request carries the extended field X-Record-Number to indicate that the request needs to be delivered by the ICAP server. The number of business data records. The business data index field is used to describe the starting location of the business data that needs to be delivered by the ICAP server in this request. For example, the data cache request carries the extended field X-Record-Index to guide the ICAP server to specify the location from the business data record set. The business data records start to be distributed. Use the business data index field to find the starting position of the business data delivery, and then start from the starting position to find the business data with the same length as the business data described in the business data request record number field, which is the target business data delivered by this request . The business data response record number field is used to describe the number of business data records actually delivered by the ICAP server this time, and the number of business data records actually delivered is less than or equal to the number of business data records to be delivered in this request. The ICAP client can open up a local cache space of a corresponding size according to the field of the number of records in the business data response to cache the business data. If the cached response carries the extended field X-Record-Number, it indicates the record number field of the service data response. The target business data can be quickly obtained through the business data request record number field and the business data index field, and the local cache space can be quickly determined through the business data response record number field.
在一个实施例中,缓存数据响应说明字段还包括业务数据结束标志字段,方法还包括:判断向ICAP客户端发送的业务数据是否发送完毕,如果没有发送完毕,则业务数据结束标志字段为继续数据缓存,否则业务数据结束标志字段为结束数据缓存。In one embodiment, the cached data response description field also includes a service data end flag field, and the method further includes: judging whether the service data sent to the ICAP client has been sent, and if not, the service data end flag field is the continuation data cache, otherwise the business data end flag field is the end data cache.
具体的,业务数据结束标志字段用于描述本次数据缓存请求是否响应完毕,如果向ICAP客户端发送的业务数据发送完毕,则可在缓存响应中携带扩展字段X-Record-Isover,且设置其值为0表示不需要再进行发送,如果向ICAP客户端发送的业务数据没有发送完毕,则将扩展字段X-Record-Isover设置其值为1,表示还需要继续发送。通过业务数据结束标志字段可将需要缓存的业务数据分为多次进行下发,使得数据的传输适应网络实时情况,提高了业务数据传输的灵活性。Specifically, the service data end flag field is used to describe whether the response to the data cache request is completed. If the service data sent to the ICAP client is completed, the extended field X-Record-Isover can be carried in the cached response, and its A value of 0 means that no further sending is required. If the business data sent to the ICAP client has not been sent yet, set the value of the extension field X-Record-Isover to 1, indicating that it needs to continue sending. Through the service data end flag field, the service data that needs to be cached can be divided into multiple times for delivery, so that the data transmission can adapt to the real-time network situation and improve the flexibility of service data transmission.
在一个实施例中,如图5所示,提供了一种基于因特网内容适配协议的数据处理装置,包括:In one embodiment, as shown in FIG. 5, a data processing device based on the Internet Content Adaptation Protocol is provided, including:
数据缓存请求发送模块510,用于向因特网内容适配协议ICAP服务器发送数据缓存请求,数据缓存请求包括缓存数据说明字段,以使ICAP服务器根据所述数据缓存请求返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和业务数据。The data cache request sending module 510 is configured to send a data cache request to the Internet Content Adaptation Protocol ICAP server, the data cache request includes a cache data description field, so that the ICAP server returns a corresponding cache response according to the data cache request, and the cache response includes Cache data response description field and business data.
缓存模块520,用于根据缓存数据响应说明字段将业务数据保存在本地缓存。The caching module 520 is configured to save the business data in a local cache according to the description field of the cached data response.
在一个实施例中,如图6所示,所述装置还包括:In one embodiment, as shown in Figure 6, the device further includes:
选项查询模块530,用于向ICAP服务器发送选项查询请求,选项查询请求包括客户端缓存数据支持字段,以使ICAP服务器根据客户端缓存数据支持字段返回选项查询响应,选项查询响应包括服务器缓存数据能力字段。The option query module 530 is configured to send an option query request to the ICAP server, the option query request includes a client cache data support field, so that the ICAP server returns an option query response according to the client cache data support field, and the option query response includes the server cache data capability field.
在一个实施例中,数据缓存请求为定制的数据缓存请求消息或复用ICAP协议的请求消息,缓存响应为定制的缓存响应消息或复用ICAP协议的响应消息,数据缓存请求与缓存响应的消息类型一致。In one embodiment, the data cache request is a customized data cache request message or a request message of the multiplexing ICAP protocol, and the cache response is a customized cache response message or a multiplexing ICAP protocol response message, and the data cache request and the cache response message The type is consistent.
在一个实施例中,缓存数据说明字段包括业务数据请求记录数字段和业务数据索引字段,缓存数据响应说明字段包括业务数据响应记录数字段。In one embodiment, the cache data description field includes a service data request record number field and a service data index field, and the cache data response description field includes a service data response record number field.
在一个实施例中,缓存数据响应说明字段还包括业务数据结束标志字段,所述数据缓存请求发送模块510还用于如果业务数据结束标志字段为继续数据缓存,则向ICAP服务器继续发送数据缓存请求。In one embodiment, the cache data response description field also includes a service data end flag field, and the data cache request sending module 510 is further configured to continue sending the data cache request to the ICAP server if the service data end flag field is to continue data caching .
在一个实施例中,如图7所示,所述装置还包括:In one embodiment, as shown in Figure 7, the device further includes:
查询模块540,用于接收ICAP业务查询请求,在本地缓存查找所述ICAP业务查询请求匹配的业务数据并直接使用。The query module 540 is configured to receive an ICAP service query request, search for service data matching the ICAP service query request in a local cache, and use it directly.
在一个实施例中,如图8所示,提供了一种基于因特网内容适配协议的数据处理装置,包括:In one embodiment, as shown in FIG. 8, a data processing device based on the Internet Content Adaptation Protocol is provided, including:
接收模块610,用于接收因特网内容适配协议ICAP客户端发送的数据缓存请求,数据缓存请求包括缓存数据说明字段。The receiving module 610 is configured to receive a data cache request sent by an ICAP client, where the data cache request includes a cache data description field.
响应模块620,用于根据数据缓存请求获取对应的业务数据,返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和所述业务数据,以使ICAP客户端根据缓存数据响应说明字段将业务数据保存在本地缓存。The response module 620 is configured to obtain corresponding service data according to the data cache request, and return a corresponding cache response, where the cache response includes a cache data response description field and the business data, so that the ICAP client responds to the service data according to the cache data response description field Stored in local cache.
在一个实施例中,如图9所示,所述装置还包括:In one embodiment, as shown in Figure 9, the device further includes:
选项查询请求响应模块630,用于接收ICAP客户端发送的选项查询请求,选项查询请求包括客户端缓存数据支持字段,根据客户端缓存数据支持字段返回选项查询响应,选项查询响应包括服务器缓存数据能力字段。The option query request response module 630 is configured to receive an option query request sent by the ICAP client, the option query request includes a client cache data support field, and returns an option query response according to the client cache data support field, and the option query response includes the server cache data capability field.
在一个实施例中,数据缓存请求为定制的数据缓存请求消息或复用ICAP协议的请求消息,缓存响应为定制的缓存响应消息或复用ICAP协议的响应消息,数据缓存请求与缓存响应的消息类型一致。In one embodiment, the data cache request is a customized data cache request message or a request message of the multiplexing ICAP protocol, and the cache response is a customized cache response message or a multiplexing ICAP protocol response message, and the data cache request and the cache response message The type is consistent.
在一个实施例中,缓存数据说明字段包括业务数据请求记录数字段和业务数据索引字段,缓存数据响应说明字段包括业务数据响应记录数字段。In one embodiment, the cache data description field includes a service data request record number field and a service data index field, and the cache data response description field includes a service data response record number field.
在一个实施例中,缓存数据响应说明字段还包括业务数据结束标志字段,响应模块620还用于判断向ICAP客户端发送的业务数据是否发送完毕,如果没有发送完毕,则业务数据结束标志字段为继续数据缓存,否则业务数据结束标志字段为结束数据缓存。In one embodiment, the cached data response description field also includes a service data end flag field, and the response module 620 is also used to determine whether the service data sent to the ICAP client has been sent, if not, the service data end flag field is Continue data caching, otherwise the business data end flag field is the end data caching.
在一个实施例中,如图10所示,提供了一种基于因特网内容适配协议的数据处理系统,包括:In one embodiment, as shown in FIG. 10 , a data processing system based on Internet Content Adaptation Protocol is provided, including:
ICAP客户端710,用于向因特网内容适配协议ICAP服务器发送数据缓存请求,数据缓存请求包括缓存数据说明字段。The ICAP client 710 is configured to send a data cache request to an ICAP server, where the data cache request includes a cache data description field.
具体的,ICAP客户端存在数据缓存功能开关,可接收对功能开关的操作或信号打开数据缓存功能,当数据缓存功能打开时,如果预设条件满足,则向ICAP服务器进行数据缓存请求的发送,预设条件可根据需要自定义,如可启动数据缓存控制定时器,当预设的定时时间到达时,自动向ICAP服务器发送数据缓存请求。也可以检测当前的网络状态,根据当前的网络状态发送数据缓存请求,如网络流畅时,发送数据缓存请求,进行业务数据的缓存,在网络拥塞时就可利用缓存的业务数据。也可根据用户的触发发送数据缓存请求,如设置虚拟按键接收用户发送数据缓存请求的信号。缓存数据说明字段用于描述需要ICAP服务器下发的业务数据,缓存数据说明字段的内容可根据需要自定义,如缓存数据说明字段可包括业务数据的名称、业务数据的起始位置和终止位置、业务数据的记录数等。Specifically, the ICAP client has a data cache function switch, which can receive the operation or signal of the function switch to enable the data cache function. When the data cache function is turned on, if the preset condition is met, the data cache request is sent to the ICAP server. Preset conditions can be customized as required, for example, the data cache control timer can be started, and when the preset timing time arrives, a data cache request will be automatically sent to the ICAP server. It can also detect the current network status and send a data cache request according to the current network status. For example, when the network is smooth, send a data cache request to cache business data. When the network is congested, the cached business data can be used. The data cache request can also be sent according to the user's trigger, such as setting a virtual key to receive a signal from the user to send the data cache request. The cached data description field is used to describe the business data that needs to be delivered by the ICAP server. The content of the cached data description field can be customized as required. For example, the cached data description field can include the name of the business data, the start and end locations of the business data, The number of records of business data, etc.
ICAP服务器720,用于接收ICAP客户端发送的数据缓存请求,根据数据缓存请求获取对应的业务数据,返回对应的缓存响应,缓存响应包括缓存数据响应说明字段和业务数据。The ICAP server 720 is configured to receive the data cache request sent by the ICAP client, obtain corresponding service data according to the data cache request, and return a corresponding cache response, where the cache response includes a cache data response description field and service data.
具体的,ICAP服务器根据缓存数据说明字段获取需要下发的业务数据,生成对应的缓存响应,缓存响应中包括了缓存数据响应说明字段和业务数据。其中缓存数据响应说明字段用于描述缓存响应的状态和业务数据,可根据需要自定义,如缓存数据响应说明字段包括业务数据结束标志字段,表示缓存数据下发是否完毕,是否需要继续下发缓存数据。缓存数据响应说明字段还可包括业务数据继续获取的次数等。缓存数据响应说明字段还可包括描述业务数据的长度字段,便于ICAP客户端根据缓存数据响应说明字段进行业务数据的缓存。可以理解的是,在下发业务数据前,可根据预设条件对业务数据进行排序,如按照查询热度对业务数据进行排序生成业务数据记录集合。缓存数据说明字段、缓存数据响应说明字段和业务数据可存放在扩展的字段中,如缓存响应的扩展字段X-Record-Set用来存放业务数据记录。Specifically, the ICAP server obtains the service data to be delivered according to the cache data description field, and generates a corresponding cache response, and the cache response includes the cache data response description field and the service data. The cached data response description field is used to describe the status and business data of the cached response, which can be customized as required. For example, the cached data response description field includes the business data end flag field, indicating whether the cached data has been delivered and whether it is necessary to continue delivering the cache data. The caching data response description field may also include the number of times the business data is continuously acquired, and the like. The description field of the cached data response may also include a length field describing the service data, so that the ICAP client may cache the service data according to the description field of the cached data response. It can be understood that before delivering the business data, the business data can be sorted according to preset conditions, for example, the business data can be sorted according to the query popularity to generate a business data record set. Cache data description field, cache data response description field and business data can be stored in extended fields, for example, the extension field X-Record-Set of cache response is used to store business data records.
ICAP客户端710还用于根据缓存数据响应说明字段将业务数据保存在本地缓存。The ICAP client 710 is also configured to store service data in a local cache according to the description field of the cached data response.
具体的,ICAP客户端接收到缓存响应后,可根据缓存数据响应说明字段开辟与业务数据对应的缓存,将业务数据保存在本地缓存。还可根据缓存数据响应说明字段判断是否还需要与ICAP服务器交互继续获取业务数据以及继续获取业务数据的次数等。在有ICAP业务查询时,可根据ICAP业务查询请求,优先在本地缓存的业务数据中获取与ICAP业务查询请求匹配的业务数据,由于本地缓存中的业务数据已经预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。Specifically, after receiving the cache response, the ICAP client may open a cache corresponding to the service data according to the description field of the cache data response, and store the service data in the local cache. It can also be judged according to the description field of the cached data response whether it is necessary to interact with the ICAP server to continue to obtain business data and the number of times to continue to obtain business data. When there is an ICAP service query, according to the ICAP service query request, the service data matching the ICAP service query request can be obtained first from the locally cached service data. Since the service data in the local cache has been pre-stored, if there is a matching It can be used directly, speeding up the acquisition of business data and improving the speed of business response.
本实施例中,通过ICAP客户端和ICAP服务器的配合,ICAP服务器可根据ICAP客户端发送的数据缓存请求返回对应的需要缓存的业务数据,使得ICAP客户端将接收到的业务数据进行缓存,用于ICAP业务查询时优先查找并使用,由于ICAP服务器已经提前将业务数据发送至ICAP客户端预先存储好了,如果有匹配的可直接使用,加快了业务数据的获取速度,提高了业务响应的速度。In this embodiment, through the cooperation of the ICAP client and the ICAP server, the ICAP server can return the corresponding service data that needs to be cached according to the data cache request sent by the ICAP client, so that the ICAP client caches the received service data, and uses Search and use first when ICAP business query, because the ICAP server has sent the business data to the ICAP client in advance and stored it in advance, if there is a match, it can be used directly, which speeds up the speed of business data acquisition and improves the speed of business response .
在一个实施例中,ICAP客户端710还用于向ICAP服务器720发送选项查询请求,选项查询请求包括客户端缓存数据支持字段,以使ICAP服务器720根据客户端缓存数据支持字段返回选项查询响应,选项查询响应包括服务器缓存数据能力字段。In one embodiment, the ICAP client 710 is further configured to send an option query request to the ICAP server 720, the option query request includes a client cache data support field, so that the ICAP server 720 returns an option query response according to the client cache data support field, The OPTIONS query response includes a Server Caching Data Capability field.
在一个实施例中,数据缓存请求为定制的数据缓存请求消息或复用ICAP协议的请求消息,所述缓存响应为定制的缓存响应消息或复用ICAP协议的响应消息,所述数据缓存请求与缓存响应的消息类型一致。In one embodiment, the data cache request is a customized data cache request message or a request message of the multiplexing ICAP protocol, and the cache response is a customized cache response message or a multiplexing ICAP protocol response message, and the data cache request is the same as The message type of the cached response is the same.
在一个实施例中,缓存数据说明字段包括业务数据请求记录数字段和业务数据索引字段,缓存数据响应说明字段包括业务数据响应记录数字段。In one embodiment, the cache data description field includes a service data request record number field and a service data index field, and the cache data response description field includes a service data response record number field.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述程序可存储于一计算机可读取存储介质中,如本发明实施例中,该程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述各方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium, as described in the present invention. In an embodiment, the program may be stored in a storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (14)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510904001.3A CN106856494A (en) | 2015-12-08 | 2015-12-08 | Data processing method, device and system based on internet content adapting protocol |
PCT/CN2016/101587 WO2017097027A1 (en) | 2015-12-08 | 2016-10-09 | Data processing method, apparatus and system based on internet content adaptation protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510904001.3A CN106856494A (en) | 2015-12-08 | 2015-12-08 | Data processing method, device and system based on internet content adapting protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106856494A true CN106856494A (en) | 2017-06-16 |
Family
ID=59012710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510904001.3A Withdrawn CN106856494A (en) | 2015-12-08 | 2015-12-08 | Data processing method, device and system based on internet content adapting protocol |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106856494A (en) |
WO (1) | WO2017097027A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113079152B (en) * | 2021-03-26 | 2023-01-24 | 山东英信计算机技术有限公司 | Data transmission method, device and medium |
CN116866429A (en) * | 2022-03-28 | 2023-10-10 | 华为技术有限公司 | A data access method and related devices |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7647417B1 (en) * | 2006-03-15 | 2010-01-12 | Netapp, Inc. | Object cacheability with ICAP |
CN101478575B (en) * | 2009-01-22 | 2012-07-04 | 中兴通讯股份有限公司 | Wap gateway development system and method based on internet content modification protocol |
US9075877B2 (en) * | 2012-06-29 | 2015-07-07 | Citrix Systems Inc. | System and method for transparent in-network adaptation of rich internet applications |
CN103581144A (en) * | 2012-08-06 | 2014-02-12 | 无锡稳捷网络技术有限公司 | Network safety access control method based on ICAP |
CN103685377B (en) * | 2012-09-11 | 2017-11-14 | 中国移动通信集团公司 | A kind of web optimizes acceleration method and system |
-
2015
- 2015-12-08 CN CN201510904001.3A patent/CN106856494A/en not_active Withdrawn
-
2016
- 2016-10-09 WO PCT/CN2016/101587 patent/WO2017097027A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017097027A1 (en) | 2017-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103874032B (en) | Information-pushing method and device based on mobile terminal | |
CN110460652B (en) | Resource acquisition method and edge computing scheduling server | |
CN101616132B (en) | Method for acquiring data, device and system thereof | |
CN109347968B (en) | A method, device and system for downloading data blocks of resource files | |
US8175584B2 (en) | System and method to facilitate downloading data at a mobile wireless device | |
WO2016023357A1 (en) | Webpage access method and apparatus, and router | |
CN111917687B (en) | Method and device for circularly pushing reminding message | |
US8838725B2 (en) | Internet cache subscription for wireless mobile users | |
CN107645525A (en) | Detection processing, dispatching method and related device, the node of content distributing network | |
CN104796439B (en) | Web page push method, client, server and system | |
JP2013507694A (en) | System and method for increasing data communication speed and efficiency | |
EP3022708A1 (en) | Content source discovery | |
WO2015074459A1 (en) | Method and apparatus for opening webpage, invoking client, and creating light app | |
CN103380634A (en) | Methods and apparatus for transmitting data | |
CN114124939B (en) | Method and device for processing pre-cached file and file pre-caching system | |
CN107665235A (en) | Method for caching and processing, device, computer equipment and storage medium | |
WO2015010650A1 (en) | Method, device and system for shunting information in graphic code | |
CN104461658A (en) | Method and device for downloading intelligent household appliance application program | |
CN106856494A (en) | Data processing method, device and system based on internet content adapting protocol | |
EP3220607B1 (en) | Service data processing methods and devices | |
CN101188626B (en) | Data downloading system, device and method | |
CN101610289A (en) | The methods, devices and systems of data download and node | |
CN103209199B (en) | A kind of method and information carrying means of transmission information | |
CN102739562B (en) | Method and device for sending collection information | |
CN113709232B (en) | Data packet loading method, client agent, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170616 |