CN112561650B - Order service request processing system - Google Patents

Order service request processing system Download PDF

Info

Publication number
CN112561650B
CN112561650B CN202011498030.1A CN202011498030A CN112561650B CN 112561650 B CN112561650 B CN 112561650B CN 202011498030 A CN202011498030 A CN 202011498030A CN 112561650 B CN112561650 B CN 112561650B
Authority
CN
China
Prior art keywords
server
request
order service
service request
order
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.)
Active
Application number
CN202011498030.1A
Other languages
Chinese (zh)
Other versions
CN112561650A (en
Inventor
陈少军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xishima Data Technology Co ltd
Original Assignee
Shenzhen Xishima Data 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 Shenzhen Xishima Data Technology Co ltd filed Critical Shenzhen Xishima Data Technology Co ltd
Priority to CN202011498030.1A priority Critical patent/CN112561650B/en
Publication of CN112561650A publication Critical patent/CN112561650A/en
Application granted granted Critical
Publication of CN112561650B publication Critical patent/CN112561650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application is applicable to the technical field of communication, and provides a processing system of order service requests, which comprises: the first server is used for receiving a first order service request, returning request success information when the first order service request meets processing conditions, and returning request failure information when the first order service request does not meet the processing conditions to the request processing module; the request processing module is used for receiving a first order service request sent by the first server and processing the first order service request; according to the method and the system, the first server is utilized to screen the order, and when the first order service request meets the processing conditions, the request success information is directly returned to inform the user that the first order service request is successfully processed, and the request processing module is utilized to continue to process the first order service request, so that the time for waiting for order processing by the user is saved, and the ordering time of the user is saved.

Description

Order service request processing system
Technical Field
The application belongs to the technical field of communication, and particularly relates to a processing system for an order service request.
Background
With the rapid development of computer science and technology, the performance of computer service systems is continuously optimized to meet the increasing demands of users. The server is a device for managing resources and providing computing services for users in the computer service system, can respond to the received service request and process the service request, and has higher data processing capability and guarantee service capability.
Currently, in the financial industry, after a user places an order, the user needs to wait for the server to complete the order, and then the order placing result can be obtained. If the server processes the order for a long time, the user needs to wait for a long time to obtain the order placing result, and the whole order placing process wastes a long time for the user.
Disclosure of Invention
The embodiment of the application provides a processing system for an order service request, which can solve the problems of long order processing time and waste of user time at present.
In a first aspect, an embodiment of the present application provides a processing system for an order service request, including: a request processing module and a plurality of first servers;
the first server is used for receiving a first order service request, returning request success information when the first order service request meets the processing conditions, sending the first order service request to the request processing module, and returning request failure information when the first order service request does not meet the processing conditions;
the request processing module is configured to receive the first order service request sent by the first server, process the first order service request, and generate order information of the first order service request.
In a possible implementation manner of the first aspect, the sending the first order service request to a request processing module includes:
acquiring the current time t 1 The number of second order service requests in the request processing module, wherein the second order service requests are the order service requests existing in the request processing module;
judging the current time t 1 When the number of the second order service requests in the request processing module is smaller than a preset value;
and if the number of the second order service requests is smaller than a preset value, sending the first order service requests to the request processing module.
In a possible implementation manner of the first aspect, in the determining the current time t 1 And after the number of the second order service requests in the request processing module is smaller than a preset value, the method further comprises the following steps:
if the number of the second order service requests is equal to the preset value, redefining the current time T at preset time intervals T i The number of second order service requests in the request processing module until the current time t i And when the number of the second order service requests in the request processing module is smaller than the preset value, sending the first order service requests to the request processing module.
Compared with the prior art, the embodiment of the application has the beneficial effects that: after receiving the first order service request, the first server firstly judges whether the first order service request meets processing conditions, returns request success information when the processing conditions are met, and sends the first order service request to a request processing module; when the first order service request does not meet the processing conditions, returning request failure information; the request processing module is used for receiving the first order service request and processing the first order service request to generate order information; according to the method and the system, the first server is utilized to screen the order, and when the first order service request meets the processing conditions, the request success information is directly returned to inform the user that the first order service request is successfully processed, and the request processing module is utilized to continue to process the first order service request, so that the time for waiting for order processing by the user is saved, the user can receive the returned order result after placing the order, and the time of the user is saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a processing system for order service requests according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted in context as "when … …" or "upon" or "in response to determining" or "in response to detecting". Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Fig. 1 is a schematic diagram of a processing system for an order service request provided in the present application, and referring to fig. 1, the system is described in detail as follows:
the processing system of the order service request comprises: a request processing module 110 and a plurality of first servers 511.
The first server 511 is configured to receive a first order service request, return request success information when the first order service request meets the processing condition, and send the first order service request to the request processing module 110, where the first server 511 is further configured to return request failure information when the first order service request does not meet the processing condition, where the processing condition is used to determine whether the first order service request needs to be processed, and the request success information is used to display a result of request success to a user before the first order service request is processed, and the request failure information is used to display a result of request failure to the user;
the request processing module 110 is configured to receive the first order service request sent by the first server 511, process the first order service request, and generate order information of the first order service request.
In this embodiment, there may be multiple first servers 511, each first server 511 processing a type of order, for example, server A may be used to process an order and server B may be used to process a payment order.
The first server 511 is further configured to filter the first order service request, and send the first order service request that meets the processing condition to the request processing module 110. At the same time, the first server 511 also returns request success information. After receiving the request success information returned by the first server 511, the user side will show the request to the user, and after the user checks the request, the user will know that the order has been successfully processed, and will not need to wait again, that is, will not wait until the request processing module 110 completes the processing of the first order service request, and will not receive a message that the order processing is successful, and will obtain the processing result of the order before the request processing module 110 completes the processing of the first order service request. The request success information can be text information such as order success or OK, and can also be animation or picture information.
In this embodiment, the request processing module 110 is connected to each first server 511, and the request processing module 110 is configured to process the first order service request sent by the first server 511, complete the first order service request, and generate order information. The order information may include order number, order completion time, etc.
By way of example, if the first order service request is a payment request, the order information may include a payment time, a payment number, a payment amount, and the like.
In this embodiment, the first server 511 intercepts the first order service request that does not meet the processing condition, and directly returns the request failure information to the user side, so as to inform the user that the request is not satisfactory, and the request will not be processed. The first order service request may not be sent to the request processing module 110, reducing order processing time. The request failure information can be text information such as order failure or NO, and can also be animation or picture information.
In this embodiment, the processing conditions are requirements that the first order service request should satisfy, which are set in advance according to needs, for example, the order should be satisfied when the order service request is issued, the information is completely filled, and the like; the balance of the payment bank card is sufficient when the payment service request is satisfied.
By way of example, if the first order service request is an order service request, the first server 511 has set a kill-in-seconds condition to respond to the first 10 requests for order. The first server 511 receives the order service requests sent by the user side, returns information of successful order for the first 10 order service requests, and sends the first 10 order service requests to the request processing module 110. And returning the information of the order failure to the 11 th and following order service requests, and not processing the 11 th and following order service requests.
Specifically, the first server 511 sending a first order service request to the request processing module 110 includes:
s101, obtaining the current time t 1 The requestThe number of second order service requests in the processing module 110 is calculated, wherein the second order service requests are the order service requests already existing in the request processing module 110.
In this embodiment, before the first order service request is sent to the request processing module 110, the number of the existing order service requests in the request processing module 110 is acquired, and the existing order service requests are used as the second order service requests.
S102, judging the current time t 1 If the number of second order service requests in the request processing module 110 is less than a preset value.
In this embodiment, it is determined whether the number of the current second order service requests exceeds a preset value, if the number exceeds the preset value, which indicates that the order service requests in the request processing module 110 have reached the upper limit, the first order service request may not be sent to the request processing module 110 temporarily; if the number of second order service requests does not exceed the preset value, a first order service request may be sent to the request processing module 110.
In this embodiment, the preset value may be set according to the requirement or the performance of the request processing module 110.
S103, if the number of the second order service requests is smaller than a preset value, the first order service requests are sent to the request processing module 110.
S104, if the number of the second order service requests is equal to the preset value, redefining the current time T at preset time intervals T i The number of second order service requests in the request processing module 110 until the current time t i And when the number of the second order service requests in the request processing module 110 is smaller than the preset value, sending the first order service requests to the request processing module 110.
In this embodiment, if the number of second order service requests at the current time is equal to the preset value, the number of second order service requests may be acquired again after the preset time interval, and the relationship between the number of second order service requests and the preset value may be judged again until the first order service request may be sent to the request processing module 110.
In this embodiment of the present application, after receiving the first order service request, the first server 511 first determines whether the first order service request meets a processing condition, returns request success information when the processing condition is met, and sends the first order service request to the request processing module 110; when the first order service request does not meet the processing conditions, returning request failure information; the request processing module 110 is configured to receive a first order service request, and process the first order service request to generate order information; the first server 511 is utilized to screen the order, and when the first order service request meets the processing conditions, the request success information is directly returned to inform the user that the first order service request is successfully processed, and the request processing module 110 is utilized to continue processing the first order service request, so that the time for waiting for order processing by the user is saved, the user can receive the returned order result after placing an order, and the order placing time of the user is saved.
As shown in fig. 1, in one possible implementation, the request processing module 110 includes: a plurality of asynchronous data processing servers 111 and a plurality of second servers 112;
the asynchronous data processing server 111 is configured to receive and store the first order service requests sent by the first server 511, and distribute the first order service requests to the plurality of second servers 112 when the number of the first order service requests is greater than a preset number;
the second server 112 is configured to process the first order service request and generate corresponding order information.
In this embodiment, the preset number may be set as needed.
In this embodiment, the asynchronous data processing server 111 may perform asynchronous processing service through a message queue (rabitmq), and when the access amount is high, the user does not need to wait until the request is successfully processed, and then returns a processing result, and can immediately obtain feedback after the request is sent.
In this embodiment, the asynchronous data processing server 111 may include a plurality of first servers 511, and each group of first servers 511 is connected to one asynchronous data processing server 111.
The asynchronous data processing server 111 may store the first order service request in the form of a queue after receiving the first order service request, and the second server 112 may obtain the first order service request from the asynchronous data processing server 111 when the second server 112 needs to process the first order service request.
In this embodiment, each second server 112 may process one or more types of requests, and the asynchronous data processing server 111 may send the first order service request to a different second server 112 according to the request type of the first order service request.
It should be noted that, the order information generated by the second server may be returned to the user side, or may be returned to the user side when the user side queries the order information.
In this embodiment, the asynchronous data processing server 111 may store the first order service request when the access amount is high, without processing a large number of requests at the same time, thereby reducing the workload of the server and making the system run more smoothly.
As shown in fig. 1, in one possible implementation, the system further includes:
a first request distribution module 210, configured to receive an access request sent by a user side, and send the access request to a second request distribution module 310;
the second request distribution module 310 is configured to receive and respond to the access request, where the second request distribution module 310 is further configured to receive the first order service request sent by the user side, and send the first order service request to a corresponding first server 511 based on a request type of the first order service request, where each first server 511 correspondingly processes at least one type of order service request.
In this embodiment, the client may be a mobile phone client, a computer client, or a tablet client. The access request may be to open a certain web page or a certain APP.
In this embodiment, the second request distribution module 310 mainly distributes the access request and receives the first order service request.
As shown in fig. 1, in one possible implementation, the first request distribution module 210 includes: an authentication authorization server 212 and a first reverse proxy server 211;
the authentication and authorization server 212 is configured to authenticate and/or authorize the user terminal;
the first reverse proxy server 211 is configured to, when receiving access requests sent by a plurality of the clients, invoke the authentication and authorization server 212 to perform authentication and/or authorization processing on the clients to obtain a target client, and distribute the access request of the target client to the second request distribution module 310 based on a preset first distribution policy.
In this embodiment, the authentication authorization server 212 may perform unified authentication authorization on the client through a token verification (identity server 4) service, so as to ensure the security and reliability of data transmission.
The first reverse proxy server 211 (nginnx) may perform authentication and/or authorization processing on the client when receiving the access request, determine the client that can perform access, and then distribute the access request to the second request distribution module 310.
As shown in fig. 1, in one possible implementation, the second request distribution module 310 includes: second reverse proxy server 312 and a plurality of application servers 311
The application server 311 is configured to receive and respond to the access request sent by the first reverse proxy server 211, and send the first order service request to the second reverse proxy server 312 after receiving the first order service request sent by the target user side, where the first distribution policy includes a proportion of the number of the access requests distributed to each application server 311;
the second reverse proxy server 312 is configured to determine a request type of the first order service request, and distribute the first order service request to the corresponding first servers 511 based on the request type and a second distribution policy, where the second distribution policy includes a ratio of a type of the order service request processed by each first server 511 to a distribution number of the first servers 511 of the same type.
In the present embodiment, the plurality of application servers 311 may be provided with different information, or may be provided with the same information.
For example, the application server a may be provided with information of the application a, the application server B may be provided with information of the application a, and the application server may be provided with information of the application B.
In this embodiment, the first reverse proxy server 211 (nginnx) may, when receiving the access request, distribute the access request to the application server 311 according to the first distribution policy and the information to be accessed in the access request.
The first distribution policy may include a ratio of the number of requests that the respective application server 311 can process, and information piggybacked in each application server 311.
By way of example, if there are 3 azimuth requests simultaneously, respectively, application a, application B and application C are opened, the information in application server a and application server B is identical, and the comparison of the number of requests that application server a and application server B can process is 1:2. then application a may be distributed to application server a and application B and application C may be distributed to application server B.
After receiving the access request, the application server 311 responds to the access request and returns the content corresponding to the access request to the client, for example, the access request is to open the shopping website B, and after receiving the access request to open the shopping website B, the application server returns the page of the shopping website B to the client. When the application server returns information to the user, the information can be returned to the user side through the first reverse proxy server.
The application server 311 may also accept the first order service request from the user side, for example, the user a purchases the T-article through the W shopping website on the first user side, and places an order for the T-article, and then the application server 311 receives the order service request sent by the first user side for the T-article.
The application server 311, upon receiving the first order service request, sends the first order service request to the second reverse proxy server 312. The second reverse proxy server 312 (nmginx) analyzes the first order service request, determines a request type of the first order service request, and then distributes the first order service request to the corresponding first server 511. When distributing the first order service request, the application server 311 may distribute according to the type of request processed by the first server 511 and the processing capability of the first server 511.
By way of example, if the first order service request includes: the method comprises the steps of a first order service request, a second order service request, a third order server request and a payment service request. The first server C is used for processing the order server request, the first server D is used for processing the order server request, the first server E is used for processing the payment server request, and the ratio of the number of requests which can be processed by the first server C to the number of requests which can be processed by the first server D is 2:1. The second reverse proxy server may distribute the first and second order service requests to the first server C, the third order service request to the first server D, and the payment service request to the first server E.
In this embodiment, the first reverse proxy server 211 distributes the multiple access requests to different application servers 311, so that the pressure of the application servers 311 can be reduced and the working efficiency can be improved.
As shown in fig. 1, in one possible implementation, the system further includes:
an information storage module 410, configured to receive and store the order information sent by the request processing module 110.
Specifically, the information storage module 410 includes: a cache database 411 and a database;
the cache database 411 is configured to receive and store the order information sent by the request processing module 110.
And a database for receiving and storing the order information transmitted from the request processing module 110.
Specifically, the cache database 411 and the database are both used to receive and store the order information sent by the second server 112.
In this embodiment, a cache database 411 is provided to cache order information, and when a user views the order information, the user can directly call data from the cache database 411, so that the data call speed is faster. The cache database 411 may implement data caching through remote dictionary services (dis-Remote Dictionary Server).
In this embodiment, the database may include a main database and a plurality of sub databases. The database can be in a form of database and table separation, so that reading and writing are separated, and the service capability of the database is improved.
As shown in fig. 1, in one possible implementation, the system further includes: a configuration management server 611;
the configuration management server 611 is configured to store configuration information of the first server 511;
correspondingly, the first server 511 is further configured to:
the corresponding configuration information is acquired from the configuration management server 611.
In the present embodiment, the configuration management server 611 sets configuration information of the first server 511, and performs unified management on the configuration of the first server 511. The first server 511 having the same function may be provided as a set in the configuration management server 611. When a change is made to the configuration in the first server 511, the modification may be made directly in the configuration management server 611, and then the first server 511 reads the corresponding configuration information from the configuration management server 611.
The configuration management server 611 may uniformly manage configuration information of the first server 511 through a service registration and discovery (condul) tool.
Optionally, different configuration modules may be further disposed in the configuration management server 611, where each configuration module is the same, and each configuration module includes configuration information of all the first servers 511.
The configuration management server 611 may be connected to the second reverse proxy server 312, and distribute the read request of the first server 511 to different configuration modules through the second reverse proxy server 312, so as to reduce queuing when a large number of first servers 511 need to read configuration information.
By way of example, the configuration management server includes a first configuration module and a second configuration module, where the first configuration module and the second configuration module are identical. There are three first servers A, B, C that need to read configuration information, and a second reverse proxy server can distribute a and B to the first configuration module to read configuration information and C to the second configuration module to read configuration information.
In this embodiment, the configuration management module may further include configuration information of the second server 112. The second server 112 is further configured to read the corresponding configuration information from the configuration management module.
It should be noted that, the configuration management server and the second reverse proxy server may use different servers, or may use the same server.
In this embodiment, the configuration management server 611 manages the configuration information of the first servers 511 at the same time, so that the configuration management efficiency of the first servers 511 is improved, and compared with the modification of the configuration of each first server 511 in the prior art, the error rate can be reduced.
As shown in fig. 1, in one possible implementation, the system further includes a process management server 711;
the process management server 711 is configured to monitor the application processes of the first server 511 and the second server 112, and restart the first server 511 and/or the second server 112 with an exception when the application processes of the first server 511 and/or the second server 112 are abnormal.
In the present embodiment, the process management server 711 is used to manage application processes of the first server 511 and the second server 112. The process management server 711 can implement process management of each application service in the first server 511 and the second server 112 by a process management tool (Supervisord), and when an exception occurs in a certain process, the Supervisord tool restarts the server corresponding to the process. The normal and smooth operation of the server can be ensured, and the occurrence of manual misoperation is avoided.
Alternatively, a first server may correspond to a process management server, and a second server may correspond to a process management server.
It should be noted that the process management server may be disposed outside the first server or may be disposed inside the first server. Likewise, the process management server may be disposed outside the second server or inside the second server. The process management server may include a first management server for managing an application process of the first server and a second management server. The second management server is used for managing the application process of the second server.
As shown in fig. 1, in one possible implementation, the system further includes a log management server 811;
the log management server 811 is configured to acquire and store logs in the first server 511 and the second server 112.
In this embodiment, the log management server 811 may perform unified collection management on the logs in the first server 511 and the second server 112, and may check the operation parameters of the first server 511 and the second server 112 through the logs in the log management server 811, and may analyze whether the first server 511 and the second server 112 operate normally through the logs.
The log management server 811 may collect and manage logs using an open source log collection tool (ExceptionLess).
Alternatively, one first server may correspond to one log management server, and one second server may correspond to one log management server.
It should be noted that the log management server may be disposed outside the first server or may be disposed inside the first server. Likewise, the log management server may be disposed outside the second server or inside the second server. The log management server may include a third management server for managing the log in the first server and a fourth management server. The fourth management server is used for managing the log in the second server.
It should be noted that the above system can be extended indefinitely, meeting the requirements of different scenes, and meeting the requirements of high access, high security and high availability.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (9)

1. A system for processing an order service request, comprising: a request processing module and a first server;
the first server is used for receiving a first order service request, returning request success information when the first order service request meets processing conditions, sending the first order service request to the request processing module, and returning request failure information when the first order service request does not meet the processing conditions;
the request processing module is used for receiving the first order service request sent by the first server, processing the first order service request and generating order information of the first order service request;
the request processing module includes: an asynchronous data processing server and a plurality of second servers;
the asynchronous data processing server is used for receiving and storing the first order service requests sent by the first server, and distributing the first order service requests to the plurality of second servers when the number of the first order service requests is greater than a preset number;
the second server is configured to process the first order service request and generate corresponding order information.
2. The order service request processing system of claim 1, wherein the system further comprises:
the first request distribution module is used for receiving the access request sent by the user terminal and sending the access request to the second request distribution module;
the second request distribution module is used for receiving and responding to the access request, receiving the first order service request sent by the user side, and sending the first order service request to corresponding first servers based on the request type of the first order service request, wherein each first server correspondingly processes at least one type of order service request.
3. The order service request processing system of claim 2 wherein said first request distribution module comprises: an authentication authorization server and a first reverse proxy server;
the authentication and authorization server is used for authenticating and/or authorizing the user terminal;
the first reverse proxy server is used for calling the authentication and authorization server to perform authentication and/or authorization processing on the user side when receiving access requests sent by a plurality of user sides, obtaining a target user side, and sending the access requests of the target user side to the second request distribution module based on a preset first distribution strategy.
4. The order service request processing system of claim 3 wherein said second request distribution module comprises: a second reverse proxy server and a plurality of application servers;
the application server is configured to receive and respond to an access request sent by the first reverse proxy server, and send the first order service request to the second reverse proxy server after receiving a first order service request sent by the target user side, where the first distribution policy includes a proportion of the number of access requests distributed to each application server;
the second reverse proxy server is configured to determine a request type of the first order service request, and distribute the first order service request to a corresponding first server based on the request type and a second distribution policy, where the second distribution policy includes a ratio of a type of the order service request processed by each first server to a distribution number of first servers of the same type.
5. The order service request processing system of claim 1, wherein the system further comprises:
and the information storage module is used for receiving and storing the order information sent by the request processing module.
6. The order service request processing system of claim 5, wherein the information storage module comprises: caching a database;
the cache database is used for receiving and storing the order information sent by the request processing module.
7. The order service request processing system of claim 1, wherein the system further comprises: a configuration management server;
the configuration management server is used for storing configuration information of the first server;
correspondingly, the first server is further configured to:
and acquiring the corresponding configuration information from the configuration management server.
8. The order service request processing system of claim 1, wherein the system further comprises a process management server;
the process management server is used for monitoring the application processes of the first server and the second server, and restarting the first server and/or the second server with abnormality when the application processes of the first server and/or the second server are abnormal.
9. The order service request processing system of claim 1, wherein the system further comprises a log management server;
the log management server is used for acquiring and storing logs in the first server and the second server.
CN202011498030.1A 2020-12-17 2020-12-17 Order service request processing system Active CN112561650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011498030.1A CN112561650B (en) 2020-12-17 2020-12-17 Order service request processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011498030.1A CN112561650B (en) 2020-12-17 2020-12-17 Order service request processing system

Publications (2)

Publication Number Publication Date
CN112561650A CN112561650A (en) 2021-03-26
CN112561650B true CN112561650B (en) 2024-02-02

Family

ID=75064710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011498030.1A Active CN112561650B (en) 2020-12-17 2020-12-17 Order service request processing system

Country Status (1)

Country Link
CN (1) CN112561650B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1349339A2 (en) * 2002-03-26 2003-10-01 Hitachi, Ltd. Data relaying apparatus and system using the same
CN103020860A (en) * 2012-12-11 2013-04-03 中国农业银行股份有限公司 Banking business progress query method and business server
CN104753894A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Data processing method, device and system
EP3037965A1 (en) * 2014-12-22 2016-06-29 Oberthur Technologies Client-server communication
US9635135B1 (en) * 2008-04-21 2017-04-25 United Services Automobile Association (Usaa) Systems and methods for handling replies to transaction requests
CN107070858A (en) * 2016-12-21 2017-08-18 阿里巴巴集团控股有限公司 A kind of method for processing business and device
CN107295052A (en) * 2016-04-11 2017-10-24 阿里巴巴集团控股有限公司 A kind of method for processing business and device
CN107679931A (en) * 2017-08-17 2018-02-09 平安科技(深圳)有限公司 Method, apparatus, storage medium and the terminal of order asynchronous process
CN107809445A (en) * 2016-08-31 2018-03-16 阿里巴巴集团控股有限公司 Service request handling system, method and apparatus
CN111199401A (en) * 2020-01-07 2020-05-26 北京字节跳动网络技术有限公司 Information processing method, device, terminal, server and storage medium
WO2020133609A1 (en) * 2018-12-29 2020-07-02 网宿科技股份有限公司 Server abnormality processing method and management device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1349339A2 (en) * 2002-03-26 2003-10-01 Hitachi, Ltd. Data relaying apparatus and system using the same
US9635135B1 (en) * 2008-04-21 2017-04-25 United Services Automobile Association (Usaa) Systems and methods for handling replies to transaction requests
CN103020860A (en) * 2012-12-11 2013-04-03 中国农业银行股份有限公司 Banking business progress query method and business server
CN104753894A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Data processing method, device and system
EP3037965A1 (en) * 2014-12-22 2016-06-29 Oberthur Technologies Client-server communication
CN107295052A (en) * 2016-04-11 2017-10-24 阿里巴巴集团控股有限公司 A kind of method for processing business and device
CN107809445A (en) * 2016-08-31 2018-03-16 阿里巴巴集团控股有限公司 Service request handling system, method and apparatus
CN107070858A (en) * 2016-12-21 2017-08-18 阿里巴巴集团控股有限公司 A kind of method for processing business and device
WO2018113601A1 (en) * 2016-12-21 2018-06-28 阿里巴巴集团控股有限公司 Service processing method and apparatus
CN107679931A (en) * 2017-08-17 2018-02-09 平安科技(深圳)有限公司 Method, apparatus, storage medium and the terminal of order asynchronous process
WO2020133609A1 (en) * 2018-12-29 2020-07-02 网宿科技股份有限公司 Server abnormality processing method and management device
CN111199401A (en) * 2020-01-07 2020-05-26 北京字节跳动网络技术有限公司 Information processing method, device, terminal, server and storage medium

Also Published As

Publication number Publication date
CN112561650A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
US7653679B2 (en) Systems and methods for multi-stage message brokering
CN102857484B (en) A kind of method, system and device realizing single-sign-on
US20030126077A1 (en) Message brokering
CN101770669A (en) Bank automatic warning system and method thereof
CN111447102B (en) SDN network device access method and device, computer device and storage medium
CN111756644B (en) Hot spot current limiting method, system, equipment and storage medium
CN110445615B (en) Network request security verification method, device, medium and electronic equipment
US10693816B2 (en) Communication methods and systems, electronic devices, and computer clusters
US9264414B2 (en) Retry and snapshot enabled cross-platform synchronized communication queue
CN112953945B (en) Access request processing method and system
CN111343262B (en) Distributed cluster login method, device, equipment and storage medium
CN112561650B (en) Order service request processing system
CN110569178B (en) Interface early warning method and system based on big data platform
CN111414263A (en) Information processing method, device, server and storage medium
CN116842090A (en) Accounting system, method, equipment and storage medium
CN110826977A (en) Data updating method and device, computer equipment and storage medium
CN109492034A (en) Batch processing system, method, apparatus and storage medium
CN111681357B (en) User queuing method and device, face brushing equipment and service server
CN114371935A (en) Gateway processing method, gateway, device and medium
CN112965763B (en) Service processing system, method, device and storage medium
CN111833036B (en) Method, apparatus, device and computer readable medium for judging repeat transaction
CN114500025B (en) Account identifier acquisition method, device, server and storage medium
CN115208644A (en) Cloud server resource management method based on reverse proxy
CN117640754A (en) Request processing method, device, equipment and storage medium
CN117611161A (en) Data processing method, device, apparatus, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant