Data version updating method, computer equipment and computer storage medium
By configuring the warehouse area and workspace in the business system, recording the mapping relationship between files and entries, users are allowed to modify and update the data version in the workspace, solving the problem of low efficiency of multi-person collaborative operation and achieving efficient data version updates.
Patent Information
- Application Number
- CN202411955680.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-25
AI Technical Summary
In the business system, many intermediate state data and content are generated between multiple update operations of data, which affects the coordination and efficiency of data update operations between multiple people.
By configuring the warehouse area to store files and entries, and recording the mapping relationship between files and entries, different users are allowed to modify and update any version of files and entries in the workspace of the interface, and support multiple people to operate simultaneously.
It realizes the modification and update of data versions by different users in their workspaces, and saves the updated data as a new version, supporting multiple people to operate together, improving the efficiency of data updates.
Smart Images

Figure CN119884076A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of data processing, and specifically to a data version updating method, a computer device, and a computer storage medium. Background Art
[0002] The data in the business system will change based on personnel changes, thus generating multiple versions of the data. Each update operation of the data will be recorded accordingly to form a data update record.
[0003] However, a lot of intermediate state data and content will be generated between multiple data update operations. The generated intermediate state data and content will have a certain impact on the data update operations between multiple people, making it inconvenient for multiple people to coordinate data updates and affecting the data update efficiency. Summary of the invention
[0004] The embodiments of the present application provide a data version update method, a computer device, and a computer storage medium. Different users can modify and update any version of files and entries in the work area of the interface, support collaborative operations of multiple people on data updates at the same time, and improve data update efficiency.
[0005] A first aspect of an embodiment of the present application provides a data version updating method, the method comprising:
[0006] A storage area is configured for storing files and entries, and the storage area is also used to record the mapping relationship between files and entries;
[0007] In response to a display instruction for a first version file of a target file, determining in the repository area a first version entry mapped by the first version file according to a mapping relationship between files and entries, and displaying the first version entry in a work area of the interface;
[0008] receiving a change operation on the first version entry input in the workspace, obtaining a second version entry based on the change operation, and determining a second version file of the target file based on the second version entry;
[0009] The second version file and the second version entry are stored in the warehouse area, and a mapping relationship between the second version file and the second version entry is established.
[0010] A second aspect of an embodiment of the present application provides a computer device, the computer device comprising:
[0011] A configuration unit, used to configure a warehouse area for storing files and entries, wherein the warehouse area is also used to record a mapping relationship between files and entries;
[0012] A display unit, configured to respond to a display instruction for a first version file of a target file, determine the first version entry mapped by the first version file in the repository area according to a mapping relationship between files and entries, and display the first version entry in a work area of the interface;
[0013] an updating unit, configured to receive a change operation on the first version entry input in the workspace, obtain a second version entry based on the change operation, and determine a second version file of the target file based on the second version entry;
[0014] The storage unit is used to store the second version file and the second version entry in the warehouse area, and establish a mapping relationship between the second version file and the second version entry.
[0015] A third aspect of an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the method of the first aspect when executing the computer program.
[0016] A fourth aspect of an embodiment of the present application provides a computer storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the method of the first aspect.
[0017] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a computer device, the computer device executes the method of the first aspect.
[0018] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0019] The computer device responds to the display instruction of the first version file of the target file, determines the first version entry mapped by the first version file according to the mapping relationship between the file and the entry in the warehouse area, displays the first version entry in the work area of the interface, receives the change operation of the first version entry input in the work area, obtains the second version entry based on the change operation, determines the second version file of the target file based on the second version entry, stores the second version file and the second version entry in the warehouse area, and establishes a mapping relationship between the second version file and the second version entry. Therefore, different users can modify and update any version of files and entries in the work area of the interface, and the updated data will be saved as new version data, which can support the collaborative operation of multiple people to update data at the same time, and improve the efficiency of data update. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is a schematic diagram of the network framework in the embodiment of the present application;
[0021] Figure 2 A flowchart of a data version update method in an embodiment of the present application;
[0022] Figure 3 This is another flowchart of the data version updating method in the embodiment of the present application;
[0023] Figure 4 This is an exemplary schematic diagram of the data management logic between the warehouse area and the work area in the embodiment of the present application;
[0024] Figure 5 This is a schematic diagram of the structure of a computer device in an embodiment of the present application;
[0025] Figure 6 This is another structural diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The embodiments of the present application provide a data version update method, a computer device, and a computer storage medium. Different users can modify and update any version of files and entries in the work area of the interface, support collaborative operations of multiple people on data updates at the same time, and improve data update efficiency.
[0027] See also Figure 1 In the embodiment of the present application, the network framework includes:
[0028] The service server 100 and the terminal cluster; the terminal cluster may include: terminal device 200a, terminal device 200b, terminal device 200c, ..., terminal device 200n and other terminal devices.
[0029] The business server 100 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud database, cloud service, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and big data and artificial intelligence platform. The terminal device (including terminal device 200a, terminal device 200b, terminal device 200c, ..., terminal device 200n) may be a smart phone, tablet computer, laptop computer, desktop computer, PDA, mobile internet device (MID), wearable device (such as smart watch, smart bracelet, etc.), smart computer, smart car and other smart terminals.
[0030] Among them, the business server 100 can establish a communication connection with each terminal device in the terminal cluster, and a communication connection can also be established between each terminal device in the terminal cluster. In other words, the business server 100 can establish a communication connection with each terminal device in the terminal device 200a, terminal device 200b, terminal device 200c, ..., terminal device 200n. For example, a communication connection can be established between the terminal device 200a and the business server 100. A communication connection can be established between the terminal device 200a and the terminal device 200b, and a communication connection can also be established between the terminal device 200a and the terminal device 200c. Among them, the above-mentioned communication connection does not limit the connection method, and can be directly or indirectly connected through a wired communication method, or can be directly or indirectly connected through a wireless communication method, etc., which can be determined according to the actual application scenario, and this application is not limited here.
[0031] It should be understood that Figure 1 Each terminal device in the terminal cluster shown can be installed with an application client. When the application client runs in each terminal device, it can interact with the business server 100 respectively, so that the business server 100 can receive business data from each terminal device (such as financial management data uploaded by the user through the terminal device). Among them, the application client can be an application client with the function of displaying text, images, audio and video, such as a financial management application, an enterprise affairs management application, a browser application, a social application, an instant messaging application, a live broadcast application, a game application, a short video application, a video application, a music application, a shopping application, a novel application, a payment application, etc., which can be determined according to the actual application scenario requirements and is not limited here. Among them, the application client can be an independent client or an embedded sub-client integrated in a client (such as a financial management client, an enterprise affairs management client, etc.), which can be determined according to the actual application scenario and is not limited here.
[0032] The following will be combined Figure 1 The data version updating method in the embodiment of the present application is described in the network framework:
[0033] See also Figure 2 In one embodiment of the data version update method of the present application, the following steps are included:
[0034] 201. Configuring a warehouse area for storing files and entries, wherein the warehouse area is also used to record a mapping relationship between files and entries;
[0035] The method of this embodiment can be applied to a computer device, which can be Figure 1The business server 100 or each terminal device in the network framework shown. The computer device can be configured with a warehouse area for storing files and entries, and the warehouse area can also be used to record the mapping relationship between files and entries. Among them, the so-called file is used to associate specific entry information, and the file can be a carrier for recording entries such as a database table, metadata definition, resource file, and document. An entry is also a project or field.
[0036] For example, the document may be an expense reimbursement form, and the entries of the expense reimbursement form may include various fields such as amount, reimbursement item, reimbursement person, and reimbursement date.
[0037] The warehouse area can store multiple different versions of files and multiple different versions of entries. The mapping relationship between files and entries can be that one file has a mapping relationship with multiple entries at the same time, that is, the file contains multiple entries; or one entry has a mapping relationship with multiple files at the same time, such as the entry exists in multiple files at the same time. For example, for the entry "amount", it exists in both expense reimbursement forms and documents such as commodity lists and purchase orders.
[0038] 202. In response to a display instruction for the first version file of the target file, determine the first version entry mapped by the first version file in the warehouse area according to the mapping relationship between the file and the entry, and display the first version entry in the working area of the interface;
[0039] The user can edit and update the files and entries stored in the warehouse area. When the user needs to view or edit the files and entries, he can input a display instruction for the first version file of the target file, which can be any version of the target file. The computer device responds to the display instruction, determines the first version entry mapped by the first version file in the warehouse area according to the mapping relationship between the file and the entry, and displays the first version entry in the work area of the interface. The first version entry can be a certain version of a term, or multiple entries consisting of versions of multiple terms.
[0040] 203. Receive a change operation on the first version entry input in the workspace, obtain a second version entry based on the change operation, and determine a second version file of the target file based on the second version entry;
[0041] The user can change the displayed entry in the workspace, that is, the computer device can receive the change operation of the first version entry input by the user in the workspace. The change operation can be to change the entry content of the first version entry, or to translate the first version entry into other languages, or to add or delete entries to the first version entry. Then, the computer device can obtain a new version of the entry based on the change operation of the entry input by the user, that is, to obtain the second version entry. Similarly, the second version entry can be a certain version of an entry, or it can be a plurality of entries composed of versions of multiple entries. The second version entry can constitute the second version file of the target file, and thus the computer device determines the second version file of the target file based on the second version entry.
[0042] For example, if a user inputs a display instruction for the 1.0 version file of the expense reimbursement form, the computer device will display the entries mapped to the version of the expense reimbursement form in the workspace of the interface, such as a version "amount 1" that includes the entry "amount". Furthermore, the user can change the name of the entry in the workspace, such as changing "amount 1" to "amount 2", thereby determining a new version of the entry "amount". Since the entry of the expense reimbursement form has changed, its version is naturally updated, generating a new version file of the expense reimbursement form, which can be defined as a version 1.1 file, for example, and the version 1.1 file includes the entry of the version "amount 2".
[0043] 204. Store the second version file and the second version entry in the warehouse area, and establish a mapping relationship between the second version file and the second version entry;
[0044] After generating a new version of the file and a new version of the entry, the new version of the file and the new version of the entry can be stored in the warehouse area, that is, the second version file and the second version entry are stored in the warehouse area, and a mapping relationship between the second version file and the second version entry is established, so that the corresponding file can be retrieved from the entry based on the mapping relationship, which facilitates the tracing of files and entries.
[0045] In this embodiment, the computer device responds to the display instruction of the first version file of the target file, determines the first version entry mapped by the first version file according to the mapping relationship between the file and the entry in the warehouse area, displays the first version entry in the work area of the interface, receives the change operation of the first version entry input in the work area, obtains the second version entry based on the change operation, determines the second version file of the target file based on the second version entry, stores the second version file and the second version entry in the warehouse area, and establishes the mapping relationship between the second version file and the second version entry. Therefore, different users can modify and update any version of files and entries in the work area of the interface, and the updated data will be saved as new version data, which can support the collaborative operation of multiple people to update data at the same time, and improve the efficiency of data update.
[0046] In the following, Figure 2 Based on the embodiment shown, the embodiment of the present application is further described in detail. Figure 3 Another embodiment of the data version update method in the embodiment of the present application includes:
[0047] 301. Configuring a warehouse area for storing files and entries, wherein the warehouse area is also used to record a mapping relationship between files and entries;
[0048] In this embodiment, the updating and storage of data are divided into different areas for operation, namely, the working area and the warehouse area, wherein the warehouse area is mainly used to store the information content of all versions of files and entries, and can record the mapping relationship between each file and entry.
[0049] Furthermore, in some optional implementations, for each entry in the warehouse area, the mapping value of the entry can be determined based on the entry information of the entry, the mapping value of the entry is used as the identity of the entry, and the version entry obtained by each change of the entry is associated with the mapping value of the entry. Alternatively, for each file in the warehouse area, the mapping value of the file is determined based on the file information of the file, the mapping value of the file is used as the identity of the file, and the version file obtained by each change of the file is associated with the mapping value of the file;
[0050] Therefore, through this method, multiple versions of each entry can be associated with the identity of the same entry, so that all change histories of the entry can be traced through this identity. All historical versions of the entry can be obtained through the identity of the entry. When a version query instruction for any target entry in the warehouse area is received, at least one version entry associated with the mapping value of the target entry can be displayed, so that the user can obtain all historical versions of the entry. The user can easily track and manage different versions of the entry, and it is also convenient for the user to compare multiple historical versions of the entry.
[0051] Similarly, multiple versions of each file can be associated with the same file identity, so that all changes to the file can be traced back through the identity, and all historical versions of the file can be obtained through the file identity. When a version query instruction for any target file in the warehouse area is received, at least one version file associated with the mapping value of the target file can be displayed, so that the user can obtain all historical versions of the file, and the user can easily track and manage different versions of the file, and it is also convenient for the user to compare multiple historical versions of the file.
[0052] Among them, the mapping value can be, for example, a mapping value obtained by converting and calculating the corresponding data based on a mapping algorithm, such as converting and calculating the entry information of an entry based on a hash mapping algorithm to obtain the hash value of the entry, or converting and calculating the entry information of a file based on a hash mapping algorithm to obtain the hash value of the file.
[0053] In some optional implementations, the above-mentioned entry information may include one or more of the entry identifier, entry content and entry type of the entry. The entry identifier may be an identifier obtained by converting the name of the entry into text that can be recognized by a computer. For example, if a computer can recognize English and letters, the entry is "amount", and its identifier may be the Chinese pinyin "jine" of the entry name, or a code composed of numbers, or its corresponding English word, etc.
[0054] The content of an entry is the name of the entry. For example, if the entry is "amount", then its content is the two Chinese characters "amount". The entry type can be determined according to the preset classification standard. For example, according to the function of the entry in the interface, it can be divided into button type, label type, prompt type, title type and other entry types.
[0055] For example, the above-mentioned multiple data of the entry can be converted into corresponding mapping values in the data format of "entry identifier + entry content + entry type" to obtain the identity identifier of the entry in the warehouse area, so as to ensure the uniqueness of the entry in the entire warehouse area.
[0056] As for the function of the workspace, the workspace allows users to display and query the original and changed data according to different versions. Users can modify and update the data in this area of the interface and record the final status of the data version. Whenever the user completes the modification and publishes the data, the changes will be automatically synchronized to the warehouse area for storage.
[0057] Therefore, based on the division between the warehouse area and the work area, the storage of entry version information, mapping relationships and other data are separated from the operation of the entry. In the work area, translators can update and modify the information of the entry as many times as they want. These modifications will not affect the version information of the entry in the warehouse area. The modification of the entry will only be published when the translator archives the entry content from the work area to the warehouse area. Physically, the data publishing and operation are separated and do not affect each other. The warehouse area only saves the final state of the data in the work area.
[0058] Moreover, based on the division of warehouse area and work area, it can support multiple people to efficiently operate different versions of data at the same time, thereby improving work efficiency. The work area has the ability to switch quickly, ensuring that team members can smoothly switch and edit between different versions of data.
[0059] For example, Figure 4 The data management logic between the warehouse area and the work area is shown. The warehouse area can establish a "product version file collection snapshot", that is, a file snapshot about the file, which includes the product version ID and the file library fid, which is used to record the mapping relationship between the file and the entry; it can also establish a "file version entry collection snapshot", that is, an entry snapshot, which includes data such as the file library fid and the entry library fid and the product version ID, which is used to record the correspondence between the entry and the file; it can also establish an "entry library" to record specific entries, including entries of different versions, which include relevant information of the entry, such as entry information such as entry identification, entry type, text content direction (i.e. reading direction), entry status, etc.; it can also establish a "file library" to record specific files, including files of different versions, which include relevant information of the file, such as file identification, file resource type, file product ID, etc.
[0060] As shown in the figure, the workspace can display the "Term Table" and "File Table". The term table is used to set the information related to the displayed terms, such as the term identifier, term type, term language, term content direction (i.e. reading direction), term translation status, and other information related to the terms. The file table can be used to set the file identifier, file resource type, product ID, and other file information.
[0061] 302. In response to a display instruction for the first version file of the target file, determine the first version entry mapped by the first version file in the warehouse area according to the mapping relationship between the file and the entry, and display the first version entry in the work area of the interface;
[0062] In this embodiment, the target file can be any file stored in the warehouse area, and the first version file can be any version of the target file stored in the warehouse area. The user can instruct the computer device to display the first version file of the target file, and the computer device can determine the first version entry mapped by the first version file according to the mapping relationship between the file and the entry, and display the first version entry in the work area of the interface, and the user can modify and update the first version entry.
[0063] 303. Receive a change operation on the first version entry input in the workspace, obtain a second version entry based on the change operation, and determine a second version file of the target file based on the second version entry;
[0064] In this embodiment, the change operation of the entry may be to change the entry content of the first version entry, or to translate the first version entry into other languages, or to add or delete entries from the first version entry. Therefore, in some optional implementations, the user may input a translation operation of the first version entry in the workspace, and the computer device translates the first version entry into the target language based on the translation operation to obtain the second version entry.
[0065] For example, in some business scenarios, there will be multilingual patch packages in different languages in the software. The content of these multilingual patch packages is obtained by translators translating entries into different languages. Therefore, based on such scenarios, if the language of the first version of an entry is Chinese, the user can translate it into English or other languages to obtain the second version of the entry. After completing the translation of multiple entries, the multilingual patch package in the software can be obtained.
[0066] In other optional implementations, the user may also input a change operation on the entry content of the first version entry in the workspace, and the computer device changes the entry content of the first version entry based on the change operation to obtain the corresponding second version entry.
[0067] For example, a version of the entry "amount" is displayed in the workspace, and the version is displayed as "amount 1". The user can modify the entry content of the version entry, such as modifying the displayed "amount 1" to "amount 2", thereby obtaining a new version of the entry "amount".
[0068] In addition, the user can also delete some entries or add new entries to the first version of the entry. Based on the above change operation of the user on the first version of the entry, another version of the entry can be obtained, and the second version of the entry can be obtained. When the version of the entry is updated, the version of the corresponding file will also be updated synchronously, so the second version file of the target file can be obtained based on the second version of the entry.
[0069] 304. Store the second version file and the second version entry in the warehouse area, and establish a mapping relationship between the second version file and the second version entry;
[0070] After obtaining the second version terms and the second version files, the second version files and the second version terms can be stored in the warehouse area, and a mapping relationship between the second version files and the second version terms can be established, so that the terms included in the second version files can be retrieved according to the mapping relationship.
[0071] When storing the second version of the entry in the warehouse area, an optional implementation is to convert the data format of the entry information of the second version of the entry into a preset data format, which can be a data format that can be recognized by other software systems to facilitate data interaction with other software systems. Furthermore, the entry information of the second version of the entry in the preset data format can be stored in the warehouse area.
[0072] For example, when storing entries, the entry data can be stored and converted according to the XLIFF standard. The data format itself has the characteristics of XLIFF, that is, the entry information is stored according to the data storage format specified by the XLIFF rules, so that third-party translation software can recognize the entry information in the data storage format, and can easily interact with other third-party translation software, so that third-party translation software can translate and process the data. Among them, XLIFF stands for "XML Localization Interchange File Format", which is an XML-based file format standard used for data exchange and transmission during the localization process.
[0073] Therefore, by storing the entry data in a preset data format, it is convenient to synchronize the entry data with the general translation software, supporting translators to easily transfer and edit translation content between different tools, thereby improving translation efficiency and quality.
[0074] For example, the storage and maintenance of files and entry data according to the internationally accepted XLIFF standard enhances the interoperability and standardization of translation data, facilitates the exchange of data such as entries and files with translation software, and improves the work efficiency of translators.
[0075] 305. Establishing a mapping relationship between the common attributes of a plurality of entries and the plurality of entries in the warehouse area, and / or establishing a mapping relationship between the common attributes of a plurality of files and the plurality of files in the warehouse area;
[0076] In order to avoid insufficient storage space due to too much data stored in the warehouse area, the common data between entries or files can be stored. Specifically, in some optional implementations, the common attributes of entries between multiple entries in the warehouse area can be determined, the common attributes of entries can be stored in the warehouse area, and a mapping relationship between multiple entries and the common attributes of entries can be established; and / or, the common attributes of files between multiple files in the warehouse area can be determined, the common attributes of the files can be stored in the warehouse area, and a mapping relationship between multiple files and the common attributes of files can be established.
[0077] For example, there are many different types of files in the business system, such as metadata files, cloud files, application files, prompt resource files, multi-language files, etc. These files are of different types and have different properties. They need to be summarized and abstracted in advance for common parts to facilitate unified maintenance.
[0078] For example, the common language identifiers between multiple files or the common language identifiers between multiple files (such as Chinese CN, English EN and other different language identifiers) can be summarized, or the common file hash values between multiple files can be summarized as the common attributes between multiple files. Multiple files belonging to the same common attribute can be stored, and only one piece of data is stored. For example, if the reading direction of 10 files is from left to right, then these 10 files are mapped to the reading direction, so that the reading direction of each file can be obtained according to the mapping. There is no need to store a separate copy of the data on the file reading direction for each file, and there is no need to store the reading direction of each file separately, which greatly reduces the storage volume of data and reduces the data storage burden of the warehouse area.
[0079] Similarly, for common attributes between multiple entries, for example, if the entry types of multiple entries are all prompt types, it is only necessary to store the prompt type data in the warehouse area and map the data with the multiple entries. The entry type to which each entry belongs can be obtained based on the mapping. There is no need to store a copy of the entry type data for each entry, and there is no need to store the entry type of each entry separately, which greatly reduces the amount of data storage and improves the storage performance of the warehouse area.
[0080] In this embodiment, multiple files may contain the same terms, that is, terms may be reused in multiple files, so there is no need to store all terms contained in each file separately. For example, if there are 10 files containing n identical terms, only the n terms need to be stored. Compared with storing n terms separately for each file, that is, a total of 10n terms need to be stored, the storage volume of terms can be greatly reduced, the amount of stored data in the warehouse area can be reduced, and the storage pressure of the database can be reduced. At the same time, the database response speed of comparison and filtering can be improved, and the query capability of the database index can be conveniently used.
[0081] In addition, as the entry versions are iteratively updated, the amount of data in the warehouse area will increase accordingly. Historical versions that are not needed for business purposes can be backed up or archived to reduce the number of files and entries in the warehouse area and reduce the burden on the database.
[0082] The above describes the data version update method in the embodiment of the present application. The following describes the computer device in the embodiment of the present application. Figure 5 In the embodiment of the present application, one embodiment of the computer device includes:
[0083] A configuration unit, used to configure a warehouse area for storing files and entries, wherein the warehouse area is also used to record a mapping relationship between files and entries;
[0084] A display unit, configured to respond to a display instruction for a first version file of a target file, determine the first version entry mapped by the first version file in the repository area according to a mapping relationship between files and entries, and display the first version entry in a work area of the interface;
[0085] an updating unit, configured to receive a change operation on the first version entry input in the workspace, obtain a second version entry based on the change operation, and determine a second version file of the target file based on the second version entry;
[0086] The storage unit is used to store the second version file and the second version entry in the warehouse area, and establish a mapping relationship between the second version file and the second version entry.
[0087] In a preferred implementation of this embodiment, the computer device further includes:
[0088] a determination unit, configured to determine, for each entry in the warehouse area, a mapping value of the entry according to the entry information of the entry, and associate a version entry obtained by each change of the entry with the mapping value of the entry;
[0089] The display unit is further configured to display at least one version term associated with the mapping value of the target term when a version query instruction for the target term is received.
[0090] In a preferred implementation manner of this embodiment, the storage unit is specifically used for:
[0091] Converting the data format of the entry information of the second version entry into a preset data format;
[0092] The entry information of the second version entry in the preset data format is stored in the warehouse area.
[0093] In a preferred implementation of this embodiment, the entry information includes one or more of the entry identifier, entry content and entry type of the entry.
[0094] In a preferred implementation of this embodiment, the determining unit is further configured to determine, for each file in the repository area, a mapping value of the file according to the file information of the file, and associate a version file obtained by each change of the file with the mapping value of the file;
[0095] The display unit is further configured to, upon receiving a version query instruction for the target file, display at least one version file associated with the mapping value of the target file.
[0096] In a preferred implementation of this embodiment, the updating unit is specifically used for:
[0097] receiving a translation operation for the first version of the term input in the workspace, and translating the first version of the term into a term in a target language based on the translation operation to obtain the second version of the term;
[0098] and / or,
[0099] An operation for changing the entry content of the first version entry input in the workspace is received, and the entry content of the first version entry is changed based on the change operation to obtain the second version entry.
[0100] In a preferred implementation manner of this embodiment, the determining unit is further configured to:
[0101] Determine the common attributes of the entries among the plurality of entries in the warehouse area, store the common attributes of the entries in the warehouse area, and establish a mapping relationship between the plurality of entries and the common attributes of the entries;
[0102] and / or,
[0103] Determine the file common attributes among the multiple files in the warehouse area, store the file common attributes in the warehouse area, and establish a mapping relationship between the multiple files and the file common attributes.
[0104] In this embodiment, the operations performed by each unit in the computer device are the same as those described above. Figures 2 to 3 The description in the illustrated embodiment is similar and will not be repeated here.
[0105] The computer device in the embodiment of the present application is described below. Figure 6 In the embodiment of the present application, one embodiment of the computer device includes:
[0106] The computer device 600 may include one or more central processing units (CPU) 601 and a memory 605 , wherein the memory 605 stores one or more application programs or data.
[0107] The memory 605 may be a volatile storage or a persistent storage. The program stored in the memory 605 may include one or more modules, each of which may include a series of instruction operations in the computer device. Furthermore, the central processing unit 601 may be configured to communicate with the memory 605 and execute a series of instruction operations in the memory 605 on the computer device 600.
[0108] The computer device 600 may also include one or more power supplies 602, one or more wired or wireless network interfaces 603, one or more input and output interfaces 604, and / or one or more operating systems, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0109] The CPU 601 can execute the aforementioned Figures 2 to 3 The operations performed by the computer device in the illustrated embodiment will not be described in detail here.
[0110] The present application also provides a computer storage medium, wherein one embodiment includes: the computer storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the aforementioned Figures 2 to 3 The operations performed by the computer device in the illustrated embodiment.
[0111] The present application also provides a computer program product, wherein one embodiment includes: when the computer program product is run on a computer device, the computer device executes the aforementioned Figures 2 to 3 The operations performed by the computer device in the illustrated embodiment.
[0112] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0113] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0114] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0115] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0116] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.
Claims
1. A data version updating method, characterized in that: The method comprises: A storage area is configured for storing files and entries, and the storage area is also used to record the mapping relationship between files and entries; In response to a display instruction for a first version file of a target file, determining in the repository area a first version entry mapped by the first version file according to a mapping relationship between files and entries, and displaying the first version entry in a work area of the interface; receiving a change operation on the first version entry input in the workspace, obtaining a second version entry based on the change operation, and determining a second version file of the target file based on the second version entry; The second version file and the second version entry are stored in the warehouse area, and a mapping relationship between the second version file and the second version entry is established.
2. The method according to claim 1, characterized in that The method further comprises: For each entry in the warehouse area, determine the mapping value of the entry according to the entry information of the entry, and associate the version entry obtained by each change of the entry with the mapping value of the entry; When a version query instruction for a target term is received, at least one version term associated with the mapping value of the target term is displayed.
3. The method according to claim 1, characterized in that Storing the second version of the entry in the warehouse area includes: Converting the data format of the entry information of the second version entry into a preset data format; The entry information of the second version entry in the preset data format is stored in the warehouse area.
4. The method according to claim 2 or 3, characterized in that: The entry information includes one or more of the entry identifier, entry content and entry type of the entry.
5. The method according to claim 1, characterized in that The method further comprises: For each file in the repository area, a mapping value of the file is determined according to the file information of the file, and a version file obtained by each change of the file is associated with the mapping value of the file; When a version query instruction for the target file is received, at least one version file associated with the mapping value of the target file is displayed.
6. The method according to claim 1, characterized in that The step of receiving a change operation inputted in the workspace to the first version entry and obtaining a second version entry based on the change operation includes: receiving a translation operation for the first version of the term input in the workspace, and translating the first version of the term into a term in a target language based on the translation operation to obtain the second version of the term; and / or, An operation for changing the entry content of the first version entry input in the workspace is received, and the entry content of the first version entry is changed based on the change operation to obtain the second version entry.
7. The method according to claim 1, characterized in that The method further comprises: Determine the common attributes of the entries among the plurality of entries in the warehouse area, store the common attributes of the entries in the warehouse area, and establish a mapping relationship between the plurality of entries and the common attributes of the entries; and / or, Determine the file common attributes among the multiple files in the warehouse area, store the file common attributes in the warehouse area, and establish a mapping relationship between the multiple files and the file common attributes.
8. A computer device, characterized in that: The computer device comprises: A configuration unit, used to configure a warehouse area for storing files and entries, wherein the warehouse area is also used to record a mapping relationship between files and entries; A display unit, configured to respond to a display instruction for a first version file of a target file, determine the first version entry mapped by the first version file in the repository area according to a mapping relationship between files and entries, and display the first version entry in a work area of the interface; an updating unit, configured to receive a change operation on the first version entry input in the workspace, obtain a second version entry based on the change operation, and determine a second version file of the target file based on the second version entry; The storage unit is used to store the second version file and the second version entry in the warehouse area, and establish a mapping relationship between the second version file and the second version entry.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer storage medium, characterized in that: The computer storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 7.