CN104394184A - Request processing method, device and system - Google Patents

Request processing method, device and system Download PDF

Info

Publication number
CN104394184A
CN104394184A CN201410410123.2A CN201410410123A CN104394184A CN 104394184 A CN104394184 A CN 104394184A CN 201410410123 A CN201410410123 A CN 201410410123A CN 104394184 A CN104394184 A CN 104394184A
Authority
CN
China
Prior art keywords
request
hotspot
access request
data content
caching 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
Application number
CN201410410123.2A
Other languages
Chinese (zh)
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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201410410123.2A priority Critical patent/CN104394184A/en
Publication of CN104394184A publication Critical patent/CN104394184A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a request processing method, device and system and belongs to the data processing field. The method comprises caching data content corresponding to a hotspot request; receiving an access request which belongs to the hotspot request and is forwarded by front-end equipment; and responding to the access request according to the cached data content, thereby solving the problems of low data caching response rate and long access request processing time at present, achieving the effect that when the access request belongs to the hotspot request, the cache is targeted one hundred percent, reducing processing time of the access request, and improving processing capacity and availability of a cache service.

Description

Request processing method, Apparatus and system
Technical field
The present invention relates to data processing field, particularly a kind of request processing method, Apparatus and system.
Background technology
In current technology, web server all adopts Data cache technology to improve data access rate usually.
Please refer to Fig. 1, it illustrates a kind of structural representation of web services system.This web services system comprises client 120, caching server 140 and back-end server 160.Wherein, caching server 140 adopts cached medium, and back-end server 160 uses common storage.When client 120 is to after caching server 140 sends http request, caching server 140 detects whether be cached with the data content corresponding with this http request; If be cached with the data content that this http request is corresponding, then caching server 140 feeds back this data content directly to client 120; If be not cached with the data content that this http request is corresponding, then this http request is transmitted to back-end server 160 by caching server 140, inquires about the data content corresponding with this http request by back-end server 160, and feeds back this data content to client 120.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem: because data content corresponding to http request may be expired or originally just do not have buffer memory in caching server 140, now, caching server 140 detect be not cached with data content corresponding to this http request time, need that this http request is transmitted to back-end server 160 to process, the processing time of this http request can be made oversize, and the performance of http service is also poor.
Summary of the invention
Low in order to solve the current data buffer storage speed of response, the problem that the access request processing time is long, embodiments provides a kind of request processing method, Apparatus and system.Described technical scheme is as follows:
First aspect, provides a kind of request processing method, and described method comprises:
Data content corresponding to buffer memory hotspot request;
The access request of receiving front-end device forwards, described access request, after described headend equipment receives the access request of client transmission, detects what described access request forwarded when belonging to described hotspot request;
Described data content according to buffer memory responds described access request.
Second aspect, provides a kind of request processing method, and described method comprises:
Receive the access request that client sends;
Detect the hotspot request corresponding to data content whether described access request belongs to caching server buffer memory;
If detect, described access request belongs to described hotspot request, then send described access request to described caching server, and described caching server is used for responding described access request according to the described data content of buffer memory.
The third aspect, provide a kind of request processing unit, described device comprises:
First cache module, for the data content corresponding to buffer memory hotspot request;
First receiver module, for the access request of receiving front-end device forwards, described access request, after described headend equipment receives the access request of client transmission, detects what described access request forwarded when belonging to described hotspot request;
Request respond module, responds described access request for the described data content according to buffer memory.
Fourth aspect, provide a kind of request processing unit, described device comprises:
Second receiver module, for receiving the access request that client sends;
Whether first detection module, belong to the hotspot request corresponding to data content of caching server buffer memory for detecting described access request;
First sending module, if for detecting that described access request belongs to described hotspot request, then send described access request to described caching server, described caching server is used for responding described access request according to the described data content of buffer memory.
5th aspect, provides a kind of demand processing system, and described system comprises: headend equipment and caching server; Described headend equipment is connected with described caching server with client respectively, and described caching server is connected with back-end server;
Described headend equipment, comprises the request processing unit as above described in the third aspect;
Described caching server, comprises the request processing unit as above described in fourth aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By the data content corresponding to buffer memory hotspot request, the access request belonging to hotspot request of receiving front-end device forwards, the data content according to buffer memory responds access request; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very hit the effect of buffer memory, also namely improve disposal ability and the availability of buffer service.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of web services system that background technology provides;
Fig. 2 is the structural representation of the implementation environment involved by request processing method that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the request processing method that one embodiment of the invention provides;
Fig. 4 is the method flow diagram of the request processing method that another embodiment of the present invention provides;
Fig. 5 A is the method flow diagram of the request processing method that another embodiment of the present invention provides;
Fig. 5 B is the method flow diagram of the cache data content involved by request processing method that another embodiment of the present invention provides;
Fig. 5 C is the method flow diagram of the data content that the buffer memory hotspot request involved by request processing method that another embodiment of the present invention provides is corresponding;
Fig. 6 is the structural representation of the implementation environment involved by request processing method that another embodiment of the present invention provides;
Fig. 7 is the method flow diagram that the present invention goes back the request processing method that an embodiment provides;
Fig. 8 is the block diagram of the request processing unit that one embodiment of the invention provides;
Fig. 9 is the block diagram of the request processing unit that another embodiment of the present invention provides;
Figure 10 A is the block diagram of the request processing unit that another embodiment of the present invention provides;
Figure 10 B is the block diagram of the data cached module involved by request processing unit that another embodiment of the present invention provides;
Figure 10 C is the block diagram of the buffered data units involved by request processing unit that another embodiment of the present invention provides;
Figure 11 is the block diagram that the present invention goes back the request processing unit that an embodiment provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 2, it illustrates the structural representation of the implementation environment involved by request processing method that one embodiment of the invention provides.This implementation environment comprises at least one client 220, headend equipment 240, caching server 260 and back-end server 280.
Client 220 can be: mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desktop computer etc.Client 220 is connected with headend equipment 240.
Headend equipment 240 can be the server for distribution of access request, and headend equipment 240 is connected with caching server 260 by cable network or wireless network, and headend equipment is also connected with back-end server 280 by cable network or wireless network.
Caching server 260 normally adopts high-speed memory to carry out the server of data storage, and caching server 260 is connected with back-end server 280 by cable network or wireless network.
Back-end server 280 normally adopts slow memory to carry out the server of data storage, and back-end server 280 stores whole data contents.
Please refer to Fig. 3, it illustrates the method flow diagram of the request processing method that one embodiment of the invention provides.The present embodiment is applied in the side of the caching server shown in Fig. 2 with this request processing method and illustrates that the method comprises:
Step 302, the data content corresponding to buffer memory hotspot request;
The data content of caching server from back-end server corresponding to buffer memory hotspot request.Hotspot request is in predetermined time interval, access the access request that temperature reaches predetermined condition.
Step 304, the access request of receiving front-end device forwards, this access request, after headend equipment receives the access request of client transmission, detects what this access request forwarded when belonging to hotspot request;
The access request of caching server receiving front-end device forwards, then this access request is that headend equipment detects the access request belonging to hotspot request.
Step 306, the data content according to buffer memory responds this access request.
Caching server receive headend equipment send belong to the access request of hotspot request time, owing to carrying out the buffer memory of data content corresponding to all hotspot request in step 302, therefore data content corresponding to hotspot request can find in caching server, therefore, caching server finds corresponding data content and responds this hotspot request.
In sum, the request processing method that the present embodiment provides, by the data content corresponding to buffer memory hotspot request, the access request belonging to hotspot request of receiving front-end device forwards, the data content according to buffer memory responds this access request; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very hit the effect of buffer memory, also namely improve disposal ability and the availability of buffer service.
Please refer to Fig. 4, it illustrates the method flow diagram of the request processing method that another embodiment of the present invention provides.The present embodiment is applied in the side of the headend equipment shown in Fig. 2 with this request processing method and illustrates that the method comprises:
Step 402, receives the access request that client sends;
Headend equipment receives the access request that each client sends.
Step 404, detects the hotspot request corresponding to data content whether this access request belongs to caching server buffer memory;
Step 406, if detect, this access request belongs to hotspot request, then send this access request to caching server, and caching server is used for responding access request according to the data content of buffer memory.
In sum, the request processing method that the present embodiment provides, the hotspot request corresponding to data content of caching server buffer memory whether is belonged to by detecting this access request, if detect, this access request belongs to hotspot request, then send this access request to caching server, by caching server, this access request is responded; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very can hit the effect of buffer memory, also namely improve disposal ability and the availability of buffer service.
Please refer to Fig. 5 A, it illustrates the method flow diagram of the data cache method that further embodiment of this invention provides.The present embodiment is applied in the headend equipment shown in Fig. 2 and caching server with this request processing method and illustrates that the method comprises:
Step 501, headend equipment adds up the access temperature of various access request every predetermined time interval;
Headend equipment can receive the access request of each client.Each access request is used for request access data.The difference of the data of accessing as required, can classify different access request.
Such as, the access request being used for request access data 1 is thought a kind of access request; The access request being used for request access data 2 is thought another kind of access request.
Headend equipment adds up the access temperature of various access request every predetermined time interval.Access temperature can be characterized by the access frequency of often kind of access request in predetermined time interval or access times.In the present embodiment, the gap length of predetermined time interval is not restricted.
As the optional mode of one, predetermined time interval is set to 5 minutes.A kind of access temperature of access request can be characterized by the number of times receiving this access request in 5 minutes.Such as, the access request for request access data 1 received 123 times in 5 minutes, and the access request for request access data 2 received 23123 times in 5 minutes.
Step 502, access temperature is exceeded pre-conditioned access request and is configured to hotspot request by headend equipment;
Access temperature is exceeded pre-conditioned access request and is configured to hotspot request by headend equipment.In the present embodiment, be not restricted pre-conditioned.
As the optional mode of one, pre-conditioned can be that access frequency exceedes first threshold in predetermined time interval; Pre-conditioned can also be that access times exceed Second Threshold in predetermined time interval.This first threshold and Second Threshold can by server maintenance personnel settings.
Headend equipment judges that whether access request is that the process of hotspot request can be as shown in table 1.
Table 1 shows in predetermined time interval, have 5 access request, and wherein the access temperature of access request 1 and access request 3 exceedes pre-conditioned, and the access temperature of all the other 3 access request does not exceed, and this is pre-conditioned.Therefore access temperature exceed pre-conditioned access request 1 and access request 3 for meet this pre-conditioned under hotspot request.
Table 1
Step 503, the hotspot request list including hotspot request is sent to caching server by headend equipment, and caching server is used for the data content corresponding to hotspot request according to hotspot request list and carries out buffer memory;
Hotspot request list comprises all hotspot request in the nearest time interval, and this hotspot request list is sent to caching server by headend equipment.After caching server receives hotspot request list, data content corresponding to this hotspot request one by one carries out buffer memory.
Step 504, the data content corresponding to caching server buffer memory hotspot request;
The data content of caching server from back-end server corresponding to buffer memory hotspot request.
Specifically, this step 504 can comprise following sub-step, as shown in Figure 5 B:
Step 504A, the hotspot request list including at least one hotspot request that caching server sends every predetermined time interval receiving front-end equipment, this hotspot request is after headend equipment adds up the access temperature of various access request, exceedes that the configuration of pre-conditioned access request obtains according to access temperature;
Step 504B, the data content that caching server is corresponding to hotspot request according to hotspot request list carries out buffer memory.
Specifically, this step 504B can comprise following sub-step, as shown in Figure 5 C:
Step 504Ba, for each hotspot request in hotspot request list, caching server detects whether be cached with data content corresponding to this hotspot request;
In hotspot request list, include at least one hotspot request, for each hotspot request, caching server detects whether be cached with the data content corresponding with this hotspot request.
Step 504Bb, if testing result is be not cached with data content corresponding to this hotspot request, then from the data content that this hotspot request of back-end server buffer memory is corresponding.
Due to the server that caching server is high speed low capacity, the data content be wherein cached with is only a part of data content, and the back-end server jumbo server that is low speed, data content wherein comprises all data contents, therefore, in caching server, one or more hotspot request in hotspot request list detected not to when should have its data content, then from back-end server, find the data content corresponding to this hotspot request and this data content is cached in caching server.If testing result is be cached with data content corresponding to this hotspot request, then caching server does not process, or caching server, by buffer memory extension of validity predetermined time interval of this data content, such as extends 5 minutes.
Step 505, headend equipment receives the access request that client sends;
Headend equipment receives the access request that each client sends.
Step 506, headend equipment detects the hotspot request corresponding to data content whether this access request belongs to caching server buffer memory;
Headend equipment detects this access request, judges whether this access request belongs to hotspot request, and this hotspot request i.e. the corresponding hotspot request being cached with data content in caching server.
If this access request belongs to hotspot request, then enter step 507;
If this access request does not belong to hotspot request, then enter step 510.
Step 507, if detect, this access request belongs to hotspot request, then headend equipment sends this access request to caching server, and caching server is used for responding this access request according to the data content of buffer memory.
Headend equipment detects this access request, judges that it belongs to hotspot request, then send this access request to caching server.Caching server carries out the response to this hotspot request according to the data content of this hotspot request buffer memory in caching server.
Step 508, the access request of caching server receiving front-end device forwards, this access request, after headend equipment receives the access request of client transmission, detects what this access request forwarded when belonging to this hotspot request;
Caching server receives the access request that headend equipment forwards, and detects that this access request belongs to the access request of hotspot request after this access request and headend equipment carry out the judgement of above-mentioned hotspot request.
Step 509, caching server responds this access request according to the data content of buffer memory.
Caching server receive headend equipment send belong to the access request of hotspot request time, owing to carrying out the buffer memory of data content corresponding to all hotspot request before, therefore data content corresponding to hotspot request can find in caching server, therefore, caching server finds corresponding data content and responds this hotspot request.
Step 510, if detect, this access request does not belong to hotspot request, then headend equipment sends this access request to other caching server or back-end server, and other caching server or back-end server are used for responding this access request.
If the access request that headend equipment receives does not belong to hotspot request, then this access request can not be sent to the caching server that this is cached with all hotspot request, but be directly sent in back-end server, undertaken searching data content corresponding to this access request by back-end server, and it is responded.
Certainly, alternatively possible implementation, if also there is other caching server in the system shown in Fig. 2, such as utilize the caching server that prior art operates, headend equipment also can when detecting that this access request does not belong to hotspot request, this access request is sent in other caching server, is undertaken searching data content corresponding to this access request by other caching server, and it is responded.
In sum, the request processing method that the present embodiment provides, by the data content corresponding to buffer memory hotspot request, the access request belonging to hotspot request of receiving front-end device forwards, the data content according to buffer memory responds this access request; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very hit buffer memory, if this access request does not belong to hotspot request, then send request to other caching server or back-end server, by other caching server or back-end server, this access request is responded, in two kinds of situations, the speed of response of access request is all improved, shorten the processing time of access request, namely improve disposal ability and the availability of buffer service.
As a kind of possible implementation, please refer to Fig. 6, it illustrates the structural representation of the implementation environment involved by request processing method that one embodiment of the invention provides.This implementation environment comprises at least one client 610, headend equipment 620, caching server 630, other caching server 640 and back-end server 650.
Client 610 can be: mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desktop computer etc.Client 610 is connected with headend equipment 620.
Headend equipment 620 can be the server for distribution of access request, headend equipment 620 is connected with caching server 630 by cable network or wireless network, headend equipment 620 is also connected with other caching server 640 by cable network or wireless network, and headend equipment is also connected with back-end server 650 by cable network or wireless network.
Caching server 630 normally adopts high-speed memory to carry out the server of data storage, and caching server 630 is connected with back-end server 650 by cable network or wireless network.
Other caching server 640 is also the server adopting high-speed memory to carry out data storage usually; other caching server 640 is cached with the data content different from caching server 630 usually, and other caching server 640 is connected with back-end server 650 by cable network or wireless network.
Back-end server 650 normally adopts slow memory to carry out the server of data storage, and back-end server 650 stores whole data contents.
Please refer to Fig. 7, it illustrates the method flow diagram that the present invention goes back the request processing method that an embodiment provides.The present embodiment is applied in the headend equipment shown in Fig. 6 and caching server with this request processing method and illustrates that the method comprises:
Step 701, caching server obtains the hotspot request list preset;
In the present embodiment, the hotspot request list preset is not limited.
As a kind of possible implementation, default hotspot request list can by server maintenance personnel setting.
As the implementation that another kind is possible, default hotspot request list also by server maintenance personnel after headend equipment configures, can send to caching server by headend equipment.
Step 702, the data content that caching server is corresponding to hotspot request according to hotspot request list carries out buffer memory;
For each hotspot request in hotspot request list, caching server detects whether be cached with data content corresponding to this hotspot request.If testing result is be not cached with data content corresponding to this hotspot request, then from other caching server or data content corresponding to this hotspot request of back-end server buffer memory.
Step 703, headend equipment receives the access request that client sends;
Headend equipment receives the access request that each client sends.
Step 704, headend equipment detects the hotspot request in the hotspot request list whether this access request belong to default, and hotspot request list comprises the hotspot request corresponding to the data content of caching server buffer memory;
If this access request belongs to hotspot request, then enter step 705;
If this access request does not belong to hotspot request, then enter step 708.
Step 705, if detect, this access request belongs to hotspot request, then headend equipment sends this access request to caching server, and caching server is used for responding this access request according to the data content of buffer memory.
Headend equipment detects this access request, judges that it belongs to hotspot request, then send this access request to caching server.Caching server carries out the response to this hotspot request according to the data content of this hotspot request buffer memory in caching server.
Step 706, the access request of caching server receiving front-end device forwards, this access request, after headend equipment receives the access request of client transmission, detects what this access request forwarded when belonging to this hotspot request;
Caching server receives the access request that headend equipment forwards, and detects that this access request belongs to the access request of hotspot request after this access request and headend equipment carry out the judgement of above-mentioned hotspot request.
Step 707, caching server responds this access request according to the data content of buffer memory.
Caching server receive headend equipment send belong to the access request of hotspot request time, owing to carrying out the buffer memory of data content corresponding to all hotspot request before, therefore data content corresponding to hotspot request can find in caching server, therefore, caching server finds corresponding data content and responds this hotspot request.
Step 708, if detect, this access request does not belong to hotspot request, then headend equipment sends this access request to other caching server, and other caching server is used for responding this access request; If data content corresponding to this access request can not find in other caching servers, then headend equipment to the back-end server send this access request, back-end server is used for responding this access request.
If the access request that headend equipment receives does not belong to hotspot request, then this access request can not be sent to the caching server that this is cached with all hotspot request, but be directly sent in other caching server or back-end server, undertaken searching data content corresponding to this access request by other caching server or back-end server, and it is responded.
In sum, the request processing method that the present embodiment provides, by the data content corresponding to buffer memory hotspot request, the access request belonging to hotspot request of receiving front-end device forwards, the data content according to buffer memory responds this access request; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very hit buffer memory, shorten the processing time of access request, improve disposal ability and the availability of buffer service.
Please refer to Fig. 8, it illustrates the block diagram of the request processing unit that one embodiment of the invention provides.This request processing unit can realize becoming all or part of of the caching server shown in Fig. 2 by software, hardware or both combinations, and this device, comprising:
First cache module 820, for the data content corresponding to buffer memory hotspot request.
First receiver module 840, for the access request of receiving front-end device forwards, this access request, after headend equipment receives the access request of client transmission, detects what this access request forwarded when belonging to hotspot request.
Request respond module 860, for responding the access request that the first receiver module 840 receives according to the data content of the first cache module 820 buffer memory.
In sum, the request processing unit that the present embodiment provides, by the data content corresponding to buffer memory hotspot request, the access request belonging to hotspot request of receiving front-end device forwards, the data content according to buffer memory responds this access request; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very hit the effect of buffer memory, also namely improve disposal ability and the availability of buffer service.
Please refer to Fig. 9, it illustrates the block diagram of the request processing unit that another embodiment of the present invention provides.This request processing unit can realize becoming all or part of of the headend equipment shown in Fig. 2 by software, hardware or both combinations, and this device, comprising:
Second receiver module 920, for receiving the access request that client sends.
First detection module 940, whether this access request received for detecting the second receiver module 920 belongs to the hotspot request corresponding to data content of caching server buffer memory.
First sending module 960, if detect that this access request belongs to hotspot request for first detection module 940, then sends this access request to caching server, and caching server is used for responding this access request according to the data content of buffer memory.
In sum, the request processing unit that the present embodiment provides, the hotspot request corresponding to data content of caching server buffer memory whether is belonged to by detecting this access request, if detect, this access request belongs to hotspot request, then send this access request to caching server, by caching server, this access request is responded; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very can hit the effect of buffer memory, also namely improve disposal ability and the availability of buffer service.
Please refer to Figure 10 A, it illustrates the block diagram of the request processing unit that further embodiment of this invention provides.This request processing unit can realize becoming all or part of of the headend equipment shown in Fig. 2 and caching server by software, hardware or both combinations, and this device, comprising:
Headend equipment 1020 and caching server 1040.
Wherein, headend equipment 1020 comprises acess control module 1021, request configuration module 1022, list sending module 1023, second receiver module 1024, first detection module 1025, first sending module 1026 and the second sending module 1027; Caching server 1040 comprises the second cache module 1041, first receiver module 1042 and request respond module 1043.
Acess control module 1021, adds up the access temperature of various access request every predetermined time interval for headend equipment.
Request configuration module 1022, the access temperature of acess control module 1021 being added up for headend equipment exceedes pre-conditioned access request and is configured to hotspot request.
List sending module 1023, for headend equipment, the hotspot request list including the hotspot request that request configuration module 1022 configures is sent to caching server, caching server is used for the data content corresponding to hotspot request according to hotspot request list and carries out buffer memory;
Second cache module 1041, for the data content corresponding to caching server buffer memory hotspot request;
Specifically, the second cache module 1041 can comprise as lower unit, please refer to Figure 10 B:
List reception unit 1041A, for the hotspot request list including at least one hotspot request that caching server sends every predetermined time interval receiving front-end equipment, this hotspot request is after headend equipment adds up the access temperature of various access request, exceedes that the configuration of pre-conditioned access request obtains according to access temperature;
Second data buffer storage unit 1041B, the data content corresponding to hotspot request of the hotspot request list for receiving according to list reception unit 1041A carries out buffer memory.
Specifically, the second data buffer storage unit 1041B can comprise following subelement, please refer to Figure 10 C:
Data Detection subelement 1041Ba, for for each hotspot request, caching server detects whether be cached with data content corresponding to this hotspot request;
Server buffer subelement 1041Bb, if be not cached with data content corresponding to this hotspot request for the result of Data Detection subelement 1041Ba detection, then from the data content that this hotspot request of back-end server buffer memory is corresponding.
Second receiver module 1024, receives the access request of client transmission for headend equipment;
First detection module 1025, detects the hotspot request corresponding to data content that whether this access request that the second receiver module 1024 receives belong to caching server buffer memory for headend equipment;
First sending module 1026, if this access request detected for first detection module 1025 belongs to hotspot request, then headend equipment sends this access request to caching server, and caching server is used for responding this access request according to the data content of buffer memory.
First receiver module 1042, for the access request of caching server receiving front-end device forwards, this access request, after headend equipment receives the access request of client transmission, detects what this access request forwarded when belonging to this hotspot request;
Request respond module 1043, for responding the access request that the first receiver module 1042 receives according to the data content of the first cache module 1041 buffer memory.
Second sending module 1027, if this access request detected for first detection module 1025 does not belong to hotspot request, then headend equipment sends this access request to other caching server or back-end server, and other caching server or back-end server are used for responding this access request.
In sum, the request processing unit that the present embodiment provides, by the data content corresponding to buffer memory hotspot request, the access request of receiving front-end device forwards, the data content according to buffer memory responds this access request; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very hit buffer memory, if this access request does not belong to hotspot request, then send this access request to other caching server or back-end server, responded this access request by other caching server or back-end server, in two kinds of situations, the speed of its request response is all improved, shorten the processing time of access request, namely improve disposal ability and the availability of caching system.
Please refer to Figure 11, it illustrates the block diagram that the present invention goes back the request processing unit that an embodiment provides.This request processing unit can realize becoming all or part of of the headend equipment shown in Fig. 3 and caching server by software, hardware or both combinations, and this device, comprising:
Headend equipment 1120 and caching server 1140.
Wherein, headend equipment 1120 comprises the second receiver module 1121, second detection module 1122, first sending module 1123 and the second sending module 1124; Caching server 1140 comprise list acquisition module 1141,
Second cache module 1142, first receiver module 1143 and request respond module 1144.
List acquisition module 1141, obtains the hotspot request list preset for caching server;
Second cache module 1142, for the data content corresponding to caching server buffer memory hotspot request;
Specifically, the second cache module 1142 can comprise as lower unit:
List reception unit 1142A, for the hotspot request list including at least one hotspot request that caching server receiving front-end equipment sends, this hotspot request list is the pre-configured hotspot request list that headend equipment obtains;
First data buffer storage unit 1142B, the data content corresponding to hotspot request according to hotspot request list for caching server carries out buffer memory.
Specifically, the first data buffer storage unit 1142B can comprise following subelement:
Data Detection subelement 1142Ba, for for each hotspot request in hotspot request list, caching server detects whether be cached with data content corresponding to this hotspot request;
Server buffer subelement 1142Bb, if be not cached with data content corresponding to this hotspot request for testing result, then from the data content that this hotspot request of back-end server buffer memory is corresponding.
Second receiver module 1121, receives the access request of client transmission for headend equipment;
Second detection module 1122, detects the hotspot request corresponding to data content that whether this access request belong to caching server buffer memory for headend equipment;
First sending module 1123, if this access request detected for the second detection module 1122 belongs to hotspot request, then headend equipment sends this access request to caching server, and caching server is used for responding this access request according to the data content of buffer memory.
First receiver module 1143, for the access request of caching server receiving front-end device forwards, this access request, after headend equipment receives the access request of client transmission, detects what this access request forwarded when belonging to this hotspot request;
Request respond module 1144, for responding the access request that the first receiver module 1143 receives according to the data content of the second cache module 1142 buffer memory.
Second sending module 1124, if this access request detected for the second detection module 1122 does not belong to hotspot request, then headend equipment sends this access request to other caching server or back-end server, and other caching server or back-end server are used for responding this access request.
In sum, the request processing unit that the present embodiment provides, by the data content corresponding to buffer memory hotspot request, the access request belonging to hotspot request of receiving front-end device forwards, the data content according to buffer memory responds this access request; Solve the current data buffer storage speed of response low, the problem that the access request processing time is long; If reach this access request to belong to hotspot request, then very hit buffer memory, improve disposal ability and the availability of buffer service.
It should be noted that: the request processing unit that above-described embodiment provides is when processing request, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the device of the request process process that above-described embodiment provides belongs to same design with asking the embodiment of the method processed, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a request processing method, is characterized in that, described method comprises:
Data content corresponding to buffer memory hotspot request;
The access request of receiving front-end device forwards, described access request, after described headend equipment receives the access request of client transmission, detects what described access request forwarded when belonging to described hotspot request;
Described data content according to buffer memory responds described access request.
2. method according to claim 1, is characterized in that, the data content corresponding to described buffer memory hotspot request, comprising:
Obtain the hotspot request list preset; The data content corresponding to described hotspot request according to described hotspot request list carries out buffer memory;
Or,
The hotspot request list including at least one hotspot request of described headend equipment transmission is received every predetermined time interval, described hotspot request is after described headend equipment adds up the access temperature of various access request, exceedes that the configuration of pre-conditioned access request obtains according to described access temperature; The data content corresponding to described hotspot request according to described hotspot request list carries out buffer memory.
3. a request processing method, is characterized in that, described method comprises:
Receive the access request that client sends;
Detect the hotspot request corresponding to data content whether described access request belongs to caching server buffer memory;
If detect, described access request belongs to described hotspot request, then send described access request to described caching server, and described caching server is used for responding described access request according to the described data content of buffer memory.
4. method according to claim 3, is characterized in that, the described access request of described detection also comprises before whether belonging to the hotspot request corresponding to data content of caching server buffer memory:
Detect the hotspot request in the hotspot request list whether described access request belong to default, described hotspot request list comprises the hotspot request corresponding to data content of described caching server buffer memory; The data content corresponding to described hotspot request according to described hotspot request list carries out buffer memory; Or,
The access temperature of various access request is added up every predetermined time interval; Described access temperature is exceeded pre-conditioned access request and is configured to described hotspot request; The hotspot request list including described hotspot request is sent to described caching server, and described caching server is used for the data content corresponding to described hotspot request according to described hotspot request list and carries out buffer memory.
5. a request processing unit, is characterized in that, described device comprises:
First cache module, for the data content corresponding to buffer memory hotspot request;
First receiver module, for the access request of receiving front-end device forwards, described access request, after described headend equipment receives the access request of client transmission, detects what described access request forwarded when belonging to described hotspot request;
Request respond module, responds described access request for the described data content according to buffer memory.
6. device according to claim 5, is characterized in that, described first cache module, comprising:
List acquiring unit, for obtaining default hotspot request list; First data buffer storage unit, carries out buffer memory for the data content corresponding to described hotspot request according to described hotspot request list;
Or,
List reception unit, for receiving the hotspot request list including at least one hotspot request that described headend equipment sends every predetermined time interval, described hotspot request is after described headend equipment adds up the access temperature of various access request, exceedes that the configuration of pre-conditioned access request obtains according to described access temperature; Second data buffer storage unit, carries out buffer memory for the data content corresponding to described hotspot request according to described hotspot request list.
7. a request processing unit, is characterized in that, described device comprises:
Second receiver module, for receiving the access request that client sends;
Whether first detection module, belong to the hotspot request corresponding to data content of caching server buffer memory for detecting described access request;
First sending module, if for detecting that described access request belongs to described hotspot request, then send described access request to described caching server, described caching server is used for responding described access request according to the described data content of buffer memory.
8. device according to claim 7, is characterized in that, described device, also comprises:
Second detection module, for detecting the hotspot request in hotspot request list that whether described access request belong to default, described hotspot request list is the hotspot request list preset in caching server; Second cache module, carries out buffer memory for the data content corresponding to described hotspot request according to described hotspot request list;
Or,
Acess control module, for adding up the access temperature of various access request every predetermined time interval; Request configuration module, is configured to described hotspot request for described access temperature is exceeded pre-conditioned access request; List sending module, for the hotspot request list including described hotspot request is sent to described caching server, described caching server is used for the data content corresponding to described hotspot request according to described hotspot request list and carries out buffer memory.
9. a demand processing system, is characterized in that, described system comprises: headend equipment and caching server; Described headend equipment is connected with described caching server with client respectively, and described caching server is connected with back-end server;
Described headend equipment, comprise as arbitrary to claim 6 in claim 5 as described in request processing unit;
Described caching server, comprise as arbitrary to claim 8 in claim 7 as described in request processing unit.
CN201410410123.2A 2014-08-19 2014-08-19 Request processing method, device and system Pending CN104394184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410410123.2A CN104394184A (en) 2014-08-19 2014-08-19 Request processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410410123.2A CN104394184A (en) 2014-08-19 2014-08-19 Request processing method, device and system

Publications (1)

Publication Number Publication Date
CN104394184A true CN104394184A (en) 2015-03-04

Family

ID=52612019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410410123.2A Pending CN104394184A (en) 2014-08-19 2014-08-19 Request processing method, device and system

Country Status (1)

Country Link
CN (1) CN104394184A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161279A (en) * 2015-03-26 2016-11-23 深圳中兴网信科技有限公司 A kind of data capture method and device
CN110069419A (en) * 2018-09-04 2019-07-30 中国平安人寿保险股份有限公司 Multilevel cache system and its access control method, equipment and storage medium
CN113761321A (en) * 2021-08-06 2021-12-07 广州华多网络科技有限公司 Data access control method, data cache control method, data access control device, data cache control device, and medium
CN113761321B (en) * 2021-08-06 2024-07-05 广州华多网络科技有限公司 Data access control, data cache control method and device apparatus and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050128995A1 (en) * 2003-09-29 2005-06-16 Ott Maximilian A. Method and apparatus for using wireless hotspots and semantic routing to provide broadband mobile serveices
CN101510219A (en) * 2009-03-31 2009-08-19 成都市华为赛门铁克科技有限公司 File data accessing method, apparatus and system
CN102821113A (en) * 2011-06-07 2012-12-12 阿里巴巴集团控股有限公司 Cache method and system
CN103177005A (en) * 2011-12-21 2013-06-26 深圳市腾讯计算机系统有限公司 Processing method and system of data access
CN103338249A (en) * 2013-06-26 2013-10-02 优视科技有限公司 Cache method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050128995A1 (en) * 2003-09-29 2005-06-16 Ott Maximilian A. Method and apparatus for using wireless hotspots and semantic routing to provide broadband mobile serveices
CN101510219A (en) * 2009-03-31 2009-08-19 成都市华为赛门铁克科技有限公司 File data accessing method, apparatus and system
CN102821113A (en) * 2011-06-07 2012-12-12 阿里巴巴集团控股有限公司 Cache method and system
CN103177005A (en) * 2011-12-21 2013-06-26 深圳市腾讯计算机系统有限公司 Processing method and system of data access
CN103338249A (en) * 2013-06-26 2013-10-02 优视科技有限公司 Cache method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161279A (en) * 2015-03-26 2016-11-23 深圳中兴网信科技有限公司 A kind of data capture method and device
CN110069419A (en) * 2018-09-04 2019-07-30 中国平安人寿保险股份有限公司 Multilevel cache system and its access control method, equipment and storage medium
CN113761321A (en) * 2021-08-06 2021-12-07 广州华多网络科技有限公司 Data access control method, data cache control method, data access control device, data cache control device, and medium
CN113761321B (en) * 2021-08-06 2024-07-05 广州华多网络科技有限公司 Data access control, data cache control method and device apparatus and medium

Similar Documents

Publication Publication Date Title
CN102404229B (en) System, device and method for load balancing
WO2017096846A1 (en) Method, apparatus and system for obtaining live broadcast
US9826560B2 (en) Apparatus and method for providing service in communication network supporting multipath transport control protocol
US9430441B2 (en) Methods, circuits, devices, systems and associated computer executable code for distributed content caching and delivery
US20130326133A1 (en) Local caching device, system and method for providing content caching service
US9386099B2 (en) Local caching device, system and method for providing content caching service
CN109889451B (en) Network speed limiting system and method and server
US20120149417A1 (en) Resource profile adjustment for pre- fetching of assets to user equipment
CN105991412A (en) Method and device for pushing message
CN103312593B (en) A kind of message distributing system and method
CN104836783A (en) Data transmission method, device and system
KR20220116425A (en) Data cache mechanism through dual SIP phones
JP2016516379A (en) Method and apparatus for dynamic content offloading
KR20140021372A (en) Contents delivery service method and local cache apparatus using contents identification
EP2771805A1 (en) Throttling of rogue entities to push notification servers
CN105357260B (en) Realize system, VDI data cache method and the VDI buffer memory device of virtual desktop
CN104394184A (en) Request processing method, device and system
CN103095836A (en) Method, device and system of adjustment of internet application service quality
CN105681266B (en) A kind of communication cluster method and device of mediaphone MMTel
US10157102B2 (en) Techniques to scan and reorganize media files to remove gaps
CN103020241A (en) Dynamic page cache method and system based on session
US20170070441A1 (en) Apparatus and method for uploading data in mobile communication system supporting a plurality of radio access interfaces
CN110999372A (en) Wireless reference transmission
KR20150025249A (en) Method for content routing based on batching and apparatus performing the method
US10237592B2 (en) Method and apparatus for video transmission

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20150304

RJ01 Rejection of invention patent application after publication