Bill change processing method and device, computer program product and processor

By obtaining and updating bill information when bill changes instructions and generating new target bills, the problem of low manual processing efficiency during bills is solved, ensuring the progress consistency and efficiency of automated production, and realizing the data after bills is invalidated Update and change the number of jobs.

CN119205387APending Publication Date: 2024-12-27GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411327600.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the prior art, the process of voiding and modifying bills requires manual marking or remembering by themselves, which has low processing efficiency, affects the progress of automated production, and cannot ensure the consistency of online and offline progress.

Method used

When receiving the bill change instruction, obtain the bill change information, determine the target bill, generate a new target bill, and update the production progress and bill information in the automated production process when receiving the global application instruction, establish and optimize the change data-related database. , ensure the consistent progress of online and offline.

Benefits of technology

It improves the efficiency and reliability of automated production, realizes the update of online data after the bill is invalidated, modifys the number of jobs reported on the generated bill, and has greater custom permissions, solving the problem of low manual processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119205387A_ABST
    Figure CN119205387A_ABST
Patent Text Reader

Abstract

The invention discloses a bill change processing method and device, a computer program product and a processor. The method comprises the steps that when a bill change instruction is received, bill change information is acquired according to the bill change instruction; determining a target bill related to the bill change instruction in the automatic production process according to the bill change information; generating a new target bill corresponding to the target bill according to the bill change information; and when the global application instruction is received, updating the current production progress and the current production bill information in the automatic production process according to the new bill data in the new target bill to obtain the actual production progress and the actual production bill information of the automatic production. The technical problems that in the prior art, in the bill cancelling process, manual marking or automatic remembering of cancelled bills is needed, the processing efficiency is low, and the automatic production progress is affected are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial production technology, and in particular to a bill change processing method and device, a computer program product, and a processor. Background Art

[0002] In discrete industrial production, production process monitoring can be achieved through discrete production management systems, which can efficiently and conveniently realize paperless dispatching, system execution of first inspection, production execution and reporting, production information traceability, and exception handling and tracing. After reporting, the operator puts the bill together with the materials on the tooling vehicle to form an association, which can effectively track the production and transportation progress and facilitate the production of the next process. However, when the operator reports work on the industrial PDA, if the reported work quantity does not match the actual loading quantity due to misoperation or early ticketing, the bill needs to be invalidated or modified.

[0003] The existing cancellation and modification functions are imperfect or missing. Under the traditional method, cancellation requires manual marking or self-remembering of the cancellation ticket, which is inefficient. Moreover, after the cancellation and modification of the ticket, the production progress is not updated, resulting in delayed and inaccurate production progress, and the inability to ensure the consistency of online and offline progress.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a method and device for processing bill changes, a computer program product, and a processor to at least solve the technical problem in the related art that the bill cancellation process requires manual marking or automatic memorization of the canceled bills, which results in low processing efficiency and affects the progress of automated production.

[0006] According to one aspect of an embodiment of the present invention, a method for processing bill changes is provided, comprising: upon receiving a bill change instruction, obtaining bill change information according to the bill change instruction, wherein the bill change instruction comprises at least one of the following: a bill cancellation instruction, a bill modification instruction; determining a target bill related to the bill change instruction in an automated production process according to the bill change information; generating a new target bill corresponding to the target bill according to the bill change information; upon receiving a global application instruction, updating the current production progress and current production bill information in the automated production process according to the new bill data in the new target bill, to obtain the actual production progress and actual production bill information of the automated production, wherein the global application instruction is used to instruct the application of the change data in the new target bill to the automated production process.

[0007] Optionally, when a bill change instruction is received, bill change information is obtained according to the bill change instruction, including: parsing the bill change instruction to obtain the bill change information carried by the bill change instruction, wherein the bill change information includes at least: change information of the order quantity corresponding to the automated production, change information of the work order corresponding to the automated production process, and change information of the actual production tasks in the automated production process.

[0008] Optionally, determining a target bill related to the bill change instruction in the automated production process according to the bill change information includes: obtaining the type of change data contained in the bill change information; and determining the target bill related to the bill change instruction in the automated production process according to the type of change data.

[0009] Optionally, generating a new target bill corresponding to the target bill according to the bill change information includes: obtaining the data change amount corresponding to each of the changed data types in the bill change information; modifying the data corresponding to the changed data type in the target bill according to the data change amount to modify the target bill and obtain the new target bill.

[0010] Optionally, when a bill change instruction is received, before obtaining the bill change information according to the bill change instruction, the bill change processing method further includes: when a bill change operation is monitored, obtaining the bill change information generated by the bill change operation; storing the bill change information in a first storage medium, wherein the first storage medium is used to record all bill change information generated in the automated production process; and generating the bill change instruction based on the bill change information.

[0011] Optionally, generating a new target bill corresponding to the target bill according to the bill change information includes at least one of the following: when the bill change instruction is the bill cancellation instruction, modifying the field attributes of the cancellation field of the target bill to obtain the new target bill; when the bill change instruction is the bill modification instruction, regenerating a new bill according to the bill change information to obtain the new target bill, and modifying the field attributes of the modification field of the target bill.

[0012] Optionally, after the target bill is modified according to the bill change information to obtain a new target bill, the bill change processing method further includes: when the bill change instruction is the bill cancellation instruction, adding a first mark to the new target bill, wherein the first mark is used to indicate that the new target bill is a bill that is reprinted after being cancelled; when the bill change instruction is the bill modification instruction, adding a second mark to the new target bill, wherein the second mark is used to indicate that the new target bill is a bill that is reprinted after being modified.

[0013] Optionally, after generating a new target bill corresponding to the target bill according to the bill change information, the bill change processing method further includes: acquiring a bill batch number of the target bill; and releasing the bill batch number.

[0014] According to another aspect of an embodiment of the present invention, a bill change processing device is also provided, including: a first acquisition module, used to acquire bill change information according to the bill change instruction when a bill change instruction is received, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction, a bill modification instruction; a first determination module, used to determine a target bill related to the bill change instruction in an automated production process according to the bill change information; a first processing module, used to generate a new target bill corresponding to the target bill according to the bill change information; an update module, used to update the current production progress and current production bill information in the automated production process according to the new bill data in the new target bill when a global application instruction is received, so as to obtain the actual production progress and actual production bill information of the automated production, wherein the global application instruction is used to instruct the application of the change data in the new target bill to the automated production process.

[0015] Optionally, the first acquisition module includes: a parsing unit, used to parse the bill change instruction to obtain the bill change information carried by the bill change instruction, wherein the bill change information at least includes: change information of the order quantity corresponding to the automated production, change information of the work order corresponding to the automated production process, and change information of the actual production task in the automated production process.

[0016] Optionally, the first determination module includes: a first acquisition unit, used to acquire a type of changed data contained in the bill change information; and a first determination unit, used to determine the target bill related to the bill change instruction in the automated production process according to the type of changed data.

[0017] Optionally, the first determination unit includes: a first acquisition subunit, used to obtain the data change amount corresponding to each of the changed data types in the bill change information; a modification subunit, used to modify the data corresponding to the changed data type in the target bill according to the data change amount, so as to modify the target bill and obtain the new target bill.

[0018] Optionally, the bill change processing device also includes: a second acquisition module, which is used to obtain the bill change information generated by the bill change operation when the bill change operation is monitored before the bill change information is obtained according to the bill change instruction when the bill change instruction is received; a storage module, which is used to store the bill change information in a first storage medium, wherein the first storage medium is used to record all bill change information generated in the automated production process; and a second processing module, which is used to generate the bill change instruction based on the bill change information.

[0019] Optionally, the first processing module includes at least one of the following: a modification unit, used to modify the field attributes of the cancellation field of the target bill to obtain the new target bill when the bill change instruction is the bill cancellation instruction; a first processing unit, used to regenerate a new bill according to the bill change information to obtain the new target bill when the bill change instruction is the bill modification instruction, and modify the field attributes of the modification field of the target bill.

[0020] Optionally, the bill change processing device also includes: a third processing module, used for modifying the target bill according to the bill change information, and after obtaining a new target bill, when the bill change instruction is the bill cancellation instruction, adding a first mark to the new target bill, wherein the first mark is used to indicate that the new target bill is a bill that is reprinted after being cancelled; and a fourth processing module, used for adding a second mark to the new target bill when the bill change instruction is the bill modification instruction, wherein the second mark is used to indicate that the new target bill is a bill that is reprinted after modification.

[0021] Optionally, the bill change processing device also includes: a third acquisition module, used to acquire the bill batch number of the target bill after generating a new target bill corresponding to the target bill according to the bill change information; and a release module, used to release the bill batch number.

[0022] According to another aspect of an embodiment of the present invention, a bill change processing system is further provided, wherein the bill change processing system uses any one of the bill change processing methods described above.

[0023] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned bill change processing methods.

[0024] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned bill change processing methods when running.

[0025] According to another aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions, wherein when the computer instructions are executed by a processor, any one of the above-mentioned bill change processing methods is executed.

[0026] In an embodiment of the present invention, when a bill change instruction is received, bill change information is obtained according to the bill change instruction, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction, a bill modification instruction; a target bill related to the bill change instruction in the automated production process is determined according to the bill change information; a new target bill corresponding to the target bill is generated according to the bill change information; when a global application instruction is received, the current production progress and current production bill information in the automated production process are updated according to the new bill data in the new target bill to obtain the actual production progress and actual production bill information of the automated production, wherein the global application instruction is used to instruct the application of the changed data in the new target bill to the automated production process. Through the technical solution provided by the present invention, it is achieved to establish and optimize the change data related database and backup database, and by establishing a bill cancellation / modification module and a change response module, the online and offline progress is kept consistent when updating data, and the user has greater customization authority, thereby achieving the purpose of being able to update the online data after the bill is cancelled, and modify the reported work quantity on the generated bill. At the same time, the user can choose whether the change will affect the existing production process, thereby improving the efficiency and reliability of automated production, and further solving the technical problem in the related technology that the bill cancellation process requires manual marking or self-remembering of cancelled bills, the processing efficiency is relatively low, and the progress of automated production is affected. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0028] Figure 1 It is a hardware structure block diagram of a mobile terminal of a bill change processing method according to an embodiment of the present invention;

[0029] Figure 2is a flow chart of a method for processing bill changes according to an embodiment of the present invention;

[0030] Figure 3 is a flowchart of the preparatory work of the bill change processing method according to an embodiment of the present invention;

[0031] Figure 4 is a flow chart of a bill change processing system in an automated production process according to an embodiment of the present invention;

[0032] Figure 5 This is a diagram of the overall database architecture of the bill change processing system in the automated production process according to an embodiment of the present invention;

[0033] Figure 6 2 is a schematic diagram of a bill change processing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 should fall within the scope of protection of the present invention.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] As introduced in the background technology, in the related art, the bill cancellation process requires manual marking or self-remembering of the bill, which has a low processing efficiency and affects the progress of automated production. In view of the above defects, a bill change processing method and device, a bill change processing system, a computer-readable storage medium, a processor, and a computer program product are provided in the embodiments of the present invention.

[0037] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0038] The method embodiments provided in the embodiments of the present invention can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a bill change processing method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0039] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the bill change processing method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0040] According to an embodiment of the present invention, a method embodiment of a bill change processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0041] Figure 2 is a flow chart of a method for processing bill changes according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0042] Step S202, when a bill change instruction is received, obtaining bill change information according to the bill change instruction, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction and a bill modification instruction.

[0043] It should be noted that the above-mentioned bill change instruction is an instruction for instructing specific changes or modifications to the bill.

[0044] Optionally, the above-mentioned bill change information may include but is not limited to: change information of the order quantity corresponding to the automated production, change information of the work order corresponding to the automated production process, and change information of the actual production tasks in the automated production process.

[0045] In this embodiment, when a bill change instruction is received, bill change information can be obtained according to the bill change instruction, and relevant information can be obtained and applied in time to adjust and control the production process in real time.

[0046] Step S204, determining the target bill related to the bill change instruction in the automated production process according to the bill change information.

[0047] In this embodiment, the target bill can be determined according to the bill change information, that is, the bill that has changed relative to the original bill, to help the production department organize production tasks effectively.

[0048] Step S206: Generate a new target bill corresponding to the target bill according to the bill change information.

[0049] In this embodiment, a new target bill corresponding to the target bill can be generated according to the bill change information, and the record can be updated in time to ensure the accuracy and completeness of the automated production.

[0050] Step S208, when the global application instruction is received, the current production progress and current production ticket information in the automated production process are updated according to the new ticket data in the new target ticket to obtain the actual production progress and actual production ticket information of the automated production, wherein the global application instruction is used to instruct the application of the changed data in the new target ticket to the automated production process.

[0051] Optionally, the global application instruction is an instruction generated when the bill data in the new target bill needs to be applied to the automated production process. When the instruction is received, the bill data in the new target bill is used to update the information in the automated production process to obtain the actual production progress and actual production bill information in the automated production process.

[0052] In this embodiment, it is possible to ensure that the actual progress and information in the production process are consistent with the target progress and information, so as to timely adjust and optimize the production plan, and realize automatic monitoring and control of the production process by updating the production information in real time.

[0053] As can be seen from the above, in the embodiment of the present invention, when a bill change instruction is received, the bill change information is obtained according to the bill change instruction, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction, a bill modification instruction; determining the target bill related to the bill change instruction in the automated production process according to the bill change information; generating a new target bill corresponding to the target bill according to the bill change information; when a global application instruction is received, the current production progress and the current production bill information in the automated production process are updated according to the new bill data in the new target bill, and the actual production progress and the actual production bill information of the automated production are obtained, wherein the global application instruction is used to indicate that the change data in the new target bill is applied to the automated production process. Through the technical solution provided by the present invention, the establishment and optimization of the change data related database and the backup database are achieved, and by establishing a bill cancellation / modification module and a change response module, the online and offline progress is kept consistent when updating the data, and the user has greater custom permissions, thereby achieving the technical effect of being able to update the online data after the bill is cancelled and modify the number of reported work on the generated bill. At the same time, the user can choose whether the change affects the existing production process, thereby improving the efficiency and reliability of automated production.

[0054] The technical solution provided by the embodiment of the present invention solves the technical problem in the related art that manual marking or automatic memorization of invalidated bills is required during the bill cancellation process, the processing efficiency is relatively low, and the progress of automated production is affected.

[0055] Figure 3 Flow chart of the preparatory work of the bill change processing method according to an embodiment of the present invention. Figure 3 As shown, the pre-work steps are as follows: 1) Establish a database related to the change data in the system to store all changes and cancellation records separately, independent of the normal work report records; 2) Establish a backup database for orders, work orders, and PDA tasks to distinguish them from the original order / task database to prevent data confusion. It should be noted that the database fields here are basically the same as the original order, work order, and PDA task databases, but the data is written differently; the original database only retains the data before cancellation and modification, but no matter how the user chooses, the bill information itself (modification or cancellation) will be correctly transmitted to the two databases, but the user can choose whether to use the data of a series of subsequent changes caused by the change of the bill information itself according to the production schedule. For example, a material order has been completed, and some of the materials are defective after subsequent picking, and the bill needs to be cancelled, but the remaining materials have been provided to downstream production. In this case, the user does not need to change the order status and can use the unchanged database data; if the situation is the opposite, you can choose to change the database data, that is, it also provides users with the choice of using new data or old data; 3) Establish a bill cancellation / modification module to process the instructions for canceling bills and modifying bill information, write relevant instructions to the database, and modify the specified fields. When the user clicks Cancel, the canceled field (deleted) of the bill corresponding to the original database and the backup database will be set to True. At this time, the original bill will no longer be available when scanned again; when the user clicks Modify, an additional new bill record will be generated. This record is independent of the previous record and will not overwrite it. The modified field (modified) of the original bill corresponding to the modified original database and the backup database will be set to True. Similarly, the original bill will no longer be available; 4) Establish a change response module to adapt to the progress changes of orders, work orders, PDA tasks and other modules after canceling and modifying bills to ensure the consistency of online and offline progress. After the change response module receives the instruction from the upstream bill cancellation / modification module, it writes data in the corresponding table of the backup database, deducts and releases the number of reports, work order progress, and PDA task progress corresponding to the batch of bills, and gives them to the branch factory order form, work order form, and PDA task form. For example, a task that has already reached 100% will be deducted to a non-100% level after the corresponding change is cancelled; a PDA task that has already been reported to 100% will release the corresponding number of reports after cancellation; or after modifying the bill information, the corresponding number of reports, work order progress, and PDA task progress will be increased or decreased in the same way, and written to the backup database in the above manner. The system allows over-reporting of current orders and tasks. If the modified quantity exceeds the planned number, each module can display the corresponding percentage greater than 100%.

[0056] The method of establishing a database related to the change data is as follows: Select a mainstream database or other database, here take the postgreSQL database as an example: The specific field + data transmission method is as follows. For example, in the branch order table, for the changeable fields: planned number (num), production start date (start_plan_time), required delivery date (end_plan_time), assembly order (assemble_order_no), etc., the original field and the change identifier of the field are established in turn, and a change time field (change_time) and a change version field (version) are also included to trace each change.

[0057] Specifically, the planned number can include the planned number itself (num) and the planned number change mark (num_change), the production start date includes the production start date itself (start_plan_time) and the production start date change mark (start_plan_time_change), and so on for other fields. For example, when the planned number is changed, a database record is generated, which contains the following content: the changed value is written into the planned number field (num), and the field value of the planned number change field (num_change) is set to True. At the same time, the time of the change is written into the change time field (change_time), and the change version field (version) is incremented from 1. If there are multiple field changes, the values ​​of other fields in the record are written in the same way. If there is no change in other fields, they are left blank.

[0058] According to the above embodiment of the present invention, when a bill change instruction is received, the bill change information is obtained according to the bill change instruction, including: parsing the bill change instruction to obtain the bill change information carried by the bill change instruction, wherein the bill change information at least includes: change information of the order quantity corresponding to the automated production, change information of the work order corresponding to the automated production process, and change information of the actual production tasks in the automated production process.

[0059] In this embodiment, by parsing the change information of related orders, work orders and PDA tasks (i.e., actual production tasks) in the automated production process in the ticket change instructions, the automated production system can be helped to accurately identify and understand the ticket change information, thereby realizing the adjustment and control of the automated production process.

[0060] According to the above embodiment of the present invention, determining the target bill related to the bill change instruction in the automated production process based on the bill change information includes: obtaining the change data type contained in the bill change information; and determining the target bill related to the bill change instruction in the automated production process based on the change data type.

[0061] In this embodiment, the target bill related to the bill change instruction in the automated production process can be determined according to the change data type in the acquired bill change information, ensuring that all bill information in the production process is accurate, complete and timely.

[0062] In the above embodiment of the present invention, a new target bill corresponding to the target bill is generated according to the bill change information, including: obtaining the data change amount corresponding to each change data type in the bill change information; modifying the data corresponding to the change data type in the target bill according to the data change amount to modify the target bill and obtain a new target bill.

[0063] Figure 4 is a flow chart of a bill change processing system in an automated production process according to an embodiment of the present invention. Figure 4 As shown, the data corresponding to the changed data type in the target bill is modified, and then a new bill and data are generated.

[0064] In this embodiment, the data corresponding to the changed data type in the target bill can be modified according to the data change amount corresponding to the acquired bill change information, thereby obtaining a new target bill, and the data in the bill can be updated in time.

[0065] According to the above embodiment of the present invention, when a bill change instruction is received, before obtaining the bill change information according to the bill change instruction, the bill change processing method also includes: when a bill change operation is monitored, obtaining the bill change information generated by the bill change operation; storing the bill change information in a first storage medium, wherein the first storage medium is used to record all bill change information generated in the automated production process; and generating a bill change instruction based on the bill change information.

[0066] In this embodiment, when a cancellation or modification operation initiated by a user is monitored, corresponding bill change information can be obtained, stored in a change data-related database (i.e., the first storage medium), and corresponding bill change instructions can be generated, thereby enabling monitoring and recording of bill change operations to facilitate real-time tracking of bill changes.

[0067] According to the above embodiment of the present invention, a new target bill corresponding to the target bill is generated according to the bill change information, including at least one of the following: when the bill change instruction is a bill cancellation instruction, the field attributes of the cancellation field of the target bill are modified to obtain a new target bill; when the bill change instruction is a bill modification instruction, a new bill is regenerated according to the bill change information to obtain a new target bill, and the field attributes of the modification field of the target bill are modified.

[0068] In this embodiment, when the user performs a cancellation operation, the cancellation field of the target bill is set to True to generate a new target bill; when the user performs a modification operation, a new bill is generated and the modification field of the corresponding modified original bill is set to True.

[0069] According to the above embodiment of the present invention, after the target bill is modified according to the bill change information to obtain a new target bill, the bill change processing method further includes: when the bill change instruction is a bill cancellation instruction, adding a first mark to the new target bill, wherein the first mark is used to indicate that the new target bill is a bill that is reprinted after being cancelled; when the bill change instruction is a bill modification instruction, adding a second mark to the new target bill, wherein the second mark is used to indicate that the new target bill is a bill that is reprinted after being modified.

[0070] In this embodiment, when the user performs a cancellation operation, the words "Voided and Reprinted" (i.e., the first mark) can be added to the bill that is reprinted after cancellation; when the user performs a modification operation, the words "Modified and Reprinted" (i.e., the second mark) can be added to the bill that is reprinted after modification.

[0071] In addition, when checking the work report and ticket record under the order, the original data that is invalid or modified is crossed out. And the modified data will be displayed with the latest version in red, and the time when the data was generated will be displayed.

[0072] According to the above embodiment of the present invention, after generating a new target bill corresponding to the target bill according to the bill change information, the bill change processing method further includes: obtaining the bill batch number of the target bill; and releasing the bill batch number.

[0073] In this embodiment, after the data of the target bill is stored in the database, the bill batch number of the target bill can be obtained and the invalid bill batch number can be released. Here, releasing the bill batch number means changing the usage status of the bill batch number from occupied to available, that is, after the bill batch number of the target bill is released, the bill batch number is available to other bills, that is, the bill batch number can be allocated to other bills.

[0074] Figure 5 FIG. 1 is a diagram showing the overall database architecture of a bill change processing system in an automated production process according to an embodiment of the present invention. Figure 5As shown, the data can be divided into three modules: basic data, order / task data, change records and backup, among which the basic data mainly includes user information and work permit information, equipment information, role information, organization information, material information, etc.; the order / task data module includes data such as orders of the main business, for example, order information, work order information, PDA task information, work report / invoice information, etc.; change records and backup may include: cancellation record information, modification record information, order information backup, work order information backup, work report / invoice backup information, which is the improvement of the overall function and the key to realizing the cancellation and change functions.

[0075] like Figure 4 As shown, the system flow steps of the embodiment of the present invention are as follows: 1) The user initiates the operation of canceling or modifying the bill. After receiving the bill cancellation / modification module, the data of the canceled / modified bill is written and stored in the database (the original bill that has been canceled or modified will be unavailable at this time. The batch number of the canceled bill is released, and the bill with the same batch number can be reprinted). After the modification, a new bill and data are written into the database, which can be retrieved and used. 2) The bill cancellation / modification module actively sends instructions, and the change response module receives the change instruction sent by the bill cancellation / modification module. 3) The change corresponding module starts to modify the data changes of related orders, work orders, PDA tasks and other modules affected by the bill cancellation / modification, and handles a series of changes after the cancellation and modification. 4) The change response module writes the changed data into the backup database. Writing the backup database here can avoid data confusion, and no matter what choice the user makes in the fifth step, there is a copy here for retrospective investigation. 5) The user is prompted to choose whether to apply the change to the global progress, that is, to modify the progress of the data of related modules such as orders, work orders, and PDA tasks. Specifically, if the user selects yes, the backup database data is used to update the progress and the data of each module (the actual performance may be that the completed task becomes unfinished due to the cancellation of part of it, etc.); if the user selects no, the original database data is used unchanged. (Applicable to the situation where the production has been completed, the materials produced are sufficient, but the wrong ticket needs to be cancelled, and the existing production progress does not want to be affected, etc.)

[0076] Through the technical solution provided by the above embodiment of the present invention, an optimization method and database architecture design are first proposed. While updating data to ensure the consistency of online and offline progress, the user is allowed to choose whether the data change will affect the order status, giving the user greater customization authority. At the same time, more possible practical application scenarios are also considered, and the method supports multiple data modifications, which can meet the special needs of special processes. The problem of inconsistent online and offline data for invalidating and modifying bill information is solved in a targeted manner.

[0077] That is, the technical solution provided by the embodiment of the present invention comprehensively considers various factors, optimizes the data transmission method from the database design architecture, and designs fields for the cancellation and modification functions, which can adapt to more scenarios that may occur in actual production and make the reporting data more accurate. It avoids the problem of out-of-control progress caused by an inaccurate or erroneous reporting, makes the entire production process more reliable, and reduces the risk of data errors.

[0078] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0079] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0080] According to an embodiment of the present invention, there is also provided a bill change processing device for implementing the above-mentioned bill change processing method. Figure 6 is a schematic diagram of a bill change processing device according to an embodiment of the present invention, Figure 6 As shown, the device includes: a first acquisition module 601, a first determination module 603, a first processing module 605 and an update module 607. The bill change processing device is described below.

[0081] The first acquisition module 601 is used to acquire bill change information according to the bill change instruction when receiving the bill change instruction, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction and a bill modification instruction.

[0082] The first determination module 603 is used to determine the target bill related to the bill change instruction in the automated production process according to the bill change information.

[0083] The first processing module 605 is used to generate a new target bill corresponding to the target bill according to the bill change information.

[0084] Update module 607 is used to update the current production progress and current production ticket information in the automated production process according to the new ticket data in the new target ticket when receiving the global application instruction, so as to obtain the actual production progress and actual production ticket information of the automated production, wherein the global application instruction is used to instruct the application of the changed data in the new target ticket to the automated production process.

[0085] It should be noted here that the above-mentioned first acquisition module 601, first determination module 603, first processing module 605 and update module 607 correspond to steps S202 to S208 in the above-mentioned embodiments, and the four modules are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiments.

[0086] As can be seen from the above, in the scheme recorded in the above embodiment of the present invention, firstly, the first acquisition module can be used to obtain the bill change information according to the bill change instruction when receiving the bill change instruction, wherein the bill change instruction includes at least one of the following: bill cancellation instruction, bill modification instruction; then, the first determination module can be used to determine the target bill related to the bill change instruction in the automated production process according to the bill change information; secondly, the first processing module can be used to generate a new target bill corresponding to the target bill according to the bill change information; finally, the update module can be used to update the current production progress and the current production bill in the automated production process according to the new bill data in the new target bill when receiving the global application instruction. The information is updated to obtain the actual production progress and actual production ticket information of the automated production. Among them, the global application instruction is used to instruct the application of the changed data in the new target ticket to the automated production process, so as to establish and optimize the database and backup database related to the changed data. By establishing the ticket cancellation / modification module and the change response module, the online and offline progress are kept consistent when updating the data, and the user has greater customization authority, thereby realizing the ability to update the online data after the ticket is invalidated and modify the reported work quantity on the generated ticket. At the same time, the user can choose whether the change will affect the existing production process, thereby improving the efficiency and reliability of automated production.

[0087] The technical solution provided by the embodiment of the present invention solves the technical problem in the related art that manual marking or automatic memorization of invalidated bills is required during the bill cancellation process, the processing efficiency is relatively low, and the progress of automated production is affected.

[0088] In an optional embodiment, the first acquisition module includes: a parsing unit, used to parse the bill change instruction to obtain the bill change information carried by the bill change instruction, wherein the bill change information at least includes: change information of the order quantity corresponding to the automated production, change information of the work order corresponding to the automated production process, and change information of the actual production task in the automated production process.

[0089] In an optional embodiment, the first determination module includes: a first acquisition unit, used to obtain the change data type contained in the bill change information; a first determination unit, used to determine the target bill related to the bill change instruction in the automated production process according to the change data type.

[0090] In an optional embodiment, the first determination unit includes: a first acquisition subunit, used to obtain the data change amount corresponding to each change data type in the bill change information; a modification subunit, used to modify the data corresponding to the change data type in the target bill according to the data change amount, so as to modify the target bill and obtain a new target bill.

[0091] In an optional embodiment, the bill change processing device further includes: a second acquisition module, which is used to obtain the bill change information generated by the bill change operation when the bill change operation is monitored before the bill change information is obtained according to the bill change instruction when the bill change instruction is received; a storage module, which is used to store the bill change information in a first storage medium, wherein the first storage medium is used to record all bill change information generated in the automated production process; and a second processing module, which is used to generate a bill change instruction based on the bill change information.

[0092] In an optional embodiment, the first processing module includes at least one of the following: a modification unit, which is used to modify the field attributes of the cancellation field of the target bill to obtain a new target bill when the bill change instruction is a bill cancellation instruction; the first processing unit, which is used to regenerate a new bill according to the bill change information to obtain a new target bill when the bill change instruction is a bill modification instruction, and modify the field attributes of the modification field of the target bill.

[0093] In an optional embodiment, the bill change processing device also includes: a third processing module, used to modify the target bill according to the bill change information, and after obtaining a new target bill, when the bill change instruction is a bill cancellation instruction, add a first mark to the new target bill, wherein the first mark is used to indicate that the new target bill is a bill that is reprinted after being cancelled; a fourth processing module, used to add a second mark to the new target bill when the bill change instruction is a bill modification instruction, wherein the second mark is used to indicate that the new target bill is a bill that is reprinted after modification.

[0094] In an optional embodiment, the bill change processing device also includes: a third acquisition module, used to acquire the bill batch number of the target bill after modifying the target bill according to the bill change information to obtain a new target bill; and a release module, used to release the bill batch number.

[0095] According to another aspect of an embodiment of the present invention, a bill change processing system is also provided, and the bill change processing system uses any of the above-mentioned bill change processing methods.

[0096] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned bill change processing methods is executed.

[0097] According to another aspect of an embodiment of the present invention, a computer program product is provided, including computer instructions, and when the computer instructions are executed by a processor, any one of the above-mentioned bill change processing methods is executed.

[0098] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above-mentioned bill change processing methods.

[0099] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.

[0100] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: upon receiving a bill change instruction, obtaining bill change information according to the bill change instruction, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction, a bill modification instruction; determining a target bill related to the bill change instruction in the automated production process according to the bill change information; generating a new target bill corresponding to the target bill according to the bill change information; upon receiving a global application instruction, updating the current production progress and current production bill information in the automated production process according to the new bill data in the new target bill to obtain the actual production progress and actual production bill information of the automated production, wherein the global application instruction is used to instruct the application of the changed data in the new target bill to the automated production process.

[0101] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: parsing the bill change instruction to obtain the bill change information carried by the bill change instruction, wherein the bill change information includes at least: change information of the order quantity corresponding to the automated production, change information of the work order corresponding to the automated production process, and change information of the actual production tasks in the automated production process.

[0102] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining the type of changed data contained in the bill change information; and determining the target bill related to the bill change instruction in the automated production process according to the type of changed data.

[0103] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining the data change amount corresponding to each changed data type in the bill change information; modifying the data corresponding to the changed data type in the target bill according to the data change amount to modify the target bill and obtain a new target bill.

[0104] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when a bill change operation is monitored, obtaining bill change information generated by the bill change operation; storing the bill change information in a first storage medium, wherein the first storage medium is used to record all bill change information generated in the automated production process; and generating bill change instructions based on the bill change information.

[0105] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: when the bill change instruction is a bill cancellation instruction, modifying the field attributes of the cancellation field of the target bill to obtain a new target bill; when the bill change instruction is a bill modification instruction, regenerating a new bill according to the bill change information to obtain a new target bill, and modifying the field attributes of the modification field of the target bill.

[0106] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when the bill change instruction is a bill cancellation instruction, adding a first mark to the new target bill, wherein the first mark is used to indicate that the new target bill is a bill that is reprinted after cancellation; when the bill change instruction is a bill modification instruction, adding a second mark to the new target bill, wherein the second mark is used to indicate that the new target bill is a bill that is reprinted after modification.

[0107] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: obtaining a bill batch number of a target bill; and releasing the bill batch number.

[0108] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0109] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0110] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0112] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0113] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0114] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing bill changes, characterized in that: include: When receiving a bill change instruction, acquiring bill change information according to the bill change instruction, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction and a bill modification instruction; Determine, according to the bill change information, a target bill related to the bill change instruction in an automated production process; Generate a new target note corresponding to the target note according to the note change information; When the global application instruction is received, the current production progress and current production ticket information in the automated production process are updated according to the new ticket data in the new target ticket to obtain the actual production progress and actual production ticket information of the automated production, wherein the global application instruction is used to instruct the application of the changed data in the new target ticket to the automated production process.

2. The bill change processing method according to claim 1, characterized in that: When a bill change instruction is received, obtaining bill change information according to the bill change instruction includes: The bill change instruction is parsed to obtain the bill change information carried by the bill change instruction, wherein the bill change information at least includes: change information of the order quantity corresponding to the automated production, change information of the work order corresponding to the automated production process, and change information of the actual production task in the automated production process.

3. The bill change processing method according to claim 1, characterized in that: Determining a target bill related to the bill change instruction in an automated production process according to the bill change information includes: Obtain the changed data type contained in the bill change information; The target bill related to the bill change instruction in the automated production process is determined according to the change data type.

4. The method for processing bill changes according to claim 3, characterized in that: Generating a new target bill corresponding to the target bill according to the bill change information includes: Obtaining the data change amounts corresponding to each of the change data types in the bill change information; The data corresponding to the changed data type in the target note is modified according to the data change amount, so as to modify the target note and obtain the new target note.

5. The bill change processing method according to claim 1, characterized in that: When a bill change instruction is received, before acquiring bill change information according to the bill change instruction, the method further includes: When a bill change operation is detected, obtaining the bill change information generated by the bill change operation; Storing the bill change information in a first storage medium, wherein the first storage medium is used to record all bill change information generated during the automated production process; The ticket change instruction is generated based on the ticket change information.

6. The method for processing bill changes according to claim 1, characterized in that: Generating a new target note corresponding to the target note according to the note change information includes at least one of the following: When the bill change instruction is the bill cancellation instruction, modifying the field attribute of the cancellation field of the target bill to obtain the new target bill; When the bill change instruction is the bill modification instruction, a new bill is regenerated according to the bill change information to obtain the new target bill, and the field attribute of the modification field of the target bill is modified.

7. The bill change processing method according to claim 1, characterized in that: After the target note is modified according to the note change information to obtain a new target note, the method further includes: When the bill change instruction is the bill cancellation instruction, adding a first mark on the new target bill, wherein the first mark is used to indicate that the new target bill is a bill that is reprinted after being cancelled; When the bill change instruction is the bill modification instruction, a second mark is added to the new target bill, wherein the second mark is used to indicate that the new target bill is a bill that is reprinted after modification.

8. The bill change processing method according to claim 1, characterized in that: After generating a new target note corresponding to the target note according to the note change information, the method further includes: Obtaining the bill batch number of the target bill; Release the bill batch number.

9. A bill change processing device, characterized in that: include: A first acquisition module is used to acquire bill change information according to the bill change instruction when receiving the bill change instruction, wherein the bill change instruction includes at least one of the following: a bill cancellation instruction and a bill modification instruction; A first determination module, configured to determine a target bill related to the bill change instruction in an automated production process according to the bill change information; A first processing module, configured to generate a new target note corresponding to the target note according to the note change information; An update module is used to update the current production progress and current production ticket information in the automated production process according to the new ticket data in the new target ticket when receiving a global application instruction, so as to obtain the actual production progress and actual production ticket information of the automated production, wherein the global application instruction is used to instruct the application of the changed data in the new target ticket to the automated production process.

10. A bill change processing system, characterized in that: The bill change processing system uses the bill change processing method described in any one of claims 1 to 8 above.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the bill change processing method according to any one of claims 1 to 8.

12. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the bill change processing method described in any one of claims 1 to 8.

13. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the bill change processing method described in any one of claims 1 to 8 is performed.