CN112561650A - Order service request processing system - Google Patents
Order service request processing system Download PDFInfo
- Publication number
- CN112561650A CN112561650A CN202011498030.1A CN202011498030A CN112561650A CN 112561650 A CN112561650 A CN 112561650A CN 202011498030 A CN202011498030 A CN 202011498030A CN 112561650 A CN112561650 A CN 112561650A
- Authority
- CN
- China
- Prior art keywords
- server
- request
- order service
- service request
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 136
- 238000000034 method Methods 0.000 claims abstract description 48
- 230000008569 process Effects 0.000 claims description 41
- 238000013475 authorization Methods 0.000 claims description 10
- 230000002159 abnormal effect Effects 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims 1
- 238000012216 screening Methods 0.000 abstract description 3
- 238000004891 communication Methods 0.000 abstract description 2
- 230000004044 response Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241000412611 Consul Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Computational Linguistics (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
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 the 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 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 device, the first server is used for screening the orders, when the first order service request meets the processing condition, 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 used for continuously processing the first order service request, so that the time for the user to wait for order processing is saved, and the order placing time of the user is saved.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a processing system of an order service request.
Background
With the rapid development of computer science and technology, the performance of computer service systems is also continuously optimized to meet the increasing demands of users. The server is a device used for managing resources and providing computing services for users in a computer service system, can respond to and process received service requests, and has high data processing capacity and guaranteed service capacity.
Currently, in the financial industry, after a user places an order, the user needs to wait for the server to finish processing the order, and then the order placing result can be obtained. If the server has a long time to process the order, 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 of 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 system for processing an order service request, including: a request processing module and a plurality of first servers;
the first server 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, where the first server is further configured to return request failure information when the first order service request does not meet the processing condition;
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 the request processing module includes:
obtaining the current time t1The quantity of second order service requests in the request processing module is calculated, wherein the second order service requests are order service requests existing in the request processing module;
judging the current time t1Whether the quantity of second order service requests in the request processing module is smaller than a preset value or not is judged;
and if the quantity of the second order service requests is smaller than a preset value, sending the first order service requests to the request processing module.
One possibility in the first aspectIn the implementation manner of (2), the current time t is judged1If the number of the second order service requests in the request processing module is smaller than the preset value, the method further comprises the following steps:
if the number of the second order service requests is equal to the preset value, re-determining the current time T at a preset time interval TiThe number of second order service requests in the request processing module until the current time tiAnd if the quantity of the second order service requests in the request processing module is smaller than the preset value, sending the first order service request to the request processing module.
Compared with the prior art, the embodiment of the application has the advantages that: in the method, after receiving a first order service request, a first server firstly judges whether the first order service request meets processing conditions, and when the first order service request meets the processing conditions, returns request success information and sends the first order service request to a request processing module; when the first order service request does not meet the processing condition, 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 device, the first server is used for screening the orders, when the first order service request meets the processing condition, the request success information is directly returned to inform the user that the first order service request is successfully processed, the request processing module is used for continuously processing the first order service request, the time for the user to wait for order processing 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 in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a system for processing an order service request 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 structures, 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 will 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 and includes any and all possible combinations of one or more of the associated listed items.
As used in the specification of this application and the appended claims, the term "if" may be interpreted contextually as "when … …" or "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this 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 present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Fig. 1 shows a schematic diagram of a processing system for order service requests provided by the present application, and with reference 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, the request success information is used to show a result of request success to a user before processing of the first order service request is completed, and the request failure information is used to show 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 a plurality of first servers 511, and each first server 511 processes a type of order, for example, server a may be used for processing an order placing order, and server B may be used for processing a payment order.
The first server 511 is further configured to filter the first order service request, and send the first order service request meeting the processing condition to the request processing module 110. At the same time, the first server 511 returns a request success message. After receiving the request success information returned by the first server 511, the user end may show the request to the user, and after checking and receiving the request, the user may know that the order has been successfully processed, and may not wait until the request processing module 110 completes processing the first order service request, and may obtain a processing result for the order before the request processing module 110 completes processing the first order service request. The request success information may be text information such as order placing success or OK, and may 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 an order number, an order completion time, and the like.
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 satisfy the processing condition, and directly returns a request failure message to the user side, so as to inform the user that the request does not satisfy the requirement, and the request is not processed. The first order service request may not be sent to the request processing module 110, reducing order processing time. The request failure information may be text information such as order placing failure or NO, and may also be animation or picture information.
In this embodiment, the processing condition is a requirement that the first order service request should meet, which is set in advance according to needs, for example, the order placing sequence should be met when the order placing service request is made, the information is completely filled, and the like; and the balance of the payment bank card is sufficient when the payment service is requested, and the like.
As an example, if the first order service request is an order placing service request, the second kill condition is set in the first server 511 to respond to the top 10 order placing requests. The first server 511 receives the order placing service requests sent by the user side, returns the information of successful order placing to the first 10 order placing service requests, and sends the first 10 order placing service requests to the request processing module 110. And returning the information of ordering failure to the 11 th and later ordering service requests without processing the 11 th and later ordering service requests.
Specifically, the sending, by the first server 511, the first order service request to the request processing module 110 includes:
s101, obtaining the current time t1The number of second order service requests in the request processing module 110, where the second order service requests are order service requests already existing in the request processing module 110.
In this embodiment, before sending the first order service request to the request processing module 110, the number of the order service requests already existing in the request processing module 110 is obtained, and the already existing order service requests are used as the second order service requests.
S102, judging the current time t1Whether the number of the second order service requests in the request processing module 110 is smaller than a preset value.
In this embodiment, it is determined whether the number of the current second order service requests exceeds a preset value, and if the number of the current second order service requests exceeds the preset value, it 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, the first order service request may be transmitted 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, sending the first order service request to the request processing module 110.
S104, if the number of the second order service requests is equal to the preset value, re-determining the current time T at a preset time interval TiThe number of second order service requests in the request processing module 110 until the current time tiIf the number of the second order service requests in the request processing module 110 is smaller than the preset value, the first order service request is sent to the request processing module 110.
In this embodiment, if the number of the second order service requests at the current time is equal to the preset value, the number of the second order service requests may be obtained again after the preset time interval, and the relationship between the number of the second order service requests and the preset value may be determined again until the first order service request may be sent to the request processing module 110.
In this embodiment, after receiving the first order service request, the first server 511 first determines whether the first order service request meets the processing condition, and when the processing condition is met, returns a request success message and sends the first order service request to the request processing module 110; when the first order service request does not meet the processing condition, returning request failure information; the request processing module 110 is configured to receive the first order service request, and process the first order service request to generate order information; according to the method and the device, the first server 511 is used for screening the orders, when the first order service request meets the processing condition, the request success information is directly returned to inform the user that the first order service request is successfully processed, the request processing module 110 is used for continuously processing the first order service request, the time for the user to wait for order processing is saved, the user can receive the returned order result after placing the 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 request sent by the first server 511, and distribute the first order service request 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 the present 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 (RabbitMQ), and when the access volume is high, the user does not have to wait for the request to be processed successfully before returning the processing result, and may obtain feedback immediately after the request is sent out, store the request that is not processed during high access through the RabbitMQ, and process the request in the RabbitMQ by the server at the rear side, thereby implementing functions of traffic peak clipping, asynchronous processing, and application decoupling.
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.
After receiving the first order service request, the asynchronous data processing server 111 may store the first order service request in a form of a queue, and when the second server 112 needs to process the first order service request, the second server 112 may obtain the first order service request from the asynchronous data processing server 111.
In this embodiment, each second server 112 may process one or more types of requests, and the asynchronous data processing server 111 may transmit 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 the embodiment of the application, the asynchronous data processing server 111 can store the first order service request in high access amount, and does not need to process a large number of requests at the same time, so that the workload of the server is reduced, and the system can run more smoothly.
As shown in fig. 1, in one possible implementation, the system further includes:
the first request distribution module 210 is configured to receive an access request sent by a user side, and send the access request to the second request distribution module 310;
the second request distributing module 310 is configured to receive and respond to the access request, and the second request distributing 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 manner, 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 side;
the first reverse proxy server 211 is configured to, when receiving access requests sent by multiple user terminals, invoke the authentication and authorization server 212 to perform authentication and/or authorization processing on the user terminals to obtain a target user terminal, and distribute the access request of the target user terminal to the second request distribution module 310 based on a preset first distribution policy.
In this embodiment, the authentication and authorization server 212 may perform uniform authentication and authorization on the client through a token authentication (identity server4) service, so as to ensure the security and reliability of data transmission.
The first reverse proxy server 211(Nginx) may authenticate and/or authorize the user side when receiving the access request, determine a client side that can access, and then distribute the access request to the second request distribution module 310.
As shown in fig. 1, in one possible implementation manner, the second request distribution module 310 includes: a 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 a 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 ratio of the number of 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 correspondingly processed by each first server 511 to a distribution quantity of the first servers 511 of the same type.
In the present embodiment, the plurality of application servers 311 may carry different information or the same information.
For example, the application server a may be loaded with information of the application a, the application server B may be loaded with information of the application a, and the application server B may be loaded with information of the application B.
In this embodiment, the first reverse proxy server 211(Nginx) may 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 when receiving the access request.
The first distribution policy may include a ratio of the number of requests that can be processed by the respective application servers 311, and information piggybacked in each application server 311.
As an example, if there are 3 orientation requests simultaneously, i.e. respectively opening application a, application B and application C, the information in application server a and application server B are identical, and the comparison of the number of requests that application server a and application server B can handle is 1: 2. 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 receive a first order service request from the user side, for example, if the user a purchases a T item through a shopping website on the first user side and places an order for the T item, the application server 311 receives the order placing service request for the T item sent by the first user side.
After receiving the first order service request, the application server 311 sends the first order service request to the second reverse proxy server 312. The second reverse proxy server 312(Nginx) 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. The application server 311 may perform the distribution according to the type of the request processed by the first server 511 and the processing capability of the first server 511 when the first order service request is distributed.
By way of example, if the first order service request includes: a first ordering service request, a second ordering service request, a third ordering 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 the requests which can be processed by the first server C and the first server D is 2: 1. The second reverse proxy server may distribute the first order service request and the second order service request 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 the embodiment of the present application, 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 work 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 the database is used for receiving and storing the order information sent by the request processing module 110.
Specifically, the cache database 411 and the database are both used for receiving and storing the order information sent by the second server 112.
In this embodiment, the cache database 411 is configured to cache the order information, and when the user views the order information, the user may 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 a Remote Dictionary service (Redis-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 sub-database and sub-table, 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, 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 this 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 with the same function may be configured as a set in the configuration management server 611. When the configuration in the first server 511 is changed, the modification may be directly performed 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 collectively manage the configuration information of the first server 511 through a service registration and discovery (Consul) tool.
Optionally, different configuration modules may be further set 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 the second reverse proxy server 312 distributes the read request of the first server 511 to different configuration modules, so as to reduce the phenomenon that a large number of first servers 511 need to wait in line when they need to read configuration information.
By way of example, the configuration management server includes a first configuration module and a second configuration module, and the first configuration module and the second configuration module are identical. There are three first servers A, B, C that need to read the configuration information, and the second reverse proxy server may distribute a and B to the first configuration module to read the configuration information and distribute C to the second configuration module to read the configuration information.
In this embodiment, the configuration management module may further include configuration information of the second server 112. The second server 112 is also used for reading 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 the embodiment of the present application, the configuration management server 611 manages the configuration information of the first server 511, so that the configuration management efficiency of the first server 511 is improved, and compared with the prior art in which the configuration of each first server 511 is modified, 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 in which the application processes are abnormal when the application processes of the first server 511 and/or the second server 112 are abnormal.
In this embodiment, the process management server 711 is used for managing application processes of the first server 511 and the second server 112. The process management server 711 may implement process management of each application service in the first server 511 and the second server 112 through a process management tool (hypervisor), and restart a server corresponding to a process through the hypervisor tool when the process is abnormal. The server can be ensured to normally and smoothly operate, 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. Similarly, the process management server may be provided outside the second server or inside the second server. The process management server may include a first management server for managing application processes 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 obtain 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, may view 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 (exceptino less).
Alternatively, a first server may correspond to a log management server, and a second server may correspond to a log management server.
The log management server may be disposed outside the first server, or may be disposed inside the first server. Similarly, the log management server may be provided outside the second server or may be provided 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. And the fourth management server is used for managing the log in the second server.
It should be noted that the above system can be infinitely expanded, meet the requirements of different scenarios, and meet the requirements of high access volume, high security, and high availability.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A system for processing an order service request, comprising: the system comprises 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, and sending the first order service request to the request processing module, and the first server is also used for 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.
2. The system for processing an order service request of claim 1, wherein the request processing module comprises: 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 larger than a preset number;
and the second server is used for processing the first order service request and generating corresponding order information.
3. The system for processing an order service request of claim 1, wherein the system further comprises:
the first request distribution module is used for receiving an access request sent by a user side and sending the access request to the second request distribution module;
the second request distribution module is configured to receive and respond to the access request, and 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 based on a request type of the first order service request, where each first server correspondingly processes at least one type of order service request.
4. The system for processing an order service request of claim 3, wherein the first request distribution module comprises: an authentication and authorization server and a first reverse proxy server;
the authentication and authorization server is used for authenticating and/or authorizing the user side;
the first reverse proxy server is configured to, when receiving access requests sent by a plurality of user sides, invoke the authentication and authorization server to perform authentication and/or authorization processing on the user sides to obtain target user sides, and send the access requests of the target user sides to the second request distribution module based on a preset first distribution policy.
5. The system for processing an order service request of claim 4, wherein the 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 the access request sent by the first reverse proxy server, and send the first order service request to the second reverse proxy server 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 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 the corresponding first servers 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 and a distribution quantity of the first servers of the same type.
6. The system for processing an order service request 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.
7. The system for processing an order service request of claim 6, wherein the information storage module comprises: caching a database;
and the cache database is used for receiving and storing the order information sent by the request processing module.
8. The system for processing an order service request of claim 1, wherein the system further comprises: configuring a management server;
the configuration management server is used for storing the 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.
9. The system for processing an order service request of claim 2, 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 abnormal first server and/or second server when the application processes of the first server and/or second server are abnormal.
10. The system for processing an order service request of claim 2, 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.
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 true CN112561650A (en) | 2021-03-26 |
CN112561650B 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)
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 |
-
2020
- 2020-12-17 CN CN202011498030.1A patent/CN112561650B/en active Active
Patent Citations (13)
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 |
US20190045029A1 (en) * | 2016-04-11 | 2019-02-07 | Alibaba Group Holding Limited | Service processing method 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 |
---|---|
CN112561650B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7653679B2 (en) | Systems and methods for multi-stage message brokering | |
US7523164B2 (en) | Systems and methods for transaction messaging brokering | |
KR20220079958A (en) | Blockchain message processing method and device, computer and readable storage medium | |
US6038603A (en) | Processing customized uniform resource locators | |
CN111225069B (en) | Distributed market data processing system and method | |
EP4161012A1 (en) | Authentication method and apparatus, electronic device, server, program, and storage medium | |
CN112953945B (en) | Access request processing method and system | |
CN111475795A (en) | Method and device for unified authentication and authorization facing to multiple applications | |
CN110445615B (en) | Network request security verification method, device, medium and electronic equipment | |
CN111641563B (en) | Flow self-adaption method and system based on distributed scene | |
CN111935227A (en) | Method for uploading file through browser, browser and electronic equipment | |
CN114422139B (en) | API gateway request security verification method, device, electronic equipment and computer readable medium | |
CN111666745A (en) | File downloading method, device, server and medium | |
CN111343262A (en) | Distributed cluster login method, device, equipment and storage medium | |
CN110826977A (en) | Data updating method and device, computer equipment and storage medium | |
CN111241523B (en) | Authentication processing method, device, equipment and storage medium | |
US20240205020A1 (en) | Data Storage Method, Apparatus, and System, Storage Medium, and Program Product | |
CN106612263B (en) | Method and equipment for processing application access request | |
CN113905091A (en) | Method and device for processing access request | |
CN110569178B (en) | Interface early warning method and system based on big data platform | |
CN112561650B (en) | Order service request processing system | |
CN116842090A (en) | Accounting system, method, equipment and storage medium | |
CN116319810A (en) | Flow control method, device, equipment, medium and product of distributed system | |
CN114331445A (en) | API (application programming interface), method, storage medium and electronic equipment for accessing massive users | |
CN110430211B (en) | Virtualization cloud desktop system and operation method |
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 |