CN105550051A - Asynchronous processing method and device of business request - Google Patents

Asynchronous processing method and device of business request Download PDF

Info

Publication number
CN105550051A
CN105550051A CN201510997715.3A CN201510997715A CN105550051A CN 105550051 A CN105550051 A CN 105550051A CN 201510997715 A CN201510997715 A CN 201510997715A CN 105550051 A CN105550051 A CN 105550051A
Authority
CN
China
Prior art keywords
service request
message queue
data interaction
interaction instruction
application 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
Application number
CN201510997715.3A
Other languages
Chinese (zh)
Other versions
CN105550051B (en
Inventor
郭军
梁敬彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
360 Digital Security Technology Group Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510997715.3A priority Critical patent/CN105550051B/en
Publication of CN105550051A publication Critical patent/CN105550051A/en
Application granted granted Critical
Publication of CN105550051B publication Critical patent/CN105550051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Abstract

The invention discloses an asynchronous processing method and device of a business request, and relates to the field of the network technology. The asynchronous processing method and device does not directly successively send the business request to an application server but puts a business request which belongs to a preset business type in a plurality of business requests associated with a data interaction instruction into a message queue for the application server to take out the business request from the message queue to process the business request. In a data interaction process, the feedback of the application server on the business request of the preset business type does not need to be waited so as to improve the efficiency of a data interaction process and improve user experience.

Description

The asynchronous processing method of service request and device
Technical field
The present invention relates to networking technology area, particularly a kind of asynchronous processing method of service request and device.
Background technology
Along with the development of network technology, no matter be daily life, or work entertainment, all can't do without the figure of client.
Client is being carried out in data exchange process with server; usually multiple service request can be related to; but mode conventionally; can be realized by the mode being similar to serial, first send a service request, after completing this service request to server; send next service request again; but some service request is not necessary in data exchange process, makes the efficiency of whole data exchange process too low, cause Consumer's Experience poor.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of asynchronous processing method of service request solved the problem at least in part and device.
According to one aspect of the present invention, provide a kind of asynchronous processing method of service request, comprising:
In response to the data interaction instruction that user triggers, obtain the multiple service request relevant to described data interaction instruction;
The service request belonging to pre-set business type is put into message queue, from described message queue, takes out service request for application server and process.
Alternatively, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value.
Alternatively, described message queue has multiple;
Correspondingly, described the service request belonging to pre-set business type is put into message queue, from described message queue, takes out service request for application server and process, comprise further:
The service request belonging to pre-set business type is put into each message queue respectively, from described message queue, takes out service request for application server and process.
Alternatively, the quantity of described message queue and one_to_one corresponding identical with lower than the priority quantity of priority threshold value;
Described the service request belonging to pre-set business type is put into each message queue respectively, from described message queue, takes out service request for application server and process, comprise further:
The service request belonging to pre-set business type is put into corresponding message queue respectively according to priority, from described message queue, takes out service request for described application server successively according to priority order from high to low and process.
Alternatively, described priority comprises non-instant type of traffic lower than the type of service of priority threshold value.
Alternatively, after multiple service request that described acquisition is relevant to described data interaction instruction, described method also comprises:
The service request not belonging to pre-set business type is sent to described application server, to make described application server, the service request received is processed.
Alternatively, the described data interaction instruction triggered in response to user, before obtaining multiple service request relevant to described data interaction instruction, described method also comprises:
Detect local network speed, when described local network speed is lower than default network speed, performs the described data interaction instruction triggered in response to user, obtain the step of the multiple service request relevant to described data interaction instruction.
Alternatively, the described data interaction instruction triggered in response to user, before obtaining multiple service request relevant to described data interaction instruction, described method also comprises:
Detect local setting, arrange in described this locality and meet when arranging, perform the described data interaction instruction in response to user's triggering, obtain the step of the multiple service request relevant to described data interaction instruction.
According to another aspect of the present invention, provide a kind of asynchronous process device of service request, comprising:
Acquisition request unit, is suitable for the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
Unit is put in request, is suitable for the service request belonging to pre-set business type to put into message queue, takes out service request process for application server from described message queue.
Alternatively, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value.
Alternatively, described message queue has multiple;
Correspondingly, described request puts into unit, is further adapted for and the service request belonging to pre-set business type is put into each message queue respectively, takes out service request process for application server from described message queue.
Alternatively, the quantity of described message queue and one_to_one corresponding identical with lower than the priority quantity of priority threshold value;
Described request puts into unit, be further adapted for and the service request belonging to pre-set business type is put into corresponding message queue respectively according to priority, from described message queue, take out service request for described application server successively according to priority order from high to low and process.
Alternatively, described priority comprises non-instant type of traffic lower than the type of service of priority threshold value.
Alternatively, described device also comprises:
Request transmitting unit, is suitable for the service request not belonging to pre-set business type to be sent to described application server, processes to make described application server to the service request received.
Alternatively, described device also comprises:
Wire-speed detection unit, is suitable for detecting local network speed, when described local network speed is lower than default network speed, calls described request acquiring unit.
Alternatively, described device also comprises:
Detecting unit is set, is suitable for detecting local setting, arrange in described this locality and meet when arranging, call described request acquiring unit.
The present invention is no longer direct is sent to application server successively by service request, but the service request belonging to pre-set business type in multiple service request relevant to data interaction instruction is put into message queue, from described message queue, take out service request for application server to process, can without the need to waiting for the feedback of application server to the service request of pre-set business type in data exchange process, thus improve the efficiency of data exchange process, improve Consumer's Experience.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention;
Fig. 2 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention;
Fig. 3 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention;
Fig. 4 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention;
Fig. 5 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention;
Fig. 6 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention;
Fig. 7 is the structured flowchart of the asynchronous process device of the service request of one embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
Fig. 1 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention; With reference to Fig. 1, described method comprises:
S101: the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
It should be noted that, the executive agent of the method for present embodiment is terminal, and described terminal is the equipment such as mobile phone, panel computer, palm PC PDA or notebook, and certainly, also can be the equipment that other have identity function, present embodiment is not limited this.
Will be understood that, the data interaction instruction that user triggers inputs by various ways, and such as: the mutual trigger element being clicked client by mouse, or click the mutual trigger element of client on the touchscreen, present embodiment is not limited this.
In specific implementation, the mutual trigger element of described client can be understood as the login element in client, that is, in the display interface of described client, show there is login element, when user triggers login element, client can be made to carry out account login, thus trigger the data interaction between application server.
The mutual trigger element of described client also can be understood as the more new element in client, that is, in the display interface of client, show there is trigger element, when user's trigger element, client can be made to carry out Data Update (such as: carry out historical information synchronous etc.), now, client needs Data Update, thus triggers the data interaction between application server.
Certainly, also can be regarded as other analogous elements, present embodiment is not limited this.
Be understood that, usual described data interaction instruction is to having relevant multiple service request, for the data interaction instruction that account logs in, this data interaction instruction can corresponding multiple service request, such as: account checking request and log acquisition request etc., but prior art can be realized by the mode being similar to serial, that is, can be by: account checking request and log acquisition request etc. are sent to application server successively, after application server all feeds back the request received, just can complete account to log in, but some request is not necessary in data exchange process, make the efficiency of whole data exchange process too low, cause Consumer's Experience poor.
S102: the service request belonging to pre-set business type is put into message queue, takes out service request for application server and processes from described message queue (messagequeue).
It should be noted that, the service request of described pre-set business type is included in service request nonessential in data exchange process.
Present embodiment is no longer direct is sent to application server successively by service request, but the service request belonging to pre-set business type in multiple service request relevant to data interaction instruction is put into message queue, from described message queue, take out service request for application server to process, can without the need to waiting for the feedback of application server to the service request of pre-set business type in data exchange process, thus improve the efficiency of data exchange process, improve Consumer's Experience.
Fig. 2 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention; With reference to Fig. 2, described method comprises:
S201: the data interaction instruction triggered in response to user, obtain the multiple service request relevant to described data interaction instruction, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value;
Will be understood that, for ease of selecting described pre-set business type, in present embodiment, service request can be respectively according to type of service and priority is set, when determining pre-set business type, can directly using priority lower than the type of service of priority threshold value as pre-set business type.
It should be noted that, described priority threshold value can be arranged as required, but in order to ensure that the service request of described pre-set business type is included in service request nonessential in data exchange process, so, in present embodiment, described priority comprises non-instant type of traffic lower than the type of service of priority threshold value, and that is, priority threshold value is higher than the priority of non-instant type of traffic.
S202: the service request belonging to pre-set business type is put into each message queue respectively, from described message queue, take out service request for application server and process, described message queue has multiple.
In specific implementation, suppose to belong to pre-set business type service number of requests more when, message queue only has one, can make application server from described message queue, take out the speed of service request slower, for improving the speed of taking out service request, in present embodiment, described message queue has multiple, make described application server from multiple message queue, can take out service request, present embodiment is not limited this simultaneously.
Fig. 3 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention; With reference to Fig. 3, described method comprises:
S301: the data interaction instruction triggered in response to user, obtain the multiple service request relevant to described data interaction instruction, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value;
The step S201 of the embodiment shown in step S301 and Fig. 2 is identical, does not repeat them here.
S302: the service request belonging to pre-set business type is put into corresponding message queue respectively according to priority, from described message queue, take out service request for described application server successively according to priority order from high to low to process, the quantity of described message queue and one_to_one corresponding identical with lower than the priority quantity of priority threshold value.
Will be understood that, because service request has priority, service request is supposed to put into different message queues at random, and queue is a kind of data structure of first in first out, the priority of taking out service request from message queue can be made like this to be unordered, but the service request that priority is higher usually needs priority processing, the service request that suppose priorities is higher is processed for a long time, Consumer's Experience can be affected, for avoiding this problem, in present embodiment, the quantity of described message queue is identical with the priority quantity lower than priority threshold value, and one_to_one corresponding, now, the service request belonging to pre-set business type can be put into corresponding message queue respectively according to priority, make described application server can take out service request successively from described message queue according to priority order from high to low to process.
Fig. 4 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention; With reference to Fig. 4, described method comprises:
S401: the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
The step S101 of the embodiment shown in step S401 and Fig. 1 is identical, does not repeat them here.
S402: the service request not belonging to pre-set business type is sent to described application server, processes the service request received to make described application server;
Will be understood that, because the service request of described pre-set business type is included in service request nonessential in data exchange process, therefore, the described service request not belonging to pre-set business type can be regarded as and is included in service request necessary in data exchange process.
So, in present embodiment, the described service request not belonging to pre-set business type is needed to be sent to described application server, in specific implementation, can HTTP request agreement be adopted to be sent to described application server the described service request not belonging to pre-set business type, certainly, also send by other request protocol, present embodiment is not limited this.
S403: the service request belonging to pre-set business type is put into message queue, takes out service request for application server and processes from described message queue.
The step S102 of the embodiment shown in step S403 and Fig. 1 is identical, does not repeat them here.
Fig. 5 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention; With reference to Fig. 5, described method comprises:
S500: detect local network speed, when described local network speed is lower than default network speed, performs step S501;
It should be noted that, the executive agent due to present embodiment is terminal, so described local network speed can be interpreted as the network speed of described terminal.
Will be understood that, due to the efficiency that step S501 ~ S502 is to improve data exchange process, especially when local network speed is slower, effect is better, suppose that local network speed is very fast, even if adopt step S501 ~ S502 also little for Consumer's Experience impact, therefore, in present embodiment, when local network speed is lower than default network speed, perform step S501.
In specific implementation, described default network speed can be arranged as required, and present embodiment is not limited this.
S501: the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
S502: the service request belonging to pre-set business type is put into message queue, takes out service request for application server and processes from described message queue.
Step S101 ~ the S102 of the embodiment shown in step S501 ~ S502 and Fig. 1 is identical, does not repeat them here.
Fig. 6 is the process flow diagram of the asynchronous processing method of the service request of one embodiment of the present invention; With reference to Fig. 6, described method comprises:
S600: detect local setting, arranges in described this locality and meets when arranging, execution step S601;
It should be noted that, the executive agent due to present embodiment is terminal, so described this locality arranges the setting that namely can be regarded as described terminal.
Will be understood that, for ease of the dirigibility of user, in present embodiment, can be arranged described terminal by user, thus determine whether perform step S601 ~ S602, add dirigibility.
S601: the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
S602: the service request belonging to pre-set business type is put into message queue, takes out service request for application server and processes from described message queue.
Step S101 ~ the S102 of the embodiment shown in step S601 ~ S602 and Fig. 1 is identical, does not repeat them here.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
Fig. 7 is the structured flowchart of the asynchronous process device of the service request of one embodiment of the present invention; With reference to Fig. 7, described device comprises:
Acquisition request unit 701, is suitable for the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
Unit 702 is put in request, is suitable for the service request belonging to pre-set business type to put into message queue, takes out service request process for application server from described message queue.
In a kind of embodiment of the present invention, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value.
In a kind of embodiment of the present invention, described message queue has multiple;
Correspondingly, described request puts into unit, is further adapted for and the service request belonging to pre-set business type is put into each message queue respectively, takes out service request process for application server from described message queue.
In a kind of embodiment of the present invention, the quantity of described message queue and one_to_one corresponding identical with lower than the priority quantity of priority threshold value;
Described request puts into unit, be further adapted for and the service request belonging to pre-set business type is put into corresponding message queue respectively according to priority, from described message queue, take out service request for described application server successively according to priority order from high to low and process.
In a kind of embodiment of the present invention, described priority comprises non-instant type of traffic lower than the type of service of priority threshold value.
In a kind of embodiment of the present invention, described device also comprises:
Request transmitting unit, is suitable for the service request not belonging to pre-set business type to be sent to described application server, processes to make described application server to the service request received.
In a kind of embodiment of the present invention, described device also comprises:
Wire-speed detection unit, is suitable for detecting local network speed, when described local network speed is lower than default network speed, calls described request acquiring unit.
In a kind of embodiment of the present invention, described device also comprises:
Detecting unit is set, is suitable for detecting local setting, arrange in described this locality and meet when arranging, call described request acquiring unit.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Should be noted that, in all parts of device of the present invention, the function that will realize according to it and logical partitioning has been carried out to parts wherein, but, the present invention is not limited to this, can repartition all parts as required or combine, such as, can be single parts by some component combinations, or some parts can be decomposed into more subassembly further.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Above embodiment is only suitable for the present invention is described; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
The invention discloses the asynchronous processing method of A1, a kind of service request, comprising:
In response to the data interaction instruction that user triggers, obtain the multiple service request relevant to described data interaction instruction;
The service request belonging to pre-set business type is put into message queue, from described message queue, takes out service request for application server and process.
A2, method as described in A1, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value.
A3, method as described in A2, described message queue has multiple;
Correspondingly, described the service request belonging to pre-set business type is put into message queue, from described message queue, takes out service request for application server and process, comprise further:
The service request belonging to pre-set business type is put into each message queue respectively, from described message queue, takes out service request for application server and process.
A4, method as described in A3, the quantity of described message queue and one_to_one corresponding identical with lower than the priority quantity of priority threshold value;
Described the service request belonging to pre-set business type is put into each message queue respectively, from described message queue, takes out service request for application server and process, comprise further:
The service request belonging to pre-set business type is put into corresponding message queue respectively according to priority, from described message queue, takes out service request for described application server successively according to priority order from high to low and process.
A5, method as described in A2, described priority comprises non-instant type of traffic lower than the type of service of priority threshold value.
A6, method according to any one of A1 ~ A5, after multiple service request that described acquisition is relevant to described data interaction instruction, described method also comprises:
The service request not belonging to pre-set business type is sent to described application server, to make described application server, the service request received is processed.
A7, method according to any one of A1 ~ A6, the described data interaction instruction triggered in response to user, before obtaining multiple service request relevant to described data interaction instruction, described method also comprises:
Detect local network speed, when described local network speed is lower than default network speed, performs the described data interaction instruction triggered in response to user, obtain the step of the multiple service request relevant to described data interaction instruction.
A8, method according to any one of A1 ~ A6, the described data interaction instruction triggered in response to user, before obtaining multiple service request relevant to described data interaction instruction, described method also comprises:
Detect local setting, arrange in described this locality and meet when arranging, perform the described data interaction instruction in response to user's triggering, obtain the step of the multiple service request relevant to described data interaction instruction.
The invention also discloses the asynchronous process device of B9, a kind of service request, comprising:
Acquisition request unit, is suitable for the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
Unit is put in request, is suitable for the service request belonging to pre-set business type to put into message queue, takes out service request process for application server from described message queue.
B10, device as described in B9, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value.
B11, device as described in B10, described message queue has multiple;
Correspondingly, described request puts into unit, is further adapted for and the service request belonging to pre-set business type is put into each message queue respectively, takes out service request process for application server from described message queue.
B12, device as described in B11, the quantity of described message queue and one_to_one corresponding identical with lower than the priority quantity of priority threshold value;
Described request puts into unit, be further adapted for and the service request belonging to pre-set business type is put into corresponding message queue respectively according to priority, from described message queue, take out service request for described application server successively according to priority order from high to low and process.
B13, device as described in B10, described priority comprises non-instant type of traffic lower than the type of service of priority threshold value.
B14, device according to any one of B9 ~ B13, described device also comprises:
Request transmitting unit, is suitable for the service request not belonging to pre-set business type to be sent to described application server, processes to make described application server to the service request received.
B15, device according to any one of B9 ~ B14, described device also comprises:
Wire-speed detection unit, is suitable for detecting local network speed, when described local network speed is lower than default network speed, calls described request acquiring unit.
B16, device according to any one of B9 ~ B14, described device also comprises:
Detecting unit is set, is suitable for detecting local setting, arrange in described this locality and meet when arranging, call described request acquiring unit.

Claims (10)

1. an asynchronous processing method for service request, comprising:
In response to the data interaction instruction that user triggers, obtain the multiple service request relevant to described data interaction instruction;
The service request belonging to pre-set business type is put into message queue, from described message queue, takes out service request for application server and process.
2. the method for claim 1, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value.
3. method as claimed in claim 2, described message queue has multiple;
Correspondingly, described the service request belonging to pre-set business type is put into message queue, from described message queue, takes out service request for application server and process, comprise further:
The service request belonging to pre-set business type is put into each message queue respectively, from described message queue, takes out service request for application server and process.
4. method as claimed in claim 3, the quantity of described message queue and one_to_one corresponding identical with lower than the priority quantity of priority threshold value;
Described the service request belonging to pre-set business type is put into each message queue respectively, from described message queue, takes out service request for application server and process, comprise further:
The service request belonging to pre-set business type is put into corresponding message queue respectively according to priority, from described message queue, takes out service request for described application server successively according to priority order from high to low and process.
5. method as claimed in claim 2, described priority comprises non-instant type of traffic lower than the type of service of priority threshold value.
6. the method according to any one of Claims 1 to 5, after multiple service request that described acquisition is relevant to described data interaction instruction, described method also comprises:
The service request not belonging to pre-set business type is sent to described application server, to make described application server, the service request received is processed.
7. the method according to any one of claim 1 ~ 6, the described data interaction instruction triggered in response to user, before obtaining multiple service request relevant to described data interaction instruction, described method also comprises:
Detect local network speed, when described local network speed is lower than default network speed, performs the described data interaction instruction triggered in response to user, obtain the step of the multiple service request relevant to described data interaction instruction.
8. the method according to any one of claim 1 ~ 6, the described data interaction instruction triggered in response to user, before obtaining multiple service request relevant to described data interaction instruction, described method also comprises:
Detect local setting, arrange in described this locality and meet when arranging, perform the described data interaction instruction in response to user's triggering, obtain the step of the multiple service request relevant to described data interaction instruction.
9. an asynchronous process device for service request, comprising:
Acquisition request unit, is suitable for the data interaction instruction triggered in response to user, obtains the multiple service request relevant to described data interaction instruction;
Unit is put in request, is suitable for the service request belonging to pre-set business type to put into message queue, takes out service request process for application server from described message queue.
10. device as claimed in claim 9, each service request is according to type of service corresponding different priorities respectively, and described pre-set business type is the type of service of priority lower than priority threshold value.
CN201510997715.3A 2015-12-25 2015-12-25 The asynchronous processing method and device of service request Active CN105550051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510997715.3A CN105550051B (en) 2015-12-25 2015-12-25 The asynchronous processing method and device of service request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510997715.3A CN105550051B (en) 2015-12-25 2015-12-25 The asynchronous processing method and device of service request

Publications (2)

Publication Number Publication Date
CN105550051A true CN105550051A (en) 2016-05-04
CN105550051B CN105550051B (en) 2019-02-01

Family

ID=55829248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510997715.3A Active CN105550051B (en) 2015-12-25 2015-12-25 The asynchronous processing method and device of service request

Country Status (1)

Country Link
CN (1) CN105550051B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302459A (en) * 2017-07-03 2017-10-27 口碑控股有限公司 Method for processing business and system
CN107645469A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Service request processing method and service server
CN108111499A (en) * 2017-12-15 2018-06-01 腾讯科技(深圳)有限公司 Service process performance optimization method, device, electronic equipment and storage medium
CN108460078A (en) * 2018-01-08 2018-08-28 平安科技(深圳)有限公司 Execution method, apparatus, storage medium and the terminal of miscellaneous function
CN109634754A (en) * 2018-11-14 2019-04-16 彩讯科技股份有限公司 A kind of business delivering method, device, equipment and computer storage medium
CN110909359A (en) * 2019-10-29 2020-03-24 百富计算机技术(深圳)有限公司 Communication method based on dual-system architecture and terminal equipment
CN112019689A (en) * 2019-05-29 2020-12-01 北京奇虎科技有限公司 Incoming call show service processing system and method
CN112054923A (en) * 2020-08-24 2020-12-08 腾讯科技(深圳)有限公司 Service request detection method, device and medium
CN112363849A (en) * 2020-10-23 2021-02-12 中国电子科技集团公司第三十研究所 Lightweight service interaction protocol method in tactical environment
CN112422450A (en) * 2020-05-09 2021-02-26 上海哔哩哔哩科技有限公司 Computer equipment, and flow control method and device for service request
CN113535432A (en) * 2021-07-20 2021-10-22 西安力传智能技术有限公司 Data distribution method and device, electronic equipment and storage medium
CN113742109A (en) * 2021-09-09 2021-12-03 平安科技(深圳)有限公司 Third-party service docking method, device, equipment and storage medium
CN114257577A (en) * 2021-12-08 2022-03-29 长城计算机软件与系统有限公司 Service request message response method and system for micro service
CN114267358A (en) * 2021-12-17 2022-04-01 北京百度网讯科技有限公司 Audio processing method, device, apparatus, storage medium, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143290A1 (en) * 2005-01-04 2007-06-21 International Business Machines Corporation Priority Determination Apparatus, Service Processing Allocation Apparatus, Control Method and Program
CN101976210A (en) * 2010-08-26 2011-02-16 中国石油集团川庆钻探工程有限公司 Well site data remote transmission method based on message middleware
CN102567111A (en) * 2011-12-23 2012-07-11 深圳市融创天下科技股份有限公司 Method, system and terminal device capable of calling asynchronous procedure
US20140195612A1 (en) * 2009-12-11 2014-07-10 Thomson Licensing Queue-based adaptive chunk scheduling for peer-to-peer live streaming

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143290A1 (en) * 2005-01-04 2007-06-21 International Business Machines Corporation Priority Determination Apparatus, Service Processing Allocation Apparatus, Control Method and Program
US20140195612A1 (en) * 2009-12-11 2014-07-10 Thomson Licensing Queue-based adaptive chunk scheduling for peer-to-peer live streaming
CN101976210A (en) * 2010-08-26 2011-02-16 中国石油集团川庆钻探工程有限公司 Well site data remote transmission method based on message middleware
CN102567111A (en) * 2011-12-23 2012-07-11 深圳市融创天下科技股份有限公司 Method, system and terminal device capable of calling asynchronous procedure

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645469A (en) * 2016-07-20 2018-01-30 平安科技(深圳)有限公司 Service request processing method and service server
CN107302459B (en) * 2017-07-03 2021-02-19 口碑控股有限公司 Service processing method and system
CN107302459A (en) * 2017-07-03 2017-10-27 口碑控股有限公司 Method for processing business and system
CN108111499A (en) * 2017-12-15 2018-06-01 腾讯科技(深圳)有限公司 Service process performance optimization method, device, electronic equipment and storage medium
CN108460078A (en) * 2018-01-08 2018-08-28 平安科技(深圳)有限公司 Execution method, apparatus, storage medium and the terminal of miscellaneous function
CN108460078B (en) * 2018-01-08 2020-10-13 平安科技(深圳)有限公司 Auxiliary function execution method and device, storage medium and terminal
CN109634754A (en) * 2018-11-14 2019-04-16 彩讯科技股份有限公司 A kind of business delivering method, device, equipment and computer storage medium
CN112019689A (en) * 2019-05-29 2020-12-01 北京奇虎科技有限公司 Incoming call show service processing system and method
CN110909359A (en) * 2019-10-29 2020-03-24 百富计算机技术(深圳)有限公司 Communication method based on dual-system architecture and terminal equipment
CN112422450A (en) * 2020-05-09 2021-02-26 上海哔哩哔哩科技有限公司 Computer equipment, and flow control method and device for service request
CN112054923A (en) * 2020-08-24 2020-12-08 腾讯科技(深圳)有限公司 Service request detection method, device and medium
CN112054923B (en) * 2020-08-24 2023-08-18 腾讯科技(深圳)有限公司 Service request detection method, equipment and medium
CN112363849A (en) * 2020-10-23 2021-02-12 中国电子科技集团公司第三十研究所 Lightweight service interaction protocol method in tactical environment
CN113535432A (en) * 2021-07-20 2021-10-22 西安力传智能技术有限公司 Data distribution method and device, electronic equipment and storage medium
CN113535432B (en) * 2021-07-20 2023-12-15 西安力传智能技术有限公司 Data distribution method and device, electronic equipment and storage medium
CN113742109A (en) * 2021-09-09 2021-12-03 平安科技(深圳)有限公司 Third-party service docking method, device, equipment and storage medium
CN113742109B (en) * 2021-09-09 2023-09-15 平安科技(深圳)有限公司 Third party service docking method, device, equipment and storage medium
CN114257577A (en) * 2021-12-08 2022-03-29 长城计算机软件与系统有限公司 Service request message response method and system for micro service
CN114267358A (en) * 2021-12-17 2022-04-01 北京百度网讯科技有限公司 Audio processing method, device, apparatus, storage medium, and program
CN114267358B (en) * 2021-12-17 2023-12-12 北京百度网讯科技有限公司 Audio processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105550051B (en) 2019-02-01

Similar Documents

Publication Publication Date Title
CN105550051A (en) Asynchronous processing method and device of business request
CN112214260B (en) Method and device for loading APP (application) of terminal
US9686152B2 (en) Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
US10257316B2 (en) Monitoring of node.js applications
EP3058481B1 (en) Acceleration based on cached flows
CN112947830A (en) Popup window display method and device, computer equipment and storage medium
CN111586126A (en) Method, device and equipment for pre-downloading small program and storage medium
CN107613091A (en) A kind of method and terminal for establishing communication
CN110442502A (en) A kind of method, apparatus buried a little, equipment and storage medium
CN114726947B (en) Message display method, device, user terminal and readable storage medium
JP7127996B2 (en) Data transmission/reception method and system
US10191844B2 (en) Automatic garbage collection thrashing monitoring
CN114143191A (en) Distributed gateway-based micro-service arranging method and device and related equipment
US9716681B2 (en) Using analytics to optimize performance of a messaging system via topic migration to alternate delivery methods
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN103067465A (en) File sharing method and system
US10198262B2 (en) Adaptive core grouping
AU2014349181A1 (en) Techniques to rate-adjust data usage with a virtual private network
US20170223136A1 (en) Any Web Page Reporting and Capture
CN110650215A (en) Function execution method and device of edge network
CN114449040B (en) Configuration issuing method and device based on cloud platform
US11196828B2 (en) Method, apparatus, device and computer storage medium for determining source channel
US20220276901A1 (en) Batch processing management
CN107734610A (en) Message treatment method, mobile terminal and computer-readable recording medium
CN109768897B (en) Server deployment method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220329

Address after: 100016 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Sanliu0 Digital Security Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.