CN111061747B - Service bill data updating method and related equipment - Google Patents

Service bill data updating method and related equipment Download PDF

Info

Publication number
CN111061747B
CN111061747B CN201911269418.1A CN201911269418A CN111061747B CN 111061747 B CN111061747 B CN 111061747B CN 201911269418 A CN201911269418 A CN 201911269418A CN 111061747 B CN111061747 B CN 111061747B
Authority
CN
China
Prior art keywords
bill
data
record
document
visualization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911269418.1A
Other languages
Chinese (zh)
Other versions
CN111061747A (en
Inventor
杨志刚
李晓庆
彭寅飞
黄永浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201911269418.1A priority Critical patent/CN111061747B/en
Publication of CN111061747A publication Critical patent/CN111061747A/en
Application granted granted Critical
Publication of CN111061747B publication Critical patent/CN111061747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

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

Abstract

The embodiment of the application discloses a business document data updating method, which is used in the field of data processing. The method comprises the steps of receiving a first visualization operation for a first bill, wherein the first visualization operation is used for updating data of the first bill; judging whether an operation record of a second bill exists, wherein the first bill and the second bill are associated bills, and the data of the first bill and the data of the second bill are associated and changed; if yes, stopping the first visualization operation; if not, updating the data of the first bill according to the first visualization operation; by the embodiment of the application, the same data can be prevented from being changed at the same time, so that the aim that the same data can be updated by only one instruction at the same time is fulfilled.

Description

Service bill data updating method and related equipment
Technical Field
The embodiment of the application relates to the field of data processing, in particular to a business document data updating method and related equipment.
Background
The enterprise resource planning system (enterprise resources planning, EPR) is based on information technology, integrates all resources (logistics, fund flow, information flow or human resources) of an enterprise, and adopts an informatization means to realize enterprise marketing management, thereby achieving the purpose of realizing scientific management on each link on a supply chain. In the EPR system, various types of documents need to be generated as service certificates, in general, the documents do not exist in isolation, one document can be converted into another document through a certain mapping relation, the content of one document can be changed along with the change of the content of the other document, and the relation can be called document association.
In the EPR system, the target bill can be directly operated to update the target bill data, and the related bill of the target bill, namely the source bill, can also be operated to indirectly update the content of the target bill by changing the data of the source bill; such as bill of materials and lead bill, which is a destination bill associated with the bill of materials generated from the bill of materials; the user can change the corresponding data of the bill of materials, after the change is finished, the system can update the corresponding data in the bill of materials and the receipt, and the user can also directly operate the receipt and update the receipt data.
Under the above scenario, if the first user updates the related data in the bill of materials, the second user updates the data in the receipt, and the first user updates the data while the first user updates the related data of the receipt because the bill of materials and the receipt are related documents, this results in that the first user and the second user update the same data at the same time, and the data update of the receipt is abnormal.
Disclosure of Invention
The embodiment of the application provides a method for updating business bill data and related equipment, aiming at avoiding the problem of abnormal data updating caused by updating the same data at the same time.
The first aspect of the embodiment of the application provides a method for updating business document data, which comprises the following steps:
receiving a first visualization operation for a first document, the first visualization operation being used to update data of the first document;
judging whether an operation record of a second bill exists, wherein the first bill and the second bill are associated bills, the data of the first bill and the data of the second bill are associated and changed, and the operation record of the second bill is used for indicating that the data of the second bill is being updated;
if yes, stopping the first visualization operation;
if not, updating the data of the first bill according to the first visualization operation.
According to a first implementation manner of the first aspect of the embodiment of the present application, before receiving the visualization operation for the first document, the method further includes:
establishing a business conflict record table, wherein the business conflict record table is used for recording operation records of the first bill and/or the second bill;
and when receiving a second visual operation of the second bill, establishing an operation record of the second bill in the business conflict record table.
According to a first implementation manner of the first aspect of the embodiment of the present application, in a second implementation manner of the first aspect of the embodiment of the present application, the method further includes:
and deleting the operation record of the second bill in the business conflict record table when the second visualization operation is finished.
According to a second implementation manner of the first aspect of the present application, in a third implementation manner of the first aspect of the present application, if it is determined that the operation record of the second document is available, the first visualization operation is stopped, and the method further includes:
judging whether the operation record of the second bill is deleted or not;
and if the operation record of the second bill is deleted, updating the data of the first bill according to the first visualization operation.
According to a fourth implementation manner of the first aspect of the present embodiment, after determining that there is no operation record of the second document, before updating data of the first document according to the visualization operation, the method further includes:
adding an operation record of the first bill in the business conflict record table; the operational record of the first document is used to indicate that the data of the first document is being updated.
According to a fourth implementation manner of the first aspect of the present application, in a fifth implementation manner of the first aspect of the present application, after updating the data of the first document according to the first visualization operation, the method further includes:
and deleting the operation record of the first bill in the business conflict record table.
A second aspect of an embodiment of the present application provides a service server, including:
a receiving unit configured to receive a first visualization operation for a first document, the first visualization operation being used to update data of the first document;
the judging unit is used for judging whether an operation record of a second bill exists or not, wherein the first bill and the second bill are associated bills, the data of the first bill and the data of the second bill are associated and changed, and the operation record of the second bill is used for indicating that the data of the second bill is being updated;
a processing unit configured to stop the first visualization operation when the determination unit determines that the determination is yes; and when the judging unit judges that the first bill is not the same, updating the data of the first bill according to the first visualization operation.
In a first implementation manner of the second aspect of the embodiment of the present application, the service server further includes a building unit, where the building unit is configured to build a service conflict record table, where the service conflict record table is used to record an operation record of the first document and/or the second document;
when the receiving unit receives a second visualization operation of the second bill, the establishing unit is used for establishing an operation record of the second bill in the business conflict record table.
A third aspect of an embodiment of the present application provides a computer apparatus, including:
a processor, a memory, and an input/output device;
the processor is connected with the memory and the input and output equipment;
the input/output device is used for receiving a first visualization operation for a first bill, and the first visualization operation is used for updating data of the first bill;
the memory stores a business conflict record table; the business conflict record table is used for recording operation records of the first bill and/or the second bill;
the processor is used for judging whether an operation record of a second bill exists, wherein the first bill and the second bill are associated bills, the data of the first bill and the data of the second bill are associated and changed, and the operation record of the second bill is used for indicating that the data of the second bill is being updated; if yes, stopping the first visualization operation; if not, updating the data of the first bill according to the first visualization operation.
A fourth aspect of the embodiments of the present application provides a computer storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform a method according to any of the first aspect of the embodiments of the present application.
From the above technical solutions, the embodiment of the present application has the following advantages:
in the embodiment of the application, a first visualization operation for a first bill is received, before the data of the first bill is updated according to the first visualization operation, whether a second bill related to the first bill is updated is monitored and judged, if yes, the first visualization operation is required to be stopped, and if not, the data of the first bill is updated; because the first bill is associated with the second bill, when the data of the first bill is changed, the data of the second bill is changed, if the operation of the second bill is performed simultaneously, the phenomenon that the same data is changed simultaneously occurs.
Drawings
FIG. 1 is a schematic diagram of an architecture of an associated document in an EPR system according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for updating business document data according to an embodiment of the present application;
FIG. 3 is another flow chart of a method for updating business document data according to an embodiment of the present application;
FIG. 4 is another flow chart of a method for updating business document data according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a service server according to an embodiment of the present application;
fig. 6 is another schematic structural diagram of a service server according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made more apparent and fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the application are shown.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Exemplary, please refer to fig. 1, which is a schematic diagram illustrating an architecture of an associated document in an EPR system according to an embodiment of the present application.
Production planning is an important component of enterprise business planning, requiring a planner to orchestrate production tasks, and to plan specifically the variety, quantity, quality, and progress of the produced product. The general flow in the EPR system is to calculate a material demand plan according to a demand list (sales order or product forecast, etc.), so as to obtain the quantity and time of material required production and purchase, and achieve the overall balance of enterprise material demand and supply; the EPR system makes a bill of materials according to a material demand plan for actually monitoring the production and management process, all the bill of the leading, returning, supplementing and entering and returning warehouse is directly or indirectly generated by the bill, and when a user updates the data of the bill of materials, the data in the bill of the leading, returning, supplementing and entering and returning warehouse can be changed according to the corresponding data in the bill of materials.
The EPR system provides two ways of data update, a user can directly operate the bill of materials and change the data of the bill of materials, and when the data of the bill of materials is updated, the data in the bill of materials for the leading, the returning, the supplementing and the entering and the returning are correspondingly modified; the user can also directly operate the receipt leading, returning, supplementing, entering and returning, and directly update the data information.
Referring to fig. 2, an embodiment of a method for updating business document data in an embodiment of the present application includes:
201. receiving a first visualization operation for a first document;
the first visualization operation is used for updating the data information of the first bill.
In the EPR system, a user may update data of a first bill in a visual interface, and when the system receives a related operation instruction input by the user, the data of the first bill is changed according to the instruction.
202. Judging whether the operation record of the second bill exists, if so, executing step 203, and if not, executing step 204;
the first bill and the second bill are associated bills, the data of the first bill and the data of the second bill are associated and changed, and the operation record of the second bill is used for indicating that the data of the second bill is being updated.
The second bill can be any one of the above-mentioned receipt-receiving, receipt-supplementing and receipt-receiving bill, when the data or information of the bill of materials is changed, the system will automatically modify the corresponding data of the receipt-receiving, receipt-supplementing and receipt-receiving bill according to the change condition; it can be understood that the bill of materials and the bill of materials for leading, returning, supplementing and entering and returning to the warehouse are only one embodiment, as long as the second bill has an association relationship with the first bill, and the data association changes in the two bills, and the specific form is not limited.
When the second document is being updated, an operation record of the second document may be established, where the operation record is used to indicate that data of the second document is being updated, so in order to avoid updating the same data at the same time, a path of data update through the first visualization operation of the first document needs to be deactivated, that is, when data update is performed through the first path, the second path needs to be deactivated, so as to ensure that no conflict phenomenon occurs in data update.
After the user receives the first visual operation of the first bill, judging whether the second bill is updated or not, namely, searching whether an operation record of the second bill exists or not, if so, indicating that the user directly operates the second bill, and the data of the second bill is updated, and stopping the mode of indirectly updating the data of the second bill, namely, the first visual operation is needed; if not, it is indicated that the data of the second document is not updated, so the first document may be updated according to the first visualization operation.
203. Stopping the first visualization operation;
it can be understood that the manner of stopping the first visualization operation may be to lock the visualization interface, pop up a prompt window on the visualization interface, or store the visualization operation in the system background without updating data, which is not limited in specific form.
204. Updating the data of the first bill according to the first visualization operation;
when no operation record of the second bill is determined, namely the data of the second bill is not updated currently, the data of the first bill is required to be updated according to the first visual operation; the system also changes the related information of the second bill according to the update condition of the first bill.
In this embodiment, a first visualization operation on a first document is received, before the data of the first document is updated according to the first visualization operation, it is monitored and judged whether a second document associated with the first document is being updated, if so, the first visualization operation needs to be stopped, and if not, the data of the first document is updated; because the first bill is associated with the second bill, when the data of the first bill is changed, the data of the second bill is changed, if the operation of the second bill is performed simultaneously, the phenomenon that the same data is changed simultaneously occurs.
Referring to fig. 3, another embodiment of a method for updating business document data in an embodiment of the present application includes:
301. establishing a business conflict record table;
the server or the terminal can pre-establish a business conflict record table, wherein the business conflict record table is used for recording operation records of the first bill and/or the second bill; specifically, the business conflict record is established according to the associated bill, and for example, the bill A and the bill B can be defined as the associated conflict bill, for example, the record can be performed according to the business bill identification; when the user receives the visualization operation about the A bill or the B bill, firstly judging whether the associated bill is subjected to data updating, and if not, recording the visualization operation in a business conflict record table.
It can be understood that when a user invokes a business document, the user needs to invoke a check conflict service in the business conflict record table, namely, whether the business conflict record table has an operation record of the associated document or not is judged, if not, the visualized operation is required to be recorded in the record table, and then the operation path of the associated document is closed through a lock mechanism, so that concurrency of a data update flow is avoided.
After the user calls the business bill, that is, after the data updating program of a certain path is finished, the server needs to delete the record in the business conflict record table, the lock mechanism is simultaneously canceled, and the system is allowed to update the data according to other paths again.
302. Receiving a first visualization operation for a first document;
step 302 is similar to step 201 in the embodiment shown in fig. 2, and will not be described in detail herein.
303. Judging whether the operation record of the second bill exists, if so, executing a step 304, and if not, executing a step 306;
step 303 is similar to step 202 in the embodiment of fig. 2, and will not be described in detail herein.
304. Stopping the first visualization operation;
step 304 is similar to step 203 in the embodiment shown in fig. 2, and will not be described in detail herein.
305. Judging whether the operation record of the second bill is deleted or not; if the deletion is performed, step 306 is performed, and if the deletion is not performed, step 304 is performed;
when the first visualization operation is stopped, the data updating process of the second bill needs to be monitored when the data updating process of the second bill is finished, the data updating process of the second bill does not conflict any more, and the server still needs to update the data of the first bill by the first visualization operation after the conflict condition is finished.
The operation record of the second bill is used for indicating that the data of the second bill is being updated, and the operation record is deleted after the data of the second bill is updated, so that the operation record of the second bill can be periodically and circularly judged to be deleted, specifically, the operation record of the second bill can be monitored and judged once every other period in a preset time period, trigger feedback can be set, when the operation record in the business conflict record table is deleted, the deletion content needs to be fed back, and the system judges whether the operation record of the second bill is deleted according to whether feedback information is received or not, and the specific form is not limited.
306. Updating the data of the first bill according to the first visualization operation;
step 306 is similar to step 204 in the embodiment of fig. 2 and will not be described in detail herein.
In this embodiment, when one bill is being updated, the update is recorded in a pre-established service conflict record table, so that when another bill associated with the one bill needs to be updated, whether there is a conflict record in the service conflict record table, that is, whether there is an associated bill being operated, if there is a need to suspend the update of the data, and after the update of the data of the associated bill is completed and the record is deleted, the update of the data of the bill is performed, thereby preventing the concurrency of the data update flows of the two paths and the occurrence of abnormal data update.
Referring to fig. 4, a third embodiment of a method for updating business document data in an embodiment of the present application includes:
401. establishing a business conflict record table;
step 401 is similar to step 301 in the embodiment shown in fig. 3, and will not be described in detail herein.
402. Receiving a first visualization operation for a first document;
step 402 is similar to step 302 in the embodiment of fig. 3 and will not be described in detail herein.
403. Judging whether the operation record of the second bill exists, if so, executing a step 404, and if not, executing a step 405;
step 403 is similar to step 303 in the embodiment of fig. 3 and will not be described in detail herein.
404. Stopping the first visualization operation;
step 404 is similar to step 304 in the embodiment of fig. 3 and will not be described in detail herein.
405. Adding an operation record of the first bill in a business conflict record table;
when the operation record of the associated document is not detected in the business conflict record table, the associated document is indicated to be not subjected to data updating, and the first document is updated according to the first visualization operation. Before updating, the operation record is required to be recorded in a business conflict record table and used for indicating that the first bill is being updated, so that when the associated bill of the first bill is required to be updated, the record can be searched in the business conflict record table, the data updating of the associated bill can be suspended according to the record, and the occurrence of updating abnormal phenomenon caused by the concurrence of two data updating paths of the same data is prevented.
406. Updating the data of the first bill according to the first visualization operation;
step 406 is similar to step 306 in the embodiment of fig. 3 and will not be described in detail herein.
407. And deleting the operation record of the first bill in the business conflict record table.
After the data is updated according to the first visualization operation, the operation record needs to be deleted to indicate that the data of the first bill is updated, so that the updating process of the associated bill can be restarted, the user is allowed to update the data of the second bill, only one updating process is allowed to be started at the same time, namely, only one path is allowed to update the associated bill, two data updating paths of the same data are prevented from being concurrent, and the accuracy of data updating is ensured.
In this embodiment, when one document needs to be updated and an operation record of an associated document is not found in the service conflict record table, a record of the current operation needs to be established in the service conflict record table before data update, where the record is used to instruct the server to stop the update process of a second document associated with the record, and after the update of the first document is completed, the data update of the second document is allowed, so that the concurrence of the data update processes of two paths is prevented.
The method for updating service bill data in the embodiment of the present application is described above, and may be applied to a terminal or a server, and the following description is given of the application to a service server in the embodiment of the present application, referring to fig. 5, where one embodiment of the service server in the embodiment of the present application includes:
a receiving unit 501 configured to receive a first visualization operation for a first document, where the first visualization operation is used to update data of the first document;
a judging unit 502, configured to judge whether there is an operation record of a second document, where the first document and the second document are associated documents, data of the first document and data of the second document are associated and changed, and the operation record of the second document is used to indicate that the data of the second document is being updated;
a processing unit 503, configured to stop the first visualization operation when the determination unit 502 determines that it is yes; and when the judging unit 502 judges that the data of the first bill is not the same, updating the data of the first bill according to the first visualization operation.
In an alternative embodiment, the service server further includes a creating unit 504, where the creating unit 504 is configured to create a service conflict record table, where the service conflict record table is used to record an operation record of the first document and/or the second document;
when the receiving unit 501 receives the second visualization operation of the second document, the establishing unit 504 is configured to establish an operation record of the second document in the service conflict record table.
In an alternative embodiment, the processing unit 503 is further configured to delete the operation record of the second document from the service conflict record table when the second visualization operation ends.
In an alternative embodiment, if the determining unit 502 determines that the operation record of the second document is stored, the determining unit 502 is further configured to determine whether the operation record of the second document is deleted;
the processing unit is further configured to update the data of the first document according to the first visualization operation if the operation record of the second document is deleted.
In an alternative embodiment, if the determining unit 502 determines that there is no operation record of the second document, the establishing unit 504 is further configured to add the operation record of the first document to the service conflict record table; the operational record of the first document is used to indicate that the data of the first document is being updated.
In an alternative embodiment, the processing unit 503 is further configured to delete the operation record of the first document in the service conflict record table after the processing unit updates the data of the first document according to the first visualization operation.
The embodiment of the application also provides computer equipment, which comprises:
a processor, a memory, and an input/output device;
the processor is connected with the memory and the input and output equipment;
the input/output device is used for receiving a first visualization operation for a first bill, and the first visualization operation is used for updating data of the first bill;
the memory stores a business conflict record table; the business conflict record table is used for recording operation records of the first bill and/or the second bill;
the processor is used for judging whether an operation record of a second bill exists, wherein the first bill and the second bill are associated bills, the data of the first bill and the data of the second bill are associated and changed, and the operation record of the second bill is used for indicating that the data of the second bill is being updated; if yes, stopping the first visualization operation; if not, updating the data of the first bill according to the first visualization operation.
Embodiments of the present application also provide a computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the above-described method.
Referring to fig. 6, an embodiment of a service server in the embodiment of the present application includes:
the service server 600 may include one or more central processing units (central processing units, CPU) 601 and a memory 604, where the memory 604 stores one or more application programs or data.
Wherein the memory 604 may be volatile storage or persistent storage. The program stored in the memory 604 may include one or more modules, each of which may include a series of instruction operations in the service server 600. Still further, the central processor 601 may be configured to communicate with the memory 604 and execute a series of instruction operations in the memory 604 on the service server 600.
The service server 600 may also include one or more power supplies 602, one or more wired or wireless network interfaces 603, one or more input/output interfaces 605, and/or one or more operating systems, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The cpu 601 may perform the operations performed by the server in the embodiments shown in fig. 2 to 4, and detailed descriptions thereof are omitted herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (7)

1. A method for updating business document data, the method comprising:
receiving a first visualization operation for a first document, the first visualization operation being used to update data of the first document;
judging whether an operation record of a second bill exists, wherein the first bill and the second bill are associated bills, the first bill generates the second bill through conversion of a mapping relation, the data of the first bill and the data of the second bill are associated and changed, the content of the second bill is updated through carrying out visual operation on the first bill or the second bill, and the operation record of the second bill is used for indicating that the data of the second bill is being updated;
if yes, stopping the first visualization operation;
if not, updating the data of the first bill according to the first visualization operation;
before receiving the visualization operation for the first document, the method further comprises:
establishing a business conflict record table according to the associated bill, wherein the business conflict record table is used for recording operation records of the first bill and/or the second bill;
when receiving a second visual operation of the second bill, establishing an operation record of the second bill in the business conflict record table;
and deleting the operation record of the second bill in the business conflict record table when the second visualization operation is finished.
2. The method of claim 1, wherein if it is determined that there is an operational record of the second document, stopping the first visualization operation, the method further comprising:
judging whether the operation record of the second bill is deleted or not;
and if the operation record of the second bill is deleted, updating the data of the first bill according to the first visualization operation.
3. The method of claim 1, wherein after determining that there is no record of operation of the second document, before updating the data of the first document according to the visualization operation, the method further comprises:
adding an operation record of the first bill in the business conflict record table; the operational record of the first document is used to indicate that the data of the first document is being updated.
4. A method according to claim 3, wherein after updating the data of the first document according to the first visualisation operation, the method further comprises:
and deleting the operation record of the first bill in the business conflict record table.
5. A service server, the service server comprising:
a receiving unit configured to receive a first visualization operation for a first document, the first visualization operation being used to update data of the first document;
the judging unit is used for judging whether an operation record of a second bill exists or not, wherein the first bill and the second bill are associated bills, the first bill generates the second bill through conversion of a mapping relation, the data of the first bill and the data of the second bill are associated and changed, the content of the second bill is updated through carrying out visual operation on the first bill or the second bill, and the operation record of the second bill is used for indicating that the data of the second bill is being updated;
a processing unit configured to stop the first visualization operation when the determination unit determines that the determination is yes; when the judging unit judges that the first bill is not the same, updating the data of the first bill according to the first visualization operation;
the business server also comprises an establishing unit, wherein the establishing unit is used for establishing a business conflict record table according to the associated bill, and the business conflict record table is used for recording operation records of the first bill and/or the second bill;
when the receiving unit receives a second visual operation of the second bill, the establishing unit is used for establishing an operation record of the second bill in the business conflict record table;
and when the second visualization operation is finished, the processing unit is further used for deleting the operation record of the second bill in the business conflict record table.
6. A computer device, comprising:
a processor, a memory, and an input/output device;
the processor is connected with the memory and the input and output equipment;
the input/output device is used for receiving a first visualization operation for a first bill, and the first visualization operation is used for updating data of the first bill;
the memory stores a business conflict record table; the business conflict record table is established according to the associated bill, and the business conflict record table is used for recording operation records of the first bill and/or the second bill;
the processor is used for judging whether an operation record of a second bill exists, wherein the first bill and the second bill are associated bills, the first bill generates the second bill through conversion of a mapping relation, the data of the first bill and the data of the second bill are associated and changed, the content of the second bill is updated through carrying out visual operation on the first bill or the second bill, and the operation record of the second bill is used for indicating that the data of the second bill is being updated; if yes, stopping the first visualization operation; if not, updating the data of the first bill according to the first visualization operation;
the processor is further configured to establish an operation record of the second document in the service conflict record table when receiving a second visualization operation of the second document; and deleting the operation record of the second bill in the business conflict record table when the second visualization operation is finished.
7. A computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of any of claims 1 to 4.
CN201911269418.1A 2019-12-11 2019-12-11 Service bill data updating method and related equipment Active CN111061747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911269418.1A CN111061747B (en) 2019-12-11 2019-12-11 Service bill data updating method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911269418.1A CN111061747B (en) 2019-12-11 2019-12-11 Service bill data updating method and related equipment

Publications (2)

Publication Number Publication Date
CN111061747A CN111061747A (en) 2020-04-24
CN111061747B true CN111061747B (en) 2023-08-29

Family

ID=70300569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911269418.1A Active CN111061747B (en) 2019-12-11 2019-12-11 Service bill data updating method and related equipment

Country Status (1)

Country Link
CN (1) CN111061747B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102216910A (en) * 2007-06-06 2011-10-12 雅典娜电信实验有限公司 Database parallel editing method
CN103136308A (en) * 2011-11-23 2013-06-05 英业达股份有限公司 Method and system for updating application system database
CN106503001A (en) * 2015-09-03 2017-03-15 阿里巴巴集团控股有限公司 Data-updating method and device in distributed type assemblies environment
CN106572130A (en) * 2015-10-09 2017-04-19 阿里巴巴集团控股有限公司 Method used for realizing distributed lock management and equipment thereof
CN107239467A (en) * 2016-03-29 2017-10-10 北京神州泰岳软件股份有限公司 Data processing method and device based on database
CN107832349A (en) * 2017-10-18 2018-03-23 金蝶软件(中国)有限公司 The management method and information management system of a kind of business object

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9679004B2 (en) * 2014-07-21 2017-06-13 Oracle International Corporation Planned cluster node maintenance with low impact on application throughput
US10951552B2 (en) * 2017-10-30 2021-03-16 International Business Machines Corporation Generation of a chatbot interface for an application programming interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102216910A (en) * 2007-06-06 2011-10-12 雅典娜电信实验有限公司 Database parallel editing method
CN103136308A (en) * 2011-11-23 2013-06-05 英业达股份有限公司 Method and system for updating application system database
CN106503001A (en) * 2015-09-03 2017-03-15 阿里巴巴集团控股有限公司 Data-updating method and device in distributed type assemblies environment
CN106572130A (en) * 2015-10-09 2017-04-19 阿里巴巴集团控股有限公司 Method used for realizing distributed lock management and equipment thereof
CN107239467A (en) * 2016-03-29 2017-10-10 北京神州泰岳软件股份有限公司 Data processing method and device based on database
CN107832349A (en) * 2017-10-18 2018-03-23 金蝶软件(中国)有限公司 The management method and information management system of a kind of business object

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
实现分布式锁;zhong0316;《https://www.jianshu.com/p/a64df8dcfade》;20190221;正文1-2页 *

Also Published As

Publication number Publication date
CN111061747A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
US20210342313A1 (en) Autobuild log anomaly detection methods and systems
US9065705B2 (en) Multiplexer for multi-tenant architectures
US20230289274A1 (en) Optimizing hardware replacement using performance analytics
US20150278335A1 (en) Scalable business process intelligence and predictive analytics for distributed architectures
CN105723363B (en) Method for maintaining and upgrading tenant database in ERP system and server thereof
US8190578B2 (en) Migration of versioned data between configuration management systems
US20080235663A1 (en) Change Management for Structure Objects
CN110807596A (en) Cross-border e-commerce consignment warehouse storage management system and method
US20190312793A1 (en) Transformation platform
US20080262881A1 (en) Logically centralized scrap management using planning operations
US20100274601A1 (en) Supply chain perameter optimization and anomaly identification in product offerings
CN111061747B (en) Service bill data updating method and related equipment
US11216318B2 (en) Systems, methods, and devices for implementing a central computing platform for distributed computing environments
US20230251853A1 (en) Configuration properties management for software
US8200701B2 (en) Handling of data in a data sharing system
US11416801B2 (en) Analyzing value-related data to identify an error in the value-related data and/or a source of the error
KR102553162B1 (en) Method for processing data of distributed coordination system and electronic apparatus therefor
US11699115B2 (en) System and method for modular customization of intermediate business documentation generation
JP2020017053A (en) Environment construction support system and environment construction support method
CN116128433A (en) Nuclear power plant equipment information management system and method, storage medium and computer equipment
US9031998B2 (en) Analytics enablement objects
CN110895777A (en) Method and device for processing overtime service list
KR20220095136A (en) Method for providing information based on expected result value and computing device using the same
US20200364757A1 (en) SPREADSHEET ADD-ON FOR eCOMMERCE
US20230059811A1 (en) Blockchain-based supply chain and inventory management system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant