A work order automated docking method and docking system
Through the automatic callback interface of the application platform by the work ticket system, the automatic transmission of work ticket parameters and service activation are realized, which solves the problems of low automation and inaccurate approval in the existing technology, and improves the efficiency and accuracy of work ticket approval.
Patent Information
- Application Number
- CN202010920541.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-04
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-09-04
AI Technical Summary
The existing work order approval system has low degree of automation, low efficiency and inaccurate approval process, which leads to operation personnel needing to manually operate and activate services, which is time-consuming and error-prone.
Design an automated docking method for work orders, query parameters through the work order system and call the application platform's preset callback interface to realize automatic transmission of work order parameters and service activation. The application platform generates return codes and opinions information and feedback to the work order system Update the approval process and reduce manual intervention.
It realizes the automated docking of the work order system and any application platform, reduces time and labor costs, and improves approval efficiency and accuracy.
Smart Images

Figure CN112070478B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of work order approval, and in particular to a work order automatic docking method and docking system. Background Art
[0002] With the rapid development of social informatization, fast-paced and high-efficiency working methods have become the norm. In order to improve the work efficiency of enterprises and facilitate enterprise management, the work order system came into being.
[0003] As far as the existing technology is concerned, the user creates a work order approval process through the work order system, and then waits for approval from leaders at all levels. After the approval is completed, the operation personnel will go to the application platform to open the corresponding service based on the work order parameters of the work order.
[0004] However, the process of operators opening corresponding services on the application platform according to the work order parameters of the work order is a manual operation, which not only takes a lot of time and increases manpower expenditure, but also makes it difficult to ensure that there are no problems in the process of opening the corresponding services. Summary of the invention
[0005] In order to solve the problems of low automation, low efficiency and inaccurate approval process of work order approval in the prior art, the present invention provides a work order automation docking method, which enables the work order system to be docked with any application platform without the need to manually open the corresponding service on the application platform according to the work order parameters, thereby realizing the automated approval of work orders, reducing the time and manpower expenditure, improving work efficiency, and ensuring the accuracy of the approval process.
[0006] The present invention provides a work order automatic docking method, the work order automatic docking method comprising the following steps:
[0007] Information transmission step, the work order system queries the current work order parameters, and calls the preset callback interface of the application platform to transmit the work order parameters to the application platform;
[0008] In a state generation step, the application platform activates the service corresponding to the work order parameters according to the work order parameters, and generates a service activation return code and service activation opinion information;
[0009] In a status feedback step, the application platform calls the status update interface of the work order system and feeds back the service activation return code and the service activation opinion information to the work order system;
[0010] In the process updating step, the work order system updates the work order approval process according to the service activation return code and the service activation opinion information.
[0011] The above-mentioned work order automatic docking method, wherein the work order automatic docking method further includes:
[0012] A judgment step is performed to judge whether the work order system has received the approval request. If the work order system has received the approval request, the information transmission step is performed.
[0013] In the above-mentioned work order automation docking method, the information transmission step specifically includes:
[0014] The work order system calls the preset callback interface of the application platform, and when the work order system receives the callback success information returned by the application platform, the work order parameters are transmitted to the application platform;
[0015] When the work order system receives the callback failure information returned by the application platform, it will re-call the preset callback interface of the application platform. If the work order system receives the callback success information returned by the application platform within the preset time, the work order parameters will be transmitted to the application platform. If the work order system still receives the callback failure information returned by the application platform when the preset time is reached, the callback failure result will be sent to the user.
[0016] The above-mentioned work order automation docking method, wherein the work order automation docking method further includes: a customization step, setting the work order parameters and the service activation opinion information in a customized manner.
[0017] The above-mentioned work order automation docking method, wherein the work order automation docking method further includes: a message reminder step, sending the work order approval process update result in the process update step to the user.
[0018] The present invention also provides a work order automation docking system, the work order automation docking system comprising:
[0019] An information transmission module is used for the work order system to query the current work order parameters and call the preset callback interface of the application platform to transmit the work order parameters to the application platform;
[0020] A status generation module, used for the application platform to activate the service corresponding to the work order parameters according to the work order parameters, and generate a service activation return code and service activation opinion information;
[0021] A status feedback module, used for the application platform to call the status update interface of the work order system, and feed back the service activation return code and the service activation opinion information to the work order system;
[0022] The process update module is used for the work order system to update the work order approval process according to the service activation return code and the service activation opinion information.
[0023] The above-mentioned work order automatic docking system, wherein the work order automatic docking system further includes:
[0024] The judgment module is used to judge whether the work order system has received the approval request, and if the work order system has received the approval request, the information transmission module is executed.
[0025] In the above-mentioned work order automatic docking system, the information transmission module specifically includes:
[0026] The work order system is used to call the preset callback interface of the application platform, and when the work order system receives the callback success information returned by the application platform, the work order parameters are transmitted to the application platform;
[0027] When the work order system receives the callback failure information returned by the application platform, it will re-call the preset callback interface of the application platform. If the work order system receives the callback success information returned by the application platform within the preset time, the work order parameters will be transmitted to the application platform. If the work order system still receives the callback failure information returned by the application platform when the preset time is reached, the callback failure result will be sent to the user.
[0028] The above-mentioned work order automation approval system and the work order automation docking system further include:
[0029] The custom module is used to set the work order parameters and the service activation opinion information in a custom manner.
[0030] The above-mentioned work order automation approval system and the work order automation docking system further include:
[0031] The message reminder module is used to send the work order approval process update result in the process update module to the user.
[0032] Technical effects or advantages of the present invention:
[0033] (1) The present invention provides a method for automated docking of work orders. The work order system queries the current work order parameters and calls the preset callback interface of the application platform to transmit the work order parameters to the application platform; the application platform activates the service corresponding to the work order parameters according to the work order parameters, and generates a service activation return code and service activation opinion information; the application platform calls the status update interface of the work order system, and feeds back the service activation return code and service activation opinion information to the work order system, and the work order system updates the work order approval process according to the activation return code and service activation opinion information. Through the above method, the present invention enables the work order system to dock with any application platform, without the need to manually activate the corresponding service on the application platform according to the work order parameters, thereby realizing automated approval of work orders, reducing time and manpower expenditures, improving work efficiency, and ensuring the accuracy of the approval process.
[0034] (2) The present invention provides a work order automation docking method, which determines whether the work order system has received an approval request before transmitting the work order parameters in the work order system to the application platform. If the work order system has received an approval request, the work order system queries the current work order parameters and calls the preset callback interface of the application platform to transmit the work order parameters to the application platform. In the above manner, the present invention realizes free control of the preset callback interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A state flow chart of a work order automation docking method provided by an embodiment of the present invention;
[0036] Figure 2 A schematic diagram of the structure of a work order automation docking system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the content disclosed in the present application, some changes such as design, manufacturing or production based on the technical content disclosed in the present application are just conventional technical means, and should not be understood as insufficient content disclosed in the present application. The reference to "embodiment" in the present application means that the specific features, structures or characteristics described in conjunction with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various positions in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by ordinary technicians in the field that the embodiments described in the present application can be combined with other embodiments without conflict. Unless otherwise defined, the technical terms or scientific terms involved in the present application should be the common meaning understood by people with general skills in the technical field to which the present application belongs. The words "one", "a", "a kind of", "the" and the like used in this application do not indicate a quantitative limitation and may indicate the singular or the plural. The terms "include", "comprise", "have" and any variations thereof used in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units that are inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
[0039] The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are merely used to distinguish similar objects and do not represent a specific ordering of objects.
[0040] The technical solution of the present invention is described in detail below in conjunction with specific embodiments and the accompanying drawings.
[0041] refer to Figure 1 , Figure 1A state flow chart of a work order automation docking method provided in an embodiment of the present invention. An embodiment of the present invention provides a work order automation docking method, which is applied to a work order system and an application platform. Both the work order system and the application platform can be mounted on any mobile terminal, which can be a mobile phone, a tablet computer, or a computer, etc. The specific implementation terminal is not limited in the embodiment of the present invention. The work order automation docking method comprises the following steps:
[0042] A judgment step is performed to judge whether the work order system has received the approval request. If the work order system has received the approval request, the information transmission step is performed.
[0043] In an embodiment of the present invention, before the work order parameters in the work order system are transmitted to the application platform, it is determined whether the work order system has received an approval request. If the work order system has received an approval request, the work order system queries the current work order parameters and calls the preset callback interface of the application platform to transmit the work order parameters to the application platform, thereby realizing free control of the preset callback interface.
[0044] Information transmission step, the work order system queries the current work order parameters and calls the preset callback interface of the application platform to transmit the work order parameters to the application platform;
[0045] In specific applications, the preset callback interface can be an API (application programming interface). The work order parameters include but are not limited to the work order ID, work order subject, applicant's department, applicant's name, applicant's work number, application requirements, etc. The work order parameters can be set according to actual needs.
[0046] In this embodiment, a verification step is also included between the judgment step and the information transmission step, and the verification step includes: the work order system sends a registration interface call request to the application platform, and after the application platform receives the registration interface call request of the work order system, it verifies whether the registration interface call request is valid, and sends the verification result information to the work order system, and executes the information transmission step according to the verification result information.
[0047] In an embodiment of the present invention, the registration interface may be an API, and the registration interface call request may be sent using the https protocol POST method. Optionally, the registration interface call request includes registration interface credential information, wherein the registration interface credential information can be used by the application platform to verify whether the registration interface call request is valid, that is, the application platform can determine whether the registration interface call request is valid based on the registration interface credential information. When the registration interface credential information successfully matches the preset registration interface credential information, the registration interface call request is valid; when the registration interface credential information fails to match the preset registration interface credential information, the registration interface call request is invalid. The verification result information includes valid registration interface call request information and invalid registration interface call request information. When the work order system receives the registration interface, the registration interface call request and the verification result information are both in JSON data packets.
[0048] In the embodiment of the present invention, the information transmission step specifically includes:
[0049] The work order system calls the preset callback interface of the application platform, and when the work order system receives the callback success information returned by the application platform, the work order parameters are transmitted to the application platform;
[0050] When the work order system receives the callback failure information returned by the application platform, it will re-call the preset callback interface of the application platform. If the work order system receives the callback success information returned by the application platform within the preset time, the work order parameters will be transmitted to the application platform. If the work order system still receives the callback failure information returned by the application platform when the preset time is reached, the callback failure result will be sent to the user.
[0051] Among them, after the work order system receives valid information of the registration interface call request, the work order system queries the current work order parameters and calls the preset callback interface of the application platform to transmit the work order parameters to the application platform; when the work order system receives invalid information of the registration interface call request, the work order system resends the registration interface call request. If the work order system receives valid information of the registration interface call request within the preset time, the work order system queries the current work order parameters; if the work order system still receives invalid information of the registration interface call request after the preset time, the invalid result of the registration interface call request is sent to the user.
[0052] In a state generation step, the application platform activates the service corresponding to the work order parameters according to the work order parameters, and generates a service activation return code and service activation opinion information;
[0053] In this embodiment, the service activation return code includes service activation return code = 0, service activation return code = 1 and service activation return code = other, and the service activation opinion information includes that the work order will be automatically confirmed and the approval process will be assigned to the next person; the work order will be automatically rejected and the approval process will be assigned to the previous person; the work order process will remain unchanged and manual intervention is required.
[0054] In a status feedback step, the application platform calls the status update interface of the work order system and feeds back the service activation return code and the service activation opinion information to the work order system;
[0055] In an embodiment of the present invention, the status update interface can be an API, and the work order system can receive a service activation return code = 0 sent by the application platform, and the work order will be automatically confirmed, and the work order approval process will be assigned to the next person; the work order system can receive a service activation return code = 1 sent by the application platform, and the work order will be automatically rejected, and the approval process will be assigned to the previous person; the work order system can receive a service activation return code = other, and the work order process will remain unchanged and require manual intervention.
[0056] In the process updating step, the work order system updates the work order approval process according to the service activation return code and the service activation opinion information.
[0057] In the embodiment of the present invention, when the service activation return code = 0 is received and the work order will be automatically confirmed and the work order approval process is assigned to the next person, the next person will confirm the work order according to the work order approval process. When the service activation return code = 1 is received and the work order will be automatically rejected and the approval process is assigned to the previous person, the previous person will re-confirm the work order according to the work order approval process; when the service activation return code = other is received and the work order process will remain unchanged and manual intervention is required, the manual intervention work order approval process is notified.
[0058] The message reminder module sends the work order approval process update result in the process update step to the user.
[0059] In specific applications, when the approval process requires confirmation by the next person, a message will be sent to the next person. The message sending can be achieved through SMS, email, etc.; when the approval process requires reconfirmation by the previous person, a message will be sent to the previous person; when the approval process requires manual intervention, a message will be sent to the relevant users. The relevant users can set it accordingly according to the actual work order requirements.
[0060] A customization step is to set the work order parameters and the service activation opinion information in a customized manner.
[0061] In this embodiment, the customization step can be used to set the work order parameters in a customized manner during the information transmission step, and can also be used to set the service activation opinion information in a customized manner during the status generation step.
[0062] The work order automation docking method provided in this embodiment enables the work order system to be docked with any application platform without the need for manual activation of corresponding services on the application platform based on work order parameters. This realizes automated approval of work orders, reduces time and manpower expenditures, improves work efficiency, and ensures the accuracy of the approval process.
[0063] refer to Figure 2 The embodiment of the present invention further provides a work order automation docking system, which is applied to the work order system and the application platform, and the work order automation docking system includes:
[0064] An information transmission module, used for the work order system to query the current work order parameters, and call the preset callback interface of the application platform to transmit the work order parameters to the application platform;
[0065] A status generation module, used for the application platform to activate the service corresponding to the work order parameters according to the work order parameters, and generate a service activation return code and service activation opinion information;
[0066] A status feedback module, used for the application platform to call the status update interface of the work order system, and feed back the service activation return code and the service activation opinion information to the work order system;
[0067] The process update module is used for the work order system to update the work order approval process according to the service activation return code and the service activation opinion information.
[0068] In an embodiment of the present invention, the work order automation docking system further includes:
[0069] The judgment module is used to judge whether the work order system has received the approval request, and if the work order system has received the approval request, the information transmission module is executed.
[0070] In an embodiment of the present invention, the work order automatic docking system further includes between the judgment module and the information transmission module:
[0071] A verification module is used for the work order system to send a registration interface call request to the application platform. After the application platform receives the registration interface call request from the work order system, it verifies whether the registration interface call request is valid and sends the verification result information to the work order system, and executes the information transmission module according to the verification result information.
[0072] In the embodiment of the present invention, the information transmission module specifically includes:
[0073] The work order system is used to call the preset callback interface of the application platform, and when the work order system receives the callback success information returned by the application platform, the work order parameters are transmitted to the application platform;
[0074] When the work order system receives the callback failure information returned by the application platform, it will re-call the preset callback interface of the application platform. If the work order system receives the callback success information returned by the application platform within the preset time, the work order parameters will be transmitted to the application platform. If the work order system still receives the callback failure information returned by the application platform when the preset time is reached, the callback failure result will be sent to the user.
[0075] In an embodiment of the present invention, the work order automation docking system further includes:
[0076] The custom module is used to set the work order parameters and the service activation opinion information in a custom manner.
[0077] In an embodiment of the present invention, the work order automation docking system further includes:
[0078] The message reminder module sends the work order approval process update result in the process update module to the user.
[0079] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A work order automation docking method, characterized in that: The work order automation docking method comprises the following steps: A judging step, judging whether the work order system has received the approval request, and if the work order system has received the approval request, executing the information transmission step; A verification step, wherein the work order system sends a registration interface call request to the application platform. After receiving the registration interface call request from the work order system, the application platform verifies whether the registration interface call request is valid, and sends verification result information to the work order system, and executes the information transmission step according to the verification result information; The verification step specifically includes: the registration interface call request includes registration interface credential information, wherein the application platform can determine whether the registration interface call request is valid based on the registration interface credential information, and when the registration interface credential information successfully matches the preset registration interface credential information, the registration interface call request is valid; when the registration interface credential information fails to match the preset registration interface credential information, the registration interface call request is invalid; the verification result information includes registration interface call request valid information and registration interface call request invalid information; an information transmission step, the work order system queries the current work order parameters, and calls the preset callback interface of the application platform to transmit the work order parameters to the application platform; The information transmission step specifically includes: The work order system calls the preset callback interface of the application platform, and when the work order system receives the callback success information returned by the application platform, the work order parameters are transmitted to the application platform; When the work order system receives callback failure information returned by the application platform, the preset callback interface of the application platform is re-called. If the work order system receives callback success information returned by the application platform within the preset time, the work order parameters are transmitted to the application platform. If the work order system still receives callback failure information returned by the application platform when the preset time is reached, the callback failure result is sent to the user. In a state generation step, the application platform activates the service corresponding to the work order parameters according to the work order parameters, and generates a service activation return code and service activation opinion information; In a status feedback step, the application platform calls the status update interface of the work order system and feeds back the service activation return code and the service activation opinion information to the work order system; A process update step, wherein the work order system updates the work order approval process according to the service activation return code and the service activation opinion information; A customization step is to set the work order parameters and the service activation opinion information in a customized manner.
2. The work order automation docking method according to claim 1, characterized in that: The work order automation docking method further includes: The message reminder step sends the work order approval process update result in the process update step to the user.
3. A work order automation docking system, characterized in that: The work order automation docking system includes: A judgment module, used to judge whether the work order system has received the approval request, and if the work order system has received the approval request, execute the information transmission step; A verification module, used for the work order system to send a registration interface call request to the application platform. After receiving the registration interface call request from the work order system, the application platform verifies whether the registration interface call request is valid, and sends the verification result information to the work order system, and executes the information transmission step according to the verification result information; The verification module specifically includes: the registration interface call request includes registration interface credential information, wherein the application platform can determine whether the registration interface call request is valid according to the registration interface credential information, and when the registration interface credential information successfully matches the preset registration interface credential information, the registration interface call request is valid; when the registration interface credential information fails to match the preset registration interface credential information, the registration interface call request is invalid; the verification result information includes registration interface call request valid information and registration interface call request invalid information; An information transmission module is used for the work order system to query the current work order parameters and call the preset callback interface of the application platform to transmit the work order parameters to the application platform; The information transmission module specifically includes: The work order system is used to call the preset callback interface of the application platform, and when the work order system receives the callback success information returned by the application platform, the work order parameters are transmitted to the application platform; When the work order system receives callback failure information returned by the application platform, the preset callback interface of the application platform is re-called. If the work order system receives callback success information returned by the application platform within the preset time, the work order parameters are transmitted to the application platform. If the work order system still receives callback failure information returned by the application platform when the preset time is reached, the callback failure result is sent to the user. A status generation module, used for the application platform to activate the service corresponding to the work order parameters according to the work order parameters, and generate a service activation return code and service activation opinion information; A status feedback module, used for the application platform to call the status update interface of the work order system, and feed back the service activation return code and the service activation opinion information to the work order system; A process update module, used for the work order system to update the work order approval process according to the service activation return code and the service activation opinion information; The custom module is used to set the work order parameters and the service activation opinion information in a custom manner.
4. The work order automation docking system according to claim 3, characterized in that: The work order automation docking system further includes: The message reminder module is used to send the work order approval process update result in the process update module to the user.
