Test execution work order updating method, device, computer equipment and storage medium

By performing checksum updates of test execution work orders on the blockchain, the problem of low accuracy of test execution work orders is solved, and the accuracy and reliability of test execution are achieved to ensure that the test meets the requirements.

CN112862454BActive Publication Date: 2024-11-26LINGDONG NUCLEAR POWER +5
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110228449.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-02
Publication Date
2024-11-26
Estimated Expiration
2041-03-02

AI Technical Summary

Technical Problem

In regular nuclear power plants, the accuracy of the test execution work orders is low, resulting in frequent occurrence of cases where the test does not meet the requirements.

Method used

By receiving the update request for the test standard work ticket, obtain update-related information, send verification information to the blockchain node for storage and approval, confirming that the approval is passed, the test work ticket will be generated and updated based on the verification information and update-related information. Ensure the accuracy of the verification information, thereby improving the accuracy of the test execution work order.

Benefits of technology

Through the verification mechanism of blockchain, the accuracy of test execution work orders is improved, the accuracy of updates of relevant information is ensured, and the correctness and reliability of test execution is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112862454B_ABST
    Figure CN112862454B_ABST
Patent Text Reader

Abstract

The present application relates to a test execution work order update method, device, computer equipment and storage medium. The method includes: receiving a work order update request corresponding to a target test standard work order, obtaining update related information according to the work order update request; storing verification information corresponding to the update related information in a blockchain; obtaining a target approval circulation user chain corresponding to the target test standard work order, and sending update related information to the approval terminal corresponding to the approval circulation user chain for update approval; when it is determined that the approval is passed, obtaining verification information from the blockchain; verifying according to the verification information and update related information, and when it is confirmed that the verification is passed, obtaining the target test execution work order corresponding to the target test standard work order; updating the target test execution work order according to the update related information to obtain an updated test execution work order. The use of this method can improve the accuracy of the test execution work order.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data updating, and in particular to a method, apparatus, computer equipment and storage medium for updating a test execution work order. Background Art

[0002] The safety of nuclear power plants is of vital importance. In order to maintain the reliability of the system and ensure that all faulty components or their substandard performance are not hidden for a long time, nuclear power plants need to conduct regular tests. Among them, regular tests refer to the work of measuring performance parameters or checking the availability of units, systems, components or structures in accordance with the requirements of the operating technical specifications, within a certain time interval, and in accordance with the methods specified in the test procedures of nuclear power plants in the operating stage.

[0003] Currently, when conducting regular tests, a test execution work order can be generated based on the test standard work order, and users who conduct regular tests can conduct tests based on the test execution work order. It is often found that after conducting a test based on the test execution work order, the test execution work order is inaccurate, resulting in the test not meeting the requirements. Summary of the invention

[0004] Based on this, it is necessary to provide a test execution work order updating method, apparatus, computer equipment and storage medium that can improve the accuracy of the test execution work order in order to address the technical problem of low accuracy of the above-mentioned test execution work order.

[0005] A method for updating a test execution work order, the method comprising: receiving a work order update request corresponding to a target test standard work order, and obtaining update related information according to the work order update request; sending verification information corresponding to the update related information to a blockchain node, so that the blockchain node stores the verification information in the blockchain; obtaining a target approval circulation user chain corresponding to the target test standard work order, and sending the update related information to an approval terminal corresponding to the target approval circulation user chain, so that the approval terminal performs update approval according to the update related information; when it is determined that the result of the update approval is approved, obtaining the verification information from the blockchain; performing verification according to the verification information and the update related information, and when it is confirmed that the verification is passed, obtaining a target test execution work order corresponding to the target test standard work order, and the target test execution work order is generated according to the target test standard work order; updating the target test execution work order according to the update related information to obtain an updated test execution work order.

[0006] In some embodiments, the update-related information includes process update information, and the process update information includes an updated process identifier and an operation type. Updating the target test execution work order based on the update-related information includes: obtaining corresponding process information from the target test execution work order based on the updated process identifier to obtain target process information; and updating the target process information based on the operation type.

[0007] In some embodiments, the operation type is a reordering operation, the updated process identifier includes a first process identifier and a second process identifier, and obtaining the corresponding process information from the target test execution work order according to the updated process identifier to obtain the target process information includes: obtaining the corresponding process information from the target test execution work order according to the first process identifier to obtain the first process information; obtaining the corresponding process information from the target test execution work order according to the second process identifier to obtain the second process information; using the first process information and the second process information as the target process information; updating the target process information according to the operation type includes: exchanging the execution order of the first process information and the second process information according to the reordering operation.

[0008] In some embodiments, the target test execution work order is updated according to the update-related information to obtain an updated test execution work order, including: obtaining the issued execution time corresponding to the target test execution work order; obtaining the current time, and comparing the current time with the issued execution time. When it is determined that the issued execution time is earlier than the current time, the target test execution work order is updated according to the update-related information to obtain an updated test execution work order, and the updated test execution work order is sent to the corresponding test terminal.

[0009] In some embodiments, the sending of the verification information corresponding to the update-related information to the blockchain node so that the blockchain node stores the verification information in the blockchain includes: obtaining the verification information based on the update-related information; obtaining the update private key of the update terminal corresponding to the work order update request; signing the verification information according to the update private key to obtain signature information; sending a storage request to the blockchain node, the storage request carrying the verification information and the signature information; the method also includes: when confirming that the blockchain node has reached a consensus on the storage request based on the signature information, updating the target test standard work order according to the work order update request to obtain an updated target test standard work order.

[0010] In some embodiments, the method also includes: performing a hash calculation on the update-related information to obtain a verification hash value, and using the verification hash value as verification information; the verification based on the verification information and the update-related information includes: performing a hash calculation on the update-related information to obtain an updated hash value; comparing the verification information with the updated hash value to obtain a comparison result; when the comparison result is consistent, determining that the verification has passed.

[0011] A device for updating a test execution work order, the device comprising: a work order update request receiving module, used to receive a work order update request corresponding to a target test standard work order, and obtain update related information according to the work order update request; a verification information sending module, used to send the verification information corresponding to the update related information to a blockchain node, so that the blockchain node stores the verification information in the blockchain; an update related information sending module, used to obtain a target approval circulation user chain corresponding to the target test standard work order, and send the update related information to an approval terminal corresponding to the target approval circulation user chain, so that the approval terminal performs update approval according to the update related information; a verification information obtaining module, used to obtain the verification information from the blockchain when it is determined that the result of the update approval is approved; a target test execution work order obtaining module, used to perform verification according to the verification information and the update related information, and when it is confirmed that the verification is passed, obtain the target test execution work order corresponding to the target test standard work order, and the target test execution work order is generated according to the target test standard work order; an updated test execution work order obtaining module, used to update the target test execution work order according to the update related information to obtain an updated test execution work order.

[0012] In some embodiments, the update-related information includes process update information, and the process update information includes an updated process identifier and an operation type. The updated test execution work order obtaining module includes: a target process information obtaining unit, which is used to obtain the corresponding process information from the target test execution work order according to the updated process identifier to obtain the target process information; and an updating unit, which is used to update the target process information according to the operation type.

[0013] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned test execution work order update method when executing the computer program.

[0014] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned test execution work order update method.

[0015] The above-mentioned test execution work order update method, device, computer equipment and storage medium receive a work order update request corresponding to the target test standard work order, obtain update related information according to the work order update request, send the verification information corresponding to the update related information to the blockchain node, so that the blockchain node stores the verification information in the blockchain, obtain the target approval flow user chain corresponding to the target test standard work order, send the update related information to the approval terminal corresponding to the approval flow user chain, so that the approval terminal performs update approval according to the update related information, when it is determined that the result of the update approval is approved, obtain the verification information from the blockchain, verify according to the verification information and the update related information, when it is confirmed that the verification is passed, obtain the target test execution work order corresponding to the target test standard work order, the target test execution work order is generated according to the target test standard work order, and the target test execution work order is updated according to the update related information to obtain the updated test execution work order. Since the verification information is obtained from the blockchain, the accuracy of the verification information is improved. When the verification passes, it can be determined that the update related information is consistent with the verification information, that is, the accuracy of the update related information is ensured, thereby improving the accuracy of the updated test execution work order obtained according to the update related information. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A diagram of an application environment for testing and executing a work order update method in some embodiments;

[0017] Figure 2 A schematic diagram of a flow chart of a method for updating a work order in a trial execution in some embodiments;

[0018] Figure 3A This is a schematic diagram of the interface of a test standard work order in some embodiments;

[0019] Figure 3B A schematic diagram of updating relevant information in some embodiments;

[0020] Figure 3C A schematic diagram of an interface of a test execution work order in some embodiments;

[0021] Figure 3D A flowchart of a process of generating, updating, and canceling a test standard work order in some embodiments;

[0022] Figure 3E A schematic diagram of a flow chart of steps for updating a target test execution work order in some embodiments;

[0023] Figure 4 A schematic diagram of a flow chart of target process acquisition and update steps in some embodiments;

[0024] Figure 5A schematic diagram of a flow chart of a method for updating a work order in a trial execution in some embodiments;

[0025] Figure 6 A schematic diagram of a flow chart of a test execution work order update step in some embodiments;

[0026] Figure 7 A schematic diagram of a flow chart of performing a verification step according to verification information and updating related information in some embodiments;

[0027] Figure 8 It is a structural block diagram of a test execution work order updating device in some embodiments;

[0028] Fig. 9 1 is a diagram of the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0030] The test execution work order update method provided in this application can be applied to Figure 1 The application environment shown in FIG. 1 includes an update terminal 102, a business server 104, a blockchain node 106, and an approval terminal 108. The blockchain node 106 belongs to the blockchain system 100, and the blockchain system 100 includes the blockchain node 106, the blockchain node 110, the blockchain node 112, and the blockchain node 114. Of course, the blockchain system 100 may include Figure 1 The more nodes shown in the figure may also include fewer nodes. Among them, the update terminal 102 communicates with the business server 104 through the network. The approval terminal 108 communicates with the business server 104 through the network. The business server 104 communicates with the blockchain node 106 through the network. Each blockchain node in the blockchain system 100 communicates through the network.

[0031] Specifically, the update terminal 102 can send a work order update request corresponding to the target test standard work order to the business server 104, and the business server 104 can receive the work order update request corresponding to the target test standard work order, and obtain the update related information according to the work order update request. The business server 104 can send the verification information corresponding to the update related information to the blockchain node 106, and the blockchain node can store the verification information in the blockchain. The business server 104 can obtain the target approval circulation user chain corresponding to the target test standard work order, and send the update related information to the approval terminal 108 corresponding to the approval circulation user chain. The approval terminal 108 can perform update approval according to the update related information and generate the result of the update approval. When the business server 104 determines that the result of the update approval is approved, the verification information can be obtained from the blockchain, and the verification can be performed according to the verification information and the update related information. When the business server 104 confirms that the verification is passed, the target test execution work order corresponding to the target test standard work order can be obtained, wherein the target test execution work order is generated according to the target test standard work order, and the target test execution work order is updated according to the update related information to obtain the updated test execution work order.

[0032] Among them, the terminal can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices. The business server 104 can be implemented by an independent server or a server cluster composed of multiple servers. The blockchain node can be implemented by an independent server or a server cluster composed of multiple servers.

[0033] In some embodiments, the business server may be a server where the work order management system is located, the work order management system may correspond to a client or a webpage, the update terminal and the approval terminal may install a client corresponding to the work order management system, or may access a webpage corresponding to the work order management system. The user of the update terminal may be the same as the user corresponding to the approval terminal, or may be different.

[0034] In some embodiments, Figure 2 As shown, a test execution work order update method is provided, which is applied to Figure 1 Taking the business server 104 in the example as an example, the following steps are included:

[0035] S202, receiving a work order update request corresponding to a target test standard work order, and obtaining update related information according to the work order update request.

[0036] Specifically, a test standard work order is a work order generated for conducting a test, and can be used to generate a test execution work order. The test standard work order may include at least one of description information, process information, acceptance criteria, schedules or attachments. The description information may include at least one of purpose information or authorization information. The purpose information includes the purpose of executing the work order. The authorization information includes at least one of the work order execution site or execution personnel, for example, it may be at least one of "in the main control room, all operations are performed by the main control room operator" or "on-site, all operations are performed by the on-site operator under the responsibility of the main control room operator or the isolation manager". The process information is the relevant information of the process, and may include at least one of the process number, process description information, functional location information, location information, expected results, actual values ​​or remarks information. The process number can be used as an identifier of the process to uniquely identify a process. The process description information is the description information related to the process. The functional location information is used to identify the object of the test corresponding to the work order. The acceptance criteria represent the acceptance criteria for evaluating the acceptance test results. The schedule can be a result schedule that cannot be converted into a process mode. The attachment can be an attachment document in the work order. For example Figure 3A As shown, a schematic diagram of the interface of a test standard work order is shown. The target test standard work order is the test standard work order requested to be updated. The work order update request is used to request an update of the target test standard work order. The update-related information may include information on updating at least one of the description information, process information, acceptance criteria, schedules or attachments, and may specifically include the updater, operation type, content before update, and content after update, etc., wherein the operation type may include addition, deletion, and modification, etc. Figure 3B As shown, an update related information is displayed.

[0037] In some embodiments, the work order update request may carry update related information. The business server may obtain update related information from the work order update request; or, the business server may obtain modification log information corresponding to the target test standard work order according to the work order update request, and obtain update related information according to the modification log information, for example, the modification log information may be used as update related information.

[0038] In some embodiments, the test execution work order is a work order used when executing the test. The business server can send the generated test execution work order to the test terminal. The test terminal is a terminal used to execute the test. The user can execute the test according to the test execution work order on the test terminal.

[0039] In some embodiments, the test execution work order may include at least one of header information, description information, process information, acceptance criteria, schedule or attachment. The description information, process information, acceptance criteria, schedule and attachment in the test execution work order are obtained according to the description information, process information, acceptance criteria, schedule and attachment in the test standard work order. The description information, process information, acceptance criteria, schedule and attachment in the test execution work order may be the same as the description information, process information, acceptance criteria, schedule and attachment in the test standard work order.

[0040] In some embodiments, the header information is generated during the process of generating a test execution work order. The header information may include at least one of basic start, basic completion, work center, unit, or priority. Among them, basic start is used to identify the date and time when the test execution work order starts to execute. Basic completion is used to identify the date and time when the test execution work order completes execution. Priority is used to identify the priority level of the test execution work order. Figure 3C As shown, a schematic diagram of the interface of a test execution work order is shown.

[0041] In some embodiments, when updating the test standard work order, the business server may obtain the test execution work order generated by the test standard work order, and perform the same or similar update on the test execution work order to obtain an updated test execution work order.

[0042] In some embodiments, the user can access the work order update interface through the update terminal, and can trigger the update request through operations on the work order update interface. For example, the work order update request for the test standard work order can be triggered by clicking the update button corresponding to the test standard work order.

[0043] In some embodiments, the test standard work order may correspond to a generation process, an update process, and a cancellation process, such as Figure 3D As shown, the generation process includes determining the editing and approval process, writing, checking, reviewing, approving, passing verification, publishing program documents, and the effectiveness of test standard work orders; the update process includes editing and approval process, writing, checking, reviewing, approving, passing verification, publishing program documents, the old version becoming invalid, and the new version becoming effective; the cancellation process includes determining the writing or approval process, filling in the cancellation reason, reviewing, approving, and the cancellation of the test standard work order.

[0044] S204, sending the verification information corresponding to the update related information to the blockchain node, so that the blockchain node stores the verification information in the blockchain.

[0045] Specifically, the verification information is obtained based on the update-related information. The real-time update-related information can be used as the verification information, or the real-time update-related information can be hashed and the calculated hash value can be used as the verification information. Among them, the hash calculation can be implemented using a predetermined hash algorithm. The hash algorithm is also called a hash algorithm. The hash algorithm is used to map a binary string of any length to a fixed-length binary string, and the binary value obtained after mapping the original data is called a hash value. Commonly used hash algorithms include at least one of MD4, MD5 or SHA. The predetermined hash algorithm can be one of MD4, MD5 or SHA.

[0046] In some embodiments, when update-related information is obtained, the step of sending verification information corresponding to the update-related information to the blockchain node can be triggered in real time to prevent the update-related information from being maliciously tampered with.

[0047] In some embodiments, the service server can obtain the identity information of the update terminal, obtain the signature information according to the identity information of the update terminal, and send the signature information and the verification information to the blockchain node. The blockchain node can verify whether the update terminal is legal according to the signature information, and when the verification is passed, the verification information is stored in the blockchain. The identity information is, for example, a private key.

[0048] S206, obtaining the target approval flow user chain corresponding to the target test standard work order, and sending update related information to the approval terminal corresponding to the target approval flow user chain, so that the approval terminal performs update approval according to the update related information.

[0049] Specifically, the update approval process may include at least one approval stage, and each approval stage may correspond to an approval order. The approval order refers to the order in which the approval stages occur in the update approval process. The business server may obtain the approval personnel information corresponding to the approval personnel in each approval stage. The approval personnel information may include the approval personnel identification. The business server may sort the approval personnel information according to the approval order to obtain the approval flow user chain. The approval personnel may, for example, be at least one of the shift supervisor, security engineer, deputy manager or manager. The approval terminal refers to the terminal operated by the approval personnel when approving. The user can trigger the sending of update-related information to the approval terminal by selecting the submit approval button.

[0050] In some embodiments, the business server can obtain the information of the approver with the first approval order from the target approval flow user chain, obtain the first approval terminal corresponding to the information of the approver with the first approval order, and send the update related information to the first approval terminal. The approver of the first approval terminal can update and approve the received update related information through the first approval terminal.

[0051] In some embodiments, the approval terminal may return the result of the update approval to the business server, and the business server may store the result of the update approval. The result of the update approval may be one of approval passed or approval failed.

[0052] In some embodiments, the business server may send the update approval result to the blockchain node, and the blockchain node may store the update approval result in the blockchain. When the business server receives the approval query instruction sent by the terminal, it may send an approval query request to the blockchain node, and the blockchain node may return the update approval result to the business server, and the business server may return the update approval result to the terminal.

[0053] S208, when it is determined that the result of the update approval is approved, obtain verification information from the blockchain.

[0054] Specifically, the result of the update approval may be obtained according to the stage approval results corresponding to each approval stage. The stage approval result may be one of approval passed or approval failed. When all the stage approval results are approval passed, the result of the update approval is determined to be approval passed. When there is a stage approval failure in the stage approval result, the result of the update approval is determined to be approval failed.

[0055] In some embodiments, when the result of the update approval is approved, the business server can obtain verification information from the blockchain.

[0056] S210, perform verification according to the verification information and update related information. When it is confirmed that the verification is passed, obtain the target test execution work order corresponding to the target test standard work order. The target test execution work order is generated according to the target test standard work order.

[0057] Specifically, when the verification information is real-time update related information, the business server can compare the verification information with the update related information to obtain a comparison result, and when the comparison result is consistent, it is determined that the verification is passed. The target test execution work order is a work order generated according to the target test standard work order before the target test standard work order is updated.

[0058] In some embodiments, when the verification information is a hash value of real-time update-related information, a hash calculation may be performed on the update-related information, and the obtained hash value may be compared with the verification information. When the comparison result is consistent, it is determined that the verification has passed.

[0059] In some embodiments, a corresponding test execution work order can be generated by adding header information on the basis of the test standard work order. Specifically, the business server can provide a test execution work order generation interface, which can include a test execution work order generation button and a test standard work order filling position. The user can access the test execution work order generation interface through the terminal, fill in the test standard work order identification in the test standard work order filling position and select the test execution work order generation button. The terminal can obtain the selection operation of the test execution work order generation button through the interface, jump to the header information filling interface, and the user can fill in the header information in the header information filling interface. When the filling is completed, the test execution work order can be generated by selecting a button indicating the end, such as a "Finish" button.

[0060] S212, updating the target test execution work order according to the update related information to obtain an updated test execution work order.

[0061] Specifically, since the description information, process information, acceptance criteria, schedules and attachments in the test execution work order are obtained according to the description information, process information, acceptance criteria, schedules and attachments in the test standard work order, respectively. Therefore, when any of the description information, process information, acceptance criteria, schedules or attachments in the test execution work order is updated, the corresponding part of the test execution work order can be updated. For example, when the process information in the test standard work order is updated, the process information of the test execution work order can be updated accordingly, and the updated related information may include the process update information.

[0062] In some embodiments, the process update information includes a process identifier. The business server may obtain corresponding process information from the target test execution work order according to the process identifier in the process update information, and update the obtained process information.

[0063] In some embodiments, the process update information may include reordering information, and the reordering information may include a process number before the update and a process number after the update. The business server may obtain the corresponding process information from the target test execution work order according to the process number before the update in the reordering information, and modify the process number of the obtained process information to the updated process number in the reordering information.

[0064] In some embodiments, the process update information may include a reordering operation type and an identifier of a process to be reordered. The reordering operation type may be used to at least one of replace an identifier of a process or replace an execution order of a process.

[0065] In the above test execution work order update method, a work order update request corresponding to the target test standard work order is received, update related information is obtained according to the work order update request, verification information corresponding to the update related information is sent to the blockchain node, so that the blockchain node stores the verification information in the blockchain, obtains the target approval flow user chain corresponding to the target test standard work order, sends the update related information to the approval terminal corresponding to the approval flow user chain, so that the approval terminal performs update approval according to the update related information, and when it is determined that the result of the update approval is approved, the verification information is obtained from the blockchain, and verification is performed according to the verification information and the update related information. When the verification is confirmed to be passed, the target test execution work order corresponding to the target test standard work order is obtained, the target test execution work order is generated according to the target test standard work order, and the target test execution work order is updated according to the update related information to obtain the updated test execution work order. Since the verification information is obtained from the blockchain, the accuracy of the verification information is improved. When the verification is passed, it can be determined that the update related information is consistent with the verification information, that is, the accuracy of the update related information is ensured, thereby improving the accuracy of the updated test execution work order obtained according to the update related information.

[0066] In some embodiments, the update related information includes process update information, and the process update information includes an update process identifier and an operation type, such as Figure 3E As shown, updating the target test execution work order according to the update related information in step S212 includes:

[0067] S302, according to the updated process identifier, obtain corresponding process information from the target test execution work order to obtain target process information.

[0068] Specifically, the update process identifier refers to the identifier of the process that is updated. The identifier of the process may be the process number. The operation type may include at least one of adding, deleting, or modifying. Of course, the operation type may also include other types, such as reordering. The business server may obtain the process information corresponding to each process of the target test execution work order, and obtain the process information corresponding to the update process identifier from the process information corresponding to each process as the target process information.

[0069] S304: Update the target process information according to the operation type.

[0070] Specifically, the operation type may include at least one of adding, deleting or modifying. When the operation type is deleting, the business server may delete the target process information in the target test execution work order.

[0071] In some embodiments, the operation type is modification, and the process update information also includes the content before modification and the content after modification. The business server can replace the content in the target process information that is the same as the content before modification with the content after modification.

[0072] In some embodiments, the process update information may also include newly added process information, and the updated process identifier is the identifier corresponding to the newly added process. If the business server cannot obtain the process information corresponding to the updated process identifier from the target test execution work order, the business server may add the newly added process information in the process update information to the target test execution work order to update the target test execution work order.

[0073] In the above embodiment, the process update information in the update related information is used to update the process information of the test execution work order, and the updating method is convenient and efficient.

[0074] In some embodiments, the operation type is a reordering operation, and the update process identifier includes a first process identifier and a second process identifier, such as Figure 4 As shown, step S302 is to obtain corresponding process information from the target test execution work order according to the updated process identifier, and the target process information obtained includes:

[0075] S402: According to the first process identifier, corresponding process information is obtained from the target test execution work order to obtain first process information.

[0076] S404, according to the second process identifier, obtain corresponding process information from the target test execution work order to obtain second process information.

[0077] S406: The first process information and the second process information are used as target process information.

[0078] Step S304, i.e. updating the target process information according to the operation type, includes:

[0079] S408: According to the reordering operation, the execution order of the first process information and the second process information are exchanged.

[0080] Specifically, the reordering operation can change the execution order of the processes. The first process information and the second process information are the operation objects of the reordering operation, that is, the business server can change the execution order of the first process information and the second process information according to the reordering operation. The business server can use the first process information and the second process information as target process information, that is, the target process information can include the first process information and the second process information.

[0081] In the above embodiment, the execution order of the first process information and the second process information is exchanged according to the reordering operation. Therefore, when the test needs to modify the execution order of the processes in the work order, the reordering operation can be used to conveniently and quickly adjust the execution order of the processes, thereby improving the updating efficiency of the test execution work order.

[0082] In some embodiments, Figure 5 As shown, step S212 is to update the target test execution work order according to the update related information, and the updated test execution work order includes:

[0083] S502, obtaining the issuance execution time corresponding to the target test execution work order.

[0084] Specifically, the execution time may be the start time when the business server sends the test execution work order to the test terminal, or may be a time range.

[0085] S504, obtain the current time, compare the current time with the issued execution time, and when it is determined that the issued execution time is earlier than the current time, update the target test execution work order according to the update related information to obtain the updated test execution work order, and send the updated test execution work order to the corresponding test terminal.

[0086] Specifically, the current time may be the time period in which the current moment is located. The execution time is one of the historical time and the future time. The historical time refers to the execution time being earlier than the current time. The future time refers to the execution time being later than the current time. When the execution time is earlier than the current time, it means that the target test execution work order has been sent to the test terminal. Therefore, the business server needs to update the corresponding test execution work order in the test terminal to ensure that the user uses the updated test execution work order to conduct the test to ensure the correctness of the test.

[0087] In the above embodiment, the current time and the execution time are used to determine whether the test execution work order has been sent to the test terminal. When it is determined that it has been sent to the test terminal, the business server sends the updated test execution work order to the test terminal so that the test execution work order in the test terminal is updated, thereby ensuring the correctness of the test.

[0088] In some embodiments, Figure 6 As shown, step S204 is to send the verification information corresponding to the updated relevant information to the blockchain node, so that the blockchain node stores the verification information in the blockchain, including:

[0089] S602, obtaining verification information according to update related information.

[0090] S604, obtaining an update private key of the update terminal corresponding to the work order update request.

[0091] Specifically, the update terminal may correspond to an update private key and an update public key, and the update terminal may use the update private key to encrypt data to obtain encrypted data. Other devices may use the update public key to decrypt the encrypted data to obtain the data before encryption. Among them, other devices refer to devices that have the right to use the update public key.

[0092] S606, signing the verification information according to the updated private key to obtain signature information.

[0093] Specifically, the business server may use the updated private key to encrypt the verification information, and use the encrypted verification information as signature information.

[0094] S608, sending a storage request to the blockchain node, the storage request carries verification information and signature information.

[0095] Specifically, the storage request is used to request the storage of verification information. The business server can send a storage request carrying verification information and signature information to the corresponding blockchain node, and the blockchain node can broadcast the storage request so that the blockchain nodes in the blockchain system obtain the storage request, and the blockchain nodes in the blockchain system can reach a consensus on the storage request based on the signature information in the storage request.

[0096] The method also includes:

[0097] S610, when it is confirmed that the blockchain node has passed the consensus on the storage request according to the signature information, the target test standard work order is updated according to the work order update request to obtain an updated target test standard work order.

[0098] In the above embodiment, the blockchain nodes reach a consensus on the storage request based on the signature information. When the consensus is passed, the legitimacy of the storage request can be determined, that is, it is determined that the update terminal has the right to update the target test standard work order. Therefore, the test standard work order is updated after the consensus is passed, which can prevent the test annotation work order from being maliciously modified.

[0099] In some embodiments, Figure 7 As shown, the method also includes:

[0100] S702, performing hash calculation on the update related information to obtain a verification hash value, and using the verification hash value as verification information;

[0101] Specifically, the business server may obtain real-time update-related information, perform hash calculation on the real-time update-related information, use the calculated hash value as a verification hash value, and use the verification hash value as verification information.

[0102] The verification according to the verification information and the update related information in step S210 includes:

[0103] S704, performing hash calculation on the update related information to obtain an update hash value.

[0104] Specifically, the business server may store update related information, and when determining that the result of update approval is approved, obtain the stored update related information, perform hash calculation on the stored update related information, and use the obtained hash value as the update hash value.

[0105] S706, comparing the verification information with the updated hash value to obtain a comparison result.

[0106] S708: When the comparison result is consistent, it is determined that the verification is passed.

[0107] Specifically, when the comparison result is consistent, it means that the verification information is the same as the update hash value. Since the verification information is generated based on real-time update-related information, the correctness of the verification information can be guaranteed. When the comparison result is consistent, it means that the update-related information stored in the business server has not been tampered with during the approval process, verifying the accuracy of the update-related information.

[0108] In the above embodiment, since the storage space occupied by the hash value is usually very small, the comparison result is obtained by comparing the verified hash value with the updated hash value, which can save storage space. In addition, the comparison of the hash value consumes less time and has high comparison efficiency.

[0109] It should be understood that, although the steps in the flowcharts of the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts of the above-mentioned embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0110] In some embodiments, Figure 8 As shown, a test execution work order updating device is provided, including: a work order update request receiving module 802, a verification information sending module 804, an update related information sending module 806, a verification information obtaining module 808, a target test execution work order obtaining module 810 and an updated test execution work order obtaining module 812, wherein:

[0111] The work order update request receiving module 802 is used to receive a work order update request corresponding to a target test standard work order, and obtain update related information according to the work order update request.

[0112] The verification information sending module 804 is used to send the verification information corresponding to the update related information to the blockchain node, so that the blockchain node stores the verification information in the blockchain.

[0113] The update related information sending module 806 is used to obtain the target approval flow user chain corresponding to the target test standard work order, and send the update related information to the approval terminal corresponding to the target approval flow user chain, so that the approval terminal performs update approval according to the update related information.

[0114] The verification information acquisition module 808 is used to obtain verification information from the blockchain when the result of the update approval is determined to be approved.

[0115] The target test execution work order acquisition module 810 is used to perform verification based on the verification information and update related information. When the verification is confirmed to be passed, the target test execution work order corresponding to the target test standard work order is obtained. The target test execution work order is generated based on the target test standard work order.

[0116] The updated test execution work order obtaining module 812 is used to update the target test execution work order according to the update related information to obtain the updated test execution work order.

[0117] In some embodiments, the update related information includes process update information, the process update information includes an updated process identifier and an operation type, and the updated test execution work order obtaining module 812 includes:

[0118] The target process information obtaining unit is used to obtain the corresponding process information from the target test execution work order according to the updated process identifier to obtain the target process information.

[0119] The updating unit is used to update the target process information according to the operation type.

[0120] In some embodiments, the operation type is a reordering operation, and the updated process identifier includes a first process identifier and a second process identifier. The target process information obtaining unit is also used to obtain the corresponding process information from the target test execution work order according to the first process identifier to obtain the first process information; obtain the corresponding process information from the target test execution work order according to the second process identifier to obtain the second process information; and use the first process information and the second process information as the target process information.

[0121] The updating unit is further used to exchange the execution order of the first process information and the second process information according to the reordering operation.

[0122] In some embodiments, the updated test execution work order obtaining module 812 includes:

[0123] The execution time acquisition unit is used to obtain the execution time corresponding to the target test execution work order.

[0124] The current time acquisition unit is used to obtain the current time and compare the current time with the issued execution time. When it is determined that the issued execution time is earlier than the current time, the target test execution work order is updated according to the update related information to obtain the updated test execution work order, and the updated test execution work order is sent to the corresponding test terminal.

[0125] In some embodiments, the verification information sending module 804 includes:

[0126] The verification information obtaining unit is used to obtain verification information according to the update related information.

[0127] The update private key acquisition unit is used to obtain the update private key of the update terminal corresponding to the work order update request.

[0128] The signature information obtaining unit is used to sign the verification information according to the updated private key to obtain the signature information.

[0129] The storage request sending unit is used to send a storage request to the blockchain node, and the storage request carries verification information and signature information.

[0130] The device also includes:

[0131] The module for obtaining the updated target test standard work order is used to update the target test standard work order according to the work order update request when it is confirmed that the blockchain node has passed the consensus on the storage request according to the signature information, so as to obtain the updated target test standard work order.

[0132] In some embodiments, the apparatus further comprises:

[0133] The verification hash value obtaining module is used to perform hash calculation on the verification information corresponding to the update related information to obtain the verification hash value, and use the verification hash value as the verification information.

[0134] The target test execution work order acquisition module 810 includes:

[0135] The update hash value obtaining unit is used to perform hash calculation on the update related information to obtain the update hash value.

[0136] The verification hash value acquisition unit is used to compare the verification information with the updated hash value to obtain a comparison result.

[0137] The verification pass determination unit is used to determine that the verification is passed when the comparison result is that the comparison is consistent.

[0138] For the specific limitations of the test execution work order updating device, please refer to the limitations of the test execution work order updating method above, which will not be repeated here. Each module in the above-mentioned test execution work order updating device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0139] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a test execution work order update method is implemented.

[0140] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0141] In some embodiments, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned test execution work order update method when executing the computer program.

[0142] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned test execution work order update method are implemented.

[0143] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0144] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0145] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for updating a test execution work order, characterized in that: The method comprises: Receiving a work order update request corresponding to a target test standard work order, and obtaining update related information according to the work order update request, wherein the update related information includes information for updating at least one of description information, process information, acceptance criteria, schedules, or attachments; Signing the verification information corresponding to the update related information according to the update private key of the update terminal corresponding to the work order update request to obtain signature information; the verification information is obtained by performing a hash calculation on the real-time update related information; Sending a storage request carrying the verification information and the signature information to a blockchain node, so that the blockchain node stores the verification information in the blockchain; When it is confirmed that the blockchain node has passed the consensus on the storage request according to the signature information, the target test standard work order is updated according to the work order update request to obtain an updated target test standard work order; Acquire the target approval circulation user chain corresponding to the target test standard work order, and send the update related information to the approval terminal corresponding to the target approval circulation user chain, so that the approval terminal performs update approval according to the update related information; When it is determined that the result of the update approval is approved, obtaining the verification information from the blockchain; Performing hash calculation on the update related information to obtain an updated hash value, comparing the verification information with the updated hash value, and when the verification is confirmed to be passed according to the comparison result, obtaining a target test execution work order corresponding to the target test standard work order, wherein the target test execution work order is generated according to the target test standard work order; Obtaining the execution time corresponding to the target test execution work order, where the execution time is the start time when the test execution work order is sent to the test terminal; Obtain the current time, compare the current time with the issued execution time, and when it is determined that the issued execution time is earlier than the current time, update the target test execution work order according to the update-related information to obtain an updated test execution work order, and send the updated test execution work order to the corresponding test terminal.

2. The method according to claim 1, characterized in that The update related information includes process update information, the process update information includes an update process identifier and an operation type, and updating the target test execution work order according to the update related information includes: According to the updated process identifier, corresponding process information is acquired from the target test execution work order to obtain target process information; The target process information is updated according to the operation type.

3. The method according to claim 2, characterized in that The operation type is a sequence adjustment operation, the updated process identifier includes a first process identifier and a second process identifier, and the corresponding process information is obtained from the target test execution work order according to the updated process identifier, and the target process information is obtained including: According to the first process identifier, corresponding process information is acquired from the target test execution work order to obtain first process information; According to the second process identifier, corresponding process information is acquired from the target test execution work order to obtain second process information; using the first process information and the second process information as the target process information; The updating of the target process information according to the operation type includes: According to the reordering operation, the execution order of the first process information and the second process information is exchanged.

4. The method according to claim 2, characterized in that: The operation type includes at least one of adding, deleting or modifying.

5. A test execution work order updating device, characterized in that: The device comprises: A work order update request receiving module, used to receive a work order update request corresponding to a target test standard work order, and obtain update related information according to the work order update request, wherein the update related information includes information for updating at least one of description information, process information, acceptance criteria, schedules or attachments; A verification information sending module is used to sign the verification information corresponding to the update related information according to the update private key of the update terminal corresponding to the work order update request to obtain signature information; the verification information is obtained by performing hash calculation on the real-time update related information; a storage request carrying the verification information and the signature information is sent to a blockchain node, so that the blockchain node stores the verification information in the blockchain; the device is also used to: when it is confirmed that the blockchain node has reached a consensus on the storage request according to the signature information, update the target test standard work order according to the work order update request to obtain an updated target test standard work order; An update related information sending module is used to obtain the target approval circulation user chain corresponding to the target test standard work order, and send the update related information to the approval terminal corresponding to the target approval circulation user chain, so that the approval terminal performs update approval according to the update related information; A verification information acquisition module, configured to obtain the verification information from the blockchain when it is determined that the result of the update approval is approved; A target test execution work order acquisition module is used to perform hash calculation on the update related information to obtain an updated hash value, compare the verification information with the updated hash value, and when the verification is confirmed to be passed according to the comparison result, obtain the target test execution work order corresponding to the target test standard work order, and the target test execution work order is generated according to the target test standard work order; The updated test execution work order obtaining module is used to obtain the issued execution time corresponding to the target test execution work order, the issued execution time is the starting time of sending the test execution work order to the test terminal, obtain the current time, compare the current time with the issued execution time, and when it is determined that the issued execution time is earlier than the current time, update the target test execution work order according to the update related information to obtain the updated test execution work order, and send the updated test execution work order to the corresponding test terminal.

6. The device according to claim 5, characterized in that The update related information includes process update information, and the process update information includes an update process identifier and an operation type. The updated test execution work order obtaining module includes: A target process information obtaining unit is used to obtain corresponding process information from the target test execution work order according to the updated process identifier to obtain target process information; An updating unit is used to update the target process information according to the operation type.

7. The device according to claim 6, characterized in that The operation type is a sequence adjustment operation, the updated process identifier includes a first process identifier and a second process identifier, and the target process information obtaining unit is further used to: According to the first process identifier, corresponding process information is acquired from the target test execution work order to obtain first process information; According to the second process identifier, corresponding process information is acquired from the target test execution work order to obtain second process information; using the first process information and the second process information as the target process information; The updating unit is further used for: According to the reordering operation, the execution order of the first process information and the second process information is exchanged.

8. The device according to claim 6, characterized in that The operation type includes at least one of adding, deleting or modifying.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.