CN112256712A - Sub-instruction processing method and system for flow management, storage medium and electronic equipment - Google Patents

Sub-instruction processing method and system for flow management, storage medium and electronic equipment Download PDF

Info

Publication number
CN112256712A
CN112256712A CN202011127418.0A CN202011127418A CN112256712A CN 112256712 A CN112256712 A CN 112256712A CN 202011127418 A CN202011127418 A CN 202011127418A CN 112256712 A CN112256712 A CN 112256712A
Authority
CN
China
Prior art keywords
instruction
sub
processing
state
instructions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011127418.0A
Other languages
Chinese (zh)
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 CN202011127418.0A priority Critical patent/CN112256712A/en
Publication of CN112256712A publication Critical patent/CN112256712A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • 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
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/60Business processes related to postal services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a flow management sub-instruction processing method, a flow management sub-instruction processing system, a flow management sub-instruction processing storage medium and electronic equipment, and relates to the field of computer business operation support systems. The method comprises the following steps: step 1, monitoring an instruction list in workflow management in real time; step 2, when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the instruction into a sub-instruction service platform in the workflow management; step 3, generating instance information of the sub-instruction according to the instruction sequence; and 4, monitoring the instance information in real time, processing the instance information in a state to be processed, and updating a processing result into the instruction list. The invention can solve the problems that the opening process and the instruction translation service are increasingly complex and are inconvenient for later development and maintenance, and achieves the effects of making up the limitation of the instruction processing mode in the workflow management system, expanding the function of the workflow management system and supporting configuration.

Description

Sub-instruction processing method and system for flow management, storage medium and electronic equipment
Technical Field
The invention relates to the field of computer business operation support systems, in particular to a flow management sub-instruction processing method, a flow management sub-instruction processing system, a flow management sub-instruction processing storage medium and electronic equipment.
Background
In recent years, the development of telecommunication services is accelerated, including the popularization of services such as one-number double-terminal, voLTE, number portability and the like, external interface platforms and functions are continuously increased, service function instructions relate to interaction among multiple network elements, and strict requirements are placed on instruction opening sequences. The simple dependence on the original instruction generation method leads to increasingly complex opening processes and instruction translation services, and is inconvenient for later development and maintenance.
Disclosure of Invention
The invention provides a flow management sub-instruction processing method, a flow management sub-instruction processing system, a flow management sub-instruction processing storage medium and an electronic device, aiming at the defects of the prior art.
The technical scheme for solving the technical problems is as follows: a method for processing sub-instructions of flow management comprises the following steps:
step 1, monitoring an instruction list in workflow management in real time;
step 2, when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the instruction into a sub-instruction service platform in the workflow management;
step 3, generating instance information of the sub-instruction according to the instruction sequence;
and 4, monitoring the instance information in real time, processing the instance information in a state to be processed, and updating a processing result into the instruction list.
The invention has the beneficial effects that: the instruction list is monitored to find and process in time in real time, the processing efficiency of the whole method is improved, and data to be processed can be accurately obtained through real-time monitoring of instance information, so that the limitation of an instruction processing mode in a workflow management system can be effectively overcome, the functions of the workflow management system are expanded, configuration is supported, and meanwhile, later development and maintenance personnel can conveniently understand the existing business processing flow and the related external interface platform.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, step 1 is preceded by: and generating virtual instructions corresponding to the sub-instructions in advance, and integrating the virtual instructions to generate an instruction list.
The method has the advantages that the corresponding virtual instruction is generated for the sub-instructions before the method is used, and the virtual instructions are integrated and the instruction list is generated at the same time, so that the speed in the execution process can be effectively improved, and the instructions can be conveniently updated and searched.
Further, step 2 specifically comprises: and when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the virtual instruction into a sub-instruction service platform in the workflow management system.
The method has the advantages that when the state of the instruction is judged to be sent, the instruction is processed, so that the time for processing unnecessary instructions by the system can be shortened, the possibility of occupied processing lines is reduced, and the possibility of processing all instructions blindly by the system is avoided.
Further, step 3 specifically comprises: and the sub-instruction service platform analyzes the instruction sequence, calls an interface corresponding to the instruction sequence through an instruction code in the instruction sequence and generates instance information, wherein the instance information comprises a main table and a detailed table.
The method has the advantages that the instruction code of the instruction can be quickly determined through analyzing the instruction sequence, the processing rate of the instruction can be greatly improved through calling the corresponding interface through the instruction code, and in addition, the generated example information is beneficial to recording and monitoring the processing result of the instruction in real time in the subsequent processing process and is convenient to call in the future.
Further, step 4 specifically comprises: and monitoring the main table in real time, processing the data with the state to be processed in the main table, and updating the state in the main table to be in execution.
The beneficial effect of adopting the above further scheme is that the real-time monitoring main table can quickly judge which sub-instructions need to be processed, and timely calls the corresponding processing interface to process, and in addition, the state in the main table is updated in real time, so that the processing state of each instruction can be conveniently checked, and the whole flow is clear.
Further, step 4 is followed by:
and 5, calling an interface corresponding to the data with the executing state in the detail table, processing the data with the to-be-processed state in the main table, and updating the processing result to the main table and the detail table.
The main table and the detail table are separated to achieve the purpose of synchronous operation without mutual interference, and in addition, the main table and the detail table are synchronously updated on the processed data to enable the processing flow to be clearer.
Further, step 5 further comprises: and when the state in execution waiting exists in the main table, judging whether the execution of the network element side of the data in execution waiting is successful, if so, updating the state of the main table, filing the instance information and updating the state in the instruction table.
The method has the advantages that the data in the waiting state is not processed in a consistent standing mode, whether the next processing can be carried out or not is finally judged by checking the data network element side, so that the problem of state updating errors of the data caused by network reasons is solved, and unnecessary resource occupation can be timely and effectively cleared.
Further, step 2 also includes: and when the sub-instruction state in the instruction list is to be sent, repeating the step 1 until the sub-instruction state is found to be sent.
The method has the advantages that the state in the instruction list is monitored in real time, so that data resources are not missed, instructions to be processed can be found in the first time, integrity of all data is guaranteed, and processing speed is improved.
Another technical solution of the present invention for solving the above technical problems is as follows: a flow managed sub-instruction processing system, comprising:
the monitoring module is used for monitoring an instruction list in the workflow management in real time;
the judging module is used for inputting the instruction sequence of the instruction to an instruction service platform in the workflow management when the state of the instruction in the instruction list is to be sent;
the generating module is used for generating the instance information of the sub-instruction according to the instruction sequence;
and the processing module is used for monitoring the instance information in real time, processing the instance information in a state to be processed and updating a processing result into the instruction list.
The invention has the beneficial effects that: the instruction list is monitored to find and process in time in real time, the processing efficiency of the whole method is improved, and data to be processed can be accurately obtained through real-time monitoring of instance information, so that the limitation of an instruction processing mode in a workflow management system can be effectively overcome, the functions of the workflow management system are expanded, configuration is supported, and meanwhile, later development and maintenance personnel can conveniently understand the existing business processing flow and the related external interface platform.
Further, still include: and the presetting module is used for generating virtual instructions corresponding to the sub-instructions in advance, integrating the virtual instructions and generating an instruction list.
The method has the advantages that the corresponding virtual instruction is generated for the sub-instructions before the method is used, and the virtual instructions are integrated and the instruction list is generated at the same time, so that the speed in the execution process can be effectively improved, and the instructions can be conveniently updated and searched.
Further, the judging module is specifically configured to: and when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the virtual instruction into a sub-instruction service platform in the workflow management system.
The method has the advantages that when the state of the instruction is judged to be sent, the instruction is processed, so that the time for processing unnecessary instructions by the system can be shortened, the possibility of occupied processing lines is reduced, and the possibility of processing all instructions blindly by the system is avoided.
Further, the generation module is specifically configured to: and the sub-instruction service platform analyzes the instruction sequence, calls an interface corresponding to the instruction sequence through an instruction code in the instruction sequence and generates instance information, wherein the instance information comprises a main table and a detailed table.
The method has the advantages that the instruction code of the instruction can be quickly determined through analyzing the instruction sequence, the processing rate of the instruction can be greatly improved through calling the corresponding interface through the instruction code, and in addition, the generated example information is beneficial to recording and monitoring the processing result of the instruction in real time in the subsequent processing process and is convenient to call in the future.
Further, the processing module is specifically configured to: and monitoring the main table in real time, processing the data with the state to be processed in the main table, and updating the state in the main table to be in execution.
The beneficial effect of adopting the above further scheme is that the real-time monitoring main table can quickly judge which sub-instructions need to be processed, and timely calls the corresponding processing interface to process, and in addition, the state in the main table is updated in real time, so that the processing state of each instruction can be conveniently checked, and the whole flow is clear.
Further, still include: a calling module to: and calling an interface corresponding to the data with the executing state in the detail table, processing the data with the to-be-processed state in the main table, and updating the processing result to the main table and the detail table.
The main table and the detail table are separated to achieve the purpose of synchronous operation without mutual interference, and in addition, the main table and the detail table are synchronously updated on the processed data to enable the processing flow to be clearer.
Further, the calling module is further configured to: and when the state in execution waiting exists in the main table, judging whether the execution of the network element side of the data in execution waiting is successful, if so, updating the state of the main table, filing the instance information and updating the state in the instruction table.
The method has the advantages that the data in the waiting state is not processed in a consistent standing mode, whether the next processing can be carried out or not is finally judged by checking the data network element side, so that the problem of state updating errors of the data caused by network reasons is solved, and unnecessary resource occupation can be timely and effectively cleared.
Further, the judging module is further configured to: and when the sub-instruction state in the instruction list is to be sent, repeatedly monitoring the instruction list in the workflow management in real time until the sub-instruction state is to be sent.
The method has the advantages that the state in the instruction list is monitored in real time, so that data resources are not missed, instructions to be processed can be found in the first time, integrity of all data is guaranteed, and processing speed is improved.
Another technical solution of the present invention for solving the above technical problems is as follows: a storage medium, wherein instructions are stored in the storage medium, and when the instructions are read by a computer, the instructions cause the computer to execute a sub-instruction processing method based on workflow management according to any one of the above aspects.
The invention has the beneficial effects that: the instruction list is monitored to find and process in time in real time, the processing efficiency of the whole method is improved, and data to be processed can be accurately obtained through real-time monitoring of instance information, so that the limitation of an instruction processing mode in a workflow management system can be effectively overcome, the functions of the workflow management system are expanded, configuration is supported, and meanwhile, later development and maintenance personnel can conveniently understand the existing business processing flow and the related external interface platform.
Another technical solution of the present invention for solving the above technical problems is as follows: an electronic device, comprising a memory, a processor and a program stored in the memory and running on the processor, wherein the processor implements the steps of a sub-instruction processing method based on workflow management according to any one of the above aspects when executing the program.
The invention has the beneficial effects that: the instruction list is monitored to find and process in time in real time, the processing efficiency of the whole method is improved, and data to be processed can be accurately obtained through real-time monitoring of instance information, so that the limitation of an instruction processing mode in a workflow management system can be effectively overcome, the functions of the workflow management system are expanded, configuration is supported, and meanwhile, later development and maintenance personnel can conveniently understand the existing business processing flow and the related external interface platform.
Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow chart illustrating a sub-instruction processing method for flow management according to an embodiment of the present invention;
FIG. 2 is a block diagram of a flow managed sub-instruction processing system according to an embodiment of the present invention.
In the drawings, the components represented by the respective reference numerals are listed below:
100. the system comprises a monitoring module 200, a judging module 300, a generating module 400, a processing module 110, a sub-instruction obtaining platform 410 and a sub-instruction driving platform.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth to illustrate, but are not to be construed to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic flowchart of a flow management sub-instruction processing method according to an embodiment of the present invention, including:
step 1, a monitoring module monitors an instruction list in workflow management in real time;
step 2, when the state of the instruction in the instruction list is to be sent, the monitoring module inputs the instruction sequence of the instruction to a sub-instruction service platform in the workflow management;
step 3, the sub-instruction service platform generates instance information of the sub-instruction according to the instruction sequence;
and 4, the sub-instruction driving platform monitors the instance information in real time, processes the instance information in a state to be processed, and updates a processing result to the instruction list.
In some possible implementation modes, the real-time discovery and timely processing can be achieved through the monitoring of the instruction list, the processing efficiency of the whole method is improved, and the data to be processed can be accurately obtained through the real-time monitoring of the instance information, so that the limitation of the instruction processing mode in the workflow management system can be effectively overcome, the functions of the workflow management system are expanded, the configuration is supported, and meanwhile, the method is convenient for later development and maintenance personnel to understand the existing business processing flow and the related external interface platform.
It should be noted that workflow management is commonly found in workflow information systems of various industries. Workflow refers to "automation of a portion or the whole of a business process in a computer application environment". The workflow management is used as a component part, and mainly has the functions of disassembling the business process into independent business links and integrating the business links into corresponding business processes. The actual service scenes in the production process can be matched with the corresponding service flows, and information transmission and data synchronization are carried out along each service link.
The instruction list is used as a carrier for information transfer and data synchronization, and partial information in the workflow can be asynchronously transferred. For example, the work flow management in the telecom operation support system can manage the opening and closing flows of the functions of voice, flow, special service, value-added service and the like of the mobile network user. The process of 'mobile service provisioning' is divided into links of voice provisioning, flow provisioning, special service provisioning and value-added service subscription. Each link needs to send an opening request to the network activation side through an instruction list, and the opening request is embodied as one or more records in the instruction list.
However, the opening of some functions cannot be handled simply by the instruction list, and various network and system interactions are involved. If the existing business process or business link is modified, other similar businesses can be influenced, and the sub-instruction processing method can be used at the moment. For example, the opening of the special service M involves twenty instructions for three network systems. A virtual M01 instruction can be inserted in the special service opening link.
The monitoring of the instruction list is to monitor the insertion of the virtual M01 instruction in the instruction list to determine whether sub-instruction processing is required.
Instruction sequence, i.e. the encoding of the virtual instruction M01.
The example information generated in step 3 may be as shown in table 1,
TABLE 1
Figure BDA0002734074610000081
Figure BDA0002734074610000091
The processing state in table 1 is monitored in real time, the processing interface corresponding to the information to be processed and the corresponding program are called to process the information, and the processing result is updated as shown in table 2.
TABLE 2
Figure BDA0002734074610000092
Before the method is used, when the sub-instruction needs to be obtained in advance, the interface calling step of the sub-instruction is set according to the configuration information of the sub-instruction, wherein the interface calling step comprises a calling sequence, an interface code, a network element identifier and a sub-instruction type. The sub-instruction type:
1) asynchronous general instruction: the instruction list is inserted for sending, and the next step can be carried out without returning from an external interface;
2) asynchronous wait instruction: the instruction list is inserted for sending, and the next step can be carried out only after the external interface returns successfully;
3) real-time instructions: and the transmission is carried out by calling an external interface platform in real time, and the next step can be carried out only after the external real-time interface returns to the success.
4) And (4) ending identification: at the END of the processing step, a link of END coding is configured as an END identifier to inform the processing service, and in addition, the complete implementation of the method can refer to example 1.
Preferably, in any of the above embodiments, step 1 further comprises, before: virtual instructions corresponding to the sub-instructions are generated in advance, and the virtual instructions are integrated to generate an instruction list.
In some possible embodiments, before using the method, the sub-instructions are generated corresponding to the virtual instructions, and the virtual instructions are integrated to generate the instruction table at the same time, so that the speed in the execution process can be effectively improved, and the instructions can be conveniently updated and searched.
When the workflow management system generates an instruction, the workflow management system may configure and generate a virtual instruction. The virtual instruction and the common instruction have no difference on work order generation configuration, and only the virtual instruction code can be identified by a sub-instruction flow.
Preferably, in any of the above embodiments, step 2 is specifically: and when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the virtual instruction into a sub-instruction service platform in the workflow management system.
In some possible embodiments, when the state of the instruction is determined to be pending, the instruction is processed, so that not only can the time for the system to process unnecessary instructions be reduced, and the possibility that a processing line is occupied be reduced, but also the possibility that the system processes all instructions blindly is avoided.
Preferably, in any of the above embodiments, step 3 is specifically: and the sub-instruction service platform analyzes the instruction sequence, calls an interface corresponding to the instruction sequence through an instruction code in the instruction sequence and generates instance information, wherein the instance information comprises a main table and a detailed table.
In some possible implementation modes, the instruction code of the instruction can be quickly determined through analysis of the instruction sequence, the processing rate of the instruction can be greatly improved through calling the corresponding interface through the instruction code, and in addition, the generated example information is beneficial to recording and monitoring the processing result of the instruction in real time in the subsequent processing process and is convenient to call in the future.
Preferably, in any of the above embodiments, step 4 is specifically: and monitoring the main table in real time, processing the data with the state to be processed in the main table, and updating the state in the main table into the execution state.
In some possible implementation manners, the real-time monitoring main table can quickly judge which sub-instructions need to be processed, and timely calls the corresponding processing interfaces for processing, and in addition, the state in the main table is updated in real time, so that the processing state of each instruction can be conveniently checked, and the whole process is clear.
Preferably, in any of the above embodiments, step 4 is further followed by:
and 5, calling an interface corresponding to the data with the executing state in the detail table, processing the data with the to-be-processed state in the main table, and updating the processing result to the main table and the detail table.
In some possible implementation manners, the main table and the detail table are separated, so that the purpose of synchronous operation without mutual interference can be achieved, and in addition, the main table and the detail table are synchronously updated on the processed data, so that the processing flow is clearer.
Preferably, in any of the above embodiments, step 5 further comprises: and when the state in execution waiting exists in the main table, judging whether the execution of the network element side of the data in execution waiting is successful or not, if so, updating the state of the main table, filing the instance information and updating the state in the instruction table.
In some possible implementation manners, a processing method of consistent standing is not adopted for the data in the waiting state, and whether the next processing can be carried out is finally judged by checking the data network element side, so that the problem of state updating errors of the data caused by network reasons is avoided, and unnecessary resource occupation can be timely and effectively cleared.
Preferably, in any of the above embodiments, step 2 further comprises: and when the sub-instruction state in the instruction list is to be sent, repeating the step 1 until the sub-instruction state is found to be sent.
In some possible embodiments, the state in the instruction table is monitored in real time, so as to ensure that data resources are not missed, and meanwhile, the instruction to be processed can be found in the first time, so that the integrity of all data is ensured, and the processing speed is improved.
As shown in fig. 2, fig. 2 is a structural framework diagram provided by an embodiment of a flow management sub-instruction processing system according to the present invention, including:
the monitoring module 100 is used for monitoring an instruction list in workflow management in real time;
the judging module 200 is configured to input an instruction sequence of an instruction to an instruction service platform in workflow management when the state of the instruction in the instruction list is to be sent;
the generating module 300 is configured to generate instance information of the sub-instruction according to the instruction sequence;
the processing module 400 is configured to monitor the instance information in real time, process the instance information in a state to be processed, and update a processing result to the instruction table.
In some possible implementation modes, the real-time discovery and timely processing can be achieved through the monitoring of the instruction list, the processing efficiency of the whole method is improved, and the data to be processed can be accurately obtained through the real-time monitoring of the instance information, so that the limitation of the instruction processing mode in the workflow management system can be effectively overcome, the functions of the workflow management system are expanded, the configuration is supported, and meanwhile, the method is convenient for later development and maintenance personnel to understand the existing business processing flow and the related external interface platform.
Preferably, in any of the above embodiments, further comprising: and the presetting module is used for generating virtual instructions corresponding to the sub-instructions in advance, integrating the virtual instructions and generating an instruction list.
In some possible embodiments, before using the method, the sub-instructions are generated corresponding to the virtual instructions, and the virtual instructions are integrated to generate the instruction table at the same time, so that the speed in the execution process can be effectively improved, and the instructions can be conveniently updated and searched.
Preferably, in any embodiment above, the determining module 200 is specifically configured to: and when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the virtual instruction into a sub-instruction service platform in the workflow management system.
In some possible embodiments, when the state of the instruction is determined to be pending, the instruction is processed, so that not only can the time for the system to process unnecessary instructions be reduced, and the possibility that a processing line is occupied be reduced, but also the possibility that the system processes all instructions blindly is avoided.
Preferably, in any of the above embodiments, the generating module 300 is specifically configured to: and the sub-instruction service platform analyzes the instruction sequence, calls an interface corresponding to the instruction sequence through an instruction code in the instruction sequence and generates instance information, wherein the instance information comprises a main table and a detailed table.
In some possible implementation modes, the instruction code of the instruction can be quickly determined through analysis of the instruction sequence, the processing rate of the instruction can be greatly improved through calling the corresponding interface through the instruction code, and in addition, the generated example information is beneficial to recording and monitoring the processing result of the instruction in real time in the subsequent processing process and is convenient to call in the future.
Preferably, in any of the above embodiments, the processing module 400 is specifically configured to: and monitoring the main table in real time, processing the data with the state to be processed in the main table, and updating the state in the main table into the execution state.
In some possible implementation manners, the real-time monitoring main table can quickly judge which sub-instructions need to be processed, and timely calls the corresponding processing interfaces for processing, and in addition, the state in the main table is updated in real time, so that the processing state of each instruction can be conveniently checked, and the whole process is clear.
Preferably, in any of the above embodiments, further comprising: a calling module for: and calling an interface corresponding to the data with the executing state in the detail table, processing the data with the to-be-processed state in the main table, and updating the processing result to the main table and the detail table.
In some possible implementation manners, the main table and the detail table are separated, so that the purpose of synchronous operation without mutual interference can be achieved, and in addition, the main table and the detail table are synchronously updated on the processed data, so that the processing flow is clearer.
Preferably, in any of the above embodiments, the invoking module is further configured to: and when the state in execution waiting exists in the main table, judging whether the execution of the network element side of the data in execution waiting is successful or not, if so, updating the state of the main table, filing the instance information and updating the state in the instruction table.
In some possible implementation manners, a processing method of consistent standing is not adopted for the data in the waiting state, and whether the next processing can be carried out is finally judged by checking the data network element side, so that the problem of state updating errors of the data caused by network reasons is avoided, and unnecessary resource occupation can be timely and effectively cleared.
Preferably, in any of the above embodiments, the determining module 200 is further configured to: and when the sub-instruction state in the instruction list is to be sent, repeating the step 1 until the sub-instruction state is found to be sent.
In some possible embodiments, the state in the instruction table is monitored in real time, so as to ensure that data resources are not missed, and meanwhile, the instruction to be processed can be found in the first time, so that the integrity of all data is ensured, and the processing speed is improved.
Another technical solution of the present invention for solving the above technical problems is as follows: a storage medium having stored therein instructions which, when read by a computer, cause the computer to execute a sub-instruction processing method based on workflow management as in any one of the above.
In some possible implementation modes, the real-time discovery and timely processing can be achieved through the monitoring of the instruction list, the processing efficiency of the whole method is improved, and the data to be processed can be accurately obtained through the real-time monitoring of the instance information, so that the limitation of the instruction processing mode in the workflow management system can be effectively overcome, the functions of the workflow management system are expanded, the configuration is supported, and meanwhile, the method is convenient for later development and maintenance personnel to understand the existing business processing flow and the related external interface platform.
Another technical solution of the present invention for solving the above technical problems is as follows: an electronic device comprising a memory, a processor and a program stored in the memory and running on the processor, wherein the processor implements the steps of a method for sub-instruction processing based on workflow management as described in any one of the preceding claims when executing the program.
In some possible implementation modes, the real-time discovery and timely processing can be achieved through the monitoring of the instruction list, the processing efficiency of the whole method is improved, and the data to be processed can be accurately obtained through the real-time monitoring of the instance information, so that the limitation of the instruction processing mode in the workflow management system can be effectively overcome, the functions of the workflow management system are expanded, the configuration is supported, and meanwhile, the method is convenient for later development and maintenance personnel to understand the existing business processing flow and the related external interface platform.
In embodiment 1, the workflow management system may configure and generate a virtual instruction when generating an instruction. The virtual instruction and the common instruction have no difference in work order generation configuration, and only the virtual instruction code can be identified by a sub-instruction flow; monitoring the instruction table in real time, calling the sub-instruction acquisition platform 110 in the monitoring module 100 immediately after finding that the virtual instruction in the state of "waiting to be sent" enters the instruction table, and introducing the unique identifier of the virtual instruction in the instruction table: a sequence of instructions; and the sub-instruction service platform acquires the relevant information of the virtual instruction according to the instruction sequence, wherein the relevant information comprises instruction codes, instruction parameters, numbers, time stamps and the like. Acquiring a corresponding sub-process interface calling step in the sub-instruction process configuration information through instruction coding, generating sub-instruction sending instance information which comprises a main table and a detail table, and setting states in the main table and the detail table to be 'to be processed'; the sub-instruction driving platform 410 in the processing module 400 monitors the sub-instruction sending instance information main table in real time, processes the status data to be processed, calls the sub-instruction driving platform 410, transmits the sub-instruction information, and updates the main table status to be "executing"; the sub-instruction driving platform 410 sequentially performs external interface calling according to the interface calling step in the detail table, and judges whether to skip the step according to the instruction filtering configuration information during calling; if the calling is successful, the step is updated and recorded as 'processed' in the list; if the failure occurs, the state is updated to 'processing failure', and meanwhile, the state of the main table is updated to 'execution error'. If the sub-instruction type is an asynchronous waiting instruction, updating the current record in the detail table to be 'waiting for backfilling', and updating the state of the main table to be 'executing waiting'; calling an asynchronous instruction backfill platform in the module, monitoring the sub-instruction sending instance information main table in real time, processing the state data of 'execution waiting' and judging whether the execution of the network element side is successful, if so, updating the main table state to 'execution in' and the detail table state to 'processed'; when the sub-instruction driving platform 410 processes the END link sub-process, the sub-instruction sending instance table information is filed, the virtual instruction in the instruction table is updated to be in a sent state, and the normal END of the work order generating unit is ensured.
It is understood that some or all of the alternative embodiments described above may be included in some embodiments.
It should be noted that the above embodiments are product embodiments corresponding to the previous method embodiments, and for the description of each optional implementation in the product embodiments, reference may be made to corresponding descriptions in the above method embodiments, and details are not described here again.
The above method, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing sub-instructions of flow management, comprising:
step 1, monitoring an instruction list in workflow management in real time;
step 2, when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the instruction into a sub-instruction service platform in the workflow management;
step 3, generating instance information of the sub-instruction according to the instruction sequence;
and 4, monitoring the instance information in real time, processing the instance information in a state to be processed, and updating a processing result into the instruction list.
2. The method for processing flow management sub-instructions according to claim 1, wherein step 1 is preceded by: and generating virtual instructions corresponding to the sub-instructions in advance, and integrating the virtual instructions to generate an instruction list.
3. The method for processing sub-instructions of process management according to claim 2, wherein the step 2 is specifically: and when the state of the instruction in the instruction list is to be sent, inputting the instruction sequence of the virtual instruction into a sub-instruction service platform in the workflow management system.
4. The method for processing sub-instructions of process management according to claim 3, wherein step 3 specifically comprises: and the sub-instruction service platform analyzes the instruction sequence, calls an interface corresponding to the instruction sequence through an instruction code in the instruction sequence and generates instance information, wherein the instance information comprises a main table and a detailed table.
5. The method for processing sub-instructions of process management according to claim 4, wherein step 4 specifically comprises: and monitoring the main table in real time, processing the data with the state to be processed in the main table, and updating the state in the main table to be in execution.
6. The method of claim 5, further comprising, after step 4:
and 5, calling an interface corresponding to the data with the executing state in the detail table, processing the data with the to-be-processed state in the main table, and updating the processing result to the main table and the detail table.
7. The method of claim 6, wherein step 5 further comprises: and when the state in execution waiting exists in the main table, judging whether the execution of the network element side of the data in execution waiting is successful, if so, updating the state of the main table, filing the instance information and updating the state in the instruction table.
8. A flow management sub-instruction processing system, comprising:
the monitoring module is used for monitoring an instruction list in the workflow management in real time;
the judging module is used for inputting the instruction sequence of the instruction to an instruction service platform in the workflow management when the state of the instruction in the instruction list is to be sent;
the generating module is used for generating the instance information of the sub-instruction according to the instruction sequence;
and the processing module is used for monitoring the instance information in real time, processing the instance information in a state to be processed and updating a processing result into the instruction list.
9. A storage medium having stored therein instructions which, when read by a computer, cause the computer to execute a sub-instruction processing method based on workflow management according to any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a program stored in the memory and running on the processor, wherein the processor implements the steps of a method for sub-instruction processing based on workflow management according to any one of claims 1 to 7 when executing the program.
CN202011127418.0A 2020-10-20 2020-10-20 Sub-instruction processing method and system for flow management, storage medium and electronic equipment Pending CN112256712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011127418.0A CN112256712A (en) 2020-10-20 2020-10-20 Sub-instruction processing method and system for flow management, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011127418.0A CN112256712A (en) 2020-10-20 2020-10-20 Sub-instruction processing method and system for flow management, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112256712A true CN112256712A (en) 2021-01-22

Family

ID=74243972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011127418.0A Pending CN112256712A (en) 2020-10-20 2020-10-20 Sub-instruction processing method and system for flow management, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112256712A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170220624A1 (en) * 2016-02-01 2017-08-03 International Business Machines Corporation Transaction processor
CN107346308A (en) * 2016-05-04 2017-11-14 阿里巴巴集团控股有限公司 The call method and device of data in a kind of group system
CN111106948A (en) * 2019-10-28 2020-05-05 中国通信服务股份有限公司 Configuration-based instruction adaptation method
CN111753013A (en) * 2020-06-24 2020-10-09 中国银行股份有限公司 Distributed transaction processing method and device
CN111782186A (en) * 2020-07-03 2020-10-16 携程旅游网络技术(上海)有限公司 Workflow management method, system, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170220624A1 (en) * 2016-02-01 2017-08-03 International Business Machines Corporation Transaction processor
CN107346308A (en) * 2016-05-04 2017-11-14 阿里巴巴集团控股有限公司 The call method and device of data in a kind of group system
CN111106948A (en) * 2019-10-28 2020-05-05 中国通信服务股份有限公司 Configuration-based instruction adaptation method
CN111753013A (en) * 2020-06-24 2020-10-09 中国银行股份有限公司 Distributed transaction processing method and device
CN111782186A (en) * 2020-07-03 2020-10-16 携程旅游网络技术(上海)有限公司 Workflow management method, system, device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
于万钧等: "一种基于实例状态的工作流系统监控方法", 《计算机研究与发展》 *

Similar Documents

Publication Publication Date Title
CN109978290A (en) A kind of operation flow backspacing processing method of extensive makeup, flow engine and operation system
CN111355802B (en) Information pushing method and device
CN106713469B (en) Dynamic loading method, device and system for distributed container
CN113835844A (en) Management method and device of container cluster and cloud computing platform
CN103188660B (en) A kind of mobile number carries method, system and equipment outside
CN103701653A (en) Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN112416557B (en) Method and device for determining call relation, storage medium and electronic device
CN105827739B (en) Contact information synchronous method, device, server and system
CN104111862A (en) Method and system for obtaining IP (Internet Protocol) address of virtual machine in cloud computing platform
CN112256712A (en) Sub-instruction processing method and system for flow management, storage medium and electronic equipment
CN105260257B (en) Settlement procedure stops response method and apparatus during running
CN111339055A (en) Big data cluster capacity expansion method and device
CN111274325A (en) Platform automation test method and system
CN116149808A (en) Robot flow automatic management system and method
CN109981796B (en) Connection method and device
CN115766439A (en) KVM device batch upgrading method and device and electronic device
CN114363211A (en) Network connectivity verification method of disaster recovery backup system network and related equipment
CN111447609A (en) Dynamic number allocation method and system
CN110825645A (en) Assembly line type full-process automatic testing method
CN108279994A (en) A kind of connection Citrix has issued the automation solution of application exception
CN116192934A (en) Service processing method, device, equipment and readable storage medium
CN107360589B (en) Data cleaning method and data cleaning device for mobile communication network
CN115994042A (en) Program exception handling method and device, electronic equipment and storage medium
CN116859214A (en) Remote test method, remote test device, industrial personal computer and integrated circuit test system
CN114554532A (en) 5G device high-concurrency simulation 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122