CN112905335A - Switching method for calling multiple sets of system same services and business processing system - Google Patents
Switching method for calling multiple sets of system same services and business processing system Download PDFInfo
- Publication number
- CN112905335A CN112905335A CN202110145774.3A CN202110145774A CN112905335A CN 112905335 A CN112905335 A CN 112905335A CN 202110145774 A CN202110145774 A CN 202110145774A CN 112905335 A CN112905335 A CN 112905335A
- Authority
- CN
- China
- Prior art keywords
- order
- switch
- state information
- product
- order 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a switching method for calling the same service of a plurality of sets of systems and a service processing system, wherein the method comprises the following steps: defining a switch through a configuration table in a service acceptance system, generating a product order when the service acceptance system accepts a product, reading state information of the switch, and storing the state information into the product order; according to the state information of the switch, sending the product order to a corresponding order processing system; in the order processing process, if a product order has a problem, returning to a service acceptance system, and if the product order has no problem, generating order processing logic and feeding back the order processing logic to the service acceptance system; after the retroversion order is modified, the retroversion order is sent to a corresponding order processing system according to the state information in the retroversion order; and processing the problem-free order by using order processing logic corresponding to the state information in the problem-free order. By the technical scheme of the invention, the switching of a plurality of sets of systems can be solved without stopping, and different processing logics are adapted.
Description
Technical Field
The invention relates to the technical field of telecommunication service, in particular to a switching method for calling the same service of a plurality of sets of systems and a service processing system capable of switching and calling the same service of the plurality of sets of systems.
Background
At present, in the existing government and enterprise business, the same commodity is sent to different systems in different time periods, the processing logic is different when different systems are called back, the current logic is solidified in a program, a server needs to be restarted after modification, and the in-transit order also has problems.
Examples are: the P product is accepted, the order sending and setting system S1 for the Monday-Friday docking orders, the system S2 for the Saturday-day docking orders, the system S1 for the Saturday-day docking orders and the system S2 call back the same service, the processing logics are different, S1 corresponds to order processing logic L1, and S2 corresponds to order processing logic L2; after a period of time, the system needs to be changed to the system of S2 on Monday to Friday and the system of S1 on Saturday and day. In this case, the modified process requires the server to be restarted, and the order that was rolled back after modification also creates problems due to changes to the docking system.
Disclosure of Invention
Aiming at the problems, the invention provides a switching method for calling the same service of a plurality of sets of systems and a service processing system, which accurately match and call different order processing systems by defining a switch in a configuration table of a database and process according to order processing logic corresponding to switch state information in a service order when the system is called back, thereby solving the switching of the plurality of sets of systems without stopping the machine and adapting to different processing logic.
In order to achieve the above object, the present invention provides a switching method for calling multiple sets of system same services, comprising: defining a switch in a service acceptance system through a configuration table, wherein the configuration table is stored in a database, and different states of the switch correspond to different order processing systems; when the service acceptance system accepts a product, generating a product order, reading the state information of the switch in the database, and storing the state information of the switch into the product order; according to the state information of the switch, the product order is sent to an order processing system corresponding to the state information; in the order processing system, in the order processing process, if a product order has a problem, returning to the service acceptance system, and if the product order has no problem, generating order processing logic and feeding back the order processing logic to the service acceptance system; the service acceptance system modifies the backspacing order and then sends the backspacing order to a corresponding order processing system according to the state information of a switch in the backspacing order; and the service acceptance system processes the problem-free order by using order processing logic fed back by the order processing system corresponding to the state information according to the state information of the switch in the problem-free order.
In the above technical solution, preferably, after the state of the switch is modified, the service acceptance system stores the modified switch state information into a product order of a new accepted product, and sends the product order of the new accepted product to an order processing system corresponding to the modified switch state information; and after the service acceptance system modifies the backspacing order, the modified order is sent to an order processing system corresponding to the original switch state information according to the original switch state information in the backspacing order.
In the above technical solution, preferably, the state of the switch is modified through a configuration table in the database.
In the above technical solution, preferably, different states of the switch correspond to different order processing systems one to one.
The invention also provides a service processing system capable of switching and calling the same service of a plurality of sets of systems, which applies the switching method for calling the same service of the plurality of sets of systems provided by any one of the above technical schemes and comprises the following steps: the system comprises a database, a service acceptance system and an order processing system; a configuration table is stored in the database, a switch is defined in the configuration table, and different states of the switch correspond to different order processing systems; when the service acceptance system accepts a product, generating a product order, reading the state information of the switch in the database, and storing the state information of the switch into the product order; according to the state information of the switch, the product order is sent to an order processing system corresponding to the state information; in the order processing system, in the order processing process, if a product order has a problem, returning to the service acceptance system, and if the product order has no problem, generating order processing logic and feeding back the order processing logic to the service acceptance system; the service acceptance system modifies the backspacing order and then sends the backspacing order to a corresponding order processing system according to the state information of a switch in the backspacing order; and the service acceptance system processes the problem-free order by using order processing logic fed back by the order processing system corresponding to the state information according to the state information of the switch in the problem-free order.
In the above technical solution, preferably, after the state of the switch is modified, the service acceptance system stores the modified switch state information into a product order of a new accepted product, and sends the product order of the new accepted product to an order processing system corresponding to the modified switch state information; and after the service acceptance system modifies the backspacing order, the modified order is sent to an order processing system corresponding to the original switch state information according to the original switch state information in the backspacing order.
In the above technical solution, preferably, the state of the switch is modified through a configuration table in the database.
In the above technical solution, preferably, different states of the switch correspond to different order processing systems one to one.
Compared with the prior art, the invention has the beneficial effects that: the switch is defined in the configuration table of the database, different order processing systems are accurately matched and called, and processing is carried out according to the order processing logic corresponding to the switch state information in the service order when the system is called back, so that switching of a plurality of sets of systems can be solved without stopping, and different processing logics are adapted.
Drawings
Fig. 1 is a logic diagram of a handover method for calling multiple sets of system-shared services according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The invention is described in further detail below with reference to the attached drawing figures:
as shown in fig. 1, the method for switching to call the same service of multiple sets of systems according to the present invention includes: defining a switch in a service acceptance system through a configuration table, wherein the configuration table is stored in a database, and different states of the switch correspond to different order processing systems; when the business acceptance system accepts a product, generating a product order, reading the state information of a switch in the database, and storing the state information of the switch into the product order; according to the state information of the switch, sending the product order to an order processing system corresponding to the state information; in the order processing process, if the product order has a problem, the order processing system returns to the service acceptance system, and if the product order has no problem, the order processing system generates order processing logic and feeds the order processing logic back to the service acceptance system; after the backspacing order is modified by the service acceptance system, the backspacing order is sent to a corresponding order processing system according to the state information of a switch in the backspacing order; and the service acceptance system processes the problem-free order by using order processing logic fed back by the order processing system corresponding to the state information according to the state information of the switch in the problem-free order.
In the embodiment, different order processing systems are accurately matched and called by defining the switch in the configuration table of the database, and processing is carried out according to the order processing logic corresponding to the switch state information in the service order when the system is called back, so that switching of a plurality of sets of systems can be solved without stopping, and different processing logics are adapted.
In the above embodiment, preferably, after the state of the switch is modified, the service acceptance system stores the modified switch state information into the product order of the newly accepted product, and sends the product order of the newly accepted product to the order processing system corresponding to the modified switch state information; and after the service acceptance system modifies the backspacing order, the modified order is sent to an order processing system corresponding to the original switch state information according to the original switch state information in the backspacing order.
In the above embodiment, preferably, the state of the switch is modified by a configuration table in the database.
In the above embodiment, preferably, different states of the switch correspond to different order processing systems one to one.
Specifically, according to the switching method for calling multiple sets of system same services proposed in the above embodiment, the specific implementation steps are as follows:
1. the business acceptance system S defines a switch, if the first state is O1, the order is sent to the order processing system S1, if the second state is O2, the order is sent to the order processing system S2, and the switch information is stored in a database to avoid restarting the service; assume that the switch is now in the first state O1;
2. ordering a product P, generating an order D1, reading the obtained state information O1 of the switch, storing O1 in the order information of D1, and sending the order D1 to S1;
3. adjusting the state of the switch to O2 (modifying the switch information of the database without restarting the service)
4. Ordering a product P, generating an order D2, reading obtained switch state information O2, storing O2 in the order information of D2, and sending an order D2 to a system S2 according to the switch state information O2 in the order D2;
5. if the order of D1 is modified at the moment, when the order is sent to the order processing system again, the order D1 is sent to the system S1 according to the switch state information O1 in the order D1;
6. the repeated modification ensures that the service acceptance system generates a product order according to the latest switching state information, and can process according to the corresponding processing method matched with the switching state information when the order is initially generated during call back.
The present invention further provides a service processing system capable of switching and calling multiple sets of system-based services, which applies the switching method for calling multiple sets of system-based services proposed in any of the above embodiments, and includes: the system comprises a database, a service acceptance system and an order processing system; a configuration table is stored in the database, a switch is defined in the configuration table, and different states of the switch correspond to different order processing systems; when the business acceptance system accepts a product, generating a product order, reading the state information of a switch in the database, and storing the state information of the switch into the product order; according to the state information of the switch, sending the product order to an order processing system corresponding to the state information; in the order processing process, if the product order has a problem, the order processing system returns to the service acceptance system, and if the product order has no problem, the order processing system generates order processing logic and feeds the order processing logic back to the service acceptance system; after the backspacing order is modified by the service acceptance system, the backspacing order is sent to a corresponding order processing system according to the state information of a switch in the backspacing order; and the service acceptance system processes the problem-free order by using order processing logic fed back by the order processing system corresponding to the state information according to the state information of the switch in the problem-free order.
In the embodiment, different order processing systems are accurately matched and called by defining the switch in the configuration table of the database, and processing is carried out according to the order processing logic corresponding to the switch state information in the service order when the system is called back, so that switching of a plurality of sets of systems can be solved without stopping, and different processing logics are adapted.
In the above embodiment, preferably, after the state of the switch is modified, the service acceptance system stores the modified switch state information into the product order of the newly accepted product, and sends the product order of the newly accepted product to the order processing system corresponding to the modified switch state information; and after the service acceptance system modifies the backspacing order, the modified order is sent to an order processing system corresponding to the original switch state information according to the original switch state information in the backspacing order.
In the above embodiment, preferably, the state of the switch is modified by a configuration table in the database.
In the above embodiment, preferably, different states of the switch correspond to different order processing systems one to one.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A switching method for calling a plurality of sets of system same services is characterized by comprising the following steps:
defining a switch in a service acceptance system through a configuration table, wherein the configuration table is stored in a database, and different states of the switch correspond to different order processing systems;
when the service acceptance system accepts a product, generating a product order, reading the state information of the switch in the database, and storing the state information of the switch into the product order;
according to the state information of the switch, the product order is sent to an order processing system corresponding to the state information;
in the order processing system, in the order processing process, if a product order has a problem, returning to the service acceptance system, and if the product order has no problem, generating order processing logic and feeding back the order processing logic to the service acceptance system;
the service acceptance system modifies the backspacing order and then sends the backspacing order to a corresponding order processing system according to the state information of a switch in the backspacing order;
and the service acceptance system processes the problem-free order by using order processing logic fed back by the order processing system corresponding to the state information according to the state information of the switch in the problem-free order.
2. The switching method for calling the same service of the multiple sets of systems according to claim 1, wherein after the state of the switch is modified, the service acceptance system stores the modified switch state information into a product order of a new accepted product, and sends the product order of the new accepted product to an order processing system corresponding to the modified switch state information;
and after the service acceptance system modifies the backspacing order, the modified order is sent to an order processing system corresponding to the original switch state information according to the original switch state information in the backspacing order.
3. The method of claim 2, wherein the state of the switch is modified by a configuration table in the database.
4. The switching method for calling the same service of a plurality of sets of systems according to any one of claims 1 to 3, wherein different states of the switch correspond to different order processing systems one to one.
5. A business processing system capable of switching and calling a plurality of sets of system-identical services, which applies the switching method for calling a plurality of sets of system-identical services according to any one of claims 1 to 4, comprising: the system comprises a database, a service acceptance system and an order processing system;
a configuration table is stored in the database, a switch is defined in the configuration table, and different states of the switch correspond to different order processing systems;
when the service acceptance system accepts a product, generating a product order, reading the state information of the switch in the database, and storing the state information of the switch into the product order;
according to the state information of the switch, the product order is sent to an order processing system corresponding to the state information;
in the order processing system, in the order processing process, if a product order has a problem, returning to the service acceptance system, and if the product order has no problem, generating order processing logic and feeding back the order processing logic to the service acceptance system;
the service acceptance system modifies the backspacing order and then sends the backspacing order to a corresponding order processing system according to the state information of a switch in the backspacing order;
and the service acceptance system processes the problem-free order by using order processing logic fed back by the order processing system corresponding to the state information according to the state information of the switch in the problem-free order.
6. The business processing system capable of switching and calling multiple sets of system-based services according to claim 5, wherein after the state of the switch is modified, the business processing system stores the modified switch state information into a product order of a newly processed product, and sends the product order of the newly processed product to an order processing system corresponding to the modified switch state information;
and after the service acceptance system modifies the backspacing order, the modified order is sent to an order processing system corresponding to the original switch state information according to the original switch state information in the backspacing order.
7. A business processing system that switchably invokes multiple sets of system-wide services according to claim 6, wherein the state of the switch is modified by a configuration table in the database.
8. A business processing system capable of switchably calling a plurality of sets of system-like services according to any one of claims 5 to 7, wherein different states of the switch correspond one-to-one to different order processing systems.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110145774.3A CN112905335B (en) | 2021-02-02 | 2021-02-02 | Switching method for calling same service of multiple sets of systems and business processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110145774.3A CN112905335B (en) | 2021-02-02 | 2021-02-02 | Switching method for calling same service of multiple sets of systems and business processing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112905335A true CN112905335A (en) | 2021-06-04 |
| CN112905335B CN112905335B (en) | 2023-11-10 |
Family
ID=76122556
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110145774.3A Active CN112905335B (en) | 2021-02-02 | 2021-02-02 | Switching method for calling same service of multiple sets of systems and business processing system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112905335B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113240499A (en) * | 2021-06-08 | 2021-08-10 | 京东数科海益信息科技有限公司 | Order processing method and device based on system switching |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6937993B1 (en) * | 1998-09-16 | 2005-08-30 | Mci, Inc. | System and method for processing and tracking telecommunications service orders |
| CN106961529A (en) * | 2016-01-08 | 2017-07-18 | 中国联合网络通信集团有限公司 | Worksheet method and communication service equipment |
| KR20170125261A (en) * | 2016-05-04 | 2017-11-14 | 주식회사 에이치티원 | Order management server supporting fail back function and method processing thereof |
| CN107464151A (en) * | 2016-06-02 | 2017-12-12 | 北京京东尚科信息技术有限公司 | The order data processing method and processing device of high concurrent business |
| CN107767204A (en) * | 2016-08-23 | 2018-03-06 | 北京京东尚科信息技术有限公司 | The method and system of batch modification order data object |
| CN109741150A (en) * | 2019-01-10 | 2019-05-10 | 上海携程商务有限公司 | Editing order method, system, equipment and storage medium |
| CN109902077A (en) * | 2018-12-29 | 2019-06-18 | 阿里巴巴集团控股有限公司 | A kind of service request processing method, device and equipment |
| US20190266557A1 (en) * | 2018-02-28 | 2019-08-29 | DoorDash, Inc. | System for dynamic effort-based delivery value predictive updates |
| CN110515741A (en) * | 2018-05-21 | 2019-11-29 | 北京京东尚科信息技术有限公司 | A kind of degradation processing method and device based on local task queue |
| CN110868395A (en) * | 2019-09-25 | 2020-03-06 | 恒鸿达科技有限公司 | Large concurrent service processing method, device and medium based on transceiving single frame |
| CN111314423A (en) * | 2020-01-17 | 2020-06-19 | 青梧桐有限责任公司 | MQ degradation processing method and system based on long-rental apartment task queue |
-
2021
- 2021-02-02 CN CN202110145774.3A patent/CN112905335B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6937993B1 (en) * | 1998-09-16 | 2005-08-30 | Mci, Inc. | System and method for processing and tracking telecommunications service orders |
| CN106961529A (en) * | 2016-01-08 | 2017-07-18 | 中国联合网络通信集团有限公司 | Worksheet method and communication service equipment |
| KR20170125261A (en) * | 2016-05-04 | 2017-11-14 | 주식회사 에이치티원 | Order management server supporting fail back function and method processing thereof |
| CN107464151A (en) * | 2016-06-02 | 2017-12-12 | 北京京东尚科信息技术有限公司 | The order data processing method and processing device of high concurrent business |
| CN107767204A (en) * | 2016-08-23 | 2018-03-06 | 北京京东尚科信息技术有限公司 | The method and system of batch modification order data object |
| US20190266557A1 (en) * | 2018-02-28 | 2019-08-29 | DoorDash, Inc. | System for dynamic effort-based delivery value predictive updates |
| CN110515741A (en) * | 2018-05-21 | 2019-11-29 | 北京京东尚科信息技术有限公司 | A kind of degradation processing method and device based on local task queue |
| CN109902077A (en) * | 2018-12-29 | 2019-06-18 | 阿里巴巴集团控股有限公司 | A kind of service request processing method, device and equipment |
| CN109741150A (en) * | 2019-01-10 | 2019-05-10 | 上海携程商务有限公司 | Editing order method, system, equipment and storage medium |
| CN110868395A (en) * | 2019-09-25 | 2020-03-06 | 恒鸿达科技有限公司 | Large concurrent service processing method, device and medium based on transceiving single frame |
| CN111314423A (en) * | 2020-01-17 | 2020-06-19 | 青梧桐有限责任公司 | MQ degradation processing method and system based on long-rental apartment task queue |
Non-Patent Citations (2)
| Title |
|---|
| JINWEN OU ET AL.: "Order acceptance and scheduling with consideration of service level", ANNALS OF OPERATIONS RESEARCH * |
| 马龙;: "基于JavaEE的订单管理系统", 智能城市, no. 02 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113240499A (en) * | 2021-06-08 | 2021-08-10 | 京东数科海益信息科技有限公司 | Order processing method and device based on system switching |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112905335B (en) | 2023-11-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108228814B (en) | Data synchronization method and device | |
| CN110912980B (en) | Order state synchronization method, system and storage medium | |
| CN114244894B (en) | Method, system, computer storage medium and electronic device for processing shutdown and resumption of computer services | |
| CN106230922A (en) | A kind of news subscribing method, message production unit and message reception units | |
| CN112905335A (en) | Switching method for calling multiple sets of system same services and business processing system | |
| US20250190951A1 (en) | Schedule information synchronization method and apparatus, and electronic device | |
| CN110941525A (en) | Data backlog early warning method and device | |
| CN112114976A (en) | Service processing method, device, equipment and storage medium | |
| CA3191232A1 (en) | Data monitoring method and device, computer equipment and storage medium | |
| EP4339767A1 (en) | Method and system for updating client configuration in timely manner | |
| CN112019689B (en) | Incoming call show service processing system and method | |
| CN108023936A (en) | A kind of distributed interface access control method and system | |
| CN110909048A (en) | Data query method, device, server, client and storage medium | |
| CN104821889B (en) | A kind of processing method and equipment of backup message | |
| CN110633914A (en) | Batch job scheduling processing method and device | |
| JP2019087098A (en) | Program and information processing device | |
| CN113590708A (en) | Adaptive delay consumption method, program product, and storage medium | |
| CN115866047B (en) | Data redirection method and device in multiparty security calculation and electronic equipment | |
| CN106961529A (en) | Worksheet method and communication service equipment | |
| CN111884769A (en) | Message synchronization method and device | |
| CN113205413B (en) | Mobile phone bank data processing method and device | |
| CN116860880A (en) | Data migration incremental data synchronization method and system based on message queue | |
| CN114327818B (en) | Algorithm scheduling method, device, equipment and readable storage medium | |
| CN114035928B (en) | Distributed task allocation processing method | |
| CN113076406A (en) | Information processing method and device |
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 |