CN107479992A - A kind of method for processing business and device - Google Patents

A kind of method for processing business and device Download PDF

Info

Publication number
CN107479992A
CN107479992A CN201710780194.5A CN201710780194A CN107479992A CN 107479992 A CN107479992 A CN 107479992A CN 201710780194 A CN201710780194 A CN 201710780194A CN 107479992 A CN107479992 A CN 107479992A
Authority
CN
China
Prior art keywords
business
services
collection
subset
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710780194.5A
Other languages
Chinese (zh)
Inventor
程瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710780194.5A priority Critical patent/CN107479992A/en
Publication of CN107479992A publication Critical patent/CN107479992A/en
Pending legal-status Critical Current

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
    • 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/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of method for processing business, and applied to the first process, this method comprises the following steps:Receive the business request information of the second process transmission, according to business request information, pending collection of services is determined, the first business subset to be answered is determined in collection of services, after the completion of whole business processings in the first business subset, response message is sent to the second process.The technical scheme provided using the embodiment of the present invention, first process is during the business request information that second process that handles is sent, if business to be answered, the then business to be answered in priority treatment collection of services in the first business subset of business composition to be answered, and after the business in having handled the first business subset, response message is sent to the second process, the time that the second process waits response message is shortened with this, accelerate the speed of the second process processing business, lift Consumer's Experience.The invention also discloses a kind of business processing device, has relevant art effect.

Description

A kind of method for processing business and device
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of method for processing business and device.
Background technology
In computer application, progress service interaction, communication are more and more frequent between each process.
In recent years, process when carrying out service interaction, communication, may may require that receiving process is being located in many application scenarios After having managed corresponding service, response is carried out, transmission process may need that after receiving response message subsequent operation could be performed.Typical case Application scenarios, in distributed meta data cluster, when there is Metadata Service to break down, take over fault metadata service Backup Metadata Service, which needs to receive other, enlivens Metadata Service after business request information has been handled, the ACK of transmission, Subsequent operation can be performed.
In the application scenarios for needing receiving process to carry out response, if at receiving process heavy traffic or receiving process Reason business is slower, causes response message to send slower, the business of transmission process may be caused can not to handle or processing speed It is very slow, influence Consumer's Experience.
In summary, the problems such as how effectively accelerating speed, the lifting Consumer's Experience of process processing business, is current sheet Art personnel are badly in need of the technical problem solved.
The content of the invention
It is an object of the invention to provide a kind of method for processing business and device, to accelerate the speed of process processing business, carries Rise Consumer's Experience.
In order to solve the above technical problems, the present invention provides following technical scheme:
A kind of method for processing business, applied to the first process, including:
Receive the business request information of the second process transmission;
According to the business request information, pending collection of services is determined;
The first business subset to be answered is determined in the collection of services;
After the completion of whole business processings in the first business subset, send response message and enter to described second Journey.
Preferably, it is described to determine the first business subset to be answered in the collection of services, including:
For each business in the collection of services, if the business is business to be answered, the business is added It is added in the first business subset.
Preferably, it is described transmission response message to second process after, or, it is described transmission response message to While second process, in addition to:
Handle the business of the non-first business subset in the collection of services.
Preferably, described according to the business request information, after determining pending collection of services, in the business Before the first business subset to be answered is determined in set, in addition to:
Judge whether target capabilities parameter value is less than preset first threshold value;
If it is, the operation of the first business subset to be answered is determined described in performing in the collection of services.
Preferably, when judging that the target capabilities parameter value is more than or equal to the first threshold, in addition to:
After having handled whole business in the collection of services, response message is sent to second process.
A kind of business processing device, applied to the first process, including:
Business request information receiving module, the business request information sent for receiving the second process;
Collection of services determining module, for according to the business request information, determining pending collection of services;
First business subset determining module, for determining the first business subset to be answered in the collection of services;
Response message sending module, after the completion of whole business processings in the first business subset, send Response message gives second process.
Preferably, the first business subset determining module, is specifically used for:
For each business in the collection of services, if the business is business to be answered, the business is added It is added in the first business subset.
Preferably, in addition to Service Processing Module, it is used for:
After the transmission response message is to second process, or, in the transmission response message to described the While two processes, the business of the non-first business subset in the collection of services is handled.
Preferably, in addition to judge module, it is used for:
Described according to the business request information, after determining pending collection of services, in the collection of services Before determining the first business subset to be answered, judge whether target capabilities parameter value is less than preset first threshold value;
If it is, triggering the first business subset determining module.
Preferably, the response message sending module, is additionally operable to:
When judging that the target capabilities parameter value is more than or equal to the first threshold, handle in the collection of services Whole business after, send response message to second process.
The technical scheme provided using the embodiment of the present invention, the first process receive the service request that the second process is sent and disappeared Breath, according to business request information, determines pending collection of services, and the first business to be answered is determined in collection of services Collection, after the completion of whole business processings in the first business subset, response message is sent to the second process.First process is being located During the business request information for managing the transmission of the second process, if business to be answered, then in priority treatment collection of services Business to be answered in first business subset of business composition to be answered, and after the business in having handled the first business subset, Response message is sent to the second process, shortens the time of the second process wait response message with this, accelerates the processing of the second process The speed of business, lift Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of implementing procedure figure of method for processing business in the embodiment of the present invention;
Fig. 2 is the partial process view in Metadata Service in the prior art;
Fig. 3 is using the partial process view in the Metadata Service after technical scheme provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of business processing device in the embodiment of the present invention.
Embodiment
A kind of method for processing business that the core of the present invention is to provide, applied to the first process.First process receives second The business request information that process is sent, according to business request information, determines pending collection of services, is determined in collection of services First business subset to be answered, after the completion of whole business processings in the first business subset, response message is sent to the Two processes.The time that the second process waits response message can be shortened, accelerate the speed of the second process processing business, lift user Experience.
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiment is only part of the embodiment of the present invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is a kind of implementing procedure figure of method for processing business in the embodiment of the present invention, and this method includes Following steps:
S101, receive the business request information that the second process is sent.
Second process is during processing business, it may be necessary to and the first process is communicated or interacted.Specifically, Two process present period heavy traffics share traffic pressure, or, the processing of the second process, it is necessary to the first process process part business Current business need the first process to provide support, or, when the second process needs to know the situation of the first process, all may be used It can need and the first process is communicated or interacted.In these cases, the second process can send business to the first process and ask Seek message.Wherein, business request information can include:Request type, pending business, the response requirement for each business Deng.
After first process receives the business request information of the second process transmission, step S102 operation can be performed.
S102, according to business request information, determine pending collection of services.
First process according to business request information, can determine the business of second the first process of process requested processing, to the For one process, these business are pending business.The set of pending service constitution can be defined as by the first process Pending collection of services, that is to say, that collection of services includes all business of second the first process of process requested processing.
S103, the first business subset to be answered is determined in collection of services.
First process is split business in collection of services, and business to be answered is defined as in the first business subset Business.
In one embodiment of the invention, step S103 may comprise steps of:
For each business in collection of services, if the business is business to be answered, the business is added to In first business subset.
In the present embodiment, one can be pre-set and judge whether business is the rule of business to be answered, for example, sentencing Whether there is return value in the processing logic of disconnected business, can also be according to the answering for each business carried in business request information Answer requirement and determine whether business to be answered, can also be that administrative staff carry out judgement classification, shape to each business in advance Into criterion.
First process according to pre-set judge business whether be business to be answered rule, in collection of services Each business is judged, if the business is business to be answered, that is, show the business for the first process in response second Before process, it is necessary to the business of completion, it is determined that the business is the business in the first business subset.
S104, after the completion of whole business processings in the first business subset, send response message to the second process.
First process can send after whole business in having handled the first business subset and carry business to be answered The response message of result give the second process.After second process receives the response message of the first process, after can performing Continuous operation.
In one embodiment of the invention, after the first process sends response message to the second process, or, sending out While response message is sent to the second process, following steps are can also carry out:
The business of non-first business subset in processing business set.
After first process has handled the content in the first business subset, or, response message is being sent to the second process Meanwhile can be with the business in non-first business subset in processing business set.
Specifically, the business of non-first business subset in collection of services can be defined as the second business subset by the first process In business, that is to say, that the second business subset is supplementary set of the first business subset in collection of services.Determine the second business After collection, the first process handles the business in the second business subset, i.e. untreated business in processing business set.
The method provided using the embodiment of the present invention, the first process receive the business request information that the second process is sent, According to business request information, pending collection of services is determined, the first business subset to be answered is determined in collection of services, After the completion of whole business processings in the first business subset, response message is sent to the second process.First process is in processing the During the business request information that two processes are sent, if business to be answered, then being treated in priority treatment collection of services should The business to be answered in the first business subset of business composition is answered, and after the business in having handled the first business subset, is sent Response message gives the second process, shortens the time of the second process wait response message with this, accelerates the second process processing business Speed, lifted Consumer's Experience.
In one embodiment of the invention, a functional switch for replying response message can be pre-set.Should The unlatching of functional switch or closure state can predefine, and can also be determined and adjust, this hair according to actual conditions Bright embodiment is not limited this.
In the present embodiment, the first process first determines whether the work(for replying response message before step S101 is performed It can switch and whether open;If it is, operations of the step S101 to step S104 can be performed successively;If it is not, then performing After step S101 receives the operation for the business request information that the second process is sent, according to business request information, determine pending Business, after then having handled pending all business, send response message to the second process.
According to functional switch, it may be determined that whether the business in the first business subset corresponding to priority treatment response message, Business processing can be carried out according to actual conditions, to meet user's request, and lifting Consumer's Experience.
In one embodiment of the invention, after pending collection of services according to business request information, is determined, Before the first business subset to be answered is determined in collection of services, following steps are can also carry out:
Judge whether target capabilities parameter value is less than preset first threshold value;If it is, step S103 is performed in services sets The operation of the first business subset to be answered is determined in conjunction.
It should be noted that the target capabilities parameter of the first process can represent the business processing shape of current first process Condition, it can such as represent the speed, pending portfolio, current resource service condition of the business processing of the first process.Can be with According to target capabilities parameter, judge that the first process has been handled in collection of services corresponding to the business request information of the second process transmission Business, and to the second process send response message time.
Specifically, the target capabilities parameter can by the first single process some parameters represent or according to More performance parameters of first process obtain after being weighted, such as:Target capabilities parameter can be the industry of the first process Business processing speed, can be the portfolio or business processing speed and portfolio weighted sum of the first process.Need to illustrate , target capabilities parameter value is bigger, then and the portfolio of the first process is just smaller, or, the speed of processing business is faster, or Person, portfolio is small and processing speed is fast.Thus target capabilities parameter value can represent that the first process handles industry to a certain extent The time for business corresponding to request message of being engaged in, that is to say, that the first process sends response message to the second process-time, Ke Yigen Estimated according to target capabilities parameter value.
In the present embodiment, a first threshold, first threshold can be pre-set according to specific target capabilities parameter Specific size can pre-set, can also be determined and adjust according to actual conditions, the embodiment of the present invention to this not Limit.
After pending collection of services according to business request information, is determined, according to determine to treat in collection of services should Before the first business subset answered, it can be determined that whether the current target capabilities parameter value of itself is less than preset first threshold value, such as Fruit is, if after then showing that the first process has handled all business in business request information, sending response to the second process and disappearing Breath can be than later, and the second process may be caused to wait, and the time of response message is longer, and in this case, the first process can be held Row step S103 operation, that is to say, that the first process can be to belong to whole industry of the first collection of services in processing business set After business, response message is sent immediately to the second process, can shorten the stand-by period of the second process.
In another embodiment of the present invention, when judging that target capabilities parameter is more than or equal to first threshold, processing After whole business in complete collection of services, response message is sent to the second process.
In embodiments of the present invention, if the target capabilities parameter value of the first process is more than or equal to default first threshold Value, then show that the first process can quickly handle all business in collection of services, and send response to the second process and disappear Breath, the second process may not necessarily wait longer time.In this case, the first process can have been handled in collection of services After all business, response message is retransmited to the second process.
Aforesaid operations are performed, the stand-by period of the second process reception response message can be made shorter, avoided in collection of services In each business between when incidence relation be present, the partial service in a processing business set, may result in the second process The response message that receives it is wrong the occurrence of.
For the ease of understanding technical scheme, below by taking Metadata Service as an example, the embodiment of the present invention is carried out Describe in detail.
It should be noted that Metadata Service described below can be metadata process.
Metadata cluster is typically active-standby mode (activation-backup) construction.During the Metadata Service failure of some activation, member Startup is taken over flow by the Metadata Service of a certain backup in data cluster.The Metadata Service of backup, which takes over process, can undergo one Series of stages, wherein, main and other states of activation Metadata Service communications, to obtain the caching of the Metadata Service of failure Content.After taking over and being completely successful, the Metadata Service of original backup replaces the Metadata Service of cause barrier, becomes state of activation, Externally continue offer service.
It should be noted that during taking over, that is, the Metadata Service backed up is externally to carry before formal activation For service.It cannot respond to the newest read-write requests that client now inputs.Therefore the speed of process is taken over, is directly influenced System availability.Take over that the time is faster, and Consumer's Experience is better.
As shown in Fig. 2 existing take over process:After former No. 1 Metadata Service failure, backup Metadata Service starts to connect For former No. 1 Metadata Service, turn into No. 1 Metadata Service, and respectively to No. 0 Metadata Service being active and No. 2 Metadata Service sends business request information.At the same time, No. 0 Metadata Service and No. 2 Metadata Services perceive former No. 1 member After data, services failure, business request information is sent to No. 1 Metadata Service respectively.No. 0 Metadata Service, No. 1 metadata clothes After business, No. 2 Metadata Services have handled business corresponding to business request information, ACK is replied respectively.No. 1 Metadata Service is being located Manage after business corresponding to the business request information that No. 0 Metadata Service and No. 2 Metadata Services are sent, it is necessary to receive No. 0 member The ACK that data, services and No. 2 Metadata Services are replied respectively, could perform subsequent operation.
In this case, if No. 0 Metadata Service and/or No. 2 Metadata Services are in processing business request message, Because itself be busy with one's work, business processing speed are slower, it may result in that to reply ACK to No. 1 Metadata Service slower, further Taking over work slowly or taking over work stagnation for No. 1 Metadata Service is likely to result in, influences Consumer's Experience.
Wherein, the content that the ACK that No. 0 Metadata Service and No. 2 Metadata Services are replied needs to take back is service request A part of service processing result corresponding to message, not all service processing result.Based on to the specific of Metadata Service Situation, in actual applications, can between No. 0 Metadata Service, No. 1 Metadata Service, No. 2 Metadata Services after accounting for To utilize technical scheme handling failure provided in an embodiment of the present invention alternating business.
Because in metadata failure alternation procedure, No. 0 Metadata Service, No. 1 Metadata Service, No. 2 Metadata Services are all Business request information may be sent, the business request information received also may be all handled and reply response message, so 0 Number Metadata Service, No. 1 Metadata Service, No. 2 Metadata Services can both be used as the first process, can also enter as second Journey.Specifically, when they receive business request information, during processing business request message, the first process is considered as;When they send out When sending business request information and receiving response message, the second process is considered as.
As shown in figure 3, using technical scheme provided by the invention, Metadata Service, which takes over process, to be:When former No. 1 member After data, services failure, backup Metadata Service starts to take over former No. 1 Metadata Service, turns into No. 1 Metadata Service, No. 1 member Data, services send business request information to No. 0 Metadata Service being active and No. 2 Metadata Services respectively.With this Meanwhile after No. 0 Metadata Service and No. 2 Metadata Services perceive former No. 1 Metadata Service failure, also taken to No. 1 metadata Business sends business request information.
After No. 1 Metadata Service has handled all business in collection of services corresponding to the service request received, respectively Reply ACK.After No. 0 Metadata Service and No. 2 Metadata Services have handled the business in the first business subset corresponding to ACK, point ACK is not replied.Now, can after No. 1 Metadata Service receives the ACK that No. 0 Metadata Service and No. 2 Metadata Services are replied To perform subsequent operation.While No. 1 Metadata Service performs subsequent operation, No. 0 Metadata Service and No. 2 Metadata Services The business in non-first business subset in processing business set can be distinguished.
In the case where not influenceing logical sum function, technical scheme provided in an embodiment of the present invention, No. 0 first number can be utilized The first business subset corresponding to the business request information of No. 1 Metadata Service transmission has been handled according to service and No. 2 Metadata Services Afterwards, ACK is sent to No. 1 Metadata Service, the time that No. 1 Metadata Service waits ACK can be shortened, accelerate No. 1 metadata clothes It the business processing speed of business, can faster complete to take over process, turn into the Metadata Service of state of activation, start externally to provide Service, lifting metadata service system externally provide the availability of service, lift Consumer's Experience.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of business processing device, applied to One process, a kind of business processing device described below can be mutually to should refer to a kind of above-described method for processing business.
Shown in Figure 4, the device includes:
Business request information receiving module 201, the business request information sent for receiving the second process;
Collection of services determining module 202, for according to business request information, determining pending collection of services;
First business subset determining module 203, for determining the first business subset to be answered in collection of services;
Response message sending module 204, after the completion of whole business processings in the first business subset, sending should Message is answered to the second process.
The device provided using the embodiment of the present invention, the first process receive the business request information that the second process is sent, According to business request information, pending collection of services is determined, the first business subset to be answered is determined in collection of services, After the completion of whole business processings in the first business subset, response message is sent to the second process.First process is in processing the During the business request information that two processes are sent, if business to be answered, then being treated in priority treatment collection of services should The business to be answered in the first business subset of business composition is answered, and after the business in having handled the first business subset, is sent Response message gives the second process, shortens the time of the second process wait response message with this, accelerates the second process processing business Speed, lifted Consumer's Experience.
In a kind of embodiment of the present invention, the first business subset determining module 203, it is specifically used for:
For each business in collection of services, if the business is business to be answered, the business is added to In first business subset.
In a kind of embodiment of the present invention, in addition to Service Processing Module, it is used for:
After response message is sent to the second process, or, while response message is sent to the second process, processing The business of non-first business subset in collection of services.
In a kind of embodiment of the present invention, in addition to judge module, it is used for:
Determined after pending collection of services according to business request information, is determined, in collection of services to be answered Before first business subset, judge whether target capabilities parameter value is less than preset first threshold value;
If it is, the first business subset determining module 203 of triggering.
In a kind of embodiment of the present invention, response message sending module 204, it is additionally operable to:
When judging that target capabilities parameter value is more than or equal to first threshold, whole business in collection of services have been handled Afterwards, response message is sent to the second process.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be with it is other The difference of embodiment, between each embodiment same or similar part mutually referring to.For dress disclosed in embodiment For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part Explanation.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said It is bright to be only intended to help and understand technical scheme and its core concept.It should be pointed out that for the common of the art For technical staff, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these Improve and modification is also fallen into the protection domain of the claims in the present invention.

Claims (10)

  1. A kind of 1. method for processing business, it is characterised in that applied to the first process, including:
    Receive the business request information of the second process transmission;
    According to the business request information, pending collection of services is determined;
    In the collection of services
    It is middle to determine the first business subset to be answered;
    After the completion of whole business processings in the first business subset, response message is sent to second process.
  2. 2. method for processing business according to claim 1, it is characterised in that described to determine to wait to answer in the collection of services The the first business subset answered, including:
    For each business in the collection of services, if the business is business to be answered, the business is added to In first business subset.
  3. 3. method for processing business according to claim 1, it is characterised in that in the transmission response message to described second After process, or, while the transmission response message is to second process, in addition to:
    Handle the business of the non-first business subset in the collection of services.
  4. 4. the method for processing business according to any one of claims 1 to 3, it is characterised in that described in the basis Business request information, the first business to be answered is determined after determining pending collection of services, in the collection of services Before collection, in addition to:
    Judge whether target capabilities parameter value is less than preset first threshold value;
    If it is, the operation of the first business subset to be answered is determined described in performing in the collection of services.
  5. 5. method for processing business according to claim 4, it is characterised in that judging that the target capabilities parameter value is more than Or during equal to the first threshold, in addition to:
    After having handled whole business in the collection of services, response message is sent to second process.
  6. A kind of 6. business processing device, it is characterised in that applied to the first process, including:
    Business request information receiving module, the business request information sent for receiving the second process;
    Collection of services determining module, for according to the business request information, determining pending collection of services;
    First business subset determining module, for determining the first business subset to be answered in the collection of services;
    Response message sending module, after the completion of whole business processings in the first business subset, send response Message gives second process.
  7. 7. business processing device according to claim 6, it is characterised in that the first business subset determining module, tool Body is used for:
    For each business in the collection of services, if the business is business to be answered, the business is added to In first business subset.
  8. 8. business processing device according to claim 6, it is characterised in that also including Service Processing Module, be used for:
    After the transmission response message is to second process, or, enter in the transmission response message to described second While journey, the business of the non-first business subset in the collection of services is handled.
  9. 9. the business processing device according to any one of claim 6 to 8, it is characterised in that also including judge module, For:
    Described according to the business request information, determined after determining pending collection of services, in the collection of services Before the first business subset to be answered, judge whether target capabilities parameter value is less than preset first threshold value;
    If it is, triggering the first business subset determining module.
  10. 10. business processing device according to claim 9, it is characterised in that the response message sending module, also use In:
    When judging that the target capabilities parameter value is more than or equal to the first threshold, handle complete in the collection of services After portion's business, response message is sent to second process.
CN201710780194.5A 2017-09-01 2017-09-01 A kind of method for processing business and device Pending CN107479992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710780194.5A CN107479992A (en) 2017-09-01 2017-09-01 A kind of method for processing business and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710780194.5A CN107479992A (en) 2017-09-01 2017-09-01 A kind of method for processing business and device

Publications (1)

Publication Number Publication Date
CN107479992A true CN107479992A (en) 2017-12-15

Family

ID=60604339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710780194.5A Pending CN107479992A (en) 2017-09-01 2017-09-01 A kind of method for processing business and device

Country Status (1)

Country Link
CN (1) CN107479992A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866157A (en) * 2018-08-27 2020-03-06 北京猎户星空科技有限公司 Robot response method and device and robot

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578005B1 (en) * 1996-11-22 2003-06-10 British Telecommunications Public Limited Company Method and apparatus for resource allocation when schedule changes are incorporated in real time
CN101977359A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method and device for processing mobile data service
CN102402423A (en) * 2010-09-19 2012-04-04 百度在线网络技术(北京)有限公司 Method and equipment for performing multi-task processing in network equipment
CN102799467A (en) * 2011-05-27 2012-11-28 金蝶软件(中国)有限公司 Method and system for allocating tasks
CN103246557A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Method and device for calling application information in cross process mode
US20140123138A1 (en) * 2012-10-31 2014-05-01 Samsung Sds Co., Ltd. Hypervisor-based server duplication system and method and storage medium storing server duplication computer program
CN103927225A (en) * 2014-04-22 2014-07-16 浪潮电子信息产业股份有限公司 Multi-core framework Internet information processing and optimizing method
CN106921688A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 The service providing method and distributed system of distributed system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578005B1 (en) * 1996-11-22 2003-06-10 British Telecommunications Public Limited Company Method and apparatus for resource allocation when schedule changes are incorporated in real time
CN102402423A (en) * 2010-09-19 2012-04-04 百度在线网络技术(北京)有限公司 Method and equipment for performing multi-task processing in network equipment
CN101977359A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method and device for processing mobile data service
CN102799467A (en) * 2011-05-27 2012-11-28 金蝶软件(中国)有限公司 Method and system for allocating tasks
CN103246557A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Method and device for calling application information in cross process mode
US20140123138A1 (en) * 2012-10-31 2014-05-01 Samsung Sds Co., Ltd. Hypervisor-based server duplication system and method and storage medium storing server duplication computer program
CN103927225A (en) * 2014-04-22 2014-07-16 浪潮电子信息产业股份有限公司 Multi-core framework Internet information processing and optimizing method
CN106921688A (en) * 2015-12-24 2017-07-04 阿里巴巴集团控股有限公司 The service providing method and distributed system of distributed system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866157A (en) * 2018-08-27 2020-03-06 北京猎户星空科技有限公司 Robot response method and device and robot
CN110866157B (en) * 2018-08-27 2022-07-15 北京猎户星空科技有限公司 Robot response method and device and robot

Similar Documents

Publication Publication Date Title
US9800685B2 (en) Automatic data request recovery after session failure
CN106487486B (en) Service processing method and data center system
CN107317763A (en) Flow control method and device between a kind of client and meta data server
CN109981715B (en) Session management method and device
CN107026879A (en) A kind of data cache method and background application system
WO2024007995A1 (en) Network fault recovery method and apparatus, device, and storage medium
CN105592141B (en) A kind of connection number control method and device
US11159608B2 (en) Method and control node for managing cloud resources in a communications network
US10887403B2 (en) Method for managing connections for data communications
CN113110948A (en) Disaster tolerance data processing method and device
CN107479992A (en) A kind of method for processing business and device
CN111436162A (en) Processing method and equipment
CN111427704B (en) Remote monitoring method, device, equipment and storage medium for configuration instruction
CN107770800A (en) ESIM card informations management method, equipment and server
CN105808288A (en) Message push control method and device of operating system
CN114780177B (en) Transaction execution method and device, storage medium and electronic device
CN110413691A (en) Database backup method, restoration methods and device based on block chain
CN109040491A (en) On-hook behavior processing method, device, computer equipment and storage medium
CN105740065A (en) Method and device for controlling execution of asynchronous tasks
CN115330523A (en) Loan post-processing method and system based on block chain
CN109189415A (en) Device, method, system and the computer readable storage medium of deployment services device
CN108718316B (en) Method and system for realizing secure migration of virtual machine password information
CN106020834A (en) Method for controlling application program and program controlling device
CN109683979A (en) A kind of control method and device using self-starting
CN110149232B (en) Distributed storage block upgrading iscsi service method, system, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171215

RJ01 Rejection of invention patent application after publication