Coded data management method and device, electronic equipment and storage medium
By obtaining and parsing historical coded data packets in the tax control software, updating and synchronizing the main table set and standby table, the problem that the coded data is not saved in the associated software is solved, and the unified management and synchronization of the coded data is realized, and management accuracy and user experience are improved.
Patent Information
- Application Number
- CN202311639356.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2025-06-03
AI Technical Summary
In the management of encoding data, the prior art only operates on the encoded data table of the tax control software, resulting in the encoded data of the tax control software not being saved in the encoded data table of the associated software, and problems of data storage are confusing, errors and loss.
By responding to the encoding management request of the target account, obtaining historical coded data packets from the server, analyzing and obtaining the main table set and standby table, receiving encoding update requests to update the main table set and standby table, and coding synchronization based on the current encoding data packet and standby table, ensuring that the encoded data of each software in the software group is uniformly managed and synchronized.
It realizes unified management and synchronization of each software coded data of the software group, avoids the problems of confusion, errors and loss of coded data storage, improves the accuracy of coded data management, and thus improves the user experience.
Smart Images

Figure CN120086222A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular, to a method, apparatus, electronic device, and storage medium for encoding data management. Background Art
[0002] With the development of computer technology, tax control software has become more and more popular. The traditional manual invoicing method has problems such as being cumbersome, error-prone, and inefficient. Tax control software can automatically generate financial documents such as invoices and reports through automated processing, greatly simplifying the workload of the work object, reducing the occurrence of human errors, and significantly improving the invoicing efficiency and accuracy. When using tax control software, the tax control software will generate encoding data related to invoicing, and the encoding data needs to be managed.
[0003] In the prior art, when performing encoding data management, usually when a user performs an operation on the encoding data, a corresponding operation is performed on the encoding data table corresponding to the tax control software.
[0004] However, since a tax control software has multiple associated software to assist in realizing its functions, the associated software has a corresponding encoding data table, and the encoding data of the associated software may be related to the encoding data of the tax control software. Therefore, if only a corresponding operation is performed on the encoding data table corresponding to the tax control software, the encoding data of the tax control software may not be saved in the encoding data table corresponding to the associated software, resulting in problems such as chaotic, incorrect, and lost encoding data when the user uses the tax control software.
[0005] Therefore, in the related technology, the accuracy of encoding data management needs to be further improved. Summary of the Invention
[0006] Embodiments of the present application provide a method, apparatus, electronic device, and storage medium for encoding data management to improve the accuracy of encoding data management.
[0007] The specific technical solutions provided by the embodiments of the present application are as follows:
[0008] In a first aspect, a method for encoding data management is provided, including:
[0009] In response to a coding management request of a target account for a software group, obtain a historical coding data packet corresponding to the target account from a server, and parse the historical coding data packet to obtain a main table set corresponding to the software group and a backup table, where the software group includes: a main software and associated software of the main software, and the main table set includes: main tables of each software in the software group;
[0010] Receive a coding update request, and update the main table set and the backup table;
[0011] Retrieve the current encoded data packet corresponding to the target account from the server, and perform encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table.
[0012] In a second aspect, there is provided an encoded data management device, including:
[0013] An acquisition module, configured to, in response to an encoding management request of a target account for a software group, retrieve the historical encoded data packet corresponding to the target account from the server, and parse the historical encoded data packet to obtain the main table set and the backup table corresponding to the software group, where the software group includes: the main software and the associated software of the main software, and the main table set includes: the main tables of each software in the software group;
[0014] An update module, configured to receive an encoding update request and update the main table set and the backup table;
[0015] A first synchronization module, configured to retrieve the current encoded data packet corresponding to the target account from the server, and perform encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table.
[0016] Optionally, when receiving an encoding update request and updating the main table set and the backup table, the update module is further configured to:
[0017] Determine the updated software and the update type based on the encoding update request;
[0018] Import the main table corresponding to the updated software in the main table set into the software database of the updated software;
[0019] Update the software database, the main table set, and the backup table by adopting a corresponding update method based on the update type.
[0020] Optionally, when updating the software database, the main table set, and the backup table by adopting a corresponding update method based on the update type, the update module is further configured to:
[0021] When the update type is deletion, delete the corresponding encoded data in the software database, the main table set, and the backup table;
[0022] When the update type is not deletion, modify the corresponding encoded data in the software database and the main table set.
[0023] Optionally, when retrieving the current encoded data packet corresponding to the target account from the server, the first synchronization module is further configured to:
[0024] Receive an encoding synchronization instruction of the target account for the software group, and retrieve the current encoded data packet corresponding to the target account from the server;
[0025] When the software group is closed, obtain the current encoded data packet from the server.
[0026] Optionally, when performing encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table, the first synchronization module is further configured to:
[0027] Compare the current encoded data packet with the backup table and perform incremental encoding synchronization on the backup table;
[0028] Import the encoded data of the synchronized backup table into the main table set.
[0029] Optionally, after performing encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table, the apparatus further includes a second synchronization module, and the second synchronization module is configured to:
[0030] When the software group is closed, upload the encoded data of the synchronized backup table to the server to update the current encoded data packet;
[0031] When the software group is not closed, import the encoded data of the synchronized main table set into the software databases of the respective software in the software group.
[0032] Optionally, the apparatus further includes a query module, and the query module is configured to:
[0033] Respond to a coding query request of a target account for the software group, where the coding query request carries query text information input by the target account;
[0034] Obtain at least one piece of coding data corresponding to the query text information from the main table set as a target data set;
[0035] Send the target data set to the main software so that the main software displays the target data set.
[0036] In a third aspect, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the steps of the method according to any one of the first aspects are implemented.
[0037] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method according to any one of the first aspects are implemented.
[0038] Fifth aspect, a computer program product is provided. The computer program product includes a computer program stored in a computer-readable storage medium. When a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, so that the electronic device executes the steps of the method according to any one of the first aspect above.
[0039] In the embodiments of the present application, in response to a coding management request of a target account for a software group, a historical coding data packet corresponding to the target account is obtained from a server, and the historical coding data packet is parsed to obtain a main table set and a standby table corresponding to the software group. Then, a coding update request is received to update the main table set and the standby table. Next, a coding synchronization request is received, and a current coding data packet corresponding to the target account is obtained from the server, and based on the current coding data packet and the standby table, coding synchronization is performed on the current coding data packet, the standby table, and the main table set.
[0040] In this way, each software in the software group has a separate main table, but shares the same standby table, so as to uniformly manage the coding data of each software in the software group, synchronize the server coding data and the local coding data, avoid problems such as chaotic, incorrect, and lost storage of coding data when users use tax control software, improve the accuracy of coding data management, and thus enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a schematic diagram of an application scenario in the embodiments of the present application;
[0042] Figure 2 It is a first flowchart of a coding data management method in the embodiments of the present application;
[0043] Figure 3 It is a flowchart of coding update in the embodiments of the present application;
[0044] Figure 4 It is a flowchart of coding query in the embodiments of the present application;
[0045] Figure 5 It is a flowchart of coding synchronization in the embodiments of the present application;
[0046] Figure 6 It is a second flowchart of a coding data management method in the embodiments of the present application;
[0047] Figure 7 It is a schematic diagram of the structure of a coding data management device in the embodiments of the present application;
[0048] Figure 8 It is a schematic diagram of the structure of an electronic device in the embodiments of the present application. Detailed implementation manners
[0049] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0050] Some terms in the embodiments of the present application are explained below to facilitate the understanding of those skilled in the art.
[0051] Main software: The main software is user-oriented. When the user uses the main software, the associated software that assists in realizing its functions will also be started during the operation of the main software, which is equivalent to starting two processes.
[0052] Fuzzy query: Perform fuzzy retrieval according to the synonyms of the input keywords, so as to obtain more retrieval results.
[0053] The design concept of the embodiments of the present application is briefly introduced below:
[0054] At present, with the development of computer technology, tax control software has become more and more popular. The traditional manual invoicing method has problems such as being cumbersome, error-prone, and inefficient. Tax control software can automatically generate financial documents such as invoices and reports through automated processing, greatly simplifying the workload of the work object, reducing the occurrence of human errors, and greatly improving the efficiency and accuracy of invoicing. When using tax control software, the tax control software will generate coding data related to invoicing, and it is necessary to manage the coding data.
[0055] In the prior art, when managing coding data, usually when the user operates on the coding data, corresponding operations are performed on the coding data table corresponding to the tax control software.
[0056] However, since a tax control software has multiple associated software that assist in realizing its functions, and the associated software has corresponding coding data tables, and the coding data of the associated software may be related to the coding data of the tax control software. Therefore, if only corresponding operations are performed on the coding data table corresponding to the tax control software, there may be a situation where the coding data of the tax control software is not saved in the coding data table corresponding to the associated software, resulting in problems such as chaotic, incorrect, and lost saving of coding data when the user uses the tax control software.
[0057] In view of this, in the embodiments of the present application, a method, device, electronic device, and storage medium for encoding data management are provided. In response to a coding management request of a target account for a software group, a historical coding data packet corresponding to the target account is obtained from a server, and the historical coding data packet is parsed to obtain a main table set and a backup table corresponding to the software group, where the software group includes: a main software and an associated software of the main software, and the main table set includes: main tables of each software in the software group. Then, when a coding update request is received, the main table set and the backup table are updated. Finally, when a coding synchronization request is received, a current coding data packet corresponding to the target account is obtained from the server, and based on the current coding data packet and the backup table, coding synchronization is performed on the current coding data packet, the backup table, and the main table set.
[0058] In this way, each software in the software group has a separate main table, but they share the same backup table, which uniformly manages the coding data of each software in the software group, synchronizes the server coding data and the local coding data, and avoids problems such as chaotic, incorrect, and lost storage of coding data when users use tax control software, improving the accuracy of coding data management and thus enhancing the user experience.
[0059] The preferred embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0060] Refer to Figure 1 As shown, it is a schematic diagram of a possible application scenario in the embodiments of the present application. In this application scenario diagram, it includes a server 110 and terminal devices 120 (including terminal devices 1201, 1202... 120n).
[0061] The server 110 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The terminal device 120 and the server 110 can be directly or indirectly connected through wired or wireless communication methods, and the present application does not limit this here.
[0062] The terminal device 120 includes, but is not limited to, devices such as mobile phones, tablets, laptop computers, desktop computers, e-book readers, intelligent voice interaction devices, smart home appliances, and in-vehicle terminals; various software can be installed on the terminal device, such as application programs and applets.
[0063] It should be noted that Figure 1The above is only an example. In fact, the number of terminal devices 120 and servers 110 is not limited and is not specifically defined in the embodiments of the present application.
[0064] It should be noted that the encoding data management method in the embodiments of the present application can be deployed in a computing device, and the computing device can be a terminal device, and the terminal device can be Figure 1 the terminal device 120 shown in
[0065] Based on the above embodiments, refer to Figure 2 shown in the figure, which is the first process schematic diagram of an encoding data management method in the embodiments of the present application, specifically including:
[0066] Step 20: In response to the encoding management request of the target account for the software group, obtain the historical encoding data packet corresponding to the target account from the server, and parse the historical encoding data packet to obtain the main table set and the backup table corresponding to the software group.
[0067] Among them, the software group includes: the main software and the associated software of the main software, and the main table set includes: the main tables of each software in the software group.
[0068] In the embodiments of the present application, when the user starts the software group, the computing device sends a data acquisition request to the server. The server packages the encoding data corresponding to the current target account into a historical encoding data packet and returns it. The computing device decrypts the received historical encoding data packet to obtain the main table set and the backup table corresponding to the software group.
[0069] For example, assume that the software group includes: the main software A, the associated software B and the associated software C of the main software A. Then the obtained main table set corresponding to the software group includes: the main table of the main software A, the main table of the associated software B, and the main table of the associated software C. The backup table corresponding to the software group includes: the encoding data of the main software A, the main table of the associated software B, and the associated software C.
[0070] Step 21: Receive an encoding update request and update the main table set and the backup table.
[0071] In the embodiments of the present application, when the user operates on the encoding data, in response to the encoding update request of the target account for the software group, the main table set and the backup table are updated.
[0072] Specifically, when executing step 21, the processing device specifically performs the following operations. Refer to Figure 3 shown in the figure, which is the process schematic diagram of encoding update in the embodiments of the present application. The following combines the attached Figure 3 , and details the specific operations performed:
[0073] Step 210: Based on the encoding update request, determine the updated software and the update type.
[0074] Among them, the encoding update request carries the identifier of the updated software that the user wants to update the encoding for, and the identifier of the update type to be performed on the updated software. The update type can be: addition, modification, deletion, etc.
[0075] In the embodiment of the present application, when the user operates on the encoding data, it is passed to the computing device in a multi-process manner. The computing device obtains the identifier of the updated software and the identifier of the update type based on the encoding update request, and determines the updated software and the update type based on the identifier of the updated software and the identifier of the update type.
[0076] For example, assume that the identifier of the main software A is software0001, the identifier of the associated software B is software0002, the identifier of the associated software C is software0003, the identifier of addition is operate1, the identifier of modification is operate2, the identifier of deletion is operate3, the identifier of the updated software is software0001, and the identifier of the update type is operate3. Then it is determined that the updated software is the main software A and the update type is deletion.
[0077] Step 211: Import the main table corresponding to the updated software in the main table set into the software database of the updated software.
[0078] For example, assume that the updated software is the main software A. Then import the main table corresponding to the main software A in the main table set into the software database of the main software A.
[0079] In this way, before the encoding update, first import the main table corresponding to the updated software in the main table set into the software database of the updated software. The main table set is obtained based on the historical encoding data packets of the server, synchronizing the data between the software database and the server data, ensuring the data accuracy of the software database.
[0080] Step 212: Based on the update type, adopt the corresponding update method to update the software database, the main table set, and the backup table.
[0081] Specifically, when executing Step 212, the update method can adopt the following two methods:
[0082] Method 1: When the update type is deletion, delete the corresponding encoding data in the software database, the main table set, and the backup table.
[0083] In the embodiment of the present application, when the update type is deletion, query the encoding data to be deleted and delete the data to be deleted in the software database, the main table set, and the backup table.
[0084] In this way, not only the corresponding encoded data in the software database is deleted, but also the corresponding encoded data in the main table set and the backup table is deleted, achieving synchronous deletion and ensuring the consistency of the encoded data.
[0085] Method 2: When the update type is not deletion, modify the corresponding encoded data in the software database and the main table set.
[0086] In the embodiments of the present application, when the update type is addition, add the encoded data to be added in the software database and the main table set. When the update type is modification, modify the encoded data to be modified in the software database and the main table set.
[0087] Furthermore, the user can also perform encoding query. Specifically, when performing encoding query, the processing device specifically performs the following operations. Refer to Figure 4 shown in the figure, which is a schematic flowchart of encoding query in the embodiments of the present application. The following combines the attached Figure 4 , and details the specific operations performed:
[0088] Step 40: Respond to the encoding query request of the target account for the software group.
[0089] Among them, the encoding query request carries the query text information input by the target account.
[0090] In the embodiments of the present application, when the user queries the encoded data and inputs the query text information, it is passed to the computing device in a multi-process manner, and the computing device responds to the encoding query request of the target account for the software group.
[0091] Step 41: Obtain at least one encoded data corresponding to the data to be queried from the main table set as the target data set.
[0092] In the embodiments of the present application, from the main table set, at least one encoded data corresponding to the query text information is obtained through the query text information and a preset query rule as the target data set.
[0093] Among them, the query rule can be fuzzy query, and the embodiments of the present application do not limit this.
[0094] Step 42: Send the target data set to the main software so that the main software displays the target data set.
[0095] In the embodiments of the present application, the target data set is sent to the main software in a multi-process manner. The main software receives the target data set and displays the target data set on the page for the user to select.
[0096] Step 22: Obtain the current encoded data packet corresponding to the target account from the server, and perform encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table.
[0097] Specifically, when obtaining the current encoded data packet corresponding to the target account, any one of the following methods can be adopted:
[0098] Method 1: Receive the encoding synchronization instruction for the software group from the target account, and obtain the current encoded data packet corresponding to the target account from the server.
[0099] In the embodiment of the present application, the encoding synchronization instruction is sent to the processing device in a multi-process manner. The processing device responds to the encoding synchronization instruction for the software group, sends a data acquisition request to the server, and the server packages the encoded data corresponding to the current target account into the current encoded data packet and returns it. The computing device obtains the current encoded data packet corresponding to the target account.
[0100] Among them, the encoding synchronization instruction can be sent by the user through clicking on the terminal device, or can be triggered regularly. The regular time can be preset time points, or can be when the continuous duration of the software group startup reaches a preset duration threshold. The embodiment of the present application does not limit this.
[0101] For example, the user clicks on the synchronization option on the main software page to send an encoding synchronization instruction to the processing device.
[0102] For another example, assuming that the preset time points are 6:00:00, 12:00:00, and 18:00:00, and the current time is 12:00:00, then an encoding synchronization instruction is sent to the processing device.
[0103] For another example, assuming that the duration threshold is 1 hour, the startup time of the software group is 10:00:00, the current time is 11:00:00, and the continuous duration of the software group startup is 1 hour, then the continuous duration of the software group startup reaches the preset duration threshold, and an encoding synchronization instruction is sent to the processing device.
[0104] Method 2: When the software group is closed, obtain the current encoded data packet from the server.
[0105] In the embodiment of the present application, when the user closes the software group, the current encoded data packet is obtained from the server.
[0106] In this way, through certain trigger conditions, encoding synchronization is performed, which can avoid accessing the server when each software in the software group updates the encoding, causing access pressure on the server, and reducing the access pressure of the software group on the server.
[0107] Specifically, when performing encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table, the processing device specifically performs the following operations. Refer to Figure 5 As shown, it is a schematic flowchart of encoding synchronization in an embodiment of the present application. The following combines the attached Figure 5 , and details of the specific operations are described in detail:
[0108] Step 220: Compare the current encoded data packet with the backup table, and perform incremental encoding synchronization on the backup table.
[0109] In an embodiment of the present application, after obtaining the current encoded data packet, compare the current encoded data packet with the backup table, perform incremental encoding synchronization on the backup table, do not add the deleted encoded data, and obtain the synchronized backup table.
[0110] For example, assume that the current encoded data packet has encoded data A, encoded data B, and encoded data C more than the backup table, and encoded data A, encoded data B, and encoded data C are not the data deleted during encoding update. Then add encoded data A, encoded data B, and encoded data C to the backup table.
[0111] Step 221: Import the encoded data of the synchronized backup table into the main table set.
[0112] In an embodiment of the present application, after obtaining the synchronized backup table, import the encoded data of the synchronized backup table into the main table set according to the corresponding relationship with each software in the software group.
[0113] In this way, encoding synchronization is performed, thereby realizing unified maintenance and update of the encoded data of different software.
[0114] Further, after importing the encoded data of the synchronized backup table into the main table set, when the software group is not closed, import the encoded data of the synchronized main table set into the software databases of each software in the software group. In this way, the synchronization of the local software database and the server data is realized, which is convenient for the user to operate on the encoded data locally, and avoids problems such as chaotic, incorrect, and lost encoding saves.
[0115] Further, after importing the encoded data of the synchronized backup table into the main table set, when the software group is closed, upload the encoded data of the synchronized backup table to the server to update the current encoded data packet. In this way, the synchronization of the backup table and the server data is realized. When the user starts the software group next time and manages the encoding of the software group, the historical encoded data packet obtained from the server is accurate, so that an accurate main table set and backup table can be obtained based on the historical encoded data packet, improving the accuracy of encoding data management.
[0116] Based on the above embodiments, refer to Figure 6As shown in the figure, it is the second process schematic diagram of a coding data management method in an embodiment of the present application, which specifically includes:
[0117] Step 60: In response to a coding management request of a target account for a software group, obtain a historical coding data packet corresponding to the target account from the server, and parse the historical coding data packet to obtain a main table set and a standby table corresponding to the software group.
[0118] Step 61: Wait for and respond to a coding update request, and update the main table set, the standby table, and the software databases corresponding to each software in the software group.
[0119] Step 62: Receive a coding synchronization instruction of the target account for the software group, and obtain the current coding data packet corresponding to the target account from the server.
[0120] Step 63: Compare the current coding data packet with the standby table, and perform incremental coding synchronization on the standby table.
[0121] Step 64: Import the coding data of the synchronized standby table into the main table set.
[0122] Step 65: Import the coding data of the synchronized main table set into the software databases corresponding to each software in the software group.
[0123] Step 66: Determine whether the software group is closed. If so, execute Step 67; otherwise, execute Step 61.
[0124] Step 67: Upload the coding data of the synchronized standby table to the server to update the current coding data packet.
[0125] Step 68: End.
[0126] Based on the same inventive concept, an embodiment of the present application also provides a coding data management device. Refer to Figure 7 As shown in the figure, it is the structural schematic diagram of the coding data management device in an embodiment of the present application, which specifically includes:
[0127] An obtaining module 701, configured to, in response to a coding management request of a target account for a software group, obtain a historical coding data packet corresponding to the target account from the server, and parse the historical coding data packet to obtain a main table set and a standby table corresponding to the software group, where the software group includes: a main software and associated software of the main software, and the main table set includes: main tables corresponding to each software in the software group;
[0128] An updating module 702, configured to receive a coding update request and update the main table set and the standby table;
[0129] The first synchronization module 703 is used to obtain the current encoded data packet corresponding to the target account from the server, and perform encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table.
[0130] Optionally, when receiving an encoding update request and updating the main table set and the backup table, the update module 702 is further used for:
[0131] Determine the update software and the update type based on the encoding update request;
[0132] Import the main table corresponding to the update software in the main table set into the software database of the update software;
[0133] Update the software database, the main table set, and the backup table by using the corresponding update method based on the update type.
[0134] Optionally, when updating the software database, the main table set, and the backup table by using the corresponding update method based on the update type, the update module 702 is further used for:
[0135] When the update type is deletion, delete the corresponding encoded data in the software database, the main table set, and the backup table;
[0136] When the update type is not deletion, modify the corresponding encoded data in the software database and the main table set.
[0137] Optionally, when obtaining the current encoded data packet corresponding to the target account from the server, the first synchronization module 703 is further used for:
[0138] Receive the encoding synchronization instruction of the target account for the software group, and obtain the current encoded data packet corresponding to the target account from the server;
[0139] When the software group is closed, obtain the current encoded data packet from the server.
[0140] Optionally, when performing encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table, the first synchronization module 703 is further used for:
[0141] Compare the current encoded data packet with the backup table, and perform incremental encoding synchronization on the backup table;
[0142] Import the encoded data of the synchronized backup table into the main table set.
[0143] Optionally, after performing encoding synchronization on the current encoded data packet, the backup table, and the main table set based on the current encoded data packet and the backup table, the device further includes a second synchronization module 704, and the second synchronization module 704 is used for:
[0144] When the software group is closed, upload the encoded data of the synchronized backup table to the server to update the current encoded data packet;
[0145] When the software group is not closed, import the encoded data of the synchronized main table set into the software databases of each software in the software group.
[0146] Optionally, the device further includes a query module 705, and the query module 705 is configured to:
[0147] In response to a coding query request of a target account for a software group, where the coding query request carries query text information input by the target account;
[0148] Obtain at least one piece of encoded data corresponding to the query text information from the main table set as a target data set;
[0149] Send the target data set to the main software so that the main software displays the target data set.
[0150] Based on the above embodiments, refer to Figure 8 The following is a schematic structural diagram of an electronic device in an embodiment of the present application.
[0151] An embodiment of the present application provides an electronic device, which may include a processor 810 (Central Processing Unit, CPU), a memory 820, an input device 830, and an output device 840, etc. The input device 830 may include a keyboard, a mouse, a touch screen, etc., and the output device 840 may include a display device, such as a liquid crystal display (Liquid Crystal Display, LCD), a cathode ray tube (Cathode Ray Tube, CRT), etc.
[0152] The memory 820 may include a read-only memory (ROM) and a random access memory (RAM), and provide program instructions and data stored in the memory 820 to the processor 810. In an embodiment of the present application, the memory 820 may be used to store a program of any encoding data management method in an embodiment of the present application.
[0153] The processor 810 is configured to execute any encoding data management method in an embodiment of the present application by calling the program instructions stored in the memory 820.
[0154] Based on the above embodiments, in an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, it implements the encoding data management method in any of the above method embodiments.
[0155] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0156] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices produce means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0157] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means that implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0158] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.
[0159] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A method for encoding data management, characterized in that, it includes: In response to the encoding management request of the target account for the software group, obtain the historical encoding data packet corresponding to the target account from the server, and parse the historical encoding data packet to obtain the main table set and the backup table corresponding to the software group, where the software group includes: the main software and the associated software of the main software, and the main table set includes: the main tables of each software in the software group; Receive an encoding update request, and update the main table set and the backup table; Obtain the current encoding data packet corresponding to the target account from the server, and perform encoding synchronization on the current encoding data packet, the backup table, and the main table set based on the current encoding data packet and the backup table.
2. The method according to claim 1, characterized in that, The receiving an encoding update request and updating the main table set and the backup table includes: Based on the encoding update request, determine the updated software and the update type; Import the main table corresponding to the updated software in the main table set into the software database of the updated software; Based on the update type, use the corresponding update method to update the software database, the main table set, and the backup table.
3. The method according to claim 2, characterized in that, The using the corresponding update method to update the software database, the main table set, and the backup table based on the update type includes: When the update type is deletion, delete the corresponding encoding data in the software database, the main table set, and the backup table; When the update type is not deletion, modify the corresponding encoding data in the software database and the main table set.
4. The method according to claim 1, characterized in that, The obtaining the current encoding data packet corresponding to the target account from the server includes any one of the following operations: Receive the encoding synchronization instruction of the target account for the software group, and obtain the current encoding data packet corresponding to the target account from the server; When the software group is closed, obtain the current encoding data packet from the server.
5. The method according to claim 1, characterized in that, The performing encoding synchronization on the current encoding data packet, the backup table, and the main table set based on the current encoding data packet and the backup table includes: Compare the current encoding data packet with the backup table, and perform incremental encoding synchronization on the backup table; Import the encoding data of the synchronized backup table into the main table set.
6. The method according to claim 1, characterized in that, After the performing encoding synchronization on the current encoding data packet, the backup table, and the main table set based on the current encoding data packet and the backup table, it further includes: When the software group is closed, upload the encoding data of the synchronized backup table to the server to update the current encoding data packet; When the software group is not closed, import the encoded data of the synchronized master table set into the software databases of the respective software in the software group.
7. The method according to claim 1, wherein, further comprising: responding to a coding query request of the target account for the software group, wherein the coding query request carries query text information input by the target account; obtaining at least one encoded data corresponding to the query text information from the master table set as a target data set; sending the target data set to the main software so that the main software displays the target data set.
8. A coding data management device, wherein, comprising: an obtaining module, configured to respond to a coding management request of the target account for the software group, obtain a historical coding data packet corresponding to the target account from a server, and parse the historical coding data packet to obtain a master table set and a backup table corresponding to the software group, wherein the software group includes: a main software and an associated software of the main software, and the master table set includes: main tables of the respective software in the software group; an updating module, configured to receive a coding update request and update the master table set and the backup table; a first synchronization module, configured to obtain a current coding data packet corresponding to the target account from the server, and perform coding synchronization on the current coding data packet, the backup table, and the master table set based on the current coding data packet and the backup table.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein, when the processor executes the program, the steps of the method according to any one of claims 1-7 are implemented.
10. 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 method according to any one of claims 1-7 are implemented.