CN110138880A - The method and apparatus for promoting access rate are cached based on cloud platform - Google Patents
The method and apparatus for promoting access rate are cached based on cloud platform Download PDFInfo
- Publication number
- CN110138880A CN110138880A CN201910483873.5A CN201910483873A CN110138880A CN 110138880 A CN110138880 A CN 110138880A CN 201910483873 A CN201910483873 A CN 201910483873A CN 110138880 A CN110138880 A CN 110138880A
- Authority
- CN
- China
- Prior art keywords
- information
- value
- response contents
- sent
- website server
- 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.)
- Pending
Links
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/10—Protocols in which an application is distributed across nodes in the network
-
- 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
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides the method and apparatus for promoting access rate are cached based on cloud platform, it is applied to cloud platform, comprising: receive the accessing request information that user terminal is sent, accessing request information includes domain name, url and content information;The number of statistics access url, judges whether the number for accessing url reaches preset threshold;If reached, the first md5 value is generated according to domain name and url;First md5 value is matched with the 2nd md5 value in local cache file;If successful match, the corresponding response contents information of the 2nd md5 value in local cache file is sent to user terminal;If matching is unsuccessful, content information is sent to Website server;The response contents information that Website server is sent is received, carrying is distributed to flow in such a way that cloud platform caches response contents information with the first md5 value name response contents information, promotes the access efficiency and service quality of Website server.
Description
Technical field
The present invention relates to technical field of network security, more particularly, to the method for caching promotion access rate based on cloud platform
And device.
Background technique
As network application is all moved to cloud platform (public cloud, private clound by universal and development, all trades and professions of cloud computing
Or mixed cloud) on, since the network query function ability of each cloud platform is different with network carrying ability, when a large number of users access cloud is flat
When platform, network pressure is caused to cloud platform, causes cloud platform processing speed slow;Alternatively, causing cloud platform when network peak period
Congestion will lead to the service quality problem of cloud platform once cloud platform gets congestion.
Summary of the invention
In view of this, the purpose of the present invention is to provide the method and apparatus for promoting access rate are cached based on cloud platform,
In such a way that cloud platform caches response contents information, carrying is distributed to flow, to promote Website server
Access efficiency and service quality.
In a first aspect, being applied to cloud the embodiment of the invention provides the method for promoting access rate is cached based on cloud platform
Platform, which comprises
The accessing request information that user terminal is sent is received, the accessing request information includes domain name, uniform resource locator
Url and content information;
Statistics accesses the number of the url, judges whether the number for accessing the url reaches preset threshold;
If reaching the preset threshold, the first md5 value is generated according to domain name and the url;
The first md5 value is matched with the 2nd md5 value in local cache file;
If successful match, the corresponding response contents information of the 2nd md5 value in the local cache file is sent
To the user terminal;
If matching is unsuccessful, the content information is sent to Website server, so that the website service
Device searches the corresponding response contents information according to the content information;
The response contents information that the Website server is sent is received, the response is named with the first md5 value
Content information, and cache the response contents information.
Further, it is described first md5 value is generated according to domain name and the url after, the method also includes:
When the accessing request information is that the user terminal accesses for the first time, the content information is sent to website
Server, so that the Website server searches the corresponding response contents information according to the content information;
The response contents information that the Website server is sent is received, the response is named with the first md5 value
Content information, and store the response contents information.
Further, the accessing request information includes stabbing at the first time, and the corresponding response contents of the 2nd md5 value are believed
It ceases corresponding second timestamp and period, second timestamp and the period constitute effective time, and the method is also wrapped
It includes:
Judge the first time stamp whether within the effective time;
If the first time stamp believes the corresponding response contents of the 2nd md5 value within the effective time
Breath is sent to the user terminal;
If the first time stamp is sent to website clothes not within the effective time, by the content information
Business device, so that the Website server searches the corresponding response contents information according to the content information;
The response contents information that the Website server is sent is received, and updates the corresponding sound of the 2nd md5 value
Answer content information.
Further, the content information includes pictorial information, video information, cascading style sheets CSS and hypertext
Markup language HTML.
Second aspect is applied to cloud the embodiment of the invention provides the device for promoting access rate is cached based on cloud platform
Platform, described device include:
First receiving unit, for receiving the accessing request information of user terminal transmission, the accessing request information includes domain
Name, uniform resource locator url and content information;
Statistic unit judges whether the number for accessing the url reaches default for counting the number for accessing the url
Threshold value;
Generation unit, for generating first according to domain name and the url in the case where reaching the preset threshold
Md5 value;
Matching unit, for matching the first md5 value with the 2nd md5 value in local cache file;
First transmission unit is used in the case where successful match, by the 2nd md5 value pair in the local cache file
The response contents information answered is sent to the user terminal;
First searching unit, in the case where matching unsuccessful situation, the content information to be sent to website clothes
Business device, so that the Website server searches the corresponding response contents information according to the content information;
Unit is named, the response contents information sent for receiving the Website server, with the first md5 value
The response contents information is named, and caches the response contents information.
Further, described device further include:
Second transmission unit, after generating the first md5 value according to domain name and the url, when the visit
When asking that solicited message is that the user terminal accesses for the first time, the content information is sent to Website server, so that described
Website server searches the corresponding response contents information according to the content information;
Second receiving unit, the response contents information sent for receiving the Website server, with described first
Md5 value names the response contents information, and stores the response contents information.
Further, the accessing request information includes stabbing at the first time, and the corresponding response contents of the 2nd md5 value are believed
It ceases corresponding second timestamp and period, second timestamp and the period constitute effective time, and described device is also wrapped
It includes:
Judging unit, for judging the first time stamp whether within the effective time;
Third transmission unit, within the effective time, the 2nd md5 value to be corresponded in first time stamp
Response contents information be sent to the user terminal;
Second searching unit, for being asked by described in the case where stabbing not within the effective time first time
Content information is asked to be sent to Website server, so that the Website server searches corresponding institute according to the content information
State response contents information;
Third receiving unit, the response contents information sent for receiving the Website server, and described in update
The corresponding response contents information of 2nd md5 value.
Further, the content information includes pictorial information, video information, cascading style sheets CSS and hypertext
Markup language HTML.
The third aspect is deposited on the memory the embodiment of the invention provides electronic equipment, including memory, processor
The computer program that can be run on the processor is contained, the processor realizes institute as above when executing the computer program
The step of method stated.
Fourth aspect, the embodiment of the invention provides the computers for the non-volatile program code that can be performed with processor
Readable medium, said program code make the processor execute method as described above.
The embodiment of the invention provides the method and apparatus for promoting access rate are cached based on cloud platform, put down applied to cloud
Platform, comprising: receive user terminal send accessing request information, accessing request information include domain name, uniform resource locator url and
Content information;Statistics accesses the number of the url, judges whether the number for accessing url reaches preset threshold;If reached
Preset threshold then generates the first md5 value according to domain name and url;By the 2nd md5 value in the first md5 value and local cache file
It is matched;If successful match, the corresponding response contents information of the 2nd md5 value in local cache file is sent to use
Family end;If matching is unsuccessful, content information is sent to Website server, so that Website server is according in request
Hold the corresponding response contents information of information searching;The response contents information that Website server is sent is received, with the name of the first md5 value
Response contents information is distributed carrying to flow, to mention in such a way that cloud platform caches response contents information
Rise the access efficiency and service quality of Website server.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims
And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the method flow diagram that promotion access rate is cached based on cloud platform that the embodiment of the present invention one provides;
Fig. 2 is another method flow diagram that promotion access rate is cached based on cloud platform provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic device that promotion access rate is cached based on cloud platform that the embodiment of the present invention three provides;
Fig. 4 is another schematic device that promotion access rate is cached based on cloud platform that the embodiment of the present invention three provides.
Icon:
The first receiving unit of 1-;2- statistic unit;3- generation unit;4- matching unit;The first transmission unit of 5-;6- first
Searching unit;7- names unit;The second transmission unit of 8-;The second receiving unit of 9-.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
To be described in detail to the embodiment of the present invention below convenient for understanding the present embodiment.
Embodiment one:
Fig. 1 is the method flow diagram that promotion access rate is cached based on cloud platform that the embodiment of the present invention one provides.
Referring to Fig.1, executing subject is cloud platform, method includes the following steps:
Step S101 receives the accessing request information that user terminal is sent, and accessing request information includes domain name, url
(Uniform Resource Locator, uniform resource locator) and content information;Wherein, content information includes
Pictorial information, video information, CSS (Cascading Style Sheets, cascading style sheets) and HTML (Hyper Text
Markup Language, hypertext markup language).
Step S102, the number of statistics access url, judges whether the number for accessing url reaches preset threshold;If reached
Preset threshold thens follow the steps S103;
Step S103 generates the first md5 value according to domain name and url;
In the present embodiment, user terminal first sends access request to cloud platform when accessing the static page of Website server
Information, cloud platform judge that user terminal accesses the number of same url and whether reaches preset threshold, if reached, are asked according to access
The domain name for including in information and url is asked to generate the first md5 value.Wherein, preset threshold can be configured by user.
Step S104 matches the first md5 value with the 2nd md5 value in local cache file;
Step S105, if successful match, by the corresponding response contents information of the 2nd md5 value in local cache file
It is sent to user terminal;
Content information is sent to Website server if matching is unsuccessful by step S106, so that website service
Device searches corresponding response contents information according to content information;
Step S107 receives the response contents information that Website server is sent, with the first md5 value name response contents letter
Breath, and cache responses content information.
It, can be first by the first md5 value and locally slow after cloud platform generates the first md5 value according to domain name and url in the present embodiment
The 2nd md5 value deposited in file is matched, and judges whether the first md5 value and the 2nd md5 value in local cache file are identical,
If identical, the corresponding response contents information of the 2nd md5 value in local cache file is directly sent to user terminal;If
Not identical, then content information is sent to Website server by cloud platform, and Website server is searched according to content information
Corresponding response contents information, and response contents information is sent to cloud platform, cloud platform receives Website server transmission
After response contents information, response contents information, and cache responses content information are named with the first md5 value, then response contents are believed
Breath is sent to user terminal.
Further, accessing request information includes stabbing at the first time, the 2nd md5 value corresponding response contents information correspondence the
Two timestamps and period, the second timestamp and period constitute effective time, and this method is further comprising the steps of:
Whether step S201 judges to stab within effective time at the first time;If stamp is within effective time at the first time,
Execute step S202;If stamp thens follow the steps S203 not within effective time at the first time;
The corresponding response contents information of 2nd md5 value is sent to user terminal by step S202;
Content information is sent to Website server by step S203, so that Website server is believed according to request content
Breath searches corresponding response contents information;
Step S204 receives the response contents information that Website server is sent, and updates in the corresponding response of the 2nd md5 value
Hold information.
It is corresponding to stab at the first time when user terminal sends accessing request information to cloud platform in the present embodiment, local cache text
The corresponding response contents information of the 2nd md5 value stored in part, corresponding second timestamp and period, and the second timestamp and
Period constitutes effective time.When the response contents information in local cache file is sent to user terminal by cloud platform, need
First judge to stab whether within effective time at the first time, if within effective time, directly by the corresponding response of the 2nd md5 value
Content information is sent to user terminal;If content information is sent to Website server, in net not within effective time
After site server finds new response contents information, it is then forwarded to cloud platform, cloud platform is by the response contents in the 2nd md5 value
Information update is new response contents information.
Embodiment two:
Fig. 2 is another method flow diagram that promotion access rate is cached based on cloud platform provided by Embodiment 2 of the present invention.
Referring to Fig. 2, executing subject is cloud platform, method includes the following steps:
Step S301, receives the accessing request information that user terminal is sent, and accessing request information includes that domain name, unified resource are fixed
Position symbol url and content information;
Step S302, the number of statistics access url, judges whether the number for accessing url reaches preset threshold, if reached
The preset threshold, thens follow the steps S303;
Step S303 generates the first md5 value according to domain name and url;
Content information is sent to website clothes when accessing request information is that user terminal accesses for the first time by step S304
Business device, so that Website server searches corresponding response contents information according to content information;
Step S305 receives the response contents information that Website server is sent, with the first md5 value name response contents letter
Breath, and memory response content information.
In the present embodiment, when user terminal accesses cloud platform for the first time, accessing request information is sent to website service by cloud platform
Device, Website server search corresponding response contents information according to the content information in accessing request information, and will response
Content information is sent to cloud platform, after cloud platform receives the response contents information of Website server transmission, with the first md5 value life
Name response contents information, and cache responses content information, then response contents information is sent to user terminal.
The embodiment of the invention provides the method for promoting access rate is cached based on cloud platform, it is applied to cloud platform, comprising:
The accessing request information that user terminal is sent is received, accessing request information includes domain name, uniform resource locator url and request content
Information;The number of statistics access url, judges whether the number for accessing url reaches preset threshold;If reaching preset threshold,
The first md5 value is generated according to domain name and url;First md5 value is matched with the 2nd md5 value in local cache file;Such as
The corresponding response contents information of the 2nd md5 value in local cache file is then sent to user terminal by fruit successful match;If
With unsuccessful, then content information is sent to Website server, so that Website server is searched according to content information
Corresponding response contents information;The response contents information that Website server is sent is received, with the first md5 value name response contents letter
Breath, in such a way that cloud platform caches response contents information, is distributed carrying to flow, to promote website service
The access efficiency and service quality of device.
Embodiment three:
Fig. 3 is the schematic device that promotion access rate is cached based on cloud platform that the embodiment of the present invention three provides.
Referring to Fig. 3, which includes:
First receiving unit 1, for receive user terminal transmission accessing request information, accessing request information include domain name,
Uniform resource locator url and content information;
Statistic unit 2 judges whether the number for accessing url reaches preset threshold for counting the number of access url;
Generation unit 3, for generating the first md5 value according to domain name and url in the case where reaching preset threshold;
Matching unit 4, for matching the first md5 value with the 2nd md5 value in local cache file;
First transmission unit 5, in the case where successful match, the 2nd md5 value in local cache file to be corresponded to
Response contents information be sent to user terminal;
First searching unit 6, in the case where matching unsuccessful situation, content information to be sent to website service
Device, so that Website server searches corresponding response contents information according to content information;
Unit 7 is named, for receiving the response contents information of Website server transmission, in the name response of the first md5 value
Hold information, and cache responses content information.
Further, accessing request information includes stabbing at the first time, the 2nd md5 value corresponding response contents information correspondence the
Two timestamps and period, the second timestamp and period constitute effective time, the device further include:
Judging unit (not shown), for judging the first time stamp whether within the effective time;
Third transmission unit (not shown), for being stabbed within the effective time in the first time, by described second
The corresponding response contents information of md5 value is sent to the user terminal;
Second searching unit (not shown) is used in the case where stabbing not within the effective time first time,
The content information is sent to Website server, so that the Website server is searched according to the content information
The corresponding response contents information;
Third receiving unit (not shown), the response contents information sent for receiving the Website server, and
Update the corresponding response contents information of the 2nd md5 value.
Further, content information includes pictorial information, video information, cascading style sheets CSS and hypertext markup
Language HTML.
Example IV:
Fig. 4 is another schematic device that promotion access rate is cached based on cloud platform that the embodiment of the present invention three provides.
Referring to Fig. 4, which includes:
First receiving unit 1, for receive user terminal transmission accessing request information, accessing request information include domain name,
Uniform resource locator url and content information;
Statistic unit 2 judges whether the number for accessing url reaches preset threshold for counting the number of access url;
Generation unit 3, for generating the first md5 value according to domain name and url in the case where reaching preset threshold;
Second transmission unit 8, after generating the first md5 value according to domain name and url, when accessing request information is user
When end accesses for the first time, content information is sent to Website server, so that Website server is looked into according to content information
Look for corresponding response contents information;
Second receiving unit 9 is named with the first md5 value and is rung for receiving the response contents information of Website server transmission
Answer content information, and memory response content information.
The embodiment of the invention provides the device for promoting access rate is cached based on cloud platform, it is applied to cloud platform, comprising:
The accessing request information that user terminal is sent is received, accessing request information includes domain name, uniform resource locator url and request content
Information;The number of statistics access url, judges whether the number for accessing url reaches preset threshold;If reaching preset threshold,
The first md5 value is generated according to domain name and url;First md5 value is matched with the 2nd md5 value in local cache file;Such as
The corresponding response contents information of the 2nd md5 value in local cache file is then sent to user terminal by fruit successful match;If
With unsuccessful, then content information is sent to Website server, so that Website server is searched according to content information
Corresponding response contents information;The response contents information that Website server is sent is received, with the first md5 value name response contents letter
Breath, in such a way that cloud platform caches response contents information, is distributed carrying to flow, to promote website service
The access efficiency and service quality of device.
The embodiment of the present invention also provides a kind of electronic equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor, processor are realized provided by the above embodiment flat based on cloud when executing computer program
The step of platform caching promotes the method for access rate.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program is executed being cached based on cloud platform for above-described embodiment and promotes access rate when computer program is run by processor
The step of method.
Computer program product provided by the embodiment of the present invention, the computer-readable storage including storing program code
Medium, the instruction that said program code includes can be used for executing previous methods method as described in the examples, and specific implementation can be joined
See embodiment of the method, details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of cache the method for promoting access rate based on cloud platform, which is characterized in that be applied to cloud platform, the method packet
It includes:
Receive user terminal send accessing request information, the accessing request information include domain name, uniform resource locator url and
Content information;
Statistics accesses the number of the url, judges whether the number for accessing the url reaches preset threshold;
If reaching the preset threshold, the first md5 value is generated according to domain name and the url;
The first md5 value is matched with the 2nd md5 value in local cache file;
If successful match, the corresponding response contents information of the 2nd md5 value in the local cache file is sent to institute
State user terminal;
If matching is unsuccessful, the content information is sent to Website server, so that the Website server root
The corresponding response contents information is searched according to the content information;
The response contents information that the Website server is sent is received, the response contents are named with the first md5 value
Information, and cache the response contents information.
2. according to claim 1 cache the method for promoting access rate based on cloud platform, which is characterized in that the basis
After domain name and the url generate the first md5 value, the method also includes:
When the accessing request information is that the user terminal accesses for the first time, the content information is sent to website service
Device, so that the Website server searches the corresponding response contents information according to the content information;
The response contents information that the Website server is sent is received, the response contents are named with the first md5 value
Information, and store the response contents information.
3. according to claim 1 cache the method for promoting access rate based on cloud platform, which is characterized in that the access
Solicited message includes stabbing at the first time, corresponding response contents information the second timestamp of correspondence of the 2nd md5 value and period,
Second timestamp and the period constitute effective time, the method also includes:
Judge the first time stamp whether within the effective time;
If the first time stamp sends out the corresponding response contents information of the 2nd md5 value within the effective time
Give the user terminal;
If the content information is sent to website service not within the effective time by the first time stamp
Device, so that the Website server searches the corresponding response contents information according to the content information;
The response contents information that the Website server is sent is received, and is updated in the corresponding response of the 2nd md5 value
Hold information.
4. according to claim 1 cache the method for promoting access rate based on cloud platform, which is characterized in that the request
Content information includes pictorial information, video information, cascading style sheets CSS and hypertext markup language HTML.
5. a kind of cache the device for promoting access rate based on cloud platform, which is characterized in that be applied to cloud platform, described device packet
It includes:
First receiving unit, for receiving the accessing request information of user terminal transmission, the accessing request information includes domain name, system
One Resource Locator url and content information;
Statistic unit judges whether the number for accessing the url reaches preset threshold for counting the number for accessing the url;
Generation unit, for generating the first md5 according to domain name and the url in the case where reaching the preset threshold
Value;
Matching unit, for matching the first md5 value with the 2nd md5 value in local cache file;
First transmission unit is used in the case where successful match, and the 2nd md5 value in the local cache file is corresponding
Response contents information is sent to the user terminal;
First searching unit, in the case where matching unsuccessful situation, the content information to be sent to Website server,
So that the Website server searches the corresponding response contents information according to the content information;
Unit is named, the response contents information sent for receiving the Website server, with the first md5 value name
The response contents information, and cache the response contents information.
6. according to claim 5 cache the device for promoting access rate based on cloud platform, which is characterized in that described device
Further include:
Second transmission unit, after generating the first md5 value according to domain name and the url, when the access is asked
When information being asked to access for the first time for the user terminal, the content information is sent to Website server, so that the website
Server searches the corresponding response contents information according to the content information;
Second receiving unit, the response contents information sent for receiving the Website server, with the first md5 value
The response contents information is named, and stores the response contents information.
7. according to claim 5 cache the device for promoting access rate based on cloud platform, which is characterized in that the access
Solicited message includes stabbing at the first time, corresponding response contents information the second timestamp of correspondence of the 2nd md5 value and period,
Second timestamp and the period constitute effective time, described device further include:
Judging unit, for judging the first time stamp whether within the effective time;
Third transmission unit, for being stabbed within the effective time in the first time, by the corresponding sound of the 2nd md5 value
Content information is answered to be sent to the user terminal;
Second searching unit is used in the case where stabbing not within the effective time first time, will be in the request
Hold information and be sent to Website server, so that the Website server searches the corresponding sound according to the content information
Answer content information;
Third receiving unit, the response contents information sent for receiving the Website server, and update described second
The corresponding response contents information of md5 value.
8. according to claim 5 cache the device for promoting access rate based on cloud platform, which is characterized in that the request
Content information includes pictorial information, video information, cascading style sheets CSS and hypertext markup language HTML.
9. a kind of electronic equipment, including memory, processor, be stored on the memory to run on the processor
Computer program, which is characterized in that the processor realizes that the claims 1 to 4 are any when executing the computer program
The step of method described in item.
10. a kind of computer-readable medium for the non-volatile program code that can be performed with processor, which is characterized in that described
Program code makes the processor execute the described in any item methods of Claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910483873.5A CN110138880A (en) | 2019-06-04 | 2019-06-04 | The method and apparatus for promoting access rate are cached based on cloud platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910483873.5A CN110138880A (en) | 2019-06-04 | 2019-06-04 | The method and apparatus for promoting access rate are cached based on cloud platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110138880A true CN110138880A (en) | 2019-08-16 |
Family
ID=67580114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910483873.5A Pending CN110138880A (en) | 2019-06-04 | 2019-06-04 | The method and apparatus for promoting access rate are cached based on cloud platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110138880A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7461262B1 (en) * | 2002-03-19 | 2008-12-02 | Cisco Technology, Inc. | Methods and apparatus for providing security in a caching device |
CN102819586A (en) * | 2012-07-31 | 2012-12-12 | 北京网康科技有限公司 | Uniform Resource Locator (URL) classifying method and equipment based on cache |
US20140173730A1 (en) * | 2012-12-14 | 2014-06-19 | F-Secure Corporation | Security Method and Apparatus |
CN106686033A (en) * | 2015-11-10 | 2017-05-17 | 中兴通讯股份有限公司 | Method, device and system for cache and service content |
US20170164020A1 (en) * | 2015-12-08 | 2017-06-08 | Le Holdings (Beijing) Co., Ltd. | Content delivery method for content delivery network platform and scheduling proxy server |
CN107277055A (en) * | 2017-08-03 | 2017-10-20 | 杭州安恒信息技术有限公司 | A kind of website guard technology based on offline cache |
CN212211062U (en) * | 2020-06-06 | 2020-12-22 | 屈博 | Big data-based smart electric energy management cloud platform |
-
2019
- 2019-06-04 CN CN201910483873.5A patent/CN110138880A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7461262B1 (en) * | 2002-03-19 | 2008-12-02 | Cisco Technology, Inc. | Methods and apparatus for providing security in a caching device |
CN102819586A (en) * | 2012-07-31 | 2012-12-12 | 北京网康科技有限公司 | Uniform Resource Locator (URL) classifying method and equipment based on cache |
US20140173730A1 (en) * | 2012-12-14 | 2014-06-19 | F-Secure Corporation | Security Method and Apparatus |
CN106686033A (en) * | 2015-11-10 | 2017-05-17 | 中兴通讯股份有限公司 | Method, device and system for cache and service content |
US20170164020A1 (en) * | 2015-12-08 | 2017-06-08 | Le Holdings (Beijing) Co., Ltd. | Content delivery method for content delivery network platform and scheduling proxy server |
CN107277055A (en) * | 2017-08-03 | 2017-10-20 | 杭州安恒信息技术有限公司 | A kind of website guard technology based on offline cache |
CN212211062U (en) * | 2020-06-06 | 2020-12-22 | 屈博 | Big data-based smart electric energy management cloud platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105095226B (en) | Web page resources loading method and device | |
CN106489145B (en) | Access method, device and the Web site system of web site | |
US9922132B2 (en) | Method and apparatus for speeding up web page access | |
US11886619B2 (en) | Apparatus and method for securing web application server source code | |
EP2680624B1 (en) | Method, system and device for improving security of terminal when surfing internet | |
US6678791B1 (en) | System and method for session-aware caching | |
US20110208850A1 (en) | Systems for and methods of web privacy protection | |
US20110191664A1 (en) | Systems for and methods for detecting url web tracking and consumer opt-out cookies | |
EP2985705A2 (en) | Webpage access method and apparatus, and router | |
WO2012075961A1 (en) | Method, device, and system for acquiring start page | |
CN101523393A (en) | Locally storing web-based database data | |
CN104104653B (en) | A kind of synchronous method, apparatus and system of page info | |
CN109802919B (en) | Web page access intercepting method and device | |
CN102110168B (en) | Method and device for extending functions of mobile terminal browser | |
CN106250454A (en) | The loading method of a kind of page script and device | |
CN108256014B (en) | Page display method and device | |
RU2015156798A (en) | SYSTEM AND METHOD OF PUSH (PUSH) ADVERTISEMENTS BASED ON THE HOME GATEWAY | |
US10491606B2 (en) | Method and apparatus for providing website authentication data for search engine | |
CN105279156B (en) | Network information communication means and network information browsing apparatus | |
CN102984020B (en) | Cloud-computation-based net surfing monitoring method and monitoring system and monitoring server | |
CN104361130B (en) | Method for searching local area network or specified network segment equipment in webpage | |
CN109190412A (en) | The detection method and device of webpage tamper | |
WO2012119496A1 (en) | Pre-reading method and equipment | |
CN106940719B (en) | Page skipping method and device | |
CN110138880A (en) | The method and apparatus for promoting access rate are cached based on cloud platform |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190816 |
|
RJ01 | Rejection of invention patent application after publication |