Work order data processing method and device, electronic equipment and storage medium
By identifying and initializing processing nodes and relationships in the work order processing system, work order processing methods and trigger events are generated, which solves the problem of lack of consistency and standardization of work order processing among various systems and improves business processing efficiency.
Patent Information
- Application Number
- CN202411403136.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-24
AI Technical Summary
Due to the lack of standardized processing procedures for work orders between various systems, the lack of consistency and standardization of work order processing between systems, thereby reducing the efficiency of business processing.
By receiving work order processing instructions, obtain the business type, query the business processing process, identify processing nodes and relationships, initialize work order nodes, establish work order connections, generate work order processing methods and trigger events, and finally combine to generate a work order processing system .
In different business scenarios, the corresponding work order processing system is generated according to the business processing process, ensuring that each work order node and connection relationship is generated according to unified standards, thus improving the efficiency of business processing.
Smart Images

Figure CN119359007A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for processing work order data. Background Art
[0002] In the current digital age, the business systems of enterprises are becoming increasingly complex, and operation and maintenance business processing faces huge challenges. With the development of artificial intelligence and big data technologies, intelligent operation and maintenance has gradually become an important means to improve the efficiency and quality of operation and maintenance. Among them, intelligent work order processing is a commonly used method in intelligent operation and maintenance. In related technologies, business personnel are usually required to generate a work order processing system according to demand. However, since work orders between systems usually lack standardized processing procedures, work order processing between systems lacks consistency and standardization, resulting in low efficiency of business processing between systems. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a method, device, electronic device and storage medium for processing work order data, which can solve the problem that work order processing between systems lacks consistency and standardization due to the lack of standardized processing procedures between work orders between systems, resulting in low efficiency of business processing between systems.
[0004] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for processing work order data is provided.
[0005] A method for processing work order data in an embodiment of the present invention includes: receiving a work order processing instruction, obtaining a corresponding business type, querying a business processing flow of the business type, identifying each processing node in the business processing flow and the association relationship between each processing node; initializing each work order node according to the processing node, and establishing a work order connection between each work order node according to the association relationship; for each work order node, obtaining description information of the corresponding processing node, identifying the processing type of the work order node to query the corresponding processing method class, obtaining the initialization parameter value of the processing method from the description information, and generating a work order processing method for the work order node in combination with the processing method class; obtaining the trigger condition of each processing node to call a preset trigger template to generate a trigger event for the corresponding work order node; and combining each work order node and the work order connection to generate a work order processing system.
[0006] In one embodiment, the initialization parameter value of the processing method is obtained from the description information, and the work order processing method of the work order node is generated in combination with the processing method class, including: obtaining the method type of the processing method from the description information; in response to the method type belonging to the first type, obtaining the basic class in the processing method class to extract the initialization parameter, obtaining the parameter value of the initialization parameter from the description information, and generating the work order processing method of the work order node in combination with the basic class; in response to the method type belonging to the second type, obtaining the personalized class in the processing method class, obtaining the initialization parameter value from the description information, and generating the work order processing method of the work order node in combination with the personalized class.
[0007] In another embodiment, obtaining the method type of the processing method from the description information includes: obtaining a parameter list for work order processing from the description information, extracting parameter values carrying preset marks in the parameter list, identifying characters belonging to preset positions in the parameter values, and determining the method type based on the characters.
[0008] In another embodiment, after obtaining the method type of the processing method from the description information, it also includes: in response to the method type being empty, obtaining the base class in the processing method class, setting the value of the corresponding initialization parameter to empty, and generating the work order processing method of the work order node in combination with the base class.
[0009] In another embodiment, a preset trigger template is called to generate a trigger event for a corresponding work order node, including: obtaining an associated target node based on the work order connection; obtaining trigger conditions associated with each of the target nodes, and fusing the trigger conditions to call a preset trigger template to generate a trigger event for the corresponding work order node.
[0010] In another embodiment, the method further includes: in response to an update instruction of the business processing flow, obtaining an update node in the update instruction, and extracting update information of the update node in the business processing flow; matching the update node with the work order node; in response to a successful match, updating the work order processing method and trigger event of the corresponding work order node according to the update information of the update node; in response to an unsuccessful match, generating a work order node corresponding to the update node, and obtaining an association relationship of the update node, so as to update the work order processing system in combination with the work order node corresponding to the update node.
[0011] To achieve the above objective, according to another aspect of an embodiment of the present invention, a device for processing work order data is provided.
[0012] A device for processing work order data according to an embodiment of the present invention includes: a receiving unit, which is used to receive work order processing instructions, obtain the corresponding business type, query the business processing flow of the business type, and identify the association relationship between each processing node in the business processing flow; an establishing unit, which is used to initialize each work order node according to the processing node, and establish a work order connection between each work order processing node according to the association relationship; a generating unit, which is used to obtain the description information of the corresponding processing node for each work order node, identify the processing type of the work order node, query the corresponding processing method class, obtain the initialization parameter value of the processing method from the description information, and generate the work order processing method of the work order node in combination with the processing method class; the generating unit is also used to obtain the trigger condition of each processing node, so as to call a preset trigger template to generate a trigger event of the corresponding work order node; the generating unit is also used to combine each work order node and the work order connection to generate a work order processing system.
[0013] In one embodiment, the generation unit is specifically used to: obtain the method type of the processing method from the description information; in response to the method type belonging to the first type, obtain the basic class in the processing method class to extract the initialization parameter, obtain the parameter value of the initialization parameter from the description information, and generate the work order processing method of the work order node in combination with the basic class; in response to the method type belonging to the second type, obtain the personalized class in the processing method class, obtain the initialization parameter value from the description information, and generate the work order processing method of the work order node in combination with the personalized class.
[0014] In another embodiment, the generating unit is specifically used to: obtain a parameter list for work order processing from the description information, extract parameter values carrying preset marks in the parameter list, identify characters belonging to preset positions in the parameter values, and determine the method type based on the characters.
[0015] In another embodiment, the generation unit is specifically used to: in response to the method type being empty, obtain the base class in the processing method class, set the value of the corresponding initialization parameter to empty, and generate the work order processing method of the work order node in combination with the base class.
[0016] In another embodiment, the generation unit is specifically used to: obtain the associated target node based on the work order connection; obtain the trigger conditions associated with each of the target nodes, and merge the trigger conditions to call a preset trigger template to generate a trigger event for the corresponding work order node.
[0017] In another embodiment, the method further includes: an acquisition unit, used to respond to an update instruction of the business processing flow, acquire an update node in the update instruction, and extract update information of the update node in the business processing flow; a matching unit, used to match the update node with the work order node; an update unit, used to update the work order processing method and trigger event of the corresponding work order node according to the update information of the update node in response to a successful match; in response to an unsuccessful match, generate a work order node corresponding to the update node, acquire the association relationship of the update node, and update the work order processing system in combination with the work order node corresponding to the update node.
[0018] To achieve the above objective, according to another aspect of an embodiment of the present invention, an electronic device is provided.
[0019] An electronic device according to an embodiment of the present invention comprises: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing work order data provided by the embodiment of the present invention.
[0020] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer readable medium is provided.
[0021] A computer-readable medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, the method for processing work order data provided by the embodiment of the present invention is implemented.
[0022] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer program product is provided.
[0023] A computer program product according to an embodiment of the present invention includes a computer program, and when the program is executed by a processor, the method for processing work order data provided by the embodiment of the present invention is implemented.
[0024] An embodiment of the above invention has the following advantages or beneficial effects: in the embodiment of the present invention, after receiving the work order processing instruction, the corresponding business type is obtained, and the business processing flow of the business type is queried. The business processing flow includes the processing nodes of the business processing and the association relationship between each processing node, so the work order node can be initialized according to the processing node, and the work order connection between each work order processing node can be established according to the association relationship between the processing nodes; for each work order node, the corresponding processing method class can be queried according to the processing type in the description information of the processing node, and the initialization parameter value of the processing method can be obtained, and the two can be combined to generate the work order processing method of the work order node; and the trigger condition of each processing node is obtained, and the preset trigger template is called to generate the trigger event of the corresponding work order node, so that each work order node and the work order connection are combined to generate a work order processing system. In this way, in the embodiment of the present invention, the corresponding work order processing system can be generated according to the business processing flow in different business scenarios, and each work order node and the connection relationship are generated according to a unified standard, so that the generated work order processing system can also directly perform business processing, thereby improving the business processing efficiency.
[0025] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention. Figure 1 is a schematic diagram of a main process of a method for processing work order data according to an embodiment of the present invention; Figure 2 is a schematic diagram of another main process of the method for processing work order data according to an embodiment of the present invention; Figure 3 is a schematic diagram of another main process of the method for processing work order data according to an embodiment of the present invention; Figure 4 is a schematic diagram of another main process of the method for processing work order data according to an embodiment of the present invention; Figure 5 is a schematic diagram of main units of a device for processing work order data according to an embodiment of the present invention; Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied; Figure 7 It is a schematic diagram of the structure of a computer system suitable for implementing the embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0028] It should be pointed out that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict. The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. In the embodiments of this application, some existing solutions in the industry such as certain software, components, and models may be mentioned, which should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0029] An embodiment of the present invention provides a work order data processing system, which can be used in a scenario of processing work orders, and specifically can be used in a scenario of establishing a work order processing system.
[0030] The embodiment of the present invention provides a method for processing work order data, which can be executed by a work order data processing system. Figure 1 As shown, the method includes the following steps.
[0031] S101: receiving a work order processing instruction, obtaining a corresponding business type, querying a business processing flow of the business type, and identifying the association relationship between each processing node in the business processing flow.
[0032] Among them, the work order processing instruction can be automatically triggered or sent by an external system, indicating an instruction to establish a work order processing system. The work order processing instruction may include the corresponding business type to indicate that a work order processing system is established for each business. In an embodiment of the present invention, for a business scenario, a comprehensive coverage survey can be conducted in advance, and then a business processing flow can be designed, which can generally be applicable to the application scenario of the business type. The business processing flow can be reflected in the form of a flowchart, which includes the processing nodes and the association relationship between the processing nodes.
[0033] Specifically, in the embodiment of the present invention, the processing nodes in the business processing flow can be set based on the work order processing requirements. For example, the work order processing can include the processing of creation, review, approval, closing, etc., so the work order processing process can be reflected through the business processing flow. Each processing node can correspond to a work order processing node, and each processing node can include corresponding description information, which describes the type of the processing node and the parameters used, so as to facilitate the subsequent establishment of the work order processing system.
[0034] S102: Initialize each work order node according to the processing node, and establish a work order connection between each work order node according to the association relationship.
[0035] Among them, after determining the processing node, the work order node can be initialized based on each processing node. The work order node represents each node for work order processing, such as establishment node, review node, approval node, closing node, etc. The initialization of each work order node can include the establishment of the work order node and the initialization of the work order node processing method. The work order node initialization can include generating basic parameters such as node identification. The work order connection between the work order nodes indicates the direction of the work order flow, which is established according to the association relationship of the processing nodes. The work order connection can reflect the flow process of the work order in business processing. In the embodiment of the present invention, the association relationship is usually directional, so the established work order connection also includes directionality.
[0036] It should be noted that in the embodiment of the present invention, corresponding templates can be set for both the work order node and the work order connection. In this step, when the work order node is initialized, it can be initialized based on a preset template. For example, the corresponding template can be queried according to the type of processing node to initialize the work order node according to the template. In addition, in the embodiment of the present invention, a specific implementation method of the co-connection line can also be set, such as a marked line with a direction, so as to reflect the flow of the work order in the business processing through the work order connection.
[0037] S103: For each work order node, obtain the description information of the corresponding processing node, identify the processing type of the work order node, query the corresponding processing method class, obtain the initialization parameter value of the processing method from the description information, and generate the work order processing method of the work order node in combination with the processing method class.
[0038] After initializing each work order node, the work order node can be set so that the work order node can process the work order. Since different work order nodes process work orders in different ways, the type of the corresponding processing node can be determined first to determine the processing method class required for the work order node to process the work order, and then complete the work order processing method for the work order node by initializing each parameter in the processing method class.
[0039] Specifically, in this step, the processing node may carry a processing type tag, so that the processing type can be identified according to the tag, and then the corresponding processing method class can be queried. For example, for the review of work orders, the work order processing may include work order acceptance, work order data synchronization, work order modification, work order submission, work order reassignment, work order return, work order suspension, work order closure, etc. These methods of processing work orders can be implemented through the corresponding processing method class.
[0040] In one embodiment, the work order processing method for generating a work order node in this step can be specifically executed as follows: obtaining the method type of the processing method from the description information; in response to the method type belonging to the first type, obtaining the basic class in the processing method class to extract the initialization parameters, obtaining the parameter values of the initialization parameters from the description information, and generating the work order processing method for the work order node in combination with the basic class; in response to the method type belonging to the second type, obtaining the personalized class in the processing method class, obtaining the initialization parameter values from the description information, and generating the work order processing method for the work order node in combination with the personalized class.
[0041] Since multiple processing of work orders can be implemented in the work order node, multiple processing method classes can be designed, so each processing method class can be set with a corresponding template to implement it based on the template. In order to meet some personalized needs in special scenarios, the processing method class can also be personalized. Therefore, in the embodiment of the present invention, the method type can be determined for each processing method. The method type is the first type, indicating that there is no personalized demand, so it can be implemented according to the corresponding basic class. The method type is the second type, indicating that there is a personalized demand, so it is implemented according to the corresponding personalized class.
[0042] In an embodiment of the present invention, the basic class includes various initialization parameters required for the processing method, so after extracting the parameter values of these initialization parameters from the description information, the basic class can be run to generate a work order processing method for the work order node; and for the personalized class, it can obtain the initialization parameter value from the description information to be used in combination with the personalized class to generate a work order processing method for the work order node.
[0043] It should be noted that the description information may include a parameter list and corresponding parameter values for the parameters required for work order processing, and when personalized processing is required, the description information may include the parameters and parameter values included in the personalized processing. Therefore, when generating a processing method based on the basic class, the parameter value can be directly obtained according to the initialization parameters in the basic class, and for the personalized class, the corresponding initialization parameters and parameter values can be directly obtained from the description information.
[0044] In an embodiment of the present invention, the description information can store the parameters and parameter values required for each processing method in the form of a parameter list, and for personalized methods, the corresponding processing method can be reflected in the description information through parameters carrying marks, so that the parameter list for the work order processing can be obtained, the parameter values carrying preset marks in the parameter list can be extracted, and the characters belonging to the preset positions in the parameter values can be identified to determine the method type based on the characters.
[0045] It should be noted that in some application scenarios, the work order node can be used as a backup after it is established, so it does not need to initialize the processing method. Therefore, the method type can be set to empty to indicate that the work order node is set to empty. This time it can be executed as follows: in response to the method type being empty, obtain the base class in the processing method class, set the value of the corresponding initialization parameter to empty, and generate the work order processing method of the work order node in combination with the base class.
[0046] S104: Acquire the triggering conditions of each processing node to call a preset trigger template to generate a triggering event of the corresponding work order node.
[0047] Among them, for each work order node, its processing process can be triggered by a trigger event. In the embodiment of the present invention, a preset trigger template can be used to generate a trigger event of the corresponding work order node after obtaining the trigger condition.
[0048] It should be noted that a work order node may include multiple trigger conditions, so the trigger conditions may be integrated through a trigger template to trigger the work order node to process the work order.
[0049] Specifically, under normal circumstances, other nodes connected to the work order node will transfer the processed work order to the work order node. After the work order is transferred, a trigger event is usually required to trigger the processing of the work order at the work order node. Therefore, in this step, the associated target node can be obtained according to the work order connection, and the trigger conditions corresponding to each target node can be set. Then, these trigger conditions are integrated through the and / or logic, and the preset trigger template is called to generate a trigger event for the corresponding work order node.
[0050] S105: Combine the work order nodes and work order lines to generate a work order processing system.
[0051] After completing the above-mentioned work order node processing and work order connection processing, they are stored to combine and generate a completed work order processing system for corresponding business processing.
[0052] It should be noted that, in the embodiment of the present invention, the work order processing system may also include other settings and configurations, for example, SLA logic settings may also be performed. Different processing methods may also be added according to requirements during the processing of each work order node. Figure 2 As shown, a specific work order processing system generates a process. Among them, model initialization means initialization of the overall work order processing system model, on which the embodiment of the present invention can be executed; the processing status of the work order node can be set according to the processing process, for example, it can include the state to be initialized, the processing method to be generated, completed, etc.; whether to remove the reminder means whether to remove the reminder processing, which can usually be removed when the reminder operation is not needed.
[0053] In another embodiment, due to factors such as changes in business processing methods, the work order processing system can also be updated according to the updated business processing process, which can be specifically executed as follows: in response to an update instruction of the business processing process, obtain the update node in the update instruction, and obtain the update information of the update node in the business processing process; match the update node with the work order node; in response to a successful match, update the work order processing method and trigger event of the corresponding work order node according to the update information of the update node; in response to an unsuccessful match, generate a work order node corresponding to the update node, obtain the association relationship of the update node, and update the work order processing system in combination with the work order node corresponding to the update node.
[0054] A successful match indicates that the specific updated work order node can be determined, and the work order node can be directly updated at this time; an unsuccessful match indicates that a new work order node may be added, so a work order node corresponding to the updated node can be generated, and the association relationship of the updated node can be obtained, so as to update the work order processing system in combination with the work order node corresponding to the updated node.
[0055] In an embodiment of the present invention, a corresponding work order processing system can be generated in different business scenarios according to the business processing flow, and each work order node and connection relationship is generated according to a unified standard, so that business processing can be directly performed between the generated work order processing systems, thereby improving business processing efficiency.
[0056] Combine the following Figure 1 The embodiment shown in the figure specifically describes the method for processing work order data in the embodiment of the present invention. Figure 3 As shown, the method includes the following steps.
[0057] S301: receiving a work order processing instruction, obtaining a corresponding business type, querying a business processing flow of the business type, and identifying the association relationship between each processing node and each processing node in the business processing flow.
[0058] S302: Initialize each work order node according to the processing node, and establish a work order connection between each work order node according to the association relationship.
[0059] S303: For each work order node, obtain description information of the corresponding processing node, identify the processing type of the work order node, and query the corresponding processing method class.
[0060] S304: Acquire the method type of the processing method from the description information.
[0061] S305: In response to the method type belonging to the first type, a base class in the processing method class is obtained to extract initialization parameters, parameter values of the initialization parameters are obtained from the description information, and a work order processing method of the work order node is generated in combination with the base class.
[0062] S306: In response to the method type belonging to the second type, a personalized class in the processing method class is obtained, an initialization parameter value is obtained from the description information, and a work order processing method of the work order node is generated in combination with the personalized class.
[0063] S307: Acquire the triggering conditions of each processing node to call a preset trigger template to generate a triggering event of the corresponding work order node.
[0064] S308: Combine each work order node and work order connection to generate a work order processing system.
[0065] It should be noted that the data processing in the embodiments of the present invention is Figure 1 The corresponding data processing principles in the illustrated embodiments are the same and will not be described in detail here.
[0066] Combine the following Figure 1 The embodiment shown in the figure specifically describes the method for processing work order data in the embodiment of the present invention. Figure 4 As shown, the method includes the following steps.
[0067] S401: receiving a work order processing instruction, obtaining a corresponding business type, querying a business processing flow of the business type, and identifying the association relationship between each processing node and each processing node in the business processing flow.
[0068] S402: Initialize each work order node according to the processing node, and establish a work order connection between each work order node according to the association relationship.
[0069] S403: For each work order node, obtain the description information of the corresponding processing node, identify the processing type of the work order node, query the corresponding processing method class, obtain the initialization parameter value of the processing method from the description information, and generate the work order processing method of the work order node in combination with the processing method class.
[0070] S404: Obtaining the associated target node based on the work order connection; obtaining the trigger conditions associated with each target node, integrating each trigger condition, and calling a preset trigger template to generate a trigger event corresponding to the work order node.
[0071] S405: Combine the work order nodes and work order lines to generate a work order processing system.
[0072] S406: In response to the update instruction of the business process flow, obtain the update node in the update instruction, obtain the update information of the update node in the business process flow, and match the update node with the work order node.
[0073] S407: In response to a successful match, the work order processing method and trigger event of the corresponding work order node are updated according to the update information of the update node.
[0074] S408: In response to an unsuccessful match, a work order node corresponding to the update node is generated, and an association relationship of the update node is obtained to update the work order processing system in combination with the work order node corresponding to the update node.
[0075] It should be noted that the data processing in the embodiments of the present invention is Figure 1 The corresponding data processing principles in the illustrated embodiments are the same and will not be described in detail here.
[0076] In order to solve the problems existing in the prior art, an embodiment of the present invention provides a device 500 for processing work order data, such as Figure 5 As shown, the device 500 includes: a receiving unit 501, which is used to receive a work order processing instruction, obtain the corresponding business type, query the business processing flow of the business type, and identify the association relationship between each processing node and each processing node in the business processing flow; an establishing unit 502, which is used to initialize each work order node according to the processing node, and establish a work order connection between each work order processing node according to the association relationship; a generating unit 503, which is used to obtain the description information of the corresponding processing node for each work order node, identify the processing type of the work order node, query the corresponding processing method class, obtain the initialization parameter value of the processing method from the description information, and generate the work order processing method of the work order node in combination with the processing method class; the generating unit 503 is also used to obtain the trigger condition of each processing node, so as to call the preset trigger template to generate the trigger event of the corresponding work order node; the generating unit 503 is also used to combine each work order node and the work order connection to generate a work order processing system.
[0077] It should be understood that the manner of implementing the embodiments of the present invention is different from the Figure 1 The method of the illustrated embodiment is the same and will not be described again here.
[0078] In one embodiment, the generation unit 503 is specifically used to: obtain the method type of the processing method from the description information; in response to the method type belonging to the first type, obtain the basic class in the processing method class to extract the initialization parameter, obtain the parameter value of the initialization parameter from the description information, and generate the work order processing method of the work order node in combination with the basic class; in response to the method type belonging to the second type, obtain the personalized class in the processing method class, obtain the initialization parameter value from the description information, and generate the work order processing method of the work order node in combination with the personalized class.
[0079] In another embodiment, the generation unit 503 is specifically used to: obtain a parameter list for work order processing from the description information, extract parameter values carrying preset marks in the parameter list, identify characters belonging to preset positions in the parameter values, and determine the method type based on the characters.
[0080] In another embodiment, the generating unit 503 is specifically used for: in response to the method type being empty, obtaining a base class in the processing method class, setting the value of the corresponding initialization parameter to empty, and generating a work order processing method for the work order node in combination with the base class.
[0081] In another embodiment, the generation unit 503 is specifically used to: obtain the associated target node based on the work order connection; obtain the trigger conditions associated with each of the target nodes, and merge the trigger conditions to call a preset trigger template to generate a trigger event for the corresponding work order node.
[0082] In another embodiment, the device 500 also includes: an acquisition unit, which is used to respond to the update instruction of the business processing flow, acquire the update node in the update instruction, and acquire the update information of the update node in the business processing flow; a matching unit, which is used to match the update node with the work order node; an update unit, which is used to update the work order processing method and trigger event of the corresponding work order node according to the update information of the update node in response to a successful match; in response to an unsuccessful match, generate a work order node corresponding to the update node, acquire the association relationship of the update node, and update the work order processing system in combination with the work order node corresponding to the update node.
[0083] It should be understood that the manner of implementing the embodiments of the present invention is different from the Figure 1 , 3 , and the method of the embodiment shown in 4 is the same and will not be repeated here.
[0084] In an embodiment of the present invention, a corresponding work order processing system can be generated in different business scenarios according to the business processing flow, and each work order node and connection relationship is generated according to a unified standard, so that business processing can be directly performed between the generated work order processing systems, thereby improving business processing efficiency.
[0085] According to an embodiment of the present invention, the embodiment of the present invention further provides an electronic device and a readable storage medium.
[0086] The electronic device of an embodiment of the present invention comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the method for processing work order data provided by the embodiment of the present invention.
[0087] Figure 6 An exemplary system architecture 600 is shown to which the method or apparatus for processing work order data according to the embodiments of the present invention may be applied.
[0088] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0089] The user can use the terminal devices 601, 602, 603 to interact with the server 605 through the network 604 to receive or send messages, etc. Various client applications can be installed on the terminal devices 601, 602, 603.
[0090] The terminal devices 601 , 602 , and 603 may be, but are not limited to, smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0091] The server 605 may be a server that provides various services. The server may analyze and process the received data such as the product information query request, and feed back the processing result (such as product information - just an example) to the terminal device.
[0092] It should be noted that the method for processing work order data provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the device for processing work order data is generally arranged in the server 605 .
[0093] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0094] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 suitable for implementing an embodiment of the present invention. Figure 7 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0095] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0096] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.
[0097] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.
[0098] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0099] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a unit, a program segment, or a part of a code, and the above-mentioned unit, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0100] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a receiving unit, an establishing unit, and a generating unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the receiving unit may also be described as a "unit of the function of the receiving unit".
[0101] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device executes the method for processing work order data provided by the present invention.
[0102] As another aspect, the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for processing work order data provided in an embodiment of the present invention.
[0103] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for processing work order data, characterized in that: include: Receive a work order processing instruction, obtain a corresponding business type, query a business processing flow of the business type, and identify each processing node in the business processing flow and an association relationship between each processing node; Initialize each work order node according to the processing node, and establish a work order connection between each work order node according to the association relationship; For each work order node, obtain the description information of the corresponding processing node, identify the processing type of the work order node, query the corresponding processing method class, obtain the initialization parameter value of the processing method from the description information, and generate the work order processing method of the work order node in combination with the processing method class; Acquire the trigger conditions of each processing node to call a preset trigger template to generate a trigger event of the corresponding work order node; Each of the work order nodes and the work order lines are combined to generate a work order processing system.
2. The method according to claim 1, characterized in that Acquiring the initialization parameter value of the processing method from the description information, and generating the work order processing method of the work order node in combination with the processing method class, including: Acquire a method type of the processing method from the description information; In response to the method type belonging to the first type, a base class in the processing method class is obtained to extract an initialization parameter, a parameter value of the initialization parameter is obtained from the description information, and a work order processing method of the work order node is generated in combination with the base class; In response to the method type belonging to the second type, a personalized class in the processing method class is obtained, an initialization parameter value is obtained from the description information, and a work order processing method of the work order node is generated in combination with the personalized class.
3. The method according to claim 2, characterized in that The method type of obtaining the processing method from the description information includes: A parameter list for work order processing is obtained from the description information, parameter values carrying preset marks in the parameter list are extracted, and characters belonging to preset positions in the parameter values are identified to determine the method type based on the characters.
4. The method according to claim 2, characterized in that: After obtaining the method type of the processing method from the description information, the method further includes: In response to the method type being empty, a base class in the processing method class is obtained, a value of a corresponding initialization parameter is set to empty, and a work order processing method for the work order node is generated in combination with the base class.
5. The method according to claim 1, characterized in that Call the preset trigger template to generate the trigger event of the corresponding work order node, including: Acquire the associated target node based on the work order connection; The trigger conditions associated with each of the target nodes are obtained, and the trigger conditions are merged to call a preset trigger template to generate a trigger event for the corresponding work order node.
6. The method according to claim 1, characterized in that The method further comprises: In response to an update instruction of the business process flow, obtaining an update node in the update instruction, and extracting update information of the update node in the business process flow; Matching the update node with the work order node; In response to a successful match, the work order processing method and trigger event of the corresponding work order node are updated according to the update information of the update node; in response to an unsuccessful match, a work order node corresponding to the update node is generated, and the association relationship of the update node is obtained to update the work order processing system in combination with the work order node corresponding to the update node.
7. A device for processing work order data, characterized in that: include: A receiving unit, used to receive a work order processing instruction, obtain a corresponding business type, query a business processing flow of the business type, and identify each processing node in the business processing flow and an association relationship between each processing node; An establishing unit, configured to initialize each work order node according to the processing node, and to establish a work order connection between each of the work order processing nodes according to the association relationship; A generating unit, configured to obtain, for each work order node, description information of a corresponding processing node, identify a processing type of the work order node, query a corresponding processing method class, obtain an initialization parameter value of the processing method from the description information, and generate a work order processing method of the work order node in combination with the processing method class; The generating unit is further used to obtain the triggering condition of each processing node to call a preset trigger template to generate a triggering event of the corresponding work order node; The generating unit is further used to combine each of the work order nodes and the work order lines to generate a work order processing system.
8. The device according to claim 7, characterized in that The generating unit is specifically used for: Acquire a method type of the processing method from the description information; In response to the method type belonging to the first type, a base class in the processing method class is obtained to extract an initialization parameter, a parameter value of the initialization parameter is obtained from the description information, and a work order processing method of the work order node is generated in combination with the base class; In response to the method type belonging to the second type, a personalized class in the processing method class is obtained, an initialization parameter value is obtained from the description information, and a work order processing method of the work order node is generated in combination with the personalized class.
9. The device according to claim 8, characterized in that The generating unit is specifically used for: A parameter list for work order processing is obtained from the description information, parameter values carrying preset marks in the parameter list are extracted, and characters belonging to preset positions in the parameter values are identified to determine the method type based on the characters.
10. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
11. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
12. A computer program product, comprising a computer program, characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.