Data Synchronization Method, Device, Equipment and Storage Medium Based on Linkage Identification

By displaying linkage identifiers in the report template cells and generating entry viewing instructions, the problem of low data synchronization efficiency in traditional technology is solved, and the effect of fast synchronization of data to associated entries is achieved.

CN114201469BActive Publication Date: 2025-07-25KINGDEE SOFTWARE(CHINA) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111442012.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2025-07-25
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

In traditional technology, after the cell data of the report template is adjusted, it cannot be viewed quickly and synchronized to the associated entries, resulting in low data synchronization efficiency.

Method used

By displaying linkage identifiers in the report template cell, generate entries viewing instructions in response to data changes, and synchronize the changed data to the associated entries.

Benefits of technology

It realizes quick viewing and synchronizing data to related entries, improving data synchronization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114201469B_ABST
    Figure CN114201469B_ABST
Patent Text Reader

Abstract

The present application relates to a data synchronization method, apparatus, computer device, storage medium, and computer program product based on linkage identifiers. The method includes: in response to a trigger operation on a target report template, presenting the target report template; searching for a target cell in the target report template that is associated with an associated entry in another report template; presenting, in the target cell, a linkage identifier indicating the association with the associated entry; if the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, presenting the other report template; and synchronizing the changed data to the associated entry in the other report template. Using this method can improve the efficiency of data synchronization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a data synchronization method, device, computer device, storage medium, and computer program product based on linkage identifiers. Background Art

[0002] With the development of computer technology, data in cells of a report template is usually adjusted. After the data in the cells of the report template is adjusted, it is necessary to synchronously adjust the data in the entries associated with the cell to ensure the correctness of the data in the associated entries of the cell.

[0003] In traditional technologies, when adjusting the data in the cells of a report template, it is impossible to quickly check whether there are corresponding associated entries for the cell, resulting in the inability to timely synchronize the changed data to the associated entries, and the efficiency of synchronizing the data in the associated entries is low. Summary of the Invention

[0004] Based on this, in view of the above technical problems, it is necessary to provide a data synchronization method, device, computer device, storage medium, and computer program product based on linkage identifiers that can improve the synchronization efficiency.

[0005] A data synchronization method based on linkage identifiers, the method comprising:

[0006] In response to a trigger operation on a target report template, display the target report template;

[0007] In the target report template, find a target cell associated with an associated entry in another report template;

[0008] In the target cell, display a linkage identifier indicating that the associated entry is associated;

[0009] If the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, display the other report template;

[0010] Synchronize the changed data to the associated entries of the other report template.

[0011] In one embodiment, the method further comprises:

[0012] Display a report template list in a template list interface;

[0013] The step of, in response to a trigger operation on a target report template, displaying the target report template includes:

[0014] In response to a triggering operation on a target report template in the report template list, display the target report template in the template list interface.

[0015] In one embodiment, the method further includes:

[0016] Obtain the valid time period of the associated entry in the other report template associated with the target cell;

[0017] Verify the association relationship between the target cell and the associated entry according to the valid time period;

[0018] When the verification result is valid, perform the step of displaying a linkage identifier in the target cell to indicate that the associated entry is associated.

[0019] In one embodiment, the method further includes:

[0020] In response to a selection operation on a cell in the target report template, select a cell to be configured with a linkage identifier;

[0021] In response to an operation of adding a linkage identifier to the cell to be configured, add a linkage identifier to the cell to be configured;

[0022] In response to an operation of updating the linkage identifier of the cell to be configured, update the corresponding linkage identifier of the cell to be configured.

[0023] In one embodiment, the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier; the associated entry includes a source entry or a target entry; the step of synchronizing the changed data to the associated entry in the other report template includes:

[0024] If the linkage identifier is the source linkage identifier or the two-way linkage identifier, synchronize the changed data to the target entry associated with the target cell in the other report template;

[0025] The method further includes:

[0026] If the linkage identifier is the target linkage identifier, when the data in the source entry associated with the target cell changes, synchronize the changed data to the target cell.

[0027] In one embodiment, the step of displaying the other report template in response to an instruction to view an entry generated based on the linkage identifier when the data in the target cell changes includes:

[0028] If the data in the target cell changes, in response to the entry viewing instruction generated based on the linkage identifier, display a list of associated report templates;

[0029] In response to the selection operation of the report template in the list of associated report templates, display the other report templates.

[0030] In one embodiment, the linkage identifier is a corner mark displayed in the target cell, and the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier.

[0031] A data synchronization device based on a linkage identifier, the device includes:

[0032] A display module, configured to display the target report template in response to a trigger operation on the target report template;

[0033] A search module, configured to search for a target cell in the target report template that is associated with an associated entry in another report template;

[0034] The display module is further configured to display a linkage identifier in the target cell to indicate that the associated entry is associated;

[0035] The display module is further configured to, if the data in the target cell changes, in response to the entry viewing instruction generated based on the linkage identifier, display the other report templates;

[0036] A synchronization module, configured to synchronize the changed data to the associated entries of the other report templates.

[0037] In one embodiment, the display module is further configured to:

[0038] Display a list of report templates in the template list interface;

[0039] In response to a trigger operation on the target report template in the list of report templates, display the target report template in the template list interface.

[0040] In one embodiment, the device further includes:

[0041] An acquisition module, configured to acquire the effective time period during which the target cell is associated with the associated entries in the other report templates;

[0042] A verification module, configured to verify the association relationship between the target cell and the associated entries according to the effective time period;

[0043] The display module is further configured to, when the verification result is valid, perform the step of displaying a linkage identifier in the target cell to indicate that the associated entry is associated.

[0044] In one embodiment, the device further comprises:

[0045] A selection module, configured to select a cell to be configured with a linkage identifier in response to a selection operation on a cell in the target report template;

[0046] An adding module, configured to add a linkage identifier to the cell to be configured in response to an operation of adding a linkage identifier to the cell to be configured;

[0047] An updating module, configured to update the linkage identifier corresponding to the cell to be configured in response to an operation of updating the linkage identifier of the cell to be configured.

[0048] In one embodiment, the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier; the associated entry includes a source entry or a target entry; and the synchronization module is further configured to:

[0049] If the linkage identifier is the source linkage identifier or the two-way linkage identifier, synchronize the changed data to the target entry associated with the target cell in the other report template;

[0050] If the linkage identifier is the target linkage identifier, when the data in the source entry associated with the target cell changes, synchronize the changed data to the target cell.

[0051] In one embodiment, the display module is further configured to:

[0052] If the data in the target cell changes, in response to an instruction for viewing an entry generated based on the linkage identifier, display a list of associated report templates;

[0053] In response to a selection operation on a report template in the list of associated report templates, display the other report template.

[0054] In one embodiment, the linkage identifier is a corner mark displayed in the target cell, and the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier.

[0055] A computer device, comprising a memory and a processor, the memory storing a computer program, wherein when the processor executes the computer program, the steps of the data synchronization method based on a linkage identifier are implemented.

[0056] A computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the data synchronization method based on a linkage identifier are implemented.

[0057] A computer program product includes a computer program which, when executed by a processor, implements the steps of the data synchronization method based on the linkage identifier.

[0058] The above-mentioned data synchronization method, device, computer device, storage medium and computer program product based on the linkage identifier respond to a trigger operation on a target report template, and display the target report template. Search for target cells in the target report template that are associated with the associated entries in other report templates, and display a linkage identifier indicating the association with the associated entries in the target cells. Thus, it is possible to quickly check whether the target cell is associated with the associated entries by the linkage identifier displayed in the target cell. If the data in the target cell changes, in response to the entry viewing instruction generated based on the linkage identifier, display other report templates, and synchronize the changed data to the associated entries in other report templates. Thus, the changed data can be quickly synchronized to the associated entries in other report templates, improving the efficiency of data synchronization. Description of the Drawings

[0059] Figure 1 It is an application environment diagram of the data synchronization method based on the linkage identifier in an embodiment;

[0060] Figure 2 It is a flowchart of the data synchronization method based on the linkage identifier in an embodiment;

[0061] Figure 3 It is a schematic diagram of displaying the linkage identifier in a cell in an embodiment;

[0062] Figure 4 It is a schematic diagram of generating an entry interface in an embodiment;

[0063] Figure 5 It is a flowchart of the method for verifying the association relationship in an embodiment;

[0064] Figure 6 It is a schematic diagram of setting an effective time period in an embodiment;

[0065] Figure 7 It is a schematic diagram of the interface for updating the linkage identifier in an embodiment;

[0066] Figure 8 It is a flowchart of the data synchronization method based on the linkage identifier in another embodiment;

[0067] Figure 9 It is a flowchart of the data synchronization method based on the linkage identifier in another embodiment;

[0068] Figure 10The structural block diagram of the data synchronization device based on the linkage identifier in one embodiment;

[0069] Figure 11 The structural block diagram of the data synchronization device based on the linkage identifier in another embodiment;

[0070] Figure 12 The internal structure diagram of a computer device in one embodiment;

[0071] Figure 13 The internal structure diagram of a computer device in another embodiment. Detailed implementation manners

[0072] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0073] The data synchronization method based on the linkage identifier provided by the present application can be applied to, for example, Figure 1 the application environment shown. The computer device 102 responds to a trigger operation on a target report template and displays the target report template. The computer device 102 searches for a target cell in the target report template that is associated with an associated entry in another report template, and displays a linkage identifier in the target cell to indicate that the target cell is associated with the associated entry. If the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, the computer device 102 displays the other report template and synchronizes the changed data to the associated entry of the other report template.

[0074] Among them, the computer device 102 can be a terminal or a server. The terminal can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices. The server can be implemented by an independent server or a server cluster composed of multiple servers.

[0075] In one embodiment, as Figure 2 shown, a data synchronization method based on the linkage identifier is provided. Taking the computer device in Figure 1 as an example, the method includes the following steps:

[0076] S202, in response to a trigger operation on a target report template, display the target report template.

[0077] Among them, the report template is a template used to prepare a report, including a balance sheet template, an income statement template, a cash flow statement template, etc. The target report template is a report template in the report template list. For example, it can be a balance sheet template, a cash flow statement template, a dividend receivable statement template, etc. For example, as Figure 3As shown, the balance sheet template includes cells corresponding to the beginning balance and the ending balance, and data can be written in the cells.

[0078] Among them, the triggering operation can be a click operation, a drag operation, a swipe operation, etc. For example, the triggering operation can be an operation triggered by clicking on the touch screen, or it can also be an operation triggered by swiping on the touch screen, or it can also be an operation triggered by a click operation of the mouse, etc.

[0079] In one embodiment, S202 specifically includes: displaying a report template list in the template list interface; in response to a triggering operation on the target report template, displaying the target report template includes: in response to a triggering operation on the target report template in the report template list, displaying the target report template in the template list interface.

[0080] Among them, the template list interface is an interface for displaying the report template list. For example, as Figure 3 shown, the template list interface is the "My Reports" interface, and the computer device can display the report template list in the "My Reports" interface. The report template list is a list including multiple report templates. For example, the computer device displays the balance sheet template in response to a click operation on the balance sheet report template.

[0081] S204, find the target cells in the target report template that are associated with the associated entries in other report templates.

[0082] Among them, an entry is a record about an account and an amount, including single entries and compound entries, etc. A single entry is an entry that only involves two accounts, and a compound entry is an entry that involves more than two accounts. An associated entry is an entry associated with a cell in the report template. The entry associated with the cell can be the target entry or the source entry corresponding to the cell. When the entry associated with the cell is the target entry of the cell, the data recorded in the cell is the source entry of the target entry, and the change of the data in the cell affects the data in the associated target entry; when the entry associated with the cell is the source entry of the cell, the data recorded in the cell is the target entry of the source entry, and the change of the source entry data affects the data in the cell.

[0083] In one embodiment, S204 specifically includes: finding the cells configured with a linkage identifier in the target report template, and using the cells configured with the linkage identifier as the target cells associated with the associated entries in other report templates.

[0084] S206, display a linkage identifier in the target cell to indicate that it is associated with an associated entry.

[0085] Among them, the linkage identifier is an identifier used to indicate that the target cell is associated with an associated entry, including source linkage identifiers, target linkage identifiers, two-way linkage identifiers, etc. The linkage identifier can be represented by icons, numbers, letters, etc. For example, the target linkage identifier is represented by the letter T. The source linkage identifier is used to indicate that the entry recorded in the target cell is the source entry, and the change of the source entry affects the associated target entry. The target linkage identifier is used to indicate that the entry recorded in the target cell is the target entry, and the change of the target entry affects the associated source entry. When the two-way linkage identifier is displayed in the target cell, it means that the entry recorded in the target cell can be either the source entry or the target entry. For example, as Figure 3 shown, the linkage identifier is the superscript displayed in the target cell, and the superscript contains the letters T, S, or A. When the linkage identifier displayed in the target cell is the superscript containing the letter T, it means that the data recorded in the target cell is the target entry; when the linkage identifier displayed in the target cell is the superscript containing the letter S, it means that the data recorded in the target cell is the source entry; when the linkage identifier displayed in the target cell is the superscript containing the letter A, it means that the data recorded in the target cell can be either the source entry or the target entry.

[0086] S208, if the data in the target cell changes, in response to the entry viewing instruction generated based on the linkage identifier, display other report templates.

[0087] Among them, the entry viewing instruction is an instruction used to view the entry associated with the target cell, and it can be an instruction triggered by clicking on the target cell. The other report templates are report templates that contain the associated entries associated with the target cell. For example, the target cell is a cell in the balance sheet, and this target cell has associated entries in other report templates (such as the income statement). If the data in the target cell changes, in response to the entry viewing instruction generated based on the linkage identifier, display the income statement.

[0088] In one embodiment, before S208, it further includes: when the computer device enters the adjustment and offset entry, adjust the data in the target cell. For example, the computer device calculates the sum of the data in other multiple cells, and adjusts the data in the target cell by writing the calculated sum value into the target cell. For example, as Figure 4 shown, the computer device can obtain the data written in the "beginning balance" cells corresponding to "cash and cash equivalents" and "group deposits", then calculate the sum of the beginning balance of "cash and cash equivalents" and the beginning balance of "group deposits", and write the calculated sum value into the "beginning balance" cell corresponding to "current assets". When the computer device responds to the instruction to select a cell and selects the "beginning balance" cell corresponding to "current assets", in response to clicking Figure 4The instruction triggered by "generating entries" writes the data in the cell corresponding to "beginning balance" of "current assets" into the cell in the generated entry area to generate a new entry.

[0089] In one embodiment, the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier; the entry viewing instruction includes a source entry viewing instruction, a target entry viewing instruction, and a two-way associated entry viewing instruction; before S208, it further includes: if the data in the target cell changes, obtain the linkage identifier corresponding to the target cell; when the linkage identifier is a source linkage identifier, generate a target entry viewing instruction; when the linkage identifier is a target linkage identifier, generate a source entry viewing instruction; when the linkage identifier is a two-way linkage identifier, generate a source entry viewing instruction or a target entry viewing instruction.

[0090] S210, synchronize the changed data to the associated entries of other report templates.

[0091] When the data in the target cell associated with the associated entry changes, the computer device synchronizes the data in the target cell to the associated entries of other report templates. For example, as Figure 3 shown, when a source entry identifier (for example, a subscript containing the letter S) is displayed on the cell corresponding to the beginning balance of the group deposit item in the balance sheet, the beginning balance has an associated target entry, that is, the change in the beginning balance recorded in this cell will affect the associated target entry. Therefore, if the beginning balance changes, synchronize the changed data to the target entry associated with this cell.

[0092] In the above embodiment, in response to the trigger operation on the target report template, the target report template is displayed. Find the target cell in the target report template that is associated with the associated entry in other report templates, and display the linkage identifier indicating that the associated entry is associated in the target cell. Thus, the associated entry of the target cell can be quickly viewed through the linkage identifier displayed in the target cell. If the data in the target cell changes, in response to the entry viewing instruction generated based on the linkage identifier, display other report templates, and synchronize the changed data to the associated entries of other report templates. Thus, the changed data can be quickly synchronized to the associated entries of other report templates, improving the efficiency of data synchronization.

[0093] In one embodiment, as Figure 5 shown, before S206, it further includes S502 - S504, and S206 specifically includes S506.

[0094] S502, obtain the effective time period of the associated entry in the other report template associated with the target cell.

[0095] S504. Verify the association relationship between the target cell and the associated entry according to the valid time period.

[0096] S506. When the verification result is valid, display a linkage identifier in the target cell to indicate that the associated entry is associated.

[0097] Among them, the valid time period is the time period during which the association relationship between the target cell and the associated entry takes effect. For example, the valid time period can be September 2020, or the valid time period can be Fiscal Year 2021, or the valid time period is from April 5, 2021 to August 6, 2021.

[0098] In one embodiment, S504 specifically includes: The computer device obtains the time when the target cell is found, and verifies the association relationship between the target cell and the associated entry according to the obtained time and the valid time period. When the obtained time is within the valid time period, it is determined that the verification result is valid; when the obtained time is not within the valid time period, it is determined that the verification result is invalid. For example, if the time obtained by the computer device is March 15, 2020, and the valid time period is August 2019, it means that the association relationship between the target cell and the associated entry is invalid.

[0099] In one embodiment, before S502, it further includes: The computer device sets the valid time period of the associated entry in the other report templates associated with the target cell. For example, as Figure 6 shown, the computer device sets the valid time period of the association relationship between the target cell and the associated entry in the valid time setting interface, and sets the valid time period to May, June, July, and August of Fiscal Year 2021.

[0100] In the above embodiment, the computer device verifies the valid time period during which the association relationship between the target cell and the associated entry takes effect. If the association relationship is valid, a linkage identifier indicating that the associated entry is associated is displayed in the target cell. The computer device only displays the linkage identifier of the associated entry whose association relationship is within the valid time period in the target cell, ensuring that the association relationship between the target cell displaying the linkage identifier and the corresponding associated entry is a valid association relationship, thereby avoiding synchronizing the changed data to the associated entry whose association relationship has expired, and ensuring the correctness of data synchronization.

[0101] In one embodiment, before S204, it further includes: In response to the selection operation of the cell in the target report template, select the cell to be configured with the linkage identifier; in response to the operation of adding the linkage identifier for the cell to be configured, add the linkage identifier to the cell to be configured; in response to the operation of updating the linkage identifier for the cell to be configured, update the corresponding linkage identifier of the cell to be configured.

[0102] Among them, the selection operation is an operation of selecting one or more cells in the target report template, which can be a click operation, a drag operation, a sliding operation, etc. The cell to be configured is the cell to be configured with a linkage identifier. For the cell to be configured, a linkage identifier can be added or the linkage identifier can be updated. When a linkage entry with an associated relationship is newly added to the cell to be configured, a linkage identifier is added to the cell to be configured. For example, when a source entry with an associated relationship is newly added to the cell to be configured, the data in the cell to be configured is the target entry of the newly added source entry, and a target linkage identifier is added to the cell.

[0103] Among them, the linkage identifier update operation is an operation of updating the linkage identifier of the cell to be configured. For example, as Figure 7 shown, when three cells to be configured, namely "foreign currency statement translation difference", "profit", and "surplus reserve", are selected, the computer device responds to the linkage identifier update operation triggered by clicking "Update Identifier" to update the linkage identifiers of the selected cells to be configured. Updating the linkage identifier corresponding to the cell to be configured can be changing the linkage identifier corresponding to the cell to be configured. For example, updating the source linkage identifier corresponding to the cell to be configured to the target linkage identifier.

[0104] In the above embodiment, the computer device selects the cell to be configured with the linkage identifier, and responds to the linkage identifier addition operation for the cell to be configured to add a linkage identifier to the cell to be configured; responds to the linkage identifier update operation for the cell to be configured, and updates the linkage identifier corresponding to the cell to be configured to configure the linkage identifier for the selected cell, so that when the target report template is displayed, the target cell associated with the associated entry can be queried according to the linkage identifier configured in the cell of the target report template, and the linkage identifier is displayed in the target cell, improving the efficiency of data synchronization.

[0105] In one embodiment, the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier; the associated entry includes a source entry or a target entry; S210 specifically includes: if the linkage identifier is a source linkage identifier or a two-way linkage identifier, synchronize the changed data to the target entry associated with the target cell in other report templates; if the linkage identifier is a target linkage identifier, when the data in the source entry associated with the target cell changes, synchronize the changed data to the target cell.

[0106] If the linkage identifier is a source linkage identifier, the data in the cell displaying the linkage identifier is the source entry. When the data in this cell changes, it will affect the target entry associated with this cell. Therefore, when the data in this cell changes, the changed data is synchronized to the target entry associated with the target cell in other report templates. If the linkage identifier is a two-way linkage identifier, the data in the cell displaying the linkage identifier can be either the source entry or the target entry. When the data is the source entry, there is an associated target entry. Therefore, when the data in this cell changes, the changed data is synchronized to the target entry associated with the target cell in other report templates. If the linkage identifier is a target linkage identifier, the data in the cell displaying the linkage identifier is the target entry. Therefore, this data is affected by the source entry associated with this target cell. When the data in the source entry changes, the changed data is synchronized to the target cell.

[0107] In one embodiment, S208 specifically includes: If the data in the target cell has changed, in response to the entry viewing instruction generated based on the linkage identifier, display the associated report template list; in response to the selection operation of the report template in the associated report template list, display other report templates.

[0108] Among them, the associated report template list is a list containing other report templates associated with the target cell. For example, if the associated entries of the target cell are respectively in the income statement and the cash flow statement, then the income statement and the cash flow statement are other report templates associated with the target cell, and the associated report template list includes the income statement and the cash flow statement.

[0109] The computer device displays other report templates in response to the selection operation of the report template in the associated report template list. For example, the computer device displays the income statement in response to the selection operation of the income statement in the associated report template list.

[0110] In the above embodiment, if the data in the target cell has changed, in response to the entry viewing instruction generated based on the linkage identifier, display the associated report template list, and in response to the selection operation of the report template in the associated report template list, display other report templates. Thus, the changed data can be quickly synchronized to the associated entries of other report templates, improving the efficiency of data synchronization.

[0111] In one embodiment, as Figure 8 shown, the data synchronization method based on the linkage identifier includes the following steps:

[0112] S802, display the report template list in the template list interface.

[0113] S804. In response to a trigger operation on a target report template in the report template list, display the target report template in the template list interface. In response to a selection operation on a cell in the target report template, select the cell to be configured with a linkage identifier.

[0114] S806. In response to an operation of adding a linkage identifier for the cell to be configured, add a linkage identifier to the cell to be configured; in response to an operation of updating the linkage identifier for the cell to be configured, update the corresponding linkage identifier of the cell to be configured.

[0115] S808. In the target report template, find the target cell that is associated with the associated entry in other report templates.

[0116] S810. Obtain the valid time period of the associated entry in the other report template associated with the target cell.

[0117] S812. Verify the association relationship between the target cell and the associated entry according to the valid time period.

[0118] S814. When the verification result is valid, display a linkage identifier in the target cell to indicate that it is associated with the associated entry.

[0119] S816. If the linkage identifier is a source linkage identifier or a two-way linkage identifier, in response to an instruction to view the entry generated based on the linkage identifier, display a list of associated report templates.

[0120] S818. In response to a selection operation on a report template in the list of associated report templates, display other report templates and synchronize the changed data to the associated entries of other report templates.

[0121] The specific content of the above S802 to S818 can refer to the specific implementation process described above.

[0122] In one embodiment, as Figure 9 shown, the computer device, in response to a selection operation on a cell in the target report template, selects the cell to be configured with a linkage identifier. Then, configure a linkage identifier for the selected cell to be configured. Configuring the linkage identifier includes adding a linkage identifier or updating a linkage identifier. After the configuration is completed, when displaying the target report template, find the target cell in the target report template that is associated with the associated entry in other report templates, and verify the association relationship between the target cell and the associated entry. When the verification result is valid, display a linkage identifier in the target cell to indicate that it is associated with the associated entry. When the data in the target cell changes, synchronize the changed data to the associated entry associated with the target cell.

[0123] It should be understood that although Figure 2 、5 In the flowcharts of 8 and 9, each step is shown in sequence according to the arrow's indication. However, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise clearly stated in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 、 5 At least some of the steps in 8 and 9 may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential either, but can be executed alternately or in turn with at least some of the steps or stages in other steps or other steps.

[0124] In one embodiment, as Figure 10 shown, a data synchronization device based on a linkage identifier is provided, including: a display module 1002, a search module 1004, and a synchronization module 1006, where:

[0125] The display module 1002 is configured to display a target report template in response to a trigger operation on the target report template;

[0126] The search module 1004 is configured to search for target cells in the target report template that are associated with associated entries in other report templates;

[0127] The display module 1002 is further configured to display a linkage identifier indicating the association with the associated entry in the target cell;

[0128] The display module 1002 is further configured to display other report templates in response to an entry viewing instruction generated based on the linkage identifier if the data in the target cell changes;

[0129] The synchronization module 1006 is configured to synchronize the changed data to the associated entries of other report templates.

[0130] In the above embodiment, in response to a trigger operation on the target report template, the target report template is displayed. Search for target cells in the target report template that are associated with associated entries in other report templates, and display a linkage identifier indicating the association with the associated entry in the target cell. Thus, it is possible to quickly check whether the target cell is associated with an associated entry by the linkage identifier displayed in the target cell. If the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, display other report templates, and synchronize the changed data to the associated entries of other report templates. Thus, the changed data can be quickly synchronized to the associated entries of other report templates, improving the efficiency of data synchronization.

[0131] In one embodiment, the display module 1002 is further configured to:

[0132] Display a report template list in the template list interface;

[0133] In response to a trigger operation on a target report template in the report template list, display the target report template in the template list interface.

[0134] In one embodiment, as Figure 11 shown, the apparatus further includes:

[0135] An acquisition module 1008, configured to acquire the valid time period of the associated entry in other report templates associated with the target cell;

[0136] A verification module 1010, configured to verify the association relationship between the target cell and the associated entry according to the valid time period;

[0137] The display module 1002 is further configured to, when the verification result is valid, perform the step of displaying a linkage identifier indicating the association of the associated entry in the target cell.

[0138] In one embodiment, the apparatus further includes:

[0139] A selection module 1012, configured to select a cell to be configured with a linkage identifier in response to a selection operation on a cell in the target report template;

[0140] An addition module 1014, configured to add a linkage identifier to the cell to be configured in response to a linkage identifier addition operation on the cell to be configured;

[0141] An update module 1016, configured to update the linkage identifier corresponding to the cell to be configured in response to a linkage identifier update operation on the cell to be configured.

[0142] In one embodiment, the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier; the associated entry includes a source entry or a target entry; the synchronization module 1008 is further configured to:

[0143] If the linkage identifier is a source linkage identifier or a two-way linkage identifier, synchronize the changed data to the target entry associated with the target cell in other report templates;

[0144] If the linkage identifier is a target linkage identifier, when the data in the source entry associated with the target cell changes, synchronize the changed data to the target cell.

[0145] In one embodiment, the display module 1002 is further configured to:

[0146] If the data in the target cell changes, in response to the journal entry viewing instruction generated based on the linkage identifier, display the list of associated report templates;

[0147] In response to the selection operation of the report template in the list of associated report templates, display other report templates.

[0148] In one embodiment, the linkage identifier is the corner mark displayed in the target cell, and the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier.

[0149] For the specific limitations of the data synchronization device based on the linkage identifier, reference can be made to the limitations of the data synchronization method based on the linkage identifier in the above text, which will not be elaborated here. Each module in the above data synchronization device based on the linkage identifier can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0150] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 12 shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data synchronization data based on the linkage identifier. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a data synchronization method based on the linkage identifier.

[0151] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 13As shown in the figure. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be implemented through WIFI, a carrier network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a data synchronization method based on a linkage identifier. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0152] Those skilled in the art can understand that Figure 12 , 13 The structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0153] In one embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented: in response to a trigger operation on a target report template, display the target report template; find a target cell in the target report template that is associated with the associated entries in other report templates; display a linkage identifier in the target cell to indicate that it is associated with the associated entries; if the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, display other report templates; synchronize the changed data to the associated entries in other report templates.

[0154] In one embodiment, when the processor executes the computer program, the following steps are also implemented: display a list of report templates in a template list interface; in response to a trigger operation on a target report template, displaying the target report template includes: in response to a trigger operation on the target report template in the report template list, display the target report template in the template list interface.

[0155] In one embodiment, when the processor executes a computer program, the following steps are further implemented: obtaining the valid time period of the associated journal entries in other report templates associated with the target cell; verifying the association relationship between the target cell and the associated journal entries according to the valid time period; when the verification result is valid, performing the step of displaying in the target cell a linkage identifier indicating that the associated journal entries are associated.

[0156] In one embodiment, when the processor executes a computer program, the following steps are further implemented: in response to a selection operation on a cell in a target report template, selecting a cell to be configured with a linkage identifier; in response to an operation of adding a linkage identifier to the cell to be configured, adding a linkage identifier to the cell to be configured; in response to an operation of updating the linkage identifier of the cell to be configured, updating the corresponding linkage identifier of the cell to be configured.

[0157] In one embodiment, the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier; the associated journal entries include source journal entries or target journal entries; when the processor executes a computer program, the following steps are further implemented: if the linkage identifier is a source linkage identifier or a two-way linkage identifier, synchronizing the changed data to the target journal entries associated with the target cell in other report templates; if the linkage identifier is a target linkage identifier, when the data in the source journal entries associated with the target cell changes, synchronizing the changed data to the target cell.

[0158] In one embodiment, when the processor executes a computer program, the following steps are further implemented: if the data in the target cell changes, in response to a journal entry viewing instruction generated based on the linkage identifier, displaying a list of associated report templates; in response to a selection operation on a report template in the list of associated report templates, displaying other report templates.

[0159] In one embodiment, the linkage identifier is a corner mark displayed in the target cell, and the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier.

[0160] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: in response to a trigger operation on a target report template, displaying the target report template; searching in the target report template for a target cell associated with associated journal entries in other report templates; displaying in the target cell a linkage identifier indicating that the associated journal entries are associated; if the data in the target cell changes, in response to a journal entry viewing instruction generated based on the linkage identifier, displaying other report templates; synchronizing the changed data to the associated journal entries in other report templates.

[0161] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: display a report template list in a template list interface; in response to a trigger operation on a target report template, display the target report template, including: in response to a trigger operation on the target report template in the report template list, display the target report template in the template list interface.

[0162] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtain the valid time period of the associated entry in other report templates associated with the target cell; verify the association relationship between the target cell and the associated entry according to the valid time period; when the verification result is valid, execute the step of displaying a linkage identifier indicating the association with the associated entry in the target cell.

[0163] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: in response to a selection operation on a cell in the target report template, select a cell to be configured with a linkage identifier; in response to an operation of adding a linkage identifier for the cell to be configured, add a linkage identifier to the cell to be configured; in response to an operation of updating the linkage identifier for the cell to be configured, update the corresponding linkage identifier of the cell to be configured.

[0164] In one embodiment, the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier; the associated entry includes a source entry or a target entry; when the computer program is executed by a processor, the following steps are further implemented: if the linkage identifier is a source linkage identifier or a two-way linkage identifier, synchronize the changed data to the target entry associated with the target cell in other report templates; if the linkage identifier is a target linkage identifier, when the data in the source entry associated with the target cell changes, synchronize the changed data to the target cell.

[0165] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: if the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, display a list of associated report templates; in response to a selection operation on a report template in the list of associated report templates, display other report templates.

[0166] In one embodiment, the linkage identifier is a corner mark displayed in the target cell, and the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier.

[0167] In one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the above method embodiments.

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

[0169] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0170] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A data synchronization method based on linkage identification, characterized in that The method includes: In response to a trigger operation on a target report template, display the target report template; In the target report template, find a target cell that is associated with an associated entry in another report template; the associated entry includes a target entry; In the target cell, display a linkage identifier indicating that the associated entry is associated; If the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, display the other report template; If the linkage identifier is a source linkage identifier or a two-way linkage identifier, synchronize the changed data to the target entry in the other report template that is associated with the target cell.

2. The method according to claim 1, wherein The method further includes: Display a report template list in a template list interface; The step of, in response to a trigger operation on a target report template, displaying the target report template includes: In response to a trigger operation on the target report template in the report template list, display the target report template in the template list interface.

3. The method according to claim 1, wherein The method further includes: Obtain the effective time period during which the target cell is associated with the associated entry in the other report template; Verify the association relationship between the target cell and the associated entry according to the effective time period; When the verification result is valid, execute the step of displaying in the target cell a linkage identifier indicating that the associated entry is associated.

4. The method according to claim 1, wherein The method further includes: In response to a selection operation on a cell in the target report template, select a cell to be configured with a linkage identifier; In response to an operation of adding a linkage identifier to the cell to be configured, add a linkage identifier to the cell to be configured; In response to an operation of updating the linkage identifier of the cell to be configured, update the corresponding linkage identifier of the cell to be configured.

5. The method according to claim 1, characterized in that The linkage identifier includes a target linkage identifier; the associated entry includes a source entry; The method further includes: If the linkage identifier is the target linkage identifier, when the data in the source entry associated with the target cell changes, synchronize the changed data to the target cell.

6. The method according to claim 1, wherein The step of, if the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, displaying the other report template includes: If the data in the target cell changes, in response to an entry viewing instruction generated based on the linkage identifier, display a list of associated report templates; In response to a selection operation on a report template in the list of associated report templates, display the other report template.

7. The method according to claim 1, wherein The linkage identifier is a superscript displayed in the target cell, and the linkage identifier includes a source linkage identifier, a target linkage identifier, and a two-way linkage identifier.

8. A data synchronization device based on linked identifiers, characterized in that, The apparatus includes: A display module, configured to display the target report template in response to a trigger operation on the target report template; A search module, configured to find a target cell in the target report template that is associated with an associated entry in another report template; the associated entry includes a target entry; The display module is further configured to display in the target cell a linkage identifier indicating that the associated entry is associated; The display module is further configured to, if the data in the target cell has changed, in response to an entry viewing instruction generated based on the linkage identifier, display the other report templates; The synchronization module is configured to, if the linkage identifier is a source linkage identifier or a two-way linkage identifier, synchronize the changed data to the target entry associated with the target cell in the other report templates.

9. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

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

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Data linkage method and related device

    CN110941750A