Nothing Special   »   [go: up one dir, main page]

CN105976164B - Service data emergency switching system and processing method - Google Patents

Service data emergency switching system and processing method Download PDF

Info

Publication number
CN105976164B
CN105976164B CN201610291266.5A CN201610291266A CN105976164B CN 105976164 B CN105976164 B CN 105976164B CN 201610291266 A CN201610291266 A CN 201610291266A CN 105976164 B CN105976164 B CN 105976164B
Authority
CN
China
Prior art keywords
production system
order
service data
message string
data
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
CN201610291266.5A
Other languages
Chinese (zh)
Other versions
CN105976164A (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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201610291266.5A priority Critical patent/CN105976164B/en
Publication of CN105976164A publication Critical patent/CN105976164A/en
Application granted granted Critical
Publication of CN105976164B publication Critical patent/CN105976164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a business data emergency switching system and a processing method, wherein the processing method comprises the step of establishing data connection with a production system; configuring an order number for the service data according to the abnormal signal of the production system, and storing the order number in a table t 1; splicing the service data into a message string according to an abnormal signal of the production system, associating the message string with the order number in the table t1, and storing the associated message string in the table t 2; and scanning the order numbers in the table t1 one by one according to a recovery signal of the production system and sending the corresponding message string in the table t2 to the production system. The invention can simultaneously support two sets of production and emergency systems, the two sets of systems can be switched at any time, service acceptance is not influenced, portability and configurability are realized, data of the emergency switching system can be timely and accurately switched back to the production system, and seamless connection and smooth switching between the emergency switching system and the production system are realized.

Description

Service data emergency switching system and processing method
Technical Field
The invention mainly relates to the technical field of data processing, in particular to a service data emergency switching system and a processing method.
Background
When the production system is in an emergency such as downtime and the like, the production system cannot be recovered in a short time, and at the moment, the production system needs to be switched to an emergency system to ensure that key services can be normally accepted. After the emergency system is switched to, all business data are written into the emergency library, and after the production system is recovered, the data of the emergency system need to be written back to the production system.
Disclosure of Invention
The invention aims to solve the technical problem of providing a service data emergency switching system and a processing method, which can simultaneously support two sets of production and emergency systems, wherein the two sets of systems can be switched at any time, service acceptance is not influenced, the system has transportability and can be configured, the data of the emergency switching system can be timely and accurately switched back to the production system, and seamless connection and smooth switching between the emergency switching system and the production system are realized.
The technical scheme for solving the technical problems is as follows: a service data emergency switching system comprises a data transceiver module, an order creation module, an order data synchronization module and an order handling module,
the data transceiver module is used for establishing data connection with the production system, and sending a processing instruction and service data of the production system to the order creation module and the order data synchronization module when receiving an abnormal signal of the production system; the order handling module is also used for sending a switch-back instruction to the order handling module when receiving a recovery signal of the production system;
the order creating module is used for configuring an order number for the service data according to the processing instruction and storing the order number into a table t 1;
the order data synchronization module is used for splicing the service data into a message string according to the processing instruction, performing association processing on the message string and the order number in the table t1, and storing the associated message string in the table t 2;
and the order carrying module is used for scanning order numbers in the table t1 one by one according to the switching-back instruction and sending the corresponding message string in the table t2 to the production system through the data transceiver module.
The invention has the beneficial effects that: the system can simultaneously support two sets of production and emergency systems, the two sets of systems can be switched at any time, service acceptance is not influenced, transportability is realized, the system can be configured, data of the emergency switching system can be timely and accurately switched back to the production system, seamless connection between the emergency switching system and the production system is realized, and smooth switching is realized.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the order creation module comprises a configuration unit and a first storage unit,
the configuration unit is used for checking whether a preprocessing function is set or not after receiving the processing instruction, if so, calling the preprocessing function to preprocess the service data, and then configuring the order number for the preprocessed service data, otherwise, directly configuring the order number for the service data;
the first storage unit is used for storing the order number into the table t1 according to the configured ending processing function.
The beneficial effect of adopting the further scheme is that: each component can support preprocessing or ending processing through configuration, an ending processing function is configured on the emergency switching system, and the production system is not configured, so that the business order information is ensured to be recorded in the emergency switching system, but not recorded on the production system, and the public service data and the portability of programs are realized.
Further, the order data synchronization module comprises an assembling unit, a correlation unit and a second storage unit,
the assembling unit is used for assembling the service data into a message string according to the configured emergency synchronous zone bit after receiving the processing instruction, and setting an id number for the message string;
the association unit is used for associating the id number of the message string with the order number in the table t 1;
and the second storage unit is used for storing the associated message string into a table t 2.
The beneficial effect of adopting the further scheme is that: and an emergency synchronous marker bit is synchronously added to the service data, so that the landing data of the emergency switching system can be completely inquired and assembled together, and the landing data is synchronized to the production system in a message string format by combining the configured order numbers.
Further, the data transceiver module is also used for disconnecting the connection with the production system according to a disconnection signal sent by the production system.
The beneficial effect of adopting the further scheme is that: the smooth switching between the production system and the emergency switching system is ensured, and the data back-switching is timely and accurate.
Further, the format of the message string is xml format.
The beneficial effect of adopting the further scheme is that: the pressure of the emergency switching system is reduced, and the service data of the emergency switching system can be conveniently and quickly rolled back to the production system.
Another technical solution of the present invention for solving the above technical problems is as follows: a processing method for emergency switching of service data comprises the following steps:
step S1: establishing data connection with a production system;
step S2: configuring an order number for the service data according to the abnormal signal of the production system, and storing the order number into a table t 1;
step S3: splicing the service data into a message string according to an abnormal signal of the production system, associating the message string with the order number in the table t1, and storing the associated message string in the table t 2;
step S4: the order numbers in the table t1 are scanned one by one according to the recovery signal of the production system and the corresponding message strings in the table t2 are sent to the production system.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the specific steps for implementing step S2 are:
step S201: checking whether a preprocessing function is set according to an abnormal signal of the production system, if so, executing step S202, otherwise, executing step S203;
step S202: calling a preprocessing function to preprocess the service data;
step S203: configuring order numbers for the service data;
step S204: the order number is saved to the table t1 according to the configured end processing function.
Further, the specific steps for implementing step S3 are:
step S301: splicing the service data into a message string according to a recovery signal of the production system and the configured emergency synchronous flag bit, and setting an id number for the message string;
step S302: the id number of the message string is associated with the order number in the table t 1;
step S303: and storing the associated message string into a table t 2.
Further, after step S4, the method further includes the step of disconnecting the production system according to a disconnection signal sent by the production system.
Further, the format of the message string is xml format.
Drawings
FIG. 1 is a block diagram of a system of the present invention;
FIG. 2 is a process flow diagram of the method of the present invention;
fig. 3 is a flowchart of a method for implementing step S2 according to the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, a service data emergency switching system includes a data transceiver module, an order creation module, an order data synchronization module and an order handling module,
the data transceiver module is used for establishing data connection with the production system, and sending a processing instruction and service data of the production system to the order creation module and the order data synchronization module when receiving an abnormal signal of the production system; the order handling module is also used for sending a switch-back instruction to the order handling module when receiving a recovery signal of the production system;
the order creating module is used for configuring an order number for the service data according to the processing instruction and storing the order number into a table t 1;
the order data synchronization module is used for splicing the service data into a message string according to the processing instruction, performing association processing on the message string and the order number in the table t1, and storing the associated message string in the table t 2;
and the order carrying module is used for scanning order numbers in the table t1 one by one according to the switching-back instruction and sending the corresponding message string in the table t2 to the production system through the data transceiver module.
The order creation module includes a configuration unit and a first storage unit,
the configuration unit is used for checking whether a preprocessing function is set or not after receiving the processing instruction, if so, calling the preprocessing function to preprocess the service data, and then configuring the order number for the preprocessed service data, otherwise, directly configuring the order number for the service data; the method comprises the steps of calling a set preprocessing function to preprocess business data according to needs, configuring order numbers for the preprocessed business data, and directly configuring the order numbers for the business data if the preprocessing function is not set;
the first storage unit is used for storing the order number into the table t1 according to the configured ending processing function. And configuring an ending processing function on the emergency switching system, and not configuring the production system, so that the business order information can be ensured to be recorded in the emergency switching system, and the business data can be shared because the production system does not record the business order information.
The order data synchronization module comprises an assembling unit, a correlation unit and a second storage unit,
the splicing unit is used for splicing the service data into a message string according to the configured emergency synchronous flag bit after receiving the processing instruction, and setting i d numbers for the message string; an emergency synchronous marker bit is synchronously added to service data, so that the landing data of the emergency switching system can be completely inquired and assembled together, and the landing data is synchronized to a production system in a message string format by combining configured order numbers;
the association unit is used for associating the id number of the message string with the order number in the table t 1;
and the second storage unit is used for storing the associated message string into a table t 2.
The data transceiver module is also used for disconnecting the connection with the production system according to the disconnection signal sent by the production system.
The format of the message string is xml format.
As shown in fig. 2, a method for processing service data emergency handover includes the following steps:
step S1: establishing data connection with a production system;
step S2: configuring an order number for the service data according to the abnormal signal of the production system, and storing the order number into a table t 1;
step S3: splicing the service data into a message string according to an abnormal signal of the production system, associating the message string with the order number in the table t1, and storing the associated message string in the table t 2;
step S4: the order numbers in the table t1 are scanned one by one according to the recovery signal of the production system and the corresponding message strings in the table t2 are sent to the production system.
As shown in fig. 3, the specific steps for implementing step S2 are:
step S201: checking whether a preprocessing function is set according to an abnormal signal of the production system, if so, executing step S202, otherwise, executing step S203;
step S202: calling a preprocessing function to preprocess the service data;
step S203: configuring order numbers for the service data;
step S204: the order number is saved to the table t1 according to the configured end processing function.
The specific steps for implementing step S3 are:
step S301: splicing the service data into a message string according to a recovery signal of the production system and the configured emergency synchronous flag bit, and setting an id number for the message string;
step S302: the id number of the message string is associated with the order number in the table t 1;
step S303: and storing the associated message string into a table t 2.
After step S4, the method further includes the step of disconnecting the production system according to a disconnection signal sent by the production system.
The format of the message string is xml format.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. A service data emergency switching system is characterized by comprising a data receiving and sending module, an order creating module, an order data synchronization module and an order carrying module,
the data transceiver module is used for establishing data connection with the production system, and sending a processing instruction and service data of the production system to the order creation module and the order data synchronization module when receiving an abnormal signal of the production system; the order handling module is also used for sending a switch-back instruction to the order handling module when receiving a recovery signal of the production system;
the order creating module is used for configuring an order number for the service data according to the processing instruction and storing the order number into a table t 1;
the order creation module includes a configuration unit and a first storage unit,
the configuration unit is used for checking whether a preprocessing function is set or not after receiving the processing instruction, if so, calling the preprocessing function to preprocess the service data, and then configuring the order number for the preprocessed service data, otherwise, directly configuring the order number for the service data;
the first storage unit is used for storing the order number into a table t1 according to the configured ending processing function;
the order data synchronization module is used for splicing the service data into a message string according to the processing instruction, performing association processing on the message string and the order number in the table t1, and storing the associated message string in the table t 2; the order data synchronization module comprises an assembling unit, a correlation unit and a second storage unit,
the assembling unit is used for assembling the service data into a message string according to the configured emergency synchronous zone bit after receiving the processing instruction, and setting an id number for the message string;
the association unit is used for associating the id number of the message string with the order number in the table t 1;
the second storage unit is used for storing the associated message string into a table t 2;
and the order carrying module is used for scanning order numbers in the table t1 one by one according to the switching-back instruction and sending the corresponding message string in the table t2 to the production system through the data transceiver module.
2. The system of claim 1, wherein the data transceiver module is further configured to disconnect the production system according to a disconnection signal sent by the production system.
3. The system according to claim 1, wherein the format of the message string is xml format.
4. A processing method for emergency switching of service data is characterized by comprising the following steps:
step S1: establishing data connection with a production system;
step S2: configuring an order number for the service data according to the abnormal signal of the production system, and storing the order number into a table t 1; the specific steps for implementing step S2 are:
step S201: checking whether a preprocessing function is set according to an abnormal signal of the production system, if so, executing step S202, otherwise, executing step S203;
step S202: calling a preprocessing function to preprocess the service data;
step S203: configuring order numbers for the service data;
step S204: storing the order number into a table t1 according to the configured ending processing function;
step S3: splicing the service data into a message string according to an abnormal signal of the production system, associating the message string with the order number in the table t1, and storing the associated message string in the table t 2; the specific steps for implementing step S3 are:
step S301: splicing the service data into a message string according to a recovery signal of the production system and the configured emergency synchronous flag bit, and setting an id number for the message string;
step S302: the id number of the message string is associated with the order number in the table t 1;
step S303: storing the associated message string into a table t 2;
step S4: the order numbers in the table t1 are scanned one by one according to the recovery signal of the production system and the corresponding message strings in the table t2 are sent to the production system.
5. The method for handling emergency switching of service data according to claim 4, wherein after the step S4, the method further comprises the step of disconnecting the production system according to a disconnection signal sent by the production system.
6. The method as claimed in claim 4, wherein the format of the packet string is xml format.
CN201610291266.5A 2016-05-05 2016-05-05 Service data emergency switching system and processing method Active CN105976164B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610291266.5A CN105976164B (en) 2016-05-05 2016-05-05 Service data emergency switching system and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610291266.5A CN105976164B (en) 2016-05-05 2016-05-05 Service data emergency switching system and processing method

Publications (2)

Publication Number Publication Date
CN105976164A CN105976164A (en) 2016-09-28
CN105976164B true CN105976164B (en) 2020-06-26

Family

ID=56994639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610291266.5A Active CN105976164B (en) 2016-05-05 2016-05-05 Service data emergency switching system and processing method

Country Status (1)

Country Link
CN (1) CN105976164B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062255A (en) * 2018-01-08 2018-05-22 东莞嘉泰钟表有限公司 One kind is mutually related method for module in production management
CN110298758B (en) * 2019-07-09 2021-10-01 恒生电子股份有限公司 Order declaration method and device
CN111459701A (en) * 2020-04-07 2020-07-28 北京思特奇信息技术股份有限公司 Abnormal order detection processing system and method
CN113240499B (en) * 2021-06-08 2024-07-19 京东科技信息技术有限公司 Order processing method and device based on system switching

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571393A (en) * 2010-12-14 2012-07-11 中国移动通信集团江苏有限公司 Switching method and device between business support production system and emergency system
CN105282253A (en) * 2015-11-04 2016-01-27 湖南御家科技有限公司 Data document synchronization method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6286106B1 (en) * 1997-07-30 2001-09-04 Gateway, Inc. Computer power down upon emergency network notification

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571393A (en) * 2010-12-14 2012-07-11 中国移动通信集团江苏有限公司 Switching method and device between business support production system and emergency system
CN105282253A (en) * 2015-11-04 2016-01-27 湖南御家科技有限公司 Data document synchronization method and system

Also Published As

Publication number Publication date
CN105976164A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN105976164B (en) Service data emergency switching system and processing method
EP3213519B1 (en) Video stream synchronization
MX2021010448A (en) Method for processing live-streaming interaction video and server.
MX2021005578A (en) NF SERVICE CONSUMER RESTART DETECTION USING DIRECT SIGNALING BETWEEN NFs.
CN112235597B (en) Method and device for synchronous protection of streaming media live broadcast audio and video and computer equipment
US8639211B2 (en) Mobile communication method and radio base station
US10652944B2 (en) Apparatus and method to control reconnection of a terminal device to a wireless network via another wireless network
CN103491162B (en) Information sharing method based on mobile Internet and system
CN101938374A (en) System performance monitoring and alarming method and system
CN105897885A (en) Cross-network data transmission method and device
CN107484010A (en) A kind of video resource coding/decoding method and device
CN107294741A (en) notification method and system for video conference
CN103516667A (en) System, method and apparatus used for safety information data disaster recovery backup
KR101692909B1 (en) Method and system for providing video conference using screen mirroring
CN106200804B (en) Display method and system of intelligent terminal equipment
CN111049886A (en) Multi-region SDN controller data synchronization method, server and system
CN104618615A (en) Short message-based telephone conference system conference summary push method
CN103489119B (en) A kind of monitoring of the advertisement method, apparatus and system
CN102457498A (en) Method and device for switching instant messaging session
CN101478596B (en) Dual mode terminal and ultralong short message storage method
CN112910971B (en) Multi-station data synchronization method, device and system
CN105338174A (en) Contact person information synchronization method and device
CN101072136B (en) Method, device and system for detecting internal channel fault of communication network element
CN102571310B (en) The disaster recovery method of Voice Mail Service and device
CN115292293A (en) Data migration method and device of distributed cache system

Legal Events

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