CN110290217A - Processing method and processing device, storage medium and the electronic device of request of data - Google Patents
Processing method and processing device, storage medium and the electronic device of request of data Download PDFInfo
- Publication number
- CN110290217A CN110290217A CN201910586036.5A CN201910586036A CN110290217A CN 110290217 A CN110290217 A CN 110290217A CN 201910586036 A CN201910586036 A CN 201910586036A CN 110290217 A CN110290217 A CN 110290217A
- Authority
- CN
- China
- Prior art keywords
- data
- request
- message queue
- target data
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
-
- 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
-
- 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/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- 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/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/62—Establishing a time schedule for servicing the requests
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of processing method and processing device of request of data, storage medium and electronic devices.Wherein, this method comprises: receiving target data request;Target data is requested into write-in first message queue, wherein, it include the request of data for being sent to data source server in first message queue, request of data in first message queue is arranged to sending cycle and data source server is taken out and be sent to from first message queue, and the quantity for the request of data that each sending cycle is taken out from first message queue is identical;When reaching target sending cycle from the multiple request of data taken out in first message queue including target data request, and multiple request of data including target data request are sent to data source server, multiple requested target datas of request of data are obtained with notification data source server.
Description
Technical field
This application involves technical field of data processing, in particular to a kind of request of data processing method and processing device,
Storage medium and electronic device.
Background technique
Server data under some scenes obtains difficult, there is frequency limit requirement, such as it is per second can only look into a specified threshold with
Interior inquiry interaction, but application side's request amount is very big, considerably beyond the frequency limit of inquiry, then when user volume increases, or
When person's peak traffic phase, it may appear that inquiry data failure calls data time-out, even data providing service is worn down
The problem of.This will seriously affect user experience and business increases, and also will affect data providing reliability of service and stability.
Solution in the prior art is to alleviate the pressure of data server by adding cache server, but delay
Depositing the data in server not can guarantee the real-time of data, moreover, when, there is no when the data of request, going back in cache server
It is to have a large amount of request to pour in data server, there is no solve root problem.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present application provides processing method and processing device, storage medium and the electronic device of a kind of request of data, with
It reduces in peak traffic phase flow pressure caused by data server.
According to the one aspect of the embodiment of the present application, a kind of processing method of request of data is provided, comprising: receive target
Request of data;The target data is requested into write-in first message queue, wherein include to be sent in the first message queue
To the request of data of the data source server, the request of data in the first message queue is arranged to sending cycle
The data source server is taken out and is sent to from the first message queue, and each sending cycle disappears from described first
The quantity for the request of data taken out in breath queue is identical;It is taken out from the first message queue when reaching target sending cycle
Including the target data request including multiple request of data, and by include the target data request including multiple data
Request is sent to the data source server, to notify that it is requested that the data source server obtains the multiple request of data
Target data.
According to the another aspect of the embodiment of the present application, a kind of processing unit of request of data is additionally provided, comprising: receive mould
Block is configured to receive target data request;Writing module is configured to requesting the target data into write-in first message queue,
It wherein, include the request of data for being sent to the data source server, the first message team in the first message queue
Request of data in column is arranged to sending cycle and takes out from the first message queue and be sent to the data source
The quantity of server, the request of data that each sending cycle is taken out from the first message queue is identical;Module is taken out,
It is configured to when reaching target sending cycle from taking-up in the first message queue including target data request
Multiple request of data;Sending module is configured to multiple request of data including target data request being sent to institute
Data source server is stated, to notify the data source server to obtain the multiple requested target data of request of data.
Optionally, described device further include: first obtains module, is configured to obtain the first request of data, wherein described the
One request of data is used to request the first data to the data source server;First discard module is configured to disappear described first
It, will in the case that the quantity for the request of data for being sent to the data source server for including in breath queue is greater than predetermined threshold
First request of data abandons;Second writing module is configured to first request of data second message queue is written,
In, the request of data for including in the second message queue is arranged to the request of data for including in the first message queue
Quantity be less than in the case that the predetermined threshold and/or the first message queue are in idle condition and write back to described first
In message queue.
Optionally, described device further include: cache module, first request of data for being configured to be dropped are stored in
On cache server, and retain specified time;Module is write back, the request of data for including in the first message queue is configured to
Quantity be less than the institute that in the case that the predetermined threshold and/or the first message queue be in idle condition, will be dropped
The first request of data is stated to write back in the first message queue.
Optionally, first writing module includes: the first writing unit, is configured to request in the target data excellent
In the case that first grade is higher than predetermined threshold, the target data is requested to the head of the queue position being written in the first message queue
It sets, in the case where the priority of target data request is lower than the predetermined threshold, by institute on the intermediate server
It states target data and requests the tail of the queue position being written in the first message queue;Second writing unit is configured in the mesh
Mark the case where priority of request of data is higher than in the first message queue positioned at the priority of the request of data of Head-of-line
Under, the target data is requested to the Head-of-line being written in the first message queue, is asked in the target data
It, will be described in the case where priority of the priority asked lower than the request of data for being located at tail of the queue position in the first message queue
Target data requests the tail of the queue position being written in the first message queue.
Optionally, described device further include: second obtains module, is configured to obtain the second request of data, wherein described the
Two request of data are used to request the target data to the data source server;Second discard module is configured to described
Two request of data abandon.
Optionally, described device further include: the second sending module is configured to target data request being sent to institute
It states after data source server and gets the target data in the data source server and request requested target data
Later, the target data is requested to be sent to the data source server by proxy server;Third obtains module, configuration
To obtain the target data that the proxy server is received from the data source server.
According to the another aspect of the embodiment of the present application, a kind of storage medium is additionally provided, meter is stored in the storage medium
Calculation machine program, wherein the computer program is arranged to execute the processing method of above-mentioned request of data when operation.
According to the another aspect of the embodiment of the present application, a kind of electronic device is additionally provided, including memory, processor and deposit
Store up the computer program that can be run on a memory and on a processor, wherein above-mentioned processor passes through computer program and executes
The processing method of above-mentioned request of data.
In the embodiment of the present application, by receiving target data request on intermediate server;Then by target data on
Request write-in first message queue, wherein it include the request of data for being sent to data source server in first message queue, the
Request of data in one message queue is arranged to sending cycle and takes out from first message queue and be sent to data source
The quantity of server, the request of data that each sending cycle is taken out from first message queue is identical;It is this to send at regular time and quantity
The mode of request of data can carry out certain control to the flow of request, guarantee the number of requests for being sent to data source server
Will not very little waste of resource, too high server stress will not be caused excessive;When reaching target sending cycle from first message
In queue take out include target data request including multiple request of data, and by including target data request including multiple numbers
It is sent to data source server according to request, multiple requested target datas of request of data are obtained with notification data source server,
Data source server goes to obtain data according to the request of data received in advance, both ensure that the validity and real-time of data,
The effect for also functioning to a caching, thereby reduces in peak traffic phase flow pressure caused by data server.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is according to a kind of hardware environment schematic diagram of the processing method of optional request of data of the embodiment of the present application;
Fig. 2 is the flow chart according to a kind of processing method of optional request of data of the embodiment of the present application;
Fig. 3 is according to a kind of application environment schematic diagram of the processing method of optional request of data of the embodiment of the present application;
Fig. 4 is according to a kind of certain optional community users military success information query interface schematic diagram of the embodiment of the present application;
Fig. 5 is according to a kind of structural block diagram of the processing unit of optional request of data of the embodiment of the present application;
Fig. 6 is according to a kind of structural block diagram of the processing system of optional request of data of the embodiment of the present application;
Fig. 7 is according to a kind of interaction diagrams of optional data request processing method of the embodiment of the present application;
Fig. 8 is the process interaction figure inside a kind of optional intermediate server according to the embodiment of the present application Fig. 7;
Fig. 9 is according to a kind of schematic diagram of optional electronic device of the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Current the game data under some scenes obtains difficulty in the related technology, has frequency limit requirement, can only look into Ru per second
Inquiry interaction within one specified threshold, but application side's request amount is very big, considerably beyond the frequency limit of inquiry, then when
User volume increased or when the peak traffic phase, it may appear that inquiry data failure calls game data time-out, even
The problem of game data provider's service is worn down.This will seriously affect user experience and business increases, and also will affect data offer
The reliability of service and stability of side.
Industry reduces the mode interacted with data source, is usually patrolling generally using database caches data are increased at present
It collects and is provided with " frequency limit " module between server and data source server, be used as cache database.Main flow are as follows: user
Inquiry request is initiated in client;After logical server receives request, first go whether data server inquiry there are data;There are data
Client is directly returned to, forwarding inquiries request is transmitted to data source server if no data;Data source server returns to knot
Fruit gives frequency limit server, and frequency limit server returns result to logical server, and then logical server is by result
Return to client.
Above-mentioned framework has the following deficiencies: and does not control the number of requests of client, when client request increases
When, logical server and data source server pressure can be made excessive, so as to cause the failure of data server pulling data.Although plus
Caching, can reduce the interaction with data source server, but the real-time of data can have an impact, not precisely to a certain extent.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides a kind of processing method of request of data.Fig. 1 is root
According to a kind of hardware environment schematic diagram of the processing method of optional request of data of the embodiment of the present application, as shown in Figure 1, request of data
Processing method mainly comprise the steps that
Target data request is sent network-side 110 by step S102, user equipment 102;
Target data request is transmitted to server 112 by step S104, network-side 110;
Step S106, server 112 is according to target data request data result;
Target data result is returned to network-side 110 by step S108, server 112;
Target data result is fed back to user equipment 102 by step S110, network-side 110.
It can include but is not limited to memory 104, processor 106 and display 108, server inside user equipment 102
It can include but is not limited to database 114 and processing engine 116 inside 112.
Fig. 2 is a kind of flow chart of the processing method of optional request of data of the embodiment of the present application.As shown in Fig. 2, should
Method includes:
Step S201 receives target data request;
Target data is requested write-in first message queue, wherein include to be sent in first message queue by step S203
To the request of data of data source server, the request of data in first message queue is arranged to sending cycle and disappears from first
Data source server is taken out and is sent in breath queue, the request of data that each sending cycle is taken out from first message queue
Quantity is identical;
Step S205, when reaching target sending cycle from taking-up in first message queue including target data request
Multiple request of data, and multiple request of data including target data request are sent to data source server, with logical
Primary data source server obtains multiple requested target datas of request of data.
Optionally, in the present embodiment, the processing method of above-mentioned request of data can be applied to client as shown in Figure 3
302, in the hardware environment that intermediate server 304, data source server 306 are constituted, the execution master of each step shown in Fig. 2
Body can be, but not limited to be intermediate server 304, and optionally, intermediate server may include multiple servers, first message team
Column can be one of server in intermediate server.Intermediate server can be set in logical server and data source clothes
It is engaged between device, also can be set between client and data source server.As shown in figure 3, intermediate server 304 receives visitor
Target data is requested write-in first message queue, wherein in first message queue by the target data request that family end 302 is sent
Request of data including being sent to data source server, the request of data in first message queue are arranged to send week
Data source server is taken out from first message queue and be sent to phase, what each sending cycle was taken out from first message queue
The quantity of request of data is identical;Take out from first message queue when reaching target sending cycle includes that target data request exists
Interior multiple request of data, and multiple request of data including target data request are sent to data source server 306,
Multiple requested target datas of request of data are obtained with notification data source server, then client 302 takes to data source again
Business device 306 goes request target data.
Optionally, the method for above-mentioned data processing be not limited to be applied to game data obtain scene in, can with but it is unlimited
In be applied to other any server application scenes concurrent in peak traffic phase request amount, such as shopping class, game class, immediately
Communication class scene etc..
Optionally, above-mentioned target data request can be, but not limited to the data involved in game process, such as account is stepped on
Land, the heroic inquiry of role, the acquisition of game background, the inquiry of character skin, game forum information, is chatted the inquiry of game military success
Its content, race record, show in game picture kill, assist, the data of dead number, the score data of one innings of game,
The data etc. that operation is broadcasted in game process.As shown in figure 4, being certain community users military success information of the embodiment of the present application
Query interface schematic diagram.
Optionally, above-mentioned first message queue can be the message queue being made of request of data, the number in message queue
It is taken out from message queue according to request according to preset sending cycle, the quantity for the request of data taken out every time is to pre-set
Quantity M, M can be fixed number, can also be changed according to sending cycle, such as in first sending cycle, M is 100,
It is 200 in second sending cycle M, is 100 in third sending cycle M, intersect carry out in this way, certainly, number herein is only
It is only used for for example, can be specifically arranged according to the bearing capacity and application scenarios of server in practical application.
Optionally, the multiple request of data requested comprising target data are sent to data source service in the embodiment of the present application
Device, data source server can be according to the request of data away game server request datas received, the number that then will acquire
According in the data in the local data base for being stored in data source server, got herein include target data.Subsequent client
Target data request directly can be sent to data source server to obtain corresponding target data, avoid game in this way
The multiple interaction of server and front end, reduces the pressure of game server.And the number due to being obtained in data source server
According to being obtained in real time according to target data request, it is ensured that the validity and real-time of data avoid data more
Newly, but in data source server the data stored have delay.
As a kind of optional scheme, after target data is requested write-in first message queue, the above method further include:
S1 obtains the first request of data, wherein the first request of data is used to request the first data to data source server;
S2, include in first message queue is sent to the quantity of the request of data of data source server greater than predetermined
In the case where threshold value, the first request of data is abandoned, alternatively, second message queue is written in the first request of data, wherein second
The quantity that the request of data for including in message queue is arranged to the request of data for including in first message queue is less than predetermined
Threshold value and/or first message queue write back in first message queue in the case where being in idle condition.
Optionally, the first request of data of acquisition can be, but not limited to the data involved in game process, such as account
Log in, the inquiry of game military success, the heroic inquiry of role, the acquisition of game background, the inquiry of character skin, game forum information,
Chat content, race record, show in game picture kill, assist, the data of dead number, the goals for of one innings of game
According to, data for being broadcasted in game process to operation (three kill, super refreshing, excellent etc. broadcast) etc..
Optionally, the maximum quantity of the request of data set in first message queue, that is, predetermined threshold be it is fixed,
More than this predetermined threshold, first message queue cannot be written in subsequent request of data again, this is also the control to request flow,
Before taking out request of data at regular time and quantity in first message queue, the number of requests in first message queue is controlled
System, reduces the pressure of first message queue.
Optionally, when the number of requests in first message queue is greater than preset threshold, subsequent request of data can lead to
Two ways processing is crossed, first is that directly abandoning, second is that write-in second message queue, wherein second message queue also can be set
One maximum carrying quantity, after second message queue is also write completely, subsequent request of data is dropped.For example, first message team
The preset threshold of column can be, but not limited to be 100, after writing full 100 datas request in first message queue, the 101st article of request
Message can be directly dropped, and also can be written into second message queue.The max-thresholds of second message queue are 100, when second
When also writing full request of data in message queue, the 201st article of message is dropped.
Optionally, first message queue work normally when, second message queue exists as spare queue, it is not direct and
Other servers interact.When less than one predetermined threshold (such as 50) of quantity of the request of data in first message queue
When, the partial data request in second message queue can be write back in first message queue, alternatively, working as first message queue
In when being in idle condition, the partial data request in second message queue can also be write back in first message queue.
Optionally, when first message queue breaks down, second message queue can substitute first message queue progress
Work.Request of data in first message queue can be written into second message queue, alternatively, the data in first message queue
Because failure is dropped, the request of data that specified quantity is taken out directly from second message queue is sent to data source service for request
Device.
As a kind of optional scheme, after the first request of data is abandoned, the method also includes:
The first request of data being dropped is stored on cache server, and retains specified time by S1;
The quantity of S2, the request of data for including in first message queue are less than predetermined threshold and/or first message queue
In the case where being in idle condition, the first request of data being dropped is write back in first message queue.
Optionally, cache server can be one of server of intermediate server, be also possible to independently of centre
Existing for server.The request of data abandoned in first message queue or second message queue can be temporarily stored within caching
On server, and retain specified time, avoids that important request is directly abandoned the problem for causing user experience poor.When first
The case where quantity for the request of data that message queue includes is in idle condition less than predetermined threshold and/or first message queue
Under, the request of data on cache server can be written back in first message queue, when first message queue is out of order
When, standby message queue, such as second message queue can also be write back to, the embodiment of the present application is not construed as limiting this.
As a kind of optional scheme, request write-in first message queue real in the following manner target data
It is existing:
Target data request is written in the in the case where the priority of target data request is higher than predetermined threshold by S1
Head-of-line in one message queue, in the case where the priority of target data request is lower than predetermined threshold, by target data
Request the tail of the queue position being written in first message queue;Or
S2 is higher than the excellent of the request of data for being located at Head-of-line in first message queue in the priority of target data request
In the case where first grade, target data is requested to the Head-of-line being written in first message queue, in the excellent of target data request
In the case where priority of the first grade lower than the request of data for being located at tail of the queue position in first message queue, target data request is write
Enter the tail of the queue position in first message queue.
It should be noted that the above-mentioned mode that target data is requested to write-in first message queue, mainly utilizes logarithm
Priority arrangement is carried out according to request, determines the priority level of different data request, and then determine and handle different data request
Time it is successive.By the determination of priority, can will relatively prior request of data priority processing, prevent from being dropped or prolong
Accidentally.The setting method of priority can set different priority rules according to different application scenarios.For example, being answered in game
With in scene, user A request logs in game, a military success ranking in user's B request, and dialog box is checked in user C request
Chat record.A kind of optional priority level initializing mode is the highest priority of user A, is set as 5, the priority of user B is most
It is low, it is set as 1, the priority bit of user C is set as 3 in centre.
It is alternatively possible to the threshold value of priority be arranged, for example, upper limit threshold and lower threshold is respectively set.In number of targets
In the case where being higher than scheduled upper limit threshold according to the priority of request, target data request is written in first message queue
Target data is requested to be written by Head-of-line in the case where the priority of target data request is lower than scheduled lower threshold
Tail of the queue position in first message queue.Such as the priority of the request of user A is higher than upper limit threshold 4, then by user A's
The Head-of-line of first message queue is written in request of data, and the priority of the request of data of user B is lower than lower threshold 2, will use
The tail of the queue of the request of data write-in first message queue of family B.Can also only set a predetermined threshold 3, the request of user A it is excellent
First grade is higher than the predetermined threshold 3, then by the Head-of-line of the request of data write-in first message queue of user A, the number of user B
It is lower than the predetermined threshold 3 according to the priority of request, by the tail of the queue of the request of data write-in first message queue of user B.User C's
Request can be according to being normally sequentially written in, such as last position of current first message queue is written, can also be according to preferential
The height of grade, is written any position between the middle position or head of the queue and tail of the queue of first message queue, the embodiment of the present application pair
This is without limitation.
Optionally, if receiving the request of data that a priority is 1, and in current first message queue tail of the queue data
The priority of request is 2, that is, the priority of the request of data newly received is less than the request of data of current message queue tail of the queue
Priority, it is possible to which tail of the queue is written in the request of data that the priority newly received is 1.Vice versa, if receiving one
The request of data that priority is 5, and the priority of the request of data of head of the queue is 4 in current first message queue, that is, newly receive
Request of data priority be greater than current message queue head of the queue request of data priority, it is possible to by newly receiving
Priority be 5 request of data be written head of the queue.
It is subsequent when taking out request of data from message queue according to predetermined period, it is taken since head of the queue every time, gets finger
Data source server just is sent by the multiple request of data taken out after fixed number amount, ensure that the high request of data of priority is excellent
First handle.
In an optional scheme, before target data is requested write-in first message queue, the above method further include:
S1 obtains the second request of data, wherein the second request of data is used for data source server request target data;
S2 abandons the second request of data.
It should be noted that the second request of data herein, the data one of data and target data the request request of request
It causes, is all request target data.In order to save resource, before it will request write-in first message queue, to the data received
Request is filtered, i.e. merging duplicate removal, duplicate request of data is merged into one, that is, when subsequently received and target data
When requesting duplicate request of data, directly abandon, it is not necessary to first message queue be written.A large amount of duplicate data are effectively reduced to ask
Seek the occupancy to server resource.
Such as during dual meet, the current game military success of user's A request is got pair from data source server
After the data answered, before end of match, the user A current game military success of request again receives the number of user A again
After request, intermediate server had had identical request before judging, and the corresponding data of this request are not
It updates, intermediate server can directly abandon the request being received again by.Logical server is online at this time, it should be noted that
In user A request game military success data for the first time, by corresponding data storage in local, user asks logical server again
When seeking identical data, the data of preservation directly can be returned to user A by logical server, it is not necessary to again pass through duplicate request
It crosses intermediate server and data source server re-requests one time.
Optionally, above-mentioned merging duplicate removal can be completed by contracting amount server, and contracting amount server can be intermediate server
One of server, the embodiment of the present application do not limit this.
In an optional scheme, after target data request is sent to data source server, the above method is also wrapped
It includes:
S1 gets target after target data request is sent to data source server and in data source server
After the requested target data of request of data, target data is requested to be sent to data source server by proxy server;
S2 obtains the target data that proxy server is received from data source server.
In an optional scheme, client is not direct to be interacted with intermediate server, also not direct and data source
Server interacts.Logical server is set between client and intermediate server, between client and data source server
Logical server and proxy server are set.
Target data request is sent logical server by the client of user, and logical server again forwards request of data
To intermediate server, be sent to data source server by intermediate server so that data source server go to obtain it is corresponding
Target data.So after data source server gets target data, logical server passes through proxy server to data
Source server inquires target data, and the target data that then proxy server will acquire returns to logical server, logical services
Target data is returned to client by device.
In this way, target data has been got in data source server and then request to send out by target data
Proxy server is given, proxy server goes data source server to obtain data according to target data request, it is ensured that target
Data are real-time updates.
In an optional scheme, logical server can be allowed to know when send out to proxy server in the following manner
Target data is sent to request:
S1 receives notification message after the request of institute's target data is sent to data source server, wherein notice
Message requests requested target data for indicating that data source server has got target data;
S2, response notification message request target data to be sent to data source server by proxy server.
Optionally, above-mentioned notification message can carry in any communication message between servers.Logical server exists
The notification message for receiving intermediate server transmission, after knowing that data source server has got target data, logic clothes
Business device sends target data request to proxy server.It is also possible to intermediate server and sends data source service for request of data
After device, it is unable to the feedback of data source server, is sent a notification message directly to logical server, notification logic server can be with
Request of data is sent to proxy server.
It is also possible to set clock signal on logical server, makes a reservation for when target data request is sent to intermediate server
Time and then by target data request be sent to proxy server.For example, logical server sends target data request to
After intermediate server 1s, target data request is sent proxy server by logical server.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
According to the other side of the embodiment of the present application, additionally provide a kind of for implementing the processing side of above-mentioned request of data
The processing unit of the request of data of method, as shown in figure 5, the device includes:
Receiving module 50 is configured to receive target data request;
First writing module 52 is configured to requesting target data into write-in first message queue, wherein first message queue
In include being sent to the request of data of data source server, the request of data in first message queue is arranged to send
Data source server is taken out from first message queue and be sent to period, and each sending cycle is taken out from first message queue
Request of data quantity it is identical;
Module 54 is taken out, being configured to take out from first message queue when reaching target sending cycle includes target data
Multiple request of data including request;
First sending module 56 is configured to multiple request of data including target data request being sent to data source
Server obtains multiple requested target datas of request of data with notification data source server.
Optionally, above-mentioned apparatus further include: first obtains module, is configured to obtain the first request of data, wherein the first number
According to request for requesting the first data to data source server;First discard module, be configured in first message queue include
The request of data for being sent to data source server quantity be greater than predetermined threshold in the case where, the first request of data is lost
It abandons;Second writing module is configured to the first request of data second message queue is written, wherein include in second message queue
Request of data be arranged to the quantity of the request of data for including in first message queue and be less than predetermined threshold and/or first disappear
Breath queue writes back in first message queue in the case where being in idle condition.
Optionally, above-mentioned apparatus further include: cache module, the first request of data for being configured to be dropped are stored in caching
On server, and retain specified time;Module is write back, the quantity for being configured to the request of data for including in first message queue is small
In the case that predetermined threshold and/or first message queue are in idle condition, the first request of data being dropped is write back to
In first message queue.
Optionally, the first writing module 52 includes: the first writing unit, and it is high to be configured to the priority requested in target data
In the case where predetermined threshold, target data is requested to the Head-of-line being written in first message queue, is asked in target data
In the case that the priority asked is lower than predetermined threshold, target data request is written in first message queue on intermediate server
In tail of the queue position;Second writing unit, be configured to target data request priority be higher than first message queue in be located at
In the case where the priority of the request of data of Head-of-line, target data is requested to the head of the queue position being written in first message queue
It sets, the feelings for being located at the priority of request of data of tail of the queue position in first message queue is lower than in the priority of target data request
Under condition, target data is requested to the tail of the queue position being written in first message queue.
Optionally, above-mentioned apparatus further include: second obtains module, is configured to obtain the second request of data, wherein the second number
According to request for data source server request target data;Second discard module is configured to abandon the second request of data.
Optionally, above-mentioned apparatus further include: the second sending module is configured to target data request being sent to data source
After server and after data source server gets the requested target data of target data request, by target data
Request is sent to data source server by proxy server;Third obtains module, is configured to obtain proxy server from data
The target data that source server receives.
Optionally, the second sending module includes: receiving unit, is configured to target data request being sent to data source clothes
It is engaged in after device, receives notification message, wherein notification message is for indicating that data source server has got target data request
Requested target data;Transmission unit is configured to response notification message and sends target data request by proxy server
To data source server.
According to another embodiment of the application, a kind of processing system of request of data is additionally provided, it is above-mentioned for executing
Either method embodiment.Fig. 6 is a kind of structural block diagram of the processing system of optional request of data of the embodiment of the present application, Fig. 7
It is the interaction diagrams of the data request processing method of the embodiment of the present application, as shown in Figure 6 and Figure 7, which includes:
Logical server 62 is configured to obtain the target data request that client 60 is sent, and target data is requested to send out
Give intermediate server 64;
Intermediate server 64 is configured to request target data to be sent to data source server 66, wherein intermediate server
64 include contracting amount server 640, message queue 642 and flow control server 644, and contracting amount server 640 asks the data received
It asks and is sent to message queue 642 after merging duplicate removal, message queue 642 carries out request of data according to priority orders preferential
Grade arrangement, and abandon be more than pre-set threshold numbers request of data, flow control server 644 is according to the time cycle from message queue
Head of the queue takes out the request of data of specified quantity, is sent to data source server 66;
Data source server 66 is configured to obtain the requested number of targets of target data request from game data server 68
According to;
Logical server 62 is additionally configured to, intermediate server 64 by target data be sent to data source server 66 it
Afterwards, target data request is sent to proxy server 70;
Proxy server 70 is configured to request target data to be sent to data source server 66, receives and take from data source
The target data that business device 66 returns, is sent to logical server 62 for the target data received;
Logical server 62 is additionally configured to, and sends target data to client 60.
Fig. 8 is the process interaction figure inside the intermediate server according to the embodiment of the present application Fig. 7, as shown in figure 8, intermediate clothes
Business device 64 includes contracting amount server 640, message queue 642 and flow control server 644, the number that contracting amount server 640 will receive
It is sent to message queue 642 after merging duplicate removal according to request, message queue 642 carries out request of data according to priority orders
Priority arrangement, and abandon be more than pre-set threshold numbers request of data, flow control server 644 is according to the time cycle from message team
The head of the queue of column takes out the request of data of specified quantity, is sent to data source server 66.
Processing layer by layer by contracting amount server, message queue and flow control server to request of data, ensure that data source
The request of data that server receives will not lead to server crash because portfolio explodes, and avoid data source server transmission
Request of data to game data server causes excessive pressure to game data server, efficiently solves user volume increase
Or when the peak traffic phase, game data is called excessively to frequently result in the problem of causing excessive pressure to game data server.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing above-mentioned media file lookup method
Electronic device, above-mentioned electronic device can be, but not limited to be applied to above-mentioned server 112 shown in FIG. 1 in.As shown in figure 9,
The electronic device includes memory 902 and processor 904, is stored with computer program in the memory 902, the processor 904
It is arranged to execute the step in any of the above-described embodiment of the method by computer program.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network
At least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 receives target data request on intermediate server;
Target data is requested write-in first message queue on intermediate server, wherein wrap in first message queue by S2
The request of data for being sent to data source server is included, the request of data in first message queue is arranged to sending cycle
Data source server, the number that each sending cycle is taken out from first message queue are taken out and are sent to from first message queue
It is identical according to the quantity of request;
S3, it is multiple including target data request from being taken out in first message queue when reaching target sending cycle
Request of data, and multiple request of data including target data request are sent to data source server, with notification data
Source server obtains multiple requested target datas of request of data.
Optionally, it will appreciated by the skilled person that structure shown in Fig. 9 is only to illustrate, electronic device can also
To be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device
The terminal devices such as (Mobile Internet Devices, MID), PAD.Fig. 9 it does not cause to the structure of above-mentioned electronic device
It limits.For example, electronic device may also include more perhaps less component (such as network interface) or tool than shown in Fig. 9
There is the configuration different from shown in Fig. 9.
Wherein, memory 902 can be used for storing software program and module, such as the request of data in the embodiment of the present invention
Corresponding program instruction/the module for the treatment of method and apparatus, the software journey that processor 904 is stored in memory 902 by operation
Sequence and module realize the processing method of above-mentioned request of data thereby executing various function application and data processing.It deposits
Reservoir 902 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage fills
It sets, flash memory or other non-volatile solid state memories.In some instances, memory 902 can further comprise relative to place
The remotely located memory of device 904 is managed, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network
Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.Wherein, memory 902 specifically can be with
But it is not limited to use in storage target data and requests requested data.As an example, as shown in figure 9, above-mentioned memory 902
In to can be, but not limited to include receiving module 50 in the processing unit of above-mentioned request of data, the first writing module 52, takes out mould
Block 54 and the first sending module 56.In addition, it can include but other moulds for being not limited in the processing unit of above-mentioned request of data
Module unit repeats no more in this example.
Optionally, above-mentioned transmitting device 906 is used to that data to be received or sent via a network.Above-mentioned network tool
Body example may include cable network and wireless network.In an example, transmitting device 906 includes a network adapter
(Network Interface Controller, NIC), can be connected by cable with other network equipments with router to
It can be communicated with internet or local area network.In an example, transmitting device 906 is radio frequency (Radio Frequency, RF)
Module is used to wirelessly be communicated with internet.
In addition, above-mentioned electronic device further include: display 908, for showing each media file;With connection bus 910,
For connecting the modules component in above-mentioned electronic device.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1 receives target data request on intermediate server;
Target data is requested write-in first message queue on intermediate server, wherein wrap in first message queue by S2
The request of data for being sent to data source server is included, the request of data in first message queue is arranged to sending cycle
Data source server, the number that each sending cycle is taken out from first message queue are taken out and are sent to from first message queue
It is identical according to the quantity of request;
S3, it is multiple including target data request from being taken out in first message queue when reaching target sending cycle
Request of data, and multiple request of data including target data request are sent to data source server, with notification data
Source server obtains multiple requested target datas of request of data.
Optionally, storage medium is also configured to store for executing step included in the method in above-described embodiment
Computer program, this is repeated no more in the present embodiment.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment
All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in
In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory,
ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product
When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, the skill of the application
Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme
The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the application
State all or part of the steps of method.
In above-described embodiment of the application, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side
Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one
Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the application.
Claims (15)
1. a kind of processing method of request of data characterized by comprising
Receive target data request;
The target data is requested into write-in first message queue, wherein include being sent to institute in the first message queue
The request of data of data source server is stated, the request of data in the first message queue is arranged to sending cycle from institute
It states and the data source server is taken out and be sent in first message queue, each sending cycle is from the first message team
The quantity for the request of data taken out in column is identical;
It is more including target data request from being taken out in the first message queue when reaching target sending cycle
A request of data, and multiple request of data including target data request are sent to the data source server,
To notify the data source server to obtain the multiple requested target data of request of data.
2. the method according to claim 1, wherein by the target data request write-in first message queue it
Afterwards, the method also includes:
Obtain the first request of data, wherein first request of data is used to request the first data to the data source server;
Include in the first message queue is sent to the quantity of the request of data of the data source server greater than pre-
In the case where determining threshold value, first request of data is abandoned, alternatively, second message team is written in first request of data
Column, wherein the request of data for including in the second message queue is arranged to the number for including in the first message queue
Institute is write back in the case where being in idle condition according to the quantity of request less than the predetermined threshold and/or the first message queue
It states in first message queue.
3. according to the method described in claim 2, it is characterized in that, by first request of data abandon after, the method
Further include:
First request of data being dropped is stored on cache server, and retains specified time;
The quantity for the request of data for including in the first message queue is less than the predetermined threshold and/or the first message
In the case that queue is in idle condition, first request of data being dropped is write back in the first message queue.
4. the method according to claim 1, wherein the target data is requested write-in first message queue
Include:
In the case where the priority of target data request is higher than predetermined threshold, target data request is written in institute
The Head-of-line in first message queue is stated, the case where the priority of target data request is lower than the predetermined threshold
Under, the target data is requested to the tail of the queue position being written in the first message queue;Or
It is higher than the request of data for being located at Head-of-line in the first message queue in the priority of target data request
In the case where priority, the target data is requested to the Head-of-line being written in the first message queue, in institute
State the priority of the priority of target data request lower than the request of data for being located at tail of the queue position in the first message queue
In the case of, the target data is requested to the tail of the queue position being written in the first message queue.
5. the method according to claim 1, wherein by the target data request write-in first message queue it
Before, the method also includes:
Obtain the second request of data, wherein second request of data is used to request the target to the data source server
Data;
Second request of data is abandoned.
6. the method according to claim 1, wherein target data request is sent to data source service
After device, the method also includes:
It is got after target data request is sent to the data source server and in the data source server
After the target data requests requested target data, the target data is requested to be sent to institute by proxy server
State data source server;
Obtain the target data that the proxy server is received from the data source server.
7. according to the method described in claim 6, it is characterized in that, target data request is sent to the data source
It, will after server and after the data source server gets the requested target data of the target data request
The target data request is sent to the data source server by proxy server and includes:
After target data request is sent to the data source server, notification message is received, wherein described logical
Know that message requests requested target data for indicating that the data source server has got the target data;
The notification message is responded to request the target data to be sent to the data source service by the proxy server
Device.
8. a kind of processing unit of request of data characterized by comprising
Receiving module is configured to receive target data request;
First writing module is configured to requesting the target data into write-in first message queue, wherein the first message team
It include the request of data for being sent to the data source server in column, the request of data in the first message queue is set
For the data source server, each transmission week are taken out and are sent to from the first message queue according to sending cycle
The quantity for the request of data that phase takes out from the first message queue is identical;
Module is taken out, being configured to take out from the first message queue when reaching target sending cycle includes the number of targets
According to multiple request of data including request;
First sending module is configured to multiple request of data including target data request being sent to the data
Source server, to notify the data source server to obtain the multiple requested target data of request of data.
9. device according to claim 8, which is characterized in that described device further include:
First obtains module, is configured to obtain the first request of data, wherein first request of data is used for the data source
Server requests the first data;
First discard module is configured to the number for being sent to the data source server for including in the first message queue
In the case where being greater than predetermined threshold according to the quantity of request, first request of data is abandoned;
Second writing module is configured to first request of data second message queue is written, wherein the second message team
The quantity that the request of data for including in column is arranged to the request of data for including in the first message queue is less than described pre-
Determine threshold value and/or writes back in the first message queue in the case that the first message queue is in idle condition.
10. device according to claim 9, which is characterized in that described device further include:
Cache module, first request of data for being configured to be dropped are stored on cache server, and when retaining specified
Between;
Module is write back, the quantity for being configured to the request of data for including in the first message queue is less than the predetermined threshold
And/or in the case that the first message queue is in idle condition, first request of data being dropped is write back into institute
It states in first message queue.
11. device according to claim 8, which is characterized in that first writing module includes:
First writing unit is configured in the case where the priority that the target data is requested is higher than predetermined threshold, will be described
Target data requests the Head-of-line being written in the first message queue, is lower than in the priority of target data request
In the case where the predetermined threshold, the target data is requested to the tail of the queue position being written in the first message queue;
Second writing unit is configured to be higher than in the first message queue in the priority that the target data is requested positioned at team
In the case where the priority for the request of data that first place is set, target data request is written in the first message queue
The Head-of-line is lower than the number for being located at tail of the queue position in the first message queue in the priority of target data request
In the case where priority according to request, the target data is requested to the tail of the queue position being written in the first message queue.
12. device according to claim 8, which is characterized in that described device further include:
Second obtains module, is configured to obtain the second request of data, wherein second request of data is used for the data source
Server requests the target data;
Second discard module is configured to abandon second request of data.
13. device according to claim 8, which is characterized in that described device further include:
Second sending module is configured to after target data request is sent to the data source server and in institute
It states data source server to get after the target data requests requested target data, the target data be requested logical
It crosses proxy server and is sent to the data source server;
Third obtains module, is configured to obtain the number of targets that the proxy server is received from the data source server
According to.
14. a kind of storage medium, the storage medium includes the program of storage, wherein described program executes above-mentioned power when running
Benefit requires method described in 1 to 7 any one.
15. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory
Sequence, the processor are arranged to execute side described in any one of claim 1 to 7 by the computer program
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910586036.5A CN110290217B (en) | 2019-07-01 | 2019-07-01 | Data request processing method and device, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910586036.5A CN110290217B (en) | 2019-07-01 | 2019-07-01 | Data request processing method and device, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110290217A true CN110290217A (en) | 2019-09-27 |
CN110290217B CN110290217B (en) | 2022-04-26 |
Family
ID=68021577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910586036.5A Active CN110290217B (en) | 2019-07-01 | 2019-07-01 | Data request processing method and device, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110290217B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990444A (en) * | 2019-11-27 | 2020-04-10 | 中诚信征信有限公司 | Data query method and device |
CN111190745A (en) * | 2019-11-05 | 2020-05-22 | 腾讯科技(深圳)有限公司 | Data processing method and device and computer readable storage medium |
CN111324536A (en) * | 2020-02-19 | 2020-06-23 | 香港乐蜜有限公司 | Pressure testing method and device, electronic equipment and storage medium |
CN111445157A (en) * | 2020-03-31 | 2020-07-24 | 深圳前海微众银行股份有限公司 | Service data management method, device, equipment and storage medium |
CN111488366A (en) * | 2020-04-09 | 2020-08-04 | 百度在线网络技术(北京)有限公司 | Relational database updating method, device, equipment and storage medium |
CN111580993A (en) * | 2020-05-11 | 2020-08-25 | 广州虎牙信息科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111614549A (en) * | 2020-05-21 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Interaction processing method and device, computer equipment and storage medium |
CN111949424A (en) * | 2020-09-18 | 2020-11-17 | 成都精灵云科技有限公司 | Method for realizing queue for processing declarative events |
CN112347107A (en) * | 2020-11-11 | 2021-02-09 | Oppo(重庆)智能科技有限公司 | Data persistence method, mobile terminal and computer-readable storage medium |
CN112699391A (en) * | 2020-12-31 | 2021-04-23 | 青岛海尔科技有限公司 | Target data sending method and privacy computing platform |
CN114328620A (en) * | 2021-12-21 | 2022-04-12 | 京东科技控股股份有限公司 | Data processing method and system, equipment and storage medium |
CN114760357A (en) * | 2022-03-23 | 2022-07-15 | 北京字节跳动网络技术有限公司 | Request processing method and device, computer equipment and storage medium |
CN115190173A (en) * | 2022-07-08 | 2022-10-14 | 迈普通信技术股份有限公司 | Network communication method, device, equipment and storage medium |
CN116233053A (en) * | 2022-12-05 | 2023-06-06 | 中国联合网络通信集团有限公司 | Method, device and storage medium for sending service request message |
CN116757796A (en) * | 2023-08-22 | 2023-09-15 | 深圳硬之城信息技术有限公司 | Shopping request response method based on nginx and related device |
CN117234998A (en) * | 2023-09-12 | 2023-12-15 | 中科驭数(北京)科技有限公司 | Multi-host data access method and system |
CN117687763A (en) * | 2024-02-03 | 2024-03-12 | 成都医星科技有限公司 | High concurrency data weak priority processing method and device, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457906A (en) * | 2010-10-26 | 2012-05-16 | 中国移动通信集团河南有限公司 | Load balancing control method and system of message queues |
US20140108596A1 (en) * | 2012-10-17 | 2014-04-17 | Wal-Mart Stores, Inc. | Http parallel processing router |
CN104601675A (en) * | 2014-12-29 | 2015-05-06 | 小米科技有限责任公司 | Server load balancing method and device |
CN106470169A (en) * | 2015-08-19 | 2017-03-01 | 阿里巴巴集团控股有限公司 | A kind of service request method of adjustment and equipment |
CN106603703A (en) * | 2016-12-29 | 2017-04-26 | 北京奇艺世纪科技有限公司 | Back-to-source node determination method and apparatus |
CN107317763A (en) * | 2017-06-30 | 2017-11-03 | 郑州云海信息技术有限公司 | Flow control method and device between a kind of client and meta data server |
CN107645386A (en) * | 2017-09-25 | 2018-01-30 | 网宿科技股份有限公司 | A kind of method and apparatus for obtaining data resource |
CN107767236A (en) * | 2017-11-14 | 2018-03-06 | 北京小度信息科技有限公司 | A kind of order method for pushing, device, server and computer-readable recording medium |
CN109600415A (en) * | 2018-10-23 | 2019-04-09 | 平安科技(深圳)有限公司 | The method, apparatus and computer equipment of target data are obtained from multiple source servers |
-
2019
- 2019-07-01 CN CN201910586036.5A patent/CN110290217B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457906A (en) * | 2010-10-26 | 2012-05-16 | 中国移动通信集团河南有限公司 | Load balancing control method and system of message queues |
US20140108596A1 (en) * | 2012-10-17 | 2014-04-17 | Wal-Mart Stores, Inc. | Http parallel processing router |
CN104601675A (en) * | 2014-12-29 | 2015-05-06 | 小米科技有限责任公司 | Server load balancing method and device |
CN106470169A (en) * | 2015-08-19 | 2017-03-01 | 阿里巴巴集团控股有限公司 | A kind of service request method of adjustment and equipment |
CN106603703A (en) * | 2016-12-29 | 2017-04-26 | 北京奇艺世纪科技有限公司 | Back-to-source node determination method and apparatus |
CN107317763A (en) * | 2017-06-30 | 2017-11-03 | 郑州云海信息技术有限公司 | Flow control method and device between a kind of client and meta data server |
CN107645386A (en) * | 2017-09-25 | 2018-01-30 | 网宿科技股份有限公司 | A kind of method and apparatus for obtaining data resource |
CN107767236A (en) * | 2017-11-14 | 2018-03-06 | 北京小度信息科技有限公司 | A kind of order method for pushing, device, server and computer-readable recording medium |
CN109600415A (en) * | 2018-10-23 | 2019-04-09 | 平安科技(深圳)有限公司 | The method, apparatus and computer equipment of target data are obtained from multiple source servers |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190745A (en) * | 2019-11-05 | 2020-05-22 | 腾讯科技(深圳)有限公司 | Data processing method and device and computer readable storage medium |
CN111190745B (en) * | 2019-11-05 | 2024-01-30 | 腾讯科技(深圳)有限公司 | Data processing method, device and computer readable storage medium |
CN110990444A (en) * | 2019-11-27 | 2020-04-10 | 中诚信征信有限公司 | Data query method and device |
CN111324536A (en) * | 2020-02-19 | 2020-06-23 | 香港乐蜜有限公司 | Pressure testing method and device, electronic equipment and storage medium |
CN111445157A (en) * | 2020-03-31 | 2020-07-24 | 深圳前海微众银行股份有限公司 | Service data management method, device, equipment and storage medium |
CN111488366A (en) * | 2020-04-09 | 2020-08-04 | 百度在线网络技术(北京)有限公司 | Relational database updating method, device, equipment and storage medium |
CN111580993A (en) * | 2020-05-11 | 2020-08-25 | 广州虎牙信息科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111580993B (en) * | 2020-05-11 | 2024-05-17 | 广州虎牙信息科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN111614549A (en) * | 2020-05-21 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Interaction processing method and device, computer equipment and storage medium |
CN111614549B (en) * | 2020-05-21 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Interaction processing method and device, computer equipment and storage medium |
CN111949424A (en) * | 2020-09-18 | 2020-11-17 | 成都精灵云科技有限公司 | Method for realizing queue for processing declarative events |
CN112347107A (en) * | 2020-11-11 | 2021-02-09 | Oppo(重庆)智能科技有限公司 | Data persistence method, mobile terminal and computer-readable storage medium |
CN112699391A (en) * | 2020-12-31 | 2021-04-23 | 青岛海尔科技有限公司 | Target data sending method and privacy computing platform |
CN112699391B (en) * | 2020-12-31 | 2023-06-06 | 青岛海尔科技有限公司 | Target data sending method and privacy computing platform |
CN114328620A (en) * | 2021-12-21 | 2022-04-12 | 京东科技控股股份有限公司 | Data processing method and system, equipment and storage medium |
CN114760357A (en) * | 2022-03-23 | 2022-07-15 | 北京字节跳动网络技术有限公司 | Request processing method and device, computer equipment and storage medium |
CN115190173B (en) * | 2022-07-08 | 2024-02-23 | 迈普通信技术股份有限公司 | Network communication method, device, equipment and storage medium |
CN115190173A (en) * | 2022-07-08 | 2022-10-14 | 迈普通信技术股份有限公司 | Network communication method, device, equipment and storage medium |
CN116233053A (en) * | 2022-12-05 | 2023-06-06 | 中国联合网络通信集团有限公司 | Method, device and storage medium for sending service request message |
CN116757796A (en) * | 2023-08-22 | 2023-09-15 | 深圳硬之城信息技术有限公司 | Shopping request response method based on nginx and related device |
CN116757796B (en) * | 2023-08-22 | 2024-01-23 | 深圳硬之城信息技术有限公司 | Shopping request response method based on nginx and related device |
CN117234998A (en) * | 2023-09-12 | 2023-12-15 | 中科驭数(北京)科技有限公司 | Multi-host data access method and system |
CN117234998B (en) * | 2023-09-12 | 2024-06-07 | 中科驭数(北京)科技有限公司 | Multi-host data access method and system |
CN117687763A (en) * | 2024-02-03 | 2024-03-12 | 成都医星科技有限公司 | High concurrency data weak priority processing method and device, electronic equipment and storage medium |
CN117687763B (en) * | 2024-02-03 | 2024-04-09 | 成都医星科技有限公司 | High concurrency data weak priority processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110290217B (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110290217A (en) | Processing method and processing device, storage medium and the electronic device of request of data | |
CN112291816B (en) | Data transmission method, device, storage medium and electronic equipment | |
CN103955405B (en) | A kind of application management method and its device | |
CN113018848B (en) | Game picture display method, related device, equipment and storage medium | |
CN105302676B (en) | Active and standby the mechanism data transmission method and device of a kind of distributed file system | |
CN106933871A (en) | Short linking processing method, device and short linked server | |
CN109462631B (en) | Data processing method, data processing device, storage medium and electronic device | |
CN109947795A (en) | The acquisition methods and device of target data | |
CN112121413B (en) | Response method, system, device, terminal and medium for function service | |
CN110062004A (en) | A kind of message handling system and method based on Internet of Things fidonetFido | |
CN107690149A (en) | Trigger method, management function entity and the equipment of the core network of network strategy renewal | |
CN109561054A (en) | A kind of data transmission method, controller and access device | |
CN102868770A (en) | Method, equipment and system for distributing interface | |
CN107430582A (en) | Thin client system, connection management device, virtual machine operations device, method and storage medium | |
CN107835095A (en) | A kind of processing method and processing device of daily record | |
CN109286957A (en) | Switching method, device, electronic equipment and the storage medium of a kind of time source link | |
CN103716230B (en) | Message sending method, device and server | |
CN112044057B (en) | Game state monitoring method and device | |
CN110327625A (en) | Processing method, device, processor, terminal and the server of file | |
CN106055271A (en) | Method and device for de-repetition selection of repeated data based on cloud computing | |
CN109327506A (en) | A kind of resource allocation methods, device and readable storage medium storing program for executing | |
CN108965359A (en) | Communication means, communication device, readable medium and electronic equipment | |
CN109714208A (en) | A kind of equipment is included in method, storage medium and the electronic equipment of network management | |
CN109474674A (en) | Transmission method and device, storage medium, the electronic device of content | |
CN109617960A (en) | A kind of web AR data presentation method based on attributed separation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |