CN110198333A - Data capture method and device, storage medium and electronic device - Google Patents

Data capture method and device, storage medium and electronic device Download PDF

Info

Publication number
CN110198333A
CN110198333A CN201810349630.8A CN201810349630A CN110198333A CN 110198333 A CN110198333 A CN 110198333A CN 201810349630 A CN201810349630 A CN 201810349630A CN 110198333 A CN110198333 A CN 110198333A
Authority
CN
China
Prior art keywords
address
content server
data
url
target data
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.)
Granted
Application number
CN201810349630.8A
Other languages
Chinese (zh)
Other versions
CN110198333B (en
Inventor
陈泽贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810349630.8A priority Critical patent/CN110198333B/en
Publication of CN110198333A publication Critical patent/CN110198333A/en
Application granted granted Critical
Publication of CN110198333B publication Critical patent/CN110198333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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

Landscapes

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

Abstract

The invention discloses a kind of data capture methods and device, storage medium and electronic device.This method comprises: receiving the request of data for carrying the first address URL, request of data is used for request target data, and the first address URL includes the first address parameter, and the first address parameter is used to indicate the address of the content server of storage target data;In cache server in the case where uncached target data, it will be substituted for the address of content server indicated by the first address parameter in the first address URL, obtain the 2nd address URL;Target data is obtained from content server according to the 2nd address URL.The present invention solves the address list that varnish reverse proxy in the related technology needs to be pre-configured with content server, the technical problem for causing the O&M cost of configured list larger.

Description

Data capture method and device, storage medium and electronic device
Technical field
The present invention relates to computer fields, in particular to a kind of data capture method and device, storage medium and electricity Sub-device.
Background technique
Currently, the reverse proxy based on varnish needs to be pre-configured with the address list of back-end content server.Work as front end Http request reach after, varnish can be according to load-balancing algorithm or other matching rules to preconfigured address One is chosen in list and forwards the request to the content server.Because varnish is that mark is data cached with URL, Substantially request URL will not be changed, at most only removes some unnecessary parameters.The reverse proxy from the point of view of application person Content server need predefined in address list, and client's request URL is exactly true request address, Varnish is only forwarded to request URL the content server chosen.
But due to using the client of video cloud service very much, the rear end domain name and parameter of different clients are different, such as Fruit uses above-mentioned varnish reverse proxy method, can there are problems that following two:
(1) full dose is needed to configure the back-end content server domain name of all clients.When there are many client or domain name updates Need to modify the varnish configuration of all cache node full doses, therefore bring O&M cost and dangerous.
(2) when client request on-demand content, need to determine unique client rear end domain name according to solicited message, and cannot Use the load-balancing algorithm of default.If all rear ends all configure different groups, analysis request is simultaneously in varnish configuration file It selects corresponding content server possible in theory, but configuration file can be brought very huge and be difficult to the problem of safeguarding.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of data capture methods and device, storage medium and electronic device, at least to solve Certainly varnish reverse proxy needs to be pre-configured with the address list of content server in the related technology, leads to the fortune of configured list Tie up the larger technical problem of cost.
According to an aspect of an embodiment of the present invention, a kind of data capture method is provided, comprising: reception carries first The request of data of the address URL, wherein the request of data is used for request target data, and the first address URL includes the One address and the first address parameter, first address are used to indicate the cache server for caching the target data, and described One address parameter is used to indicate the address for storing the content server of the target data;It is uncached in the cache server In the case where the target data, it will be substituted in the first address URL in described indicated by first address parameter The address for holding server, obtains the 2nd address URL;Described in being obtained from the content server according to the 2nd address URL Target data.
According to another aspect of an embodiment of the present invention, a kind of data acquisition facility is additionally provided, comprising: receiving unit is used The request of data of the first address URL is carried in reception, wherein the request of data is used for request target data, described First address URL includes the first address and the first address parameter, and first address is used to indicate the caching target data Cache server, first address parameter are used to indicate the address for storing the content server of the target data;Replacement is single Member, in the case where the uncached target data, will be substituted in the first address URL in the cache server The address of the content server indicated by first address parameter, obtains the 2nd address URL;Acquiring unit is used for root The target data is obtained from the content server according to the 2nd address URL.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, is stored in the storage medium Computer program, wherein execute any one data in the embodiment of the present invention when computer program is arranged to operation and obtain Take method.
According to another aspect of an embodiment of the present invention, a kind of electronic device, including memory and processor are additionally provided, In, computer program is stored in the memory, the processor is arranged to execute this hair by the computer program Any one data capture method in bright embodiment.
In embodiments of the present invention, after receiving the request of data for carrying the first address URL, wherein data are asked It asks for request target data, the first address URL includes the first address and the first address parameter, and the first address is used to indicate The cache server of caching of target data, the first address parameter are used to indicate the address of the content server of storage target data; In cache server in the case where uncached target data, it will be substituted for indicated by the first address parameter in the first address URL Content server address, obtain the 2nd address URL;Target data is obtained from content server according to the 2nd address URL. The embodiment of the present invention is replaced into indicated by the first address parameter by the first address URL that will be carried in request of data The address for holding server, obtains the 2nd address URL, then obtains target data from content server according to the 2nd address URL, Having achieved the purpose that, which can be thus achieved without the address list for being pre-configured with content server, obtains requested target data, into And solve the address list that varnish reverse proxy in the related technology needs to be pre-configured with content server, cause configuration to arrange The larger technical problem of the O&M cost of table improves reversed generation to realize O&M cost when reducing reverse proxy The technical effect of the efficiency of reason.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of data capture method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of optional data capture method according to an embodiment of the present invention;
Fig. 3 is the schematic diagram of the complete procedure of the optional varnish request of one kind according to an embodiment of the present invention;
Fig. 4 is a kind of flow chart of dynamic reverse proxy optionally based on varnish according to an embodiment of the present invention;
Fig. 5 is that code is realized in a kind of dynamic reverse proxy optionally based on varnish according to an embodiment of the present invention Schematic diagram;
Fig. 6 is a kind of optional ngnix reverse proxy according to an embodiment of the present invention, the architecture diagram of varnish caching;
Fig. 7 is a kind of schematic diagram of optional data acquisition facility according to an embodiment of the present invention;
Fig. 8 is the schematic diagram of another optional data acquisition facility according to an embodiment of the present invention;
Fig. 9 is the schematic diagram of another optional data acquisition facility according to an embodiment of the present invention;
Figure 10 is the schematic diagram of another optional data acquisition facility according to an embodiment of the present invention;
Figure 11 is the schematic diagram of another optional data acquisition facility according to an embodiment of the present invention;
Figure 12 is the schematic diagram of another optional data acquisition facility according to an embodiment of the present invention;And
Figure 13 is a kind of structural block diagram of electronic device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of data capture method is provided.
Optionally, in the present embodiment, above-mentioned data capture method can be applied to as shown in Figure 1 by server 102 In the hardware environment constituted with terminal 104.As shown in Figure 1, server 102 is attached by network with terminal 104, it is above-mentioned Network includes but is not limited to: wide area network, Metropolitan Area Network (MAN) or local area network.Terminal 104 is not limited to PC, mobile phone, tablet computer etc..Clothes Business device 102 can be varnish.The data capture method of the embodiment of the present invention can be executed by server 102, can also be It is executed jointly by server 102 and terminal 104.Wherein, the data capture method that terminal 104 executes the embodiment of the present invention can also be with It is to be executed by client mounted thereto.
Optionally, the process that server 102 executes the data capture method of the embodiment of the present invention can be described as: server 102 receive the request of data for carrying the first address URL, wherein request of data is used for request target data, the first URL Address includes the first address and the first address parameter, and the first address is used to indicate the cache server of caching of target data, and first Address parameter is used to indicate the address of the content server of storage target data;Server 102 is uncached in cache server In the case where target data, it will be substituted for the address of content server indicated by the first address parameter in the first address URL, obtain To the 2nd address URL;Server 102 obtains target data according to the 2nd address URL from content server.
Optionally, the process that server 102 and terminal 104 execute the data capture method of the embodiment of the present invention jointly can be with Description are as follows: server 102 receives the request of data for carrying the first address URL that terminal 104 is sent, wherein request of data is used In request target data, the first address URL includes the first address and the first address parameter, and the first address is used to indicate caching The cache server of target data, the first address parameter are used to indicate the address of the content server of storage target data;Service Device 102 in the case where uncached target data, will be substituted for the first address parameter institute in cache server in the first address URL The address of the content server of instruction obtains the 2nd address URL;Server 102 is according to the 2nd address URL from content server Obtain target data;The target data that server 102 will acquire is sent to terminal 104.
The data capture method of the embodiment of the present invention is carried out specifically so that server 102 is executing subject as an example below It is bright.
Fig. 2 is a kind of flow chart of optional data capture method according to an embodiment of the present invention, as shown in Fig. 2, the party Method may comprise steps of:
Step S202 receives the request of data for carrying the first address URL, wherein request of data is used for request mesh Data are marked, the first address URL includes the first address and the first address parameter, and the first address is used to indicate the slow of caching of target data Server is deposited, the first address parameter is used to indicate the address of the content server of storage target data;
Step S204 in cache server in the case where uncached target data, will be substituted in the first address URL The address of content server indicated by one address parameter obtains the 2nd address URL;
Step S206 obtains target data according to the 2nd address URL from content server.
S202 to step S206 through the above steps is replaced by the first address URL that will be carried in request of data At the address of content server indicated by the first address parameter, obtain the 2nd address URL, then according to the 2nd address URL from Target data is obtained in content server, has reached and acquisition can be thus achieved without the address list for being pre-configured with content server The purpose of requested target data, and then solve varnish reverse proxy in the related technology and need to be pre-configured with content clothes The address list of business device, the technical problem for causing the O&M cost of configured list larger reduce reverse proxy to realize When O&M cost, improve the technical effect of the efficiency of reverse proxy.
In the technical solution that step S202 is provided, the request of data in the embodiment of the present invention can be used for request target number According to, wherein the embodiment of the present invention is not specifically limited the type of target data, for example, target data can be video, sound Frequently, picture, text etc..
Optionally, the embodiment of the present invention is not specifically limited the triggering mode of request of data, for example, request of data can be with The touch control operation triggering executed on the client by user generates, wherein the touch control operation that user executes on the client can be with Including but not limited to click, long-pressing, sliding, gesture etc..After client detects above-mentioned touch control operation, life can be triggered At request of data, the request of data is then sent to server.
Optionally, request of data can carry the first address URL, wherein the first address URL may include the first address And first address parameter, wherein the first address can serve to indicate that the cache server of caching of target data, the first address ginseng Number can serve to indicate that the address of the content server of storage target data.Herein it should be noted that in reverse proxy process In, it, after receiving the data request can be directly by cache server if being stored with target data in cache server In target data be sent to client;If uncached in cache server have target data, request of data is being received It needs for the request of data to be forwarded in corresponding content server later, requested mesh is got from the content server Data are marked, are then returned again to client.
As a kind of optional example, the first address URL that carries in request of data can be with are as follows: http: // Test.vodflowproxy.myqcloud.com/live/test.mp4? sourceUrl=http: // 6000.li Veplay.myqcloud.com/live/68l6U8ck8Hg.mp4, wherein the first address can be http: // Test.vodflowproxy.myqcloud.com/live/test.mp4, the first address parameter can be sourceUrl= http://6000.liveplay.myqcloud.com/live/68l6U8ck8Hg.mp4。
It optionally, may include that the domain name of cache server and target data are delayed in cache server in the first address The identification information deposited.In the examples described above, http://test.vodflowproxy.myqcloud.com is cache server Domain name ,/live/test.mp4 are the identification information that target data caches in cache server.
Optionally, the domain name and target data that may include content server in the first address parameter are in content server In address.In the examples described above, http: // 6000.liveplay.myqcloud.com is the domain name of content server ,/ Live/68l6U8ck8Hg.mp4 is the identification information that target data caches in cache server.
Herein it should be noted that cache server can be the service of the data capture method of the execution embodiment of the present invention Device.
In the technical solution that step S204 is provided, cache server after receiving the data request, takes if cached Being engaged in device, there are requested target datas, then the target data directly can be returned to client;If cache server In be not present requested target data, then cache server need obtain be stored with target data content server ground Then the request of data is forwarded in the content server by location, to obtain requested target data, then will acquire Target data returns to client.
Optionally, the address that cache server obtains the content server of storage target data can be by by the first URL Address is substituted for the address of content server indicated by the first address parameter, obtains the 2nd address URL, wherein the 2nd URL Address can indicate the content server for being stored with target data.
In the examples described above, the first address URL is substituted for the address of content server indicated by the first address parameter, Acquired 2nd address URL are as follows: http: // 6000.liveplay.myqcloud.com/live/68l6U8ck8Hg.mp4.
Optionally, step S204 will be substituted for content server indicated by the first address parameter in the first address URL Address, obtaining the 2nd address URL may comprise steps of:
Step S2042 obtains the domain name and port numbers of content server from the first address parameter;
Step S2044 obtains the IP address of content server corresponding with the domain name of content server;
First address URL is substituted for the IP address and port numbers of content server by step S2046, with obtaining the 2nd URL Location.
It should be noted that on the ground that the first address URL is substituted for content server indicated by the first address parameter When location, it can be and the first address URL is substituted for URL address format shown in above-mentioned example, be also possible to the first address URL It is substituted for the format of IP address and port numbers, either which kind of format, the 2nd address URL obtained after replacement can indicate Store the content server of target data.
Optionally, the first address URL is substituted for the IP address and port numbers of content server by step S2046, obtains Two addresses URL may comprise steps of:
Step S20462 generates target structure using the IP address and port numbers of content server, wherein target knot The IP address and port numbers of content server are stored in structure body;
Step S20464, by the first address URL be substituted for the IP address of the content server stored in target structure with And port numbers, obtain the 2nd address URL.
It should be noted that since the process of varnish reverse proxy is after receiving the data request, according to configuration Good address list request data from back-end content server, wherein address list exists in the form of structural body.Therefore, it is Realization reverse proxy, the embodiment of the present invention can use the IP address of content server and port numbers generate object construction Body, and target structure is assigned to the knot for being used to store the address list of back-end content server of varnish reverse proxy Then structure body goes to the first address URL of replacement with the IP address of the content server in the structural body and port numbers again, to obtain The address of the content server of target data is stored, and then realizes the purpose of request target data.
In the technical solution that step S206 is provided, after obtaining the 2nd address URL, the embodiment of the present invention can basis 2nd address URL obtains target data from content server, and the target data that will acquire returns to client.
Optionally, according to the 2nd address URL from content server obtain target data after, the embodiment of the present invention is also It may comprise steps of:
Step S208 discharges the IP address and the occupied memory of port numbers of target structure storage content server.
It is taken it should be noted that can achieve using the data capture method of the embodiment of the present invention without being pre-configured with content The address list of business device can realize the purpose of reverse proxy, by after receiving the data request, creating object construction The IP address and port numbers of body storage content server, then with the IP address of content server and port numbers replacement first The address URL to obtain the 2nd address URL, and then is realized and obtains target data from content server according to the 2nd address URL. In embodiments of the present invention, after getting target data, the occupied memory of target structure can be discharged, to reach To the purpose for preventing RAM leakage.
As a kind of optional embodiment, according to the 2nd address URL after obtaining target data in content server, The embodiment of the present invention can also include: caching of target data, and target data is sent to client;Or target data is sent out It gives destination server to be cached, and target data is sent to client using destination server.
It should be noted that the embodiment of the present invention, which can use a server (such as varnish), realizes acquisition target Data and caching of target data also can use a server (such as nginx) and realize acquisition target data, and utilization is another A server (such as varnish) realizes caching of target data.Reverse proxy may be implemented in above two mode, is actually answering With one of which can be selected in scene according to actual needs.
As a kind of optional embodiment, the request of data in the embodiment of the present invention can be used for requesting to exempt from data on flows, Namely request data will not consume wandering.Correspondingly, the request of data that step S202 reception carries the first address URL can wrap It includes: receiving the request of data for carrying the first address URL, wherein request of data exempts from data on flows for request;Step It may include: to be taken according to the 2nd address URL from content that S206 obtains target data according to the 2nd address URL from content server It is obtained in business device and exempts from data on flows.
It, can be with it should be noted that the embodiment of the present invention be in addition to can request to exempt from data on flows, such as exempt from flow video Request other kinds of data, such as order video, VIP video etc..
The data capture method of the embodiment of the present invention can apply multiple fields, such as video field to play view for requesting Frequently, field of play request game article, financing field request financial product illustrate information etc..
Preferred embodiment below will be described in detail so that the present invention is applied to video field as an example.
The present invention also provides a kind of preferred embodiment, the preferred embodiment provides a kind of dynamic based on varnish Reverse proxy method.
Before this preferred embodiment is introduced, theory explained below is carried out to the technical term being directed to first It is bright:
Varnish: one open source http cache server acts on behalf of and caches number in this programme for realizing dynamic direction According to.
It is used to indicate a structural body of back-end content server in backend_hint:varnish configuration file, including IP and port.
Backend: the back-end content server of varnish reverse proxy is indicated.
C language structural body corresponding with backend_hint in struct director:varnish module.
Exempt to flow: user requests particular flow rate using mobile cellular network, and operator does not collect traffic fee.
Hui Yuan: Reverse Proxy is forwarded to rear end in locally data requested without user, user's request Content server retracts requested data and is transmitted to the process of user.
This method is based on open source varnish project and realizes a kind of dynamic reverse proxy service.Usual varnish is for acting on behalf of One fixed or a collection of content server forwards the request to the corresponding content server in rear end simultaneously when user's request reaches Cache the data that rear end returns.
Varnish, varnish are arrived first in the request that video on demand exempts to open the client for exempting from stream business in stream project Mainly as the cache server of program request file, if there is no the data varnish of request to need Hui Yuan in caching, here Varnish acts as the role of reverse proxy.The content of reverse proxy is the on-demand content of different clients in video cloud, access URL and parameter etc. are different because of different clients.
This method is based on open source varnish project, proposes that a kind of reverse proxy of optimization is realized, can be with dynamic proxy difference Back-end content server, avoid in configuration file largely pre-defining rear end list, when back-end content server has altered When, without changing configuration file.Varnish configuration and O&M risk can effectively be simplified, third party's client is facilitated to access.
This method can be used for video cloud program request and exempt from stream project, and varnish deployment IP is the white name cooperated operator and exempt from stream Single IP does not collect traffic fee to user by the traffic carriers of these IP.Before this method makes varnish dynamic reverse proxy The different requests that end reaches according to user request information dynamic analysis URL and find corresponding contents server pull data to originally Ground, to greatly simplify configuration and the O&M of varnish.
As shown in figure 3, the complete procedure of varnish request may include:
(1) client clinet sends request req to varnish.
(2) varnish construction request bereq accesses back-end content server backend and retracts data beresp.
(3) the data cached beresp of varnish is to local memory.
(4) varnish is to client clinet respond request content resp.
This programme general thought is the URL format for defining third party client's request, makes to carry back-end content in request URL The URL of server.Then corresponding parsing function is realized in varnish configuration script, enables configuration script from request URL The information of middle parsing back-end content server simultaneously constructs the distinctive backend data format of varnish.Finally request URL is substituted for The true content server URL in rear end simultaneously forwards request, and request terminates then releasing memory resource.
The specific implementation flow of this method is as shown in figure 4, may comprise steps of:
Step S401 searches true domain name and port.
Step S402, domain name mapping obtain IP and port.
Step S403 uses varnish structure structural texture body struct director.
Step S404, judges whether structural body is successfully constructed, if successfully thening follow the steps S405;Otherwise terminate.
Structural body struct director is assigned to backend_hint by step S405.
Step S406 uses real URL replacement request URL.
Step S407 uses backend_hint to rear end request data.
Step S408, judges whether request data succeeds, if it succeeds, executing step S409, discharges structural body Then struct director executes step S410, cache and to client returned data;If it fails, then executing Step S409 discharges structural body struct director.
For above-mentioned steps it should be understood that
The format for defining user's request URL makes to reach the ground that back-end content server is carried in the request URL of varnish Location information.URL citing:
Http:// test.vodflowproxy.myqcloud.com/live/test.mp4? sourceUrl= http://6000.liveplay.myqcloud.com/live/68l6U8ck8Hg.mp4
It should be noted that eliminating the incoherent information of this programme such as authorization check in this URL, only retain and our The relevant reverse proxy of case and URL information.Wherein, " test.vodflowproxy.myqcloud.com " is to exempt from basin name, the Tripartite's client request exempts from stream service by this domain name request, and request can be sent to varnish server;"/live/ Test.mp4 " is that this document is buffered in the index key used when varnish;The URL of sourceUrl institute band is true rear end Request URL.
Does is default treatment mode that rear end request URL is set to "/live/test.mp4 after varnish receives above-mentioned URL? SourceUrl=http: // 6000.liveplay.myqcloud.com/live/68l6U8ck8Hg.mp4 ", then configuring Suitable backend is found in file and forwards request.Therefore need to extend the default treatment ability of varnish, i.e., "/ Live/test.mp4? sourceUrl=http: // 6000.liveplay.myqcloud.com/live/ 68l6U8ck8Hg.mp4 " is parsed, and obtains key (/live/test.mp4), rear end backend when caching respectively (6000.liveplay.myqcloud.com), rear end request URL (/live/68l6U8ck8Hg.mp4) are then rewritten and are corresponded to Field, then carry out Hui Yuan.
The key of caching, rear end request URL have had corresponding variable to indicate and be all word in the configuration file of default String type is accorded with, so directly rewriting.And the mode of rear end backend default is a knot for being previously defined in configuration file Structure body is simultaneously expressed as backend_hint, and can not field indirect assignment to this structural body in configuration script.So Next it needs to construct backend_hint. according to request URL
In configuration file backend_hint actually it is corresponding be C language code struct director.Therefore originally Scheme is by way of extending varnish physical layer interface ability come dynamic construction and release struct director.Specifically SourceUrl parameter value is passed to self defined interface by ground;Self defined interface, which parses, comes into the domain name (or IP) come and port; Domain name mapping is carried out if what is parsed is domain name to obtain IP;Varnish internal interface is based on using IP and port Construction struct director simultaneously returns to its pointer.
The pointer of struct director can freely use after returning to configuration script in configuration script, still Since struct director is dynamic application memory, so also needing to realize connecing for a release struct director Mouthful.It is achieved in that in configuration script and struct director is passed to customized realizing interface, customized realizing interface base The corresponding memory of structdirector is deleted in varnish internal interface, to prevent memory overflow.
This programme, which is equivalent to, is converted to dynamic analysis static configuration, to simplify the complexity of configuration file.
From the point of view of scheme itself, the configuration for needing to configure thousands of a backend and if-else branches originally can be with It is reduced to code block as shown in Figure 5.Even if subsequent increase client or client's backend arrangement have change, it is all not necessarily to varnish Do configuration change, it is only necessary to above-mentioned URL rules modification request URL in client request, to greatly reduce project dimension Protect cost and O&M risk.
Based on this scheme can fast implement program request exempt from stream and acceleration function, convenient for third party's client popularization and Attract potential user.To help third party's client quickly to occupy market catbird seat.
It should be noted that varnish has functioned simultaneously as the role of reverse proxy and cache server in this programme.Reversely The open source realization of agency have it is very much, such as nginx, but nginx in the ability for realizing local cache not as good as varnish flexibly and specially Industry.So can also realize this programme in conjunction with nginx and varnish, i.e. for varnish for caching, nginx is used for reversed generation Reason, architecture diagram are as shown in Figure 6.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the number of above-mentioned data capture method According to acquisition device.Fig. 7 is a kind of schematic diagram of optional data acquisition facility according to an embodiment of the present invention, as shown in fig. 7, should Device may include:
Receiving unit 22, for receiving the request of data for carrying the first address URL, wherein request of data is for requesting Target data is obtained, the first address URL includes the first address and the first address parameter, and the first address is used to indicate caching of target number According to cache server, the first address parameter be used to indicate storage target data content server address;Replacement unit 24, For in the case where uncached target data, the first address parameter institute will to be substituted in the first address URL in cache server The address of the content server of instruction obtains the 2nd address URL;Acquiring unit 26, for being taken according to the 2nd address URL from content Target data is obtained in business device.
It should be noted that the receiving unit 22 in the embodiment can be used for executing the step in the embodiment of the present application S202, the replacement unit 24 in the embodiment can be used for executing the step S204 in the embodiment of the present application, in the embodiment Acquiring unit 26 can be used for executing the step S206 in the embodiment of the present application.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization.
As a kind of optional embodiment, as shown in figure 8, replacement unit 24 may include: the first acquisition module 242, use In the domain name and port numbers that obtain content server from the first address parameter;Second obtain module 244, for obtain with it is interior Hold the IP address of the corresponding content server of domain name of server;Replacement module 246, in being substituted for the first address URL The IP address and port numbers for holding server, obtain the 2nd address URL.
It is used as a kind of optional embodiment as shown in figure 9, replacement module 246 may include: to generate submodule 2462 In IP address and port numbers generation target structure using content server, wherein be stored with content in target structure The IP address and port numbers of server;Submodule 2464 is replaced, is deposited for the first address URL to be substituted in target structure The IP address and port numbers of the content server of storage, obtain the 2nd address URL.
As a kind of optional embodiment, as shown in Figure 10, which can also include: releasing unit 28, in root According to the 2nd address URL after obtaining target data in content server, the IP of target structure storage content server is discharged Address and the occupied memory of port numbers.
As a kind of optional embodiment, as shown in figure 11, receiving unit 22 may include: receiving module 222, for connecing Receive the request of data for carrying the first address URL, wherein request of data exempts from data on flows for request;Acquiring unit 26 It may include: that third obtains module 262, exempt from data on flows for obtaining from content server according to the 2nd address URL.
As a kind of optional embodiment, as shown in figure 12, which can also include: the first cache unit 210, be used for According to the 2nd address URL after obtaining target data in content server, caching of target data, and target data is sent To client;Or second cache unit 212, it is cached for target data to be sent to destination server, and utilize mesh It marks server and target data is sent to client.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization.
By above-mentioned module, having reached, which can be thus achieved to obtain without the address list for being pre-configured with content server, is asked The purpose for the target data asked, and then solve varnish reverse proxy in the related technology and need to be pre-configured with content server Address list, the technical problem for causing the O&M cost of configured list larger, to realize when reducing reverse proxy O&M cost improves the technical effect of the efficiency of reverse proxy.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the electricity of above-mentioned data capture method Sub-device.
Figure 13 is a kind of structural block diagram of electronic device according to an embodiment of the present invention, as shown in figure 13, the electronic device It may include: one or more (one is only shown in figure) processors 201, memory 203, wherein can be deposited in memory 203 Computer program is contained, processor 201 can be set to run number of the computer program to execute the embodiment of the present invention According to acquisition methods.
Wherein, memory 203 can be used for storing computer program and module, such as the data acquisition in the embodiment of the present invention Corresponding program instruction/the module of method and apparatus, the computer program that processor 201 is stored in memory 203 by operation And module realizes above-mentioned data capture method thereby executing various function application and data processing.Memory 203 It may include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, memory 203 can further comprise relative to processor 201 remotely located memories, these remote memories can pass through network connection to terminal.The example of above-mentioned network include but It is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Optionally, as shown in figure 13, which can also include: transmitting device 205 and input-output equipment 207.Wherein, transmitting device 205 is used to that data to be received or sent via a network.Above-mentioned network specific example may include Cable network and wireless network.In an example, transmitting device 205 includes a network adapter (NetworkInterface Controller, NIC), can be connected by cable with other network equipments with router to It can be communicated with internet or local area network.In an example, transmitting device 205 is radio frequency (Radio Frequency, RF) Module is used to wirelessly be communicated with internet.
It will appreciated by the skilled person that structure shown in Figure 13 is only to illustrate, electronic device can be intelligence Mobile phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal devices such as PAD.Figure 13 it does not cause to limit to the structure of above-mentioned electronic device.Example Such as, electronic device can also include more or less component (such as network interface, display device) than shown in Figure 13, or Person has the configuration different from shown in Figure 13.
Optionally, in the present embodiment, above-mentioned memory 203 can be used for storing computer program.
Optionally, in the present embodiment, above-mentioned processor can be set to operation computer program, to execute following step It is rapid: to receive the request of data for carrying the first address URL, wherein request of data is used for request target data, the first URL Address includes the first address and the first address parameter, and the first address is used to indicate the cache server of caching of target data, and first Address parameter is used to indicate the address of the content server of storage target data;The uncached target data in cache server In the case of, it will be substituted for the address of content server indicated by the first address parameter in the first address URL, obtains the 2nd URL Address;Target data is obtained from content server according to the 2nd address URL.
Processor 201 is also used to execute following step: from the first address parameter obtain content server domain name and Port numbers;Obtain the IP address of content server corresponding with the domain name of content server;First address URL is substituted for content The IP address and port numbers of server, obtain the 2nd address URL.
Processor 201 is also used to execute following step: generating target using the IP address and port numbers of content server Structural body, wherein the IP address and port numbers of content server are stored in target structure;First address URL is replaced At the IP address and port numbers of the content server stored in target structure, the 2nd address URL is obtained.
Processor 201 is also used to execute following step: number of targets is being obtained from content server according to the 2nd address URL According to later, the IP address and the occupied memory of port numbers of target structure storage content server are discharged.
Processor 201 is also used to execute following step: receiving the request of data for carrying the first address URL, wherein data Request exempts from data on flows for request;Target data is obtained from content server according to the 2nd address URL includes: according to 2nd address URL is obtained from content server exempts from data on flows.
Processor 201 is also used to execute following step: number of targets is being obtained from content server according to the 2nd address URL According to later, caching of target data, and target data is sent to client;Or by target data be sent to destination server into Row caching, and target data is sent to client using destination server.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
Using the embodiment of the present invention, provide a kind of scheme of data acquisition, by will be carried in request of data first The address URL is replaced into the address of content server indicated by the first address parameter, obtains the 2nd address URL, then root Target data is obtained from content server according to the 2nd address URL, has reached the address column without being pre-configured with content server The purpose for obtaining requested target data can be thus achieved in table, and then solving varnish reverse proxy in the related technology need to It is pre-configured with the address list of content server, the technical problem for causing the O&M cost of configured list larger, to realize O&M cost when reverse proxy is reduced, improves the technical effect of the efficiency of reverse proxy.
Another aspect according to an embodiment of the present invention additionally provides a kind of storage medium.It is stored in the storage medium Computer program, wherein the computer program is arranged to the step of executing data capture method in above-described embodiment when operation.
Optionally, in the present embodiment, storage medium can be located at multiple networks in network shown in above-described embodiment On at least one network equipment in equipment.
Optionally, in the present embodiment, storage medium is arranged to store the computer program for executing following steps:
S1 receives the request of data for carrying the first address URL, wherein and request of data is used for request target data, First address URL includes the first address and the first address parameter, and the first address is used to indicate the buffer service of caching of target data Device, the first address parameter are used to indicate the address of the content server of storage target data;
S2 in cache server in the case where uncached target data, will be substituted for the first address in the first address URL The address of content server indicated by parameter obtains the 2nd address URL;
S3 obtains target data according to the 2nd address URL from content server.
Optionally, storage medium is also configured to store the computer program for executing following steps: from the first address The domain name and port numbers of content server are obtained in parameter;Obtain content server corresponding with the domain name of content server IP address;First address URL is substituted for the IP address and port numbers of content server, obtains the 2nd address URL.
Optionally, storage medium is also configured to store the computer program for executing following steps: being taken using content The IP address of device of being engaged in and port numbers generate target structure, wherein the IP of content server is stored in target structure Location and port numbers;First address URL is substituted for IP address and the port of the content server stored in target structure Number, obtain the 2nd address URL.
Optionally, storage medium is also configured to store the computer program for executing following steps: according to second The address URL from content server obtain target data after, discharge target structure storage content server IP address with And the occupied memory of port numbers.
Optionally, storage medium is also configured to store the computer program for executing following steps: reception carries The request of data of first address URL, wherein request of data exempts from data on flows for request;According to the 2nd address URL from interior Holding acquisition target data in server includes: being obtained from content server according to the 2nd address URL and exempts from data on flows.
Optionally, storage medium is also configured to store the computer program for executing following steps: according to second The address URL is after obtaining target data in content server, caching of target data, and target data is sent to client; Or target data is sent to destination server and is cached, and target data is sent to client using destination server End.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that it is complete in the method for above-described embodiment Portion or part steps are that the relevant hardware of terminal device can be instructed to complete by program, which can store Yu Yiji In calculation machine readable storage medium storing program for executing, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), Random access device (Random Access Memory, RAM), disk or CD etc..
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (14)

1. a kind of data capture method characterized by comprising
Receive the request of data for carrying the first address URL, wherein the request of data is used for request target data, institute Stating the first address URL includes the first address and the first address parameter, and first address is used to indicate the caching target data Cache server, first address parameter is used to indicate the address for storing the content server of the target data;
In the cache server in the case where the uncached target data, institute will be substituted in the first address URL The address for stating the content server indicated by the first address parameter obtains the 2nd address URL;
The target data is obtained from the content server according to the 2nd address URL.
2. the method according to claim 1, wherein described will be substituted for described in first address URL The address of the content server indicated by one address parameter, obtaining the 2nd address URL includes:
The domain name and port numbers of the content server are obtained from first address parameter;
Obtain the IP address of the content server corresponding with the domain name of the content server;
First address URL is substituted for the IP address and port numbers of the content server, with obtaining the 2nd URL Location.
3. according to the method described in claim 2, it is characterized in that, described be substituted for the content for the first address URL The IP address and port numbers of server, obtaining the 2nd address URL includes:
Target structure is generated using the IP address and port numbers of the content server, wherein in the target structure It is stored with the IP address and port numbers of the content server;
First address URL is substituted for IP address and the end of the content server stored in the target structure Slogan obtains the 2nd address URL.
4. according to the method described in claim 3, it is characterized in that, it is described according to the 2nd address URL from the content After obtaining the target data in server, the method also includes:
Discharge IP address and the occupied memory of port numbers that the target structure stores the content server.
5. method according to claim 1 to 4, which is characterized in that
The request of data that the reception carries the first address URL includes: the data that reception carries the first address URL are asked It asks, wherein the request of data exempts from data on flows for request;
It is described the target data is obtained from the content server according to the 2nd address URL to include: according to described Exempt from data on flows described in obtaining from the content server in two addresses URL.
6. method according to claim 1 to 4, which is characterized in that described according to the 2nd address URL After obtaining the target data in the content server, the method also includes:
The target data is cached, and the target data is sent to client;Or
The target data is sent to destination server to cache, and utilizes the destination server by the target data It is sent to the client.
7. a kind of data acquisition facility characterized by comprising
Receiving unit, for receiving the request of data for carrying the first address URL, wherein the request of data is obtained for requesting Target data is taken, the first address URL includes the first address and the first address parameter, and first address is used to indicate caching The cache server of the target data, first address parameter are used to indicate the content server for storing the target data Address;
Replacement unit is used in the cache server in the case where the uncached target data, by the first URL It is substituted for the address of the content server indicated by first address parameter in location, obtains the 2nd address URL;
Acquiring unit, for obtaining the target data from the content server according to the 2nd address URL.
8. device according to claim 7, which is characterized in that the replacement unit includes:
First obtains module, for obtaining the domain name and port numbers of the content server from first address parameter;
Second obtains module, for obtaining the IP address of the content server corresponding with the domain name of the content server;
Replacement module obtains institute for the first address URL to be substituted for the IP address and port numbers of the content server State the 2nd address URL.
9. device according to claim 8, which is characterized in that the replacement module includes:
Submodule is generated, for the IP address and port numbers generation target structure using the content server, wherein institute State the IP address and port numbers that the content server is stored in target structure;
Submodule is replaced, for the first address URL to be substituted for the content service stored in the target structure The IP address and port numbers of device obtain the 2nd address URL.
10. device according to claim 9, which is characterized in that described device further include:
Releasing unit, for obtaining the target data from the content server according to the 2nd address URL described Later, IP address and the occupied memory of port numbers that the target structure stores the content server are discharged.
11. device according to any one of claims 7 to 10, which is characterized in that
The receiving unit includes: receiving module, for receiving the request of data for carrying the first address URL, wherein institute It states request of data and exempts from data on flows for request;
The acquiring unit includes: that third obtains module, for being obtained from the content server according to the 2nd address URL Exempt from data on flows described in taking.
12. device according to any one of claims 7 to 10, which is characterized in that described device further include:
First cache unit, for obtaining the target from the content server according to the 2nd address URL described After data, the target data is cached, and the target data is sent to client;Or
Second cache unit is cached for the target data to be sent to destination server, and is taken using the target The target data is sent to the client by business device.
13. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claim 1 to 6 when operation.
14. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program to execute side described in any one of claim 1 to 6 Method.
CN201810349630.8A 2018-04-18 2018-04-18 Data acquisition method and device, storage medium and electronic device Active CN110198333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810349630.8A CN110198333B (en) 2018-04-18 2018-04-18 Data acquisition method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810349630.8A CN110198333B (en) 2018-04-18 2018-04-18 Data acquisition method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN110198333A true CN110198333A (en) 2019-09-03
CN110198333B CN110198333B (en) 2022-05-20

Family

ID=67751051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810349630.8A Active CN110198333B (en) 2018-04-18 2018-04-18 Data acquisition method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110198333B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143650A (en) * 2019-12-16 2020-05-12 东软集团股份有限公司 Method, device, medium and electronic equipment for acquiring page data
CN113301175A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 Service calling method, data storage method, device, equipment and storage medium
CN113312036A (en) * 2021-06-15 2021-08-27 曙光信息产业(北京)有限公司 Large-screen display method, device and equipment of Web page and storage medium
CN113973135A (en) * 2021-10-19 2022-01-25 北京沃东天骏信息技术有限公司 Data caching processing method and device, caching grid platform and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780711A (en) * 2011-05-09 2012-11-14 腾讯科技(深圳)有限公司 Method, device and system for accessing application data of SNS (Social Network Site)
CN103248684A (en) * 2013-04-28 2013-08-14 北京奇虎科技有限公司 Resource acquiring method and device on Internet
CN103647811A (en) * 2013-11-28 2014-03-19 北京奇虎科技有限公司 A method and an apparatus for application's accessing backstage service
CN106790059A (en) * 2016-12-20 2017-05-31 Tcl集团股份有限公司 Intelligent television Launcher cloud systems service calling method and system
WO2017107568A1 (en) * 2015-12-21 2017-06-29 北京大学 Cloud-side cooperation-based method for optimizing resource loading at mobile browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780711A (en) * 2011-05-09 2012-11-14 腾讯科技(深圳)有限公司 Method, device and system for accessing application data of SNS (Social Network Site)
CN103248684A (en) * 2013-04-28 2013-08-14 北京奇虎科技有限公司 Resource acquiring method and device on Internet
CN103647811A (en) * 2013-11-28 2014-03-19 北京奇虎科技有限公司 A method and an apparatus for application's accessing backstage service
WO2017107568A1 (en) * 2015-12-21 2017-06-29 北京大学 Cloud-side cooperation-based method for optimizing resource loading at mobile browser
CN106790059A (en) * 2016-12-20 2017-05-31 Tcl集团股份有限公司 Intelligent television Launcher cloud systems service calling method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143650A (en) * 2019-12-16 2020-05-12 东软集团股份有限公司 Method, device, medium and electronic equipment for acquiring page data
CN111143650B (en) * 2019-12-16 2024-04-26 东软集团股份有限公司 Method, device, medium and electronic equipment for acquiring page data
CN113301175A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 Service calling method, data storage method, device, equipment and storage medium
CN113312036A (en) * 2021-06-15 2021-08-27 曙光信息产业(北京)有限公司 Large-screen display method, device and equipment of Web page and storage medium
CN113312036B (en) * 2021-06-15 2023-08-18 曙光信息产业(北京)有限公司 Large screen display method, device and equipment of Web page and storage medium
CN113973135A (en) * 2021-10-19 2022-01-25 北京沃东天骏信息技术有限公司 Data caching processing method and device, caching grid platform and storage medium

Also Published As

Publication number Publication date
CN110198333B (en) 2022-05-20

Similar Documents

Publication Publication Date Title
CN110198333A (en) Data capture method and device, storage medium and electronic device
CN105338026B (en) The acquisition methods of data resource, device and system
CN106533935B (en) A kind of method and apparatus obtaining business chain information in cloud computing system
CN105591978B (en) Network-based service function link
CN106446049B (en) A kind of page data interactive device and method
CN104301444B (en) Network IP acquisition methods, device, application platform, client and system
CN107623729A (en) A kind of caching method, equipment and cache service system
CN102833361B (en) Terminating connections and selecting target source devices for resource requests
CN110505496A (en) Live-broadcast control method and device, storage medium and electronic device
CN108370379A (en) With cunicular equipment management
CN110198229B (en) Network configuration method and device, storage medium and electronic device
CN108156210A (en) The acquisition methods and device of target resource
CN107735778B (en) Protect the communication link between content delivery network and content original server
CN109729183A (en) Request processing method, device, equipment and storage medium
CN106161664A (en) Domain name analytic method and device, data transmission method and device
CN105407068B (en) Network Data Capture methods, devices and systems
CN109981745A (en) A kind of journal file processing method and server
CN110351288A (en) An a kind of product contains the data push method of multiple columns
CN110392123A (en) The methods, devices and systems of detection outlet IP address
CN103248627B (en) Method, forward proxy server and system for visiting website resources
CN106688243A (en) Device-to-device content providing method
CN107249038A (en) Business datum retransmission method and system
CN106302661B (en) P2P data accelerated method, device and system
CN109413224A (en) Message forwarding method and device
CN110851275B (en) Load transfer method and device of routing node

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant