CN110430257A - Information processing method, device, system and readable storage medium storing program for executing - Google Patents
Information processing method, device, system and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110430257A CN110430257A CN201910706817.3A CN201910706817A CN110430257A CN 110430257 A CN110430257 A CN 110430257A CN 201910706817 A CN201910706817 A CN 201910706817A CN 110430257 A CN110430257 A CN 110430257A
- Authority
- CN
- China
- Prior art keywords
- service request
- service
- server
- processing
- currently processed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
Present disclose provides a kind of information processing methods, are applied to distributed system, and distributed system includes multiple servers, and method includes: to obtain the service request from client, and service request includes business information;Based on business information, service class belonging to service request is determined;Based on service class, the currently processed strategy for responding service request is determined;And it is based on currently processed strategy, it determines for handling the particular server of service request in multiple servers, to handle service request by particular server.The disclosure additionally provides a kind of information processing unit, distributed system and computer readable storage medium.
Description
Technical field
This disclosure relates to field of computer technology, more particularly, to a kind of information processing method, device, system and can
Read storage medium.
Background technique
With the development of internet technology, operation system is not faced with the impact of big flow all the time, is especially promoting
When pin activity, the flow of operation system but will reach unprecedented peak value.In order to guarantee that operation system is rushed in face of big flow
Still external offer service can be operated normally when hitting, operation system generallys use distributed structure/architecture.
However, the service that operation system provides is often without specific aim under distributed structure/architecture, it is difficult to realize that differentiation takes
Business.
Summary of the invention
In view of this, present disclose provides a kind of information processing method, device, system and readable storage medium storing program for executing.
An aspect of this disclosure provides a kind of information processing method, is applied to distributed system, the distributed system
System includes multiple servers, which comprises obtains the service request from client, the service request includes business letter
Breath;Based on the business information, service class belonging to the service request is determined;Based on the service class, determination is used for
Respond the currently processed strategy of the service request;And it is based on the currently processed strategy, it determines in the multiple server
For handling the particular server of the service request, to handle the service request by the particular server.
In accordance with an embodiment of the present disclosure, it is based on the service class, determines the current place for responding the service request
Reason strategy includes: to determine in the case where the service request belongs to first service rank for responding the service request
Currently processed strategy includes asynchronous process, in the case where the service request belongs to second service rank, is determined for responding
The currently processed strategy of the service request includes synchronization process, wherein the distributed system handles the synchronization process
The priority of service request is higher than the priority that the distributed system handles the service request of the asynchronous process.
In accordance with an embodiment of the present disclosure, asynchronous process includes: and is used to indicate to receive the clothes to client transmission
The notice of business request;And the service request is stored in queue to be processed, according to each in the queue to be processed
Service request puts in order, and successively handles each service request in the queue to be processed by the distributed system.
In accordance with an embodiment of the present disclosure, asynchronous process further include: send prompt information to the client, to remind user
Query processing result after the first period of time.
In accordance with an embodiment of the present disclosure, the method also includes: obtain at history determined by multiple historical service requests
Reason strategy;In the case that the frequency that the first processing strategie in the history processing strategie occurs is greater than preset threshold, determine
Service class corresponding with first processing strategie;And by the service class corresponding with first processing strategie
Processing strategie is adjusted to second processing strategy by first processing strategie.
In accordance with an embodiment of the present disclosure, multiple servers include access server and service server;The acquisition comes from
The service request of client includes: to obtain the service request from client by the access server;It is described to be worked as based on described
Pre-treatment strategy determines that the particular server for handling the service request includes: based on described from the multiple server
Currently processed strategy is determined for handling the service server of the service request in the multiple server, by the business
Service request described in server process;The method also includes: it receives in the access server from the business service
In the case where the error message of device, at least one processing strategie handled by the service server is adjusted to third processing plan
Slightly;Or it is not received in predetermined time period from the service server in the access server for the service
In the case where the response message of request, at least one processing strategie handled by the service server is adjusted to third processing
Strategy.
In accordance with an embodiment of the present disclosure, business information comprises at least one of the following: initiating the clothes by the client
Be engaged in request user the first account information, accept the service request receiving party the second account information or the visitor
The geographical location information at family end.
Another aspect of the disclosure provides a kind of information processing unit, is applied to distributed system, the distribution
System includes multiple servers, and described device includes: acquisition module, for obtaining the service request from client, the clothes
Business request includes business information;First determining module determines clothes belonging to the service request for being based on the business information
Business rank;Second determining module determines the currently processed plan for responding the service request for being based on the service class
Slightly;And processing module is determined to handle the service from the multiple server for being based on the currently processed strategy
The particular server of request, to handle the service request by the particular server.
Another aspect of the disclosure provides a kind of distributed system, comprising: access server, for obtaining from visitor
The service request at family end, the service request include business information;It identifies server, for being based on the business information, determines
Service class belonging to the service request, and it is based on the service class, it determines for responding working as the service request
Pre-treatment strategy, and access server is sent by the currently processed strategy, wherein the access server is also used to: base
In the currently processed strategy, the particular server for handling the service request is determined from the multiple server, with by
The particular server handles the service request.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored with computer executable instructions,
Described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to
It enables, described instruction is when executed for realizing method as described above.
In accordance with an embodiment of the present disclosure, it can at least be partially solved under distributed structure/architecture, the clothes that operation system provides
Business is often without specific aim, it is difficult to realize Differentiated Service, and the technical effect of differentiated service therefore may be implemented.
Detailed description of the invention
By referring to the drawings to the description of the embodiment of the present disclosure, the above-mentioned and other purposes of the disclosure, feature and
Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can showing with the distributed system of application message processing method
Example property system architecture;
Fig. 2 diagrammatically illustrates the stream of the information processing method according to an embodiment of the present disclosure applied to distributed system
Cheng Tu;
Fig. 3 diagrammatically illustrates the method flow diagram of the asynchronous process according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrate according to another embodiment of the disclosure can be with the flow chart of application message processing method;
Fig. 5 diagrammatically illustrate according to another embodiment of the disclosure can be with the distributed system of application message processing method
Exemplary system architecture;
Fig. 6 diagrammatically illustrates the frame of the information processing unit according to an embodiment of the present disclosure applied to distributed system
Figure;And
Fig. 7 diagrammatically illustrates the electronic equipment box for being adapted for carrying out information processing method according to the embodiment of the present disclosure
Figure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary
, and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining
Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin
It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid
Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein
The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of
Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood
Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification
Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to
Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C "
Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or
System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come
Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least
One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have
B and C, and/or the system with A, B, C etc.).
Embodiment of the disclosure provides a kind of information processing method applied to distributed system, and distributed system includes
Multiple servers.This method includes obtaining the service request from client, and service request includes business information, is believed based on business
It ceases and determines service class belonging to service request.Next, determining the current place for responding service request based on service class
Reason strategy, and be based on currently processed strategy, determines for handling the particular server of service request in multiple servers, with by
Particular server handles service request.
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can showing with the distributed system of application message processing method
Example property system architecture 100.It should be noted that being only the distributed system architecture that can apply the embodiment of the present disclosure shown in Fig. 1
Example, to help skilled in the art to understand the technology contents of the disclosure, but be not meant to that the embodiment of the present disclosure can not
To be used for other equipment, system, environment or scene.
As shown in Figure 1, distributed system architecture 100 may include access server 101, business clothes according to this embodiment
Business device 102,103,104.
Distributed system architecture 100, which for example can be, provides the operation system of transaction class service for user.
Terminal device access distributed system architecture 100 can be used in user, with the service for using the operation system to provide.
Receiving server 101 for example can be used for receiving the service request from terminal device, and call corresponding service server
Service request is handled, and processing result is returned into terminal device.
In order to enable distributed system 100 can be realized the technical effect to the processing of access request differentiation, the disclosure is mentioned
A kind of information processing method is supplied.The information processing method determines belonging to service request according to the business information in service request
Service class, and then according to service class determine be directed to service request currently processed strategy.To be taken by specific business
Device be engaged according to currently processed strategy processing service request.
It should be noted that information processing method provided by the embodiment of the present disclosure generally can be by distributed system
One or more server executes.Such as in scene shown in Fig. 1, it can be executed by access server 101.
It should be understood that the number of access server, service server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of access server, service server.
Fig. 2 diagrammatically illustrates the stream of the information processing method according to an embodiment of the present disclosure applied to distributed system
Cheng Tu.
As shown in Fig. 2, this method includes operation S210~S240.
In operation S210, the service request from client is obtained, service request includes business information.
In accordance with an embodiment of the present disclosure, service request for example can be generates according to the input operation of user on the client
's.Service request for example may include transfer request, payment request, charging request etc..
In accordance with an embodiment of the present disclosure, business information for example may include that the user of service request is initiated by client
First account information.The first account information of user for example can be user identifier.
Business information for example can also include the second account information for accepting the receiving party of service request.Such as it is asked in service
In the case where Seeking Truth charge filling business, receiving party can be connection, movement, telecommunications etc., the second account information for example can be by
The mark of reason side.
Business information for example can also include the geographical location information of client.It such as in service request is transferred account service
In the case of, which for example can be generates on POS, and business information may include the geographical location letter of the POS machine
Breath.
In operation S220, it is based on business information, determines service class belonging to service request.
Such as the first account can be determined according to the first account information for the user for initiating service request by client
Grade, to for example can determine service class shown in service request according to the grade of the first account.Specifically, if such as
The grade of first account is VIP client, then can determine that service class is first service rank.If the grade of the first account is general
Logical client can then determine that service class is second service rank.Wherein, the processing of first service rank and second service rank
It is tactful different.
In another example can determine the grade of the second account according to the second account information for the receiving party for accepting service request.
Specifically, such as when the grade of the second account is emphasis partner, determine that service class can be first service rank.
In another example determining that user executes the behaviour that transfers accounts in POS machine according to the geographical location information of the client got
Make, and then can determine user's delivery operation in the case where executing line, then can determine that service class can be first service rank.
It for example may include scene information in business information, for each field according to the other embodiment of the disclosure
Scape may include multidimensional information.Such as the business information of the server request from client is payment scene.Paying scene can
To include the first dimension business information and the second dimension business information.First dimension business information for example can be customer information, the second dimension
Business information for example can be receiving party's information.Such as being according to the customer grade that customer information determines in payment scene
VIP client, and receiving party be emphasis partner in the case where, determine that service class can be star servings rank.And according to
The customer grade that customer information determines is VIP client, in the case that receiving party is non-emphasis partner, determines that service class can be with
It is first service rank.And in the case where being normal client according to the customer grade that customer information determines, determine that service class can
To be second service rank.
It is to be appreciated that those skilled in the art can need to be arranged according to the time a variety of service class, above-mentioned first
Service class, second service rank and star servings rank are only a kind of example.
In accordance with an embodiment of the present disclosure, such as in distributed system architecture shown in Fig. 1, operation S220 for example be can be
It is executed by access server 101.It for example may include identification module in access server 101, for example may be used in the identification module
To be stored with the mapping table of business information and service class and the processing strategie of each service class.
In operation S230, it is based on service class, determines the currently processed strategy for responding service request.
In accordance with an embodiment of the present disclosure, currently processed strategy for example may include being asked using updated algorithm process service
It asks.Specifically, such as the currently processed strategy of high safety service class can be and ask without using updated algorithm process service
It asks.The currently processed strategy of the currently processed request of lower security service class can be is asked using updated algorithm process service
It asks.Wherein, the corresponding processing strategie of high safety service class is for handling to the higher service request of security requirement, low service
The corresponding processing strategie of rank is for handling to the lower service request of security requirement.With by using to security requirement compared with
Low service request tests the correctness of algorithm, in the case where confirming that updated algorithm is errorless, then high safety clothes
The currently processed policy update for rank of being engaged in is to use updated algorithm process service request, to guarantee that safe handling safety is wanted
Seek higher service request.
In accordance with an embodiment of the present disclosure, it in the case where service request belongs to first service rank, determines for responding clothes
The currently processed strategy of business request includes asynchronous process, and in the case where service request belongs to second service rank, determination is used for
The currently processed strategy for responding the service request includes synchronization process.Wherein, the service of distributed system processing synchronization process
The priority of request is higher than the priority of the service request of distributed system processing asynchronous process.
Such as the service request for belonging to first service rank can be handled in real time, it is returned after processing is completed to client
Processing result.And the service request for belonging to second service rank can be using asynchronous process strategy.
Fig. 3 diagrammatically illustrates the method flow diagram of the asynchronous process according to the embodiment of the present disclosure.
As shown in figure 3, the asynchronous processing method may include operation S310 and S320.
In operation S310, is sent to client and be used to indicate the notice for receiving service request.
Such as when receiving the transfer services request that the first account levels are normal client, it can send and connect to client
Receive the notice of the request of transferred account service.
In operation S320, service request is stored in queue to be processed, to be asked according to each service in queue to be processed
That asks puts in order, and each service request in queue to be processed is successively handled by distributed system.
In accordance with an embodiment of the present disclosure, asynchronous processing method can also include sending prompt information to client, to remind
User's query processing result after the first period of time.Such as can be arrangement position according to service request in the queue, estimate
Meter service request waits in line the time of processing and handles the time of the service request, and time and place according to waiting processing
The time for managing the service request sends the time of prompt user query processing result.
Specifically, it such as waits time of processing and can be half an hour, the time for handling the service request can be 1 point
Clock then can send prompt information to client.The prompt information is for example for prompting user that can inquire after 40 minutes
Processing result.
Next, being based on currently processed strategy in operation S240, determine in multiple servers for handling service request
Particular server, to handle service request by particular server.
Currently processed strategy for example can be the service request execution asynchronous process for current transferred account service, then pressing
When arriving the service request of current transferred account service according to the processing that puts in order in queue to be processed, such as can be by access server
101 call the service server with function of transferring accounts, and handle service request by service server.
In accordance with an embodiment of the present disclosure, which can determine needle according to the business information in service request
To the processing strategie of service request, service request is pointedly handled so as to realize, realizes the technology of differentiated service
Effect.
Fig. 4 diagrammatically illustrate according to another embodiment of the disclosure can be with the flow chart of application message processing method.
As shown in figure 4, can also include on the basis of information processing method embodiment shown in Fig. 2 operation S410~
S430。
In operation S410, history processing strategie determined by multiple historical service requests is obtained.
Operation S420, when in history processing strategie the first processing strategie occur the frequency be greater than preset threshold the case where
Under, determine service class corresponding with the first processing strategie.
In operation S430, the processing strategie of service class corresponding with the first processing strategie is adjusted by the first processing strategie
For second processing strategy.
In operation S410 and operation S420, such as distributed system architecture shown in Fig. 1, such as it can be access clothes
The corresponding history processing strategie of historical service request is stored in business device 101.101 statistical history processing strategie of access server,
So that it is determined that frequency of occurrence is greater than the first processing strategie of preset threshold out.First processing strategie for example can be by business service
Device 102 handles transferred account service.Such as it can be determined and processing plan by the mapping table of query service rank and processing strategie
The slightly corresponding current service level " by the processing of service server 102 transferred account service ".Next, in operation S430, such as
The processing strategie of current service level can be updated to " handle industry of transferring accounts by service server 103 or service server 102
Business ".
In accordance with an embodiment of the present disclosure, this method is determined to press by determining higher first processing strategie of frequency of occurrence
The biggish server of power, so that dynamic updates the processing strategie of service class corresponding with the first processing strategie, to alleviate
The pressure of server.
In accordance with an embodiment of the present disclosure, as shown in Figure 1, multiple servers in distributed system may include access service
Device 101 and service server 102,103,104.Wherein, obtaining the service request from client includes by access server 101
Obtain the service request from client.Based on currently processed strategy, processing service request is determined from multiple servers
Particular server includes being determined based on currently processed strategy for handling the service server of service request in multiple servers,
The service request is handled by service server.
It in this embodiment, further include as follows on the basis of information processing method operation S210 to S240 shown in Fig. 2
Operation: in the case where access server receives the error message from service server, by what is handled by service server
At least one processing strategie is adjusted to third processing strategie.Alternatively, not received in predetermined time period in access server
In the case where response message of the service server for service request, at least one that will be handled by service server is handled
Developing Tactics are third processing strategie.In accordance with an embodiment of the present disclosure, aforesaid operations can for example execute after operating S240.
In accordance with an embodiment of the present disclosure, it such as is determined in operation S240 and access request is handled by service server 102.Business
Server 102 handles the access request and sends access server for processing result.In the scene, such as in access service
Device 101 receives in the case that the processing result from service server 102 includes error information, can will be by service server
At least one processing strategie of 102 processing is adjusted to be handled by service server 103.In another example being received in access server 101
It, can will be by business to the processing result from service server 102, and in the case where determining the format error of the processing result
At least one processing strategie of the processing of server 102 is adjusted to be handled by service server 103.In another example in access server
101 do not received in predetermined time period from service server 102 be directed to service request application message in the case where, can
At least one processing strategie handled by service server 102 to be adjusted to be handled by service server 103.
Fig. 5 diagrammatically illustrate according to another embodiment of the disclosure can be with the distributed system of application message processing method
Exemplary system architecture 500.
As shown in figure 5, can also include on the basis of the distributed system architecture 500 system architecture 100 shown in Fig. 1
Identify server 501.
Identification server 501 can for example execute operations described above S220 and operation S230.
In accordance with an embodiment of the present disclosure, access server 101 executes operation S210, receives service request, and access clothes
The business information in service request is sent identification server 401 by business device 101.
It identifies that server 501 executes operation S220 and operation S230, clothes belonging to service request is determined based on business information
Business rank, and the currently processed strategy for responding service request is determined according to service class.
Identification server 501 for example can send access server 101 for currently processed strategy, by access server
101 execute operation S240.
In accordance with an embodiment of the present disclosure, which independently deploys identification server 501, so as to
Enough flexible configurations realized to processing strategie.
Such as those skilled in the art can for example configure the business information and service class stored in identification server 501
Mapping relations, and configuration service class and processing strategie mapping relations.
In the distributed system architecture 500, identification module 501 can also be performed operation S410 as shown in Figure 4~
S430.In operation S410~S430, history processing strategie determined by multiple historical service requests is obtained, when history processing strategie
In the frequency that occurs of the first processing strategie be greater than preset threshold in the case where, determine corresponding with the first processing strategie seeervice level
Not, and by the processing strategie of service class corresponding with the first processing strategie second processing plan is adjusted to by the first processing strategie
Slightly.
In accordance with an embodiment of the present disclosure, the feelings of the error message from service server are received in access server 101
Under condition, or is not received in predetermined time period in access server and be directed to the service request from service server
In the case where response message, access server 101 for example can send the service server to identification server 501 can not be normal
The message of work, so that at least one processing strategie handled by the service server is adjusted to third by identification server 501
Processing strategie.
Fig. 6 diagrammatically illustrates the frame of the information processing unit according to an embodiment of the present disclosure applied to distributed system
Figure.
As shown in fig. 6, information processing unit 600 may include obtaining module 610, the determination of the first determining module 620, second
Module 630 and processing module 640.
Module 610 is obtained, such as the operation S210 above with reference to Fig. 2 description can be executed, comes from client for obtaining
Service request, the service request includes business information.
First determining module 620, such as the operation S220 above with reference to Fig. 2 description can be executed, for being based on the industry
Business information, determines service class belonging to the service request.
Second determining module 630, such as the operation S230 above with reference to Fig. 2 description can be executed, for being based on the clothes
Business rank, determines the currently processed strategy for responding the service request.
Processing module 640, such as the operation S240 above with reference to Fig. 2 description can be executed, for being based on the current place
Reason strategy, determines the particular server for handling the service request, by the special services from the multiple server
The device processing service request.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement
A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son
Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule,
Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate
Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity
Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real
Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality
It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement
Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, obtaining any in module 610, the first determining module 620, the second determining module 630 and processing module 640
Multiple may be incorporated in a module is realized or any one module therein can be split into multiple modules.Alternatively,
At least partly function of one or more modules in these modules can be combined at least partly function of other modules, and
It is realized in a module.In accordance with an embodiment of the present disclosure, module 610, the first determining module 620, the second determining module are obtained
At least one of 630 and processing module 640 can at least be implemented partly as hardware circuit, such as field-programmable gate array
Arrange (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, specific integrated circuit
(ASIC), it or can be realized by carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit,
Or it several appropriately combined is realized with any one in three kinds of software, hardware and firmware implementations or with wherein any.
It can be with alternatively, obtaining at least one of module 610, the first determining module 620, the second determining module 630 and processing module 640
It is at least implemented partly as computer program module, when the computer program module is run, corresponding function can be executed
Energy.
Another aspect of the present disclosure additionally provides a kind of distributed system.Distributed system may include access server and
Identify server.Wherein, for access server for obtaining the service request from client, service request includes business information.
It identifies that server is used to be based on business information, determines service class belonging to service request, and be based on service class, determine and use
In the currently processed strategy of response service request, and access server is sent by currently processed strategy.Wherein, access server
It is also used to determine the particular server of processing service request from multiple servers based on currently processed strategy, by specific
Server process service request.
Fig. 7 diagrammatically illustrates the electronic equipment box for being adapted for carrying out information processing method according to the embodiment of the present disclosure
Figure.Electronic equipment shown in Fig. 7 is only an example, should not function to the embodiment of the present disclosure and use scope bring it is any
Limitation.
As shown in fig. 7, include processor 701 according to the electronic equipment 700 of the embodiment of the present disclosure, it can be according to being stored in
Program in read-only memory (ROM) 702 is loaded into the journey in random access storage device (RAM) 703 from storage section 708
Sequence and execute various movements appropriate and processing.Processor 701 for example may include general purpose microprocessor (such as CPU), instruction
Set processor and/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor
701 can also include the onboard storage device for caching purposes.Processor 701 may include being implemented for executing according to the disclosure
Single treatment unit either multiple processing units of the different movements of the method flow of example.
In RAM 703, it is stored with electronic equipment 700 and operates required various programs and data.Processor 701, ROM
702 and RAM 703 is connected with each other by bus 704.Processor 701 is by executing the journey in ROM 702 and/or RAM 703
Sequence executes the various operations of the method flow according to the embodiment of the present disclosure.It is being removed it is noted that described program also can store
In one or more memories other than ROM702 and RAM 703.Processor 701 can also be stored in one by execution
Or the program in multiple memories executes the various operations of the method flow according to the embodiment of the present disclosure.
In accordance with an embodiment of the present disclosure, electronic equipment 700 can also include input/output (I/O) interface 705, input/defeated
(I/O) interface 705 is also connected to bus 704 out.Electronic equipment 700 can also include be connected to I/O interface 705 with lower component
In it is one or more: the importation 706 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal display
The output par, c 707 of device (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.;And including such as LAN card,
The communications portion 709 of the network interface card of modem etc..Communications portion 709 executes communication via the network of such as internet
Processing.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as disk, CD, magneto-optic disk,
Semiconductor memory etc. is mounted on as needed on driver 710, in order to from the computer program read thereon according to need
It is mounted into storage section 708.
In accordance with an embodiment of the present disclosure, computer software journey may be implemented as according to the method flow of the embodiment of the present disclosure
Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer readable storage medium
Computer program, which includes the program code for method shown in execution flow chart.In such implementation
In example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media 711
It is mounted.When the computer program is executed by processor 701, the above-mentioned function limited in the system of the embodiment of the present disclosure is executed
Energy.In accordance with an embodiment of the present disclosure, system as described above, unit, module, unit etc. can pass through computer program
Module is realized.
The disclosure additionally provides a kind of computer readable storage medium, which can be above-mentioned reality
It applies included in equipment/device/system described in example;Be also possible to individualism, and without be incorporated the equipment/device/
In system.Above-mentioned computer readable storage medium carries one or more program, when said one or multiple program quilts
When execution, the method according to the embodiment of the present disclosure is realized.
In accordance with an embodiment of the present disclosure, computer readable storage medium can be non-volatile computer-readable storage medium
Matter, such as can include but is not limited to: portable computer diskette, hard disk, random access storage device (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.For example, in accordance with an embodiment of the present disclosure, computer readable storage medium may include above-described
One or more memories other than ROM 702 and/or RAM 703 and/or ROM 702 and RAM 703.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, In
In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and
It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment above, but it is not intended that each reality
Use cannot be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.It does not take off
From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, these alternatives and modifications should all fall in this
Within scope of disclosure.
Claims (10)
1. a kind of information processing method is applied to distributed system, the distributed system includes multiple servers, the method
Include:
The service request from client is obtained, the service request includes business information;
Based on the business information, service class belonging to the service request is determined;
Based on the service class, the currently processed strategy for responding the service request is determined;And
Based on the currently processed strategy, determine in the multiple server for handling the special services of the service request
Device, to handle the service request by the particular server.
2. according to the method described in claim 1, wherein, described to be based on the service class, determination is for responding the service
Request currently processed strategy include:
In the case where the service request belongs to first service rank, determine for responding the currently processed of the service request
Strategy includes asynchronous process,
In the case where the service request belongs to second service rank, determine for responding the currently processed of the service request
Strategy includes synchronization process,
Wherein, the priority that the distributed system handles the service request of the synchronization process is higher than at the distributed system
Manage the priority of the service request of the asynchronous process.
3. according to the method described in claim 2, wherein, the asynchronous process includes:
It is sent to the client and is used to indicate the notice for receiving the service request;And
The service request is stored in queue to be processed, according to the arrangement of each service request in the queue to be processed
Sequentially, each service request in the queue to be processed is successively handled by the distributed system.
4. according to the method described in claim 3, wherein, the asynchronous process further include:
Prompt information is sent to the client, to remind user's query processing result after the first period of time.
5. according to the method described in claim 1, further include:
Obtain history processing strategie determined by multiple historical service requests;
In the case that the frequency that the first processing strategie in the history processing strategie occurs is greater than preset threshold, determining and institute
State the corresponding service class of the first processing strategie;And
The processing strategie of service class corresponding with first processing strategie is adjusted to second by first processing strategie
Processing strategie.
6. according to the method described in claim 1, wherein, the multiple server includes access server and service server;
The service request of the acquisition from client includes: to obtain the service from client by the access server to ask
It asks;
It is described to be based on the currently processed strategy, the specific clothes for handling the service request are determined from the multiple server
Business device include:
Based on the currently processed strategy, determine in the multiple server for handling the business service of the service request
Device handles the service request by the service server;
The method also includes:
In the case where the access server is received from the error message of the service server, will be taken by the business
At least one processing strategie of business device processing is adjusted to third processing strategie;Or
It does not receive in predetermined time period in the access server and is asked from the service server for the service
In the case where the response message asked, at least one processing strategie handled by the service server is adjusted to third processing plan
Slightly.
7. according to the method described in claim 1, wherein, the business information comprises at least one of the following:
The first account information of the user of the service request is initiated by the client, accepts accepting for the service request
Second account information of side or the geographical location information of the client.
8. a kind of information processing unit is applied to distributed system, the distributed system includes multiple servers, described device
Include:
Module is obtained, for obtaining the service request from client, the service request includes business information;
First determining module determines service class belonging to the service request for being based on the business information;
Second determining module determines the currently processed strategy for responding the service request for being based on the service class;
And
Processing module determines that handling the service asks for being based on the currently processed strategy from the multiple server
The particular server asked, to handle the service request by the particular server.
9. a kind of distributed system, comprising:
Access server, for obtaining the service request from client, the service request includes business information;
It identifies server, for being based on the business information, determines service class belonging to the service request, and be based on institute
Service class is stated, determines the currently processed strategy for responding the service request, and send the currently processed strategy to
Access server,
Wherein, the access server is also used to: being based on the currently processed strategy, source is determined from the multiple server
The particular server of the service request is managed, to handle the service request by the particular server.
10. a kind of computer readable storage medium, is stored thereon with executable instruction, which makes to handle when being executed by processor
Device executes the method as described in claim 1~7 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910706817.3A CN110430257A (en) | 2019-07-31 | 2019-07-31 | Information processing method, device, system and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910706817.3A CN110430257A (en) | 2019-07-31 | 2019-07-31 | Information processing method, device, system and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110430257A true CN110430257A (en) | 2019-11-08 |
Family
ID=68412073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910706817.3A Pending CN110430257A (en) | 2019-07-31 | 2019-07-31 | Information processing method, device, system and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110430257A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026555A (en) * | 2019-12-23 | 2020-04-17 | 北京数衍科技有限公司 | Priority flow compensation method and device and electronic equipment |
CN111563814A (en) * | 2020-05-09 | 2020-08-21 | 中国工商银行股份有限公司 | Information processing method, device and system and electronic equipment |
CN112288577A (en) * | 2020-10-29 | 2021-01-29 | 中国工商银行股份有限公司 | Transaction processing method and device for distributed service, electronic equipment and medium |
CN112435101A (en) * | 2020-12-02 | 2021-03-02 | 北京沃东天骏信息技术有限公司 | Order information processing method and device, electronic equipment and computer readable medium |
CN113014408A (en) * | 2019-12-19 | 2021-06-22 | 阿里巴巴集团控股有限公司 | Distributed system and management method thereof |
CN113411400A (en) * | 2021-06-18 | 2021-09-17 | 中国工商银行股份有限公司 | Information calling method and device, electronic equipment and readable storage medium |
CN115589434A (en) * | 2022-09-20 | 2023-01-10 | 广州小鹏汽车科技有限公司 | Request processing method, service-oriented system, ECU, vehicle and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020194108A1 (en) * | 2001-06-14 | 2002-12-19 | Kitze Christopher Allin | Efficient transportation of digital files in a peer-to-peer file delivery network |
CN103955830A (en) * | 2014-04-27 | 2014-07-30 | 谭希韬 | Mobile bank transaction anti-fake method and system based on position |
CN107480540A (en) * | 2017-07-25 | 2017-12-15 | 中国工商银行股份有限公司 | Data access control system and method |
CN108306921A (en) * | 2017-08-04 | 2018-07-20 | 深圳壹账通智能科技有限公司 | Call external service method and application server |
CN108650294A (en) * | 2018-04-03 | 2018-10-12 | 中国银行股份有限公司 | Transaction Information transmission method and device between technological system |
CN108965380A (en) * | 2018-05-31 | 2018-12-07 | 平安医疗科技有限公司 | Service request processing method, device, computer equipment and storage medium |
-
2019
- 2019-07-31 CN CN201910706817.3A patent/CN110430257A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020194108A1 (en) * | 2001-06-14 | 2002-12-19 | Kitze Christopher Allin | Efficient transportation of digital files in a peer-to-peer file delivery network |
CN103955830A (en) * | 2014-04-27 | 2014-07-30 | 谭希韬 | Mobile bank transaction anti-fake method and system based on position |
CN107480540A (en) * | 2017-07-25 | 2017-12-15 | 中国工商银行股份有限公司 | Data access control system and method |
CN108306921A (en) * | 2017-08-04 | 2018-07-20 | 深圳壹账通智能科技有限公司 | Call external service method and application server |
CN108650294A (en) * | 2018-04-03 | 2018-10-12 | 中国银行股份有限公司 | Transaction Information transmission method and device between technological system |
CN108965380A (en) * | 2018-05-31 | 2018-12-07 | 平安医疗科技有限公司 | Service request processing method, device, computer equipment and storage medium |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113014408A (en) * | 2019-12-19 | 2021-06-22 | 阿里巴巴集团控股有限公司 | Distributed system and management method thereof |
CN111026555A (en) * | 2019-12-23 | 2020-04-17 | 北京数衍科技有限公司 | Priority flow compensation method and device and electronic equipment |
CN111026555B (en) * | 2019-12-23 | 2023-11-24 | 北京数衍科技有限公司 | Priority level flow separation compensation method and device and electronic equipment |
CN111563814A (en) * | 2020-05-09 | 2020-08-21 | 中国工商银行股份有限公司 | Information processing method, device and system and electronic equipment |
CN111563814B (en) * | 2020-05-09 | 2024-03-12 | 中国工商银行股份有限公司 | Information processing method, device, system and electronic equipment |
CN112288577A (en) * | 2020-10-29 | 2021-01-29 | 中国工商银行股份有限公司 | Transaction processing method and device for distributed service, electronic equipment and medium |
CN112288577B (en) * | 2020-10-29 | 2023-09-12 | 中国工商银行股份有限公司 | Transaction processing method, device, electronic equipment and medium for distributed service |
CN112435101A (en) * | 2020-12-02 | 2021-03-02 | 北京沃东天骏信息技术有限公司 | Order information processing method and device, electronic equipment and computer readable medium |
CN113411400A (en) * | 2021-06-18 | 2021-09-17 | 中国工商银行股份有限公司 | Information calling method and device, electronic equipment and readable storage medium |
CN115589434A (en) * | 2022-09-20 | 2023-01-10 | 广州小鹏汽车科技有限公司 | Request processing method, service-oriented system, ECU, vehicle and storage medium |
CN115589434B (en) * | 2022-09-20 | 2024-04-16 | 广州小鹏汽车科技有限公司 | Request processing method, service-oriented system, ECU, vehicle and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110430257A (en) | Information processing method, device, system and readable storage medium storing program for executing | |
CN110443695A (en) | Data processing method and its device, electronic equipment and medium | |
CN108520454A (en) | Method and system for calling back orders in real time | |
CN105556919B (en) | Multi-factor authentication using service request ticket | |
CN110442608A (en) | Information processing method, device, electronic equipment, medium and system | |
CN110401720A (en) | Information processing method, device, system, application server and medium | |
CN108805667A (en) | Order flow processing method and system | |
CN110264648A (en) | Data processing method and device, automatic teller machine and data processing system | |
CN109257320A (en) | Message storage method and device | |
CN112634047B (en) | Foreign exchange transaction simulation test method and device, computer equipment and storage medium | |
CN108460272A (en) | Change of secret code method, apparatus, terminal device and storage medium | |
CN109639598A (en) | Request processing method, server, storage medium and device based on micro services | |
CN110245029A (en) | A kind of data processing method, device, storage medium and server | |
CN109376011A (en) | The method and apparatus of resource are managed in virtualization system | |
CN110263581A (en) | Contract signs method, system, terminal device and storage medium | |
CN110417888A (en) | Flow control methods, volume control device and electronic equipment | |
CN112506559A (en) | Gray scale publishing method and device based on gateway, electronic equipment and storage medium | |
CN109828830A (en) | Method and apparatus for managing container | |
CN110223179A (en) | The data processing method of fund, device, system, medium | |
CN109840757A (en) | A kind of repayment method and refund management equipment | |
CN111897822A (en) | Account state information processing method and device, electronic equipment and storage medium | |
CN114820132A (en) | Order distribution method and device, electronic equipment and storage medium | |
CN114418142A (en) | Equipment inspection method and device | |
CN109842665A (en) | Task processing method and device for task distribution server | |
CN117472617B (en) | Message processing method and device, electronic equipment and readable 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: 20191108 |
|
RJ01 | Rejection of invention patent application after publication |