Data management method and device, equipment, storage medium and program product

By creating agreement templates to centrally manage multiple related files and record archiving information, the problem of low efficiency of traditional document management methods in large enterprises and team collaboration is solved, and efficient file management and information acquisition are achieved.

CN120639874APending Publication Date: 2025-09-12TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410284529.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-12
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

Traditional document management methods cannot meet the efficiency needs of large enterprises and team collaboration, especially in multi-version document management.

Method used

Provides a data management method that centrally manages multiple related files by creating protocol templates, records and archives information, and implements permission management for file operations and timely acquisition of information.

Benefits of technology

It realizes the centralized management of multiple related files, obtains file operation information in a timely manner, and improves work efficiency and team collaboration effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120639874A_ABST
    Figure CN120639874A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data management method and device, equipment, a storage medium and a program product, which are used for realizing centralized management of a plurality of associated files and obtaining operation information of each associated file in time, so that the operation information of the files can be conveniently backtracked in time. The method can be applied to the fields of computers and cloud technologies. Comprising the steps that first protocol information of a first protocol template is acquired, and the first protocol information comprises a protocol template identifier, a first protocol template number and description information of the first protocol template; determining a data volume of the first protocol template based on the protocol template identifier, the first protocol template number and the description information of the first protocol template; the data body is stored to generate a first protocol template, the first protocol template is used for storing a plurality of associated files and archiving information, the associated files are used for indicating files uploaded to the first protocol template, and the archiving information is used for indicating record information for carrying out corresponding operation on the associated files in the first protocol template.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a data management method, apparatus, device, storage medium, and program product. Background Art

[0002] As businesses expand and the need for teamwork increases, traditional document management methods (such as email and file servers) can no longer meet the needs of efficient collaboration. Online multi-version document management has become an important tool for improving work efficiency and teamwork.

[0003] Therefore, there is a need for a solution that can efficiently manage documents. Summary of the Invention

[0004] The embodiments of the present application provide a data management method, apparatus, device, storage medium and program product for realizing centralized management of multiple associated files, and obtaining operation information of each associated file in a timely manner, so as to facilitate timely backtracking of file operation information.

[0005] In view of this, on the one hand, the present application provides a data management method, including: obtaining first protocol information of a first protocol template, the first protocol information including a protocol template identifier, a first protocol template number and descriptive information of the first protocol template; determining the data body of the first protocol template based on the protocol template identifier, the first protocol template number and the descriptive information of the first protocol template; storing the data body to generate the first protocol template, the first protocol template being used to store multiple associated files and archiving information, the associated files being used to indicate files uploaded to the first protocol template, and the archiving information being used to indicate record information of corresponding operations performed on the associated files within the first protocol template.

[0006] Another aspect of the present application provides a data management device, comprising: an acquisition module, configured to acquire first protocol information of a first protocol template, the first protocol information comprising a protocol template identifier, a first protocol template number, and description information of the first protocol template;

[0007] a processing module, configured to determine a data body of the first protocol template based on the protocol template identifier, the first protocol template number, and the description information of the first protocol template;

[0008] A storage module is used to store the data body to generate the first protocol template, the first protocol template is used to store associated files and archive information, the associated files are used to indicate the files uploaded to the first protocol template, and the archive information is used to indicate the record information of the corresponding operations performed on the associated files within the first protocol template.

[0009] In one possible design, in another implementation of another aspect of an embodiment of the present application, the processing module is used to set permission management information of the associated file and the archived information, and the permission management information includes viewing permission, editing permission and downloading permission of the associated file and the archived information.

[0010] In one possible design, in another implementation of another aspect of the embodiment of the present application, the apparatus further includes a transceiver module configured to receive a query request, the query request carrying the protocol template identifier and a user identifier of the user object;

[0011] a processing module configured to query the first protocol information, the associated file, and the archived information based on the protocol template identifier if the user identifier indicates that the user object has access rights; and integrate the first protocol information, the associated file, and the archived information to generate protocol data;

[0012] The transceiver module is used to display the protocol data to the user object; if the user identifier indicates that the user object does not have the viewing authority, a first prompt message is sent to the terminal device corresponding to the user object, and the first prompt message is used to indicate that the user object does not have the viewing authority.

[0013] In one possible design, in another implementation of another aspect of the embodiment of the present application, the processing module is configured to call a first function based on the protocol template identifier to obtain the first protocol information;

[0014] A second function is called based on the protocol template identifier to obtain the associated file and the archive information.

[0015] In one possible design, in another implementation of another aspect of the embodiment of the present application, the apparatus further includes a transceiver module, configured to receive permission application information, the permission application information being used to indicate that the user object applies to download the associated file or the archived information;

[0016] An acquisition module is used to obtain the associated file or archive information if the permission application information passes the permission review;

[0017] The transceiver module is used to send the associated file or the archive information to the terminal device corresponding to the user object; if the permission application information fails to pass the permission review, a second prompt message is sent to the terminal device corresponding to the user object, and the second prompt message is used to indicate that the user object does not have download permission.

[0018] In one possible design, in another implementation of another aspect of the embodiment of the present application, the processing module is used to set a permission period if the permission application information passes the permission review, and the permission period is used to indicate that the user object does not need to undergo permission review again within the permission period.

[0019] In one possible design, in another implementation of another aspect of the embodiments of the present application, the apparatus includes a transceiver module configured to receive a creation request, the creation request carrying the protocol template identifier;

[0020] The processing module is configured to, in response to the creation request, display a protocol information fill-in control for the second protocol template; in response to an operation on the protocol information fill-in control, obtain a second protocol template number and description information of the second protocol template, wherein the second protocol template number is different from the first protocol template number; and determine a data body of the second protocol template based on the protocol template identifier, the second protocol template number, and the description information of the second protocol template;

[0021] The storage module is configured to store the data body of the second protocol template to generate the second protocol template;

[0022] The processing module is used to determine the target file and target archive information from the associated file and the archive information stored in the first protocol template;

[0023] The storage module is used to store the target file and the target archive information in the second protocol template.

[0024] In one possible design, in another implementation of another aspect of the embodiment of the present application, the processing module is configured to obtain a maximum protocol template number corresponding to the protocol template identifier;

[0025] The maximum protocol template number is incremented by one to obtain the second protocol template number.

[0026] In one possible design, in another implementation of another aspect of the embodiments of the present application, the apparatus further includes a display module, configured to display a first interface, the first interface being configured to display the second protocol template and a first control, the first control being configured to indicate a request to view a historical protocol template;

[0027] a processing module, configured to obtain, in response to an operation on the first control, a set of template numbers under the protocol template identifier of the second protocol template; and to sort the set of template numbers according to a rule to obtain a version list;

[0028] This display module is used to display the version list.

[0029] In one possible design, in another implementation of another aspect of the embodiment of the present application, the display module is used to display the target protocol template in response to an operation on the target protocol template in the version list.

[0030] In one possible design, in another implementation of another aspect of the embodiment of the present application, the description information of the first protocol template includes the name of the protocol template, content description, protocol category, release date, and ranking value.

[0031] Another aspect of the present application provides a computer device, comprising: a memory, a processor, and a bus system;

[0032] Wherein, the memory is used to store programs;

[0033] The processor is used to execute the program in the memory, and the processor is used to perform the above-mentioned methods according to the instructions in the program code;

[0034] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

[0035] Another aspect of the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.

[0036] Another aspect of the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the above aspects.

[0037] It can be seen from the above technical solution that the embodiment of the present application has the following advantages: creating a protocol template, centrally managing multiple related files and archiving information of corresponding operations on multiple related files in the protocol template, so that centralized management of multiple related files can be achieved, and at the same time, the operation information of each file can be obtained in a timely manner, which is convenient for timely backtracking of the operation information of the file. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a schematic diagram of an application scenario of the data management method in an embodiment of the present application;

[0039] Figure 2 This is a schematic diagram of an embodiment of the data management method in the embodiment of the present application;

[0040] Figure 3a This is a schematic diagram of the interface for filling in protocol information during the protocol template creation process in an embodiment of the present application;

[0041] Figure 3b A schematic diagram of an upload interface for associated files during the creation of a protocol template in an embodiment of the present application;

[0042] Figure 3c A schematic diagram of the protocol template creation completion interface in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of a process for searching associated files or archived information in a protocol template in an embodiment of the present application;

[0044] Figure 5a This is a schematic diagram of an interface for allowing access to a protocol template in an embodiment of the present application;

[0045] Figure 5b A schematic diagram of an interface showing a prompt message when access to a protocol template is not permitted in an embodiment of the present application;

[0046] Figure 6 A flowchart of downloading associated files or archived information in a protocol template in an embodiment of the present application;

[0047] Figure 7a A schematic diagram of an interface for filling out an application for archiving information in an embodiment of the present application;

[0048] Figure 7b This is a schematic diagram of an interface when downloading archived information is allowed in an embodiment of the present application;

[0049] Figure 7c This is a schematic diagram of an interface when downloading archived information is not allowed in an embodiment of the present application;

[0050] Figure 8 A schematic diagram of a process for creating a new protocol template under the same protocol identifier in an embodiment of the present application;

[0051] Figure 9a This is a schematic diagram of the interface for filling in protocol information when creating a new protocol template under the same protocol identifier in an embodiment of the present application;

[0052] Figure 9b This is a schematic diagram of an interface for retaining the previous protocol version when creating a new protocol template under the same protocol identifier in an embodiment of the present application;

[0053] Figure 9c A schematic diagram of an interface for creating a new protocol template under the same protocol identifier in an embodiment of the present application;

[0054] Figure 10 A schematic diagram of a process for searching a historical protocol template in an embodiment of the present application;

[0055] Figure 11 A schematic diagram of an interface for viewing historical protocol templates in an embodiment of the present application;

[0056] Figure 12 This is a schematic diagram of an embodiment of a data management device in an embodiment of the present application;

[0057] Figure 13 This is a schematic diagram of another embodiment of the data management device in the embodiment of the present application;

[0058] Figure 14 This is a schematic diagram of another embodiment of the data management device in the embodiment of the present application;

[0059] Figure 15 This is a schematic diagram of another embodiment of the data management device in the embodiment of the present application;

[0060] Figure 16 This is a schematic diagram of another embodiment of the data management device in the embodiment of the present application. DETAILED DESCRIPTION

[0061] The embodiments of the present application provide a data management method, apparatus, device, storage medium and program product for realizing centralized management of multiple associated files, and obtaining operation information of each associated file in a timely manner, so as to facilitate timely backtracking of file operation information.

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

[0063] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0064] Those skilled in the art will understand that, unless otherwise stated, the singular forms "a", "an", "the" and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the present technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the element can be directly connected or coupled to the other element, or it can refer to the element and the other element establishing a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used here can include wireless connection or wireless coupling. The term "and / or" used here indicates at least one of the items defined by the term, for example, "A and / or B" can be implemented as "A", or as "B", or as "A and B".

[0065] As businesses expand and the need for teamwork grows, traditional document management methods (such as email and file servers) are no longer sufficient for efficient collaboration. Online multi-version document management has become a crucial tool for improving work efficiency and teamwork. Therefore, a solution that can efficiently manage documents is urgently needed.

[0066] In order to solve the above problem, the present application provides the following technical solution: obtaining first protocol information of a first protocol template, the first protocol information including a protocol template identifier, a first protocol template number, and description information of the first protocol template; determining the data body of the first protocol template based on the protocol template identifier, the first protocol template number, and description information of the first protocol template; storing the data body to generate the first protocol template, the first protocol template being used to store multiple associated files and archiving information, the associated files being used to indicate files uploaded to the first protocol template, and the archiving information being used to indicate record information of corresponding operations performed on the associated files within the first protocol template. In this way, a protocol template is created, and multiple associated files and archiving information of corresponding operations performed on multiple associated files are centrally managed in the protocol template. This allows for centralized management of multiple associated files, while also allowing for timely acquisition of operation information of each file, making it convenient to promptly trace back the operation information of the file.

[0067] The data management method provided in the embodiment of the present application can be implemented based on cloud technology. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network within a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the application of cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of technical network systems require a large amount of computing and storage resources, such as video websites, picture websites, and more portal websites. With the rapid development and application of the Internet industry, in the future, each item may have its own identification mark, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately. All kinds of industry data require strong system backing support, which can only be achieved through cloud computing.

[0068] The data management method provided in the embodiments of the present application can also be implemented based on blockchain technology. Specifically, the data used in the data management method, such as protocol templates, associated files, and archived information, can be stored on the blockchain.

[0069] The embodiments of the present application provide a data management method, apparatus, device, storage medium, and program product for implementing centralized management of multiple associated files, while simultaneously obtaining operation information of each associated file in a timely manner, facilitating timely backtracking of file operation information. The following describes exemplary applications of the electronic device provided by the embodiments of the present application. The electronic device provided by the embodiments of the present application can be implemented as various types of user terminals or as a server.

[0070] By running the data management method provided in the embodiments of the present application, an electronic device can implement centralized management of multiple associated files, while simultaneously obtaining operation information of each associated file in a timely manner, facilitating timely backtracking of file operation information. Specifically, the electronic device can implement centralized management of multiple associated files using a protocol template, while simultaneously obtaining operation information of each associated file in a timely manner, facilitating timely backtracking of file operation information.

[0071] The above solution can be applied to any scenario requiring the use of agreement templates, including but not limited to office document management. When using the data management method provided in the embodiments of the present application to manage office document data, the method can be implemented as an independent online application and installed on the user's computer device or backend server, making it convenient for the user to use the program to manage office document data.

[0072] In an exemplary solution, in an office document management scenario, a user enters agreement information for an agreement template through an interface provided by a terminal device, and then creates a corresponding agreement template based on the agreement information. The user then uploads associated files within the agreement template. During use, the user performs corresponding operations on the associated files, thereby generating corresponding archive information. Managers can review this archive information to determine whether to view or download associated files.

[0073] See also Figure 1 , Figure 1This is an optional architectural diagram of an application scenario of the data management solution provided in an embodiment of the present application. In order to implement and support a data management solution, the terminal device 100 is connected to the server 300 through the network 200, and the server 300 is connected to the database 400. The network 200 can be a wide area network or a local area network, or a combination of the two. The client for implementing the data management solution is deployed on the terminal device 100, wherein the client can be run on the terminal device 100 in the form of a browser, or can be run on the terminal device 100 in the form of an independent application (application, APP), etc. The specific presentation form of the client is not limited here. The server 300 involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDNs), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal device 100 can be a smartphone, tablet computer, laptop computer, PDA, personal computer, smart TV, smart watch, in-vehicle device, wearable device, intelligent voice interaction device, smart home appliance, aircraft, etc., but is not limited to these. The terminal device 100 and server 300 can be directly or indirectly connected via the network 200 via wired or wireless communication, and this application does not impose any restrictions on this. The number of servers 300 and terminal devices 100 is also not limited. The solution provided in this application can be implemented independently by the terminal device 100, independently by the server 300, or in cooperation with the terminal device 100 and server 300, and this application does not impose any specific restrictions on this. Among them, the database 400 can be simply regarded as an electronic filing cabinet - a place to store electronic files, where users can add, query, update, delete, and other operations on the data in the files. The so-called "database" is a collection of data stored together in a certain manner, which can be shared by multiple users, has minimal redundancy, and is independent of each application. A database management system (DBMS) is a computer software system designed for managing databases. It generally has basic functions such as storage, retrieval, security, and backup.Database management systems can be classified according to the database models they support, such as relational and Extensible Markup Language (XML); or according to the types of computers they support, such as server clusters and mobile phones; or according to the query languages ​​used, such as Structured Query Language (SQL) and XQuery; or according to performance impulse focus, such as maximum scale and maximum operating speed; or other classification methods. Regardless of the classification method used, some DBMSs can cross categories, for example, supporting multiple query languages ​​at the same time. In the present application, the database 400 can be used to store associated files and archived information. Of course, the storage location of associated files and archived information is not limited to the database. For example, they can also be stored in the terminal device 100, the blockchain, or the distributed file system of the server 300.

[0074] The terminal device 100, the network 200, the server 300, and the database 400 may constitute a document management system. The server 300 may serve as the backend control center of the document management system. The terminal device may serve as the control terminal in the document management system. Specifically, the application or applet within the application on the terminal device may also serve as the control terminal in the document management system.

[0075] In some embodiments, both the server 300 and the terminal device 100 can execute the data management method provided in the embodiments of the present application.

[0076] It is understandable that in the specific implementation of this application, related data such as associated files and archived information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0077] Combined with the above introduction, the following will introduce the data management method of this application. Please refer to Figure 2 , an embodiment of the data management method in the embodiment of the present application includes:

[0078] 201. Obtain first protocol information of a first protocol template, where the first protocol information includes a protocol template identifier, a first protocol template number, and description information of the first protocol template.

[0079] In this embodiment, the user can log in to the agreement template management service through the corresponding operation. For example, enter the corresponding URL through the browser on the computer to enter the agreement template management service; or enter the agreement template management service through the application of the mobile terminal; or enter the agreement template management service through the small program of the mobile terminal. Then, the user logs in to the agreement template management service in the form of an account and password, starts the agreement template creation program, and the following will be displayed. Figure 3a The protocol information filling interface shown is where the user enters the protocol information of the protocol template to be created (i.e., the first protocol information of the first protocol template in this embodiment) through the corresponding input field, so that the server obtains the first protocol information.

[0080] In this application, the agreement template is a classified storage area for classifying and storing different files. It can store multiple associated files and operation records (i.e., storage information) within the agreement template. The agreement template can be compared to a folder, the associated files can be similar to the files in the folder, and the archived information can be compared to the operation log of the folder. For example, the agreement template is a payment agreement, and the associated files stored in the agreement template can be the payment contract agreement, and the archived information can be the time and merchant name of the merchant viewing the contract agreement, the approval information of the merchant downloading the contract agreement, and so on.

[0081] Protocol information can be understood as the description information, associated files, and archive information of the protocol template. This description information may include the name of the protocol template, the template number of the protocol template, the release time of the protocol template, the target of the protocol template, the ranking value of the protocol template, and the effective time of the protocol template.

[0082] 202. Determine a data body of the first protocol template based on the protocol template identifier, the first protocol template number, and description information of the first protocol template.

[0083] In this embodiment, after obtaining the first protocol information, the server generates request data based on the first protocol information, thereby generating the data body of the first protocol template based on the information carried in the request data.

[0084] In an exemplary solution, the request data may be in the form shown in Table 1:

[0085] Table 1

[0086]

[0087] In this embodiment, when the server generates the data body of the first protocol template based on the request data, it can first query whether a protocol template number already exists under the protocol template identifier in the corresponding database based on the protocol template identifier; if not, the protocol template number is directly set to 1; if it exists, the maximum template number under the protocol template number is obtained, and then the maximum template number is increased by 1, thereby obtaining the protocol template number of the first protocol template.

[0088] In an exemplary solution, the server may obtain the maximum template number from the database using the function maxVer=contractDao.getMaxVer(contractId); and then calculate the protocol template number of the first protocol template using the following calculation formula: newContractVer=maxVer+1.

[0089] Finally, the server generates the data body of the first protocol template according to the recalculated template number and relevant information in the request data.

[0090] In an exemplary solution, when creating the data body of the first protocol template, the following code may be used:

[0091] const ContractInfo = {

[0092] contractId,

[0093] contractVer,

[0094] contractName,

[0095] contractDesc,

[0096] sortNum,

[0097] taglist,

[0098] publishTime,

[0099] }

[0100] 203. Store the data body to generate the first protocol template, where the first protocol template is used to store multiple associated files and archive information. The associated files are used to indicate files uploaded to the first protocol template, and the archive information is used to indicate record information of corresponding operations performed on the associated files within the first protocol template.

[0101] After acquiring the data body, the server saves the data body to obtain the first agreement template. Associated files can also be uploaded to the first agreement template. During use, the user generates and stores the archived information by performing corresponding operations on the associated files in the first agreement template.

[0102] In an exemplary solution, the server uses the contractDao.create(newContractInfo) function to store the data body, thereby obtaining the first agreement template. After obtaining the first agreement template, the agreement template information may be as follows:

[0103]

[0104] The associated attachment information of the agreement can be as follows:

[0105]

[0106] In an exemplary embodiment, after the first protocol template is created, the following may be displayed: Figure 3b The interface shown in the figure is as follows. Figure 3b Upload the associated files corresponding to the first agreement template, such as the main agreement file (paper version), the main agreement file (electronic version) and the online electronic agreement. Then after clicking upload, the following will be displayed: Figure 3c The completed interface is shown. The corresponding files are stored under the categories corresponding to Master Agreement File (Paper Version) and Master Agreement File (Electronic Version).

[0107] In order to ensure the security of the protocol information, associated files and archived information in the protocol template, the server can also set corresponding permission management information for the above information to manage the review, download or creation permissions of the above protocol information, associated files and archived information.

[0108] Based on the above creation method, the different operations of the protocol template are described below.

[0109] Specific reference Figure 4 As shown, in this embodiment, an embodiment of consulting the protocol template includes:

[0110] 401. Receive a query request, where the query request carries the protocol template identifier and the user identifier of the user object.

[0111] In this embodiment, the user can log in to the agreement template management service through corresponding operations. For example, enter the corresponding Uniform Resource Locator (URL) through the browser on the computer to enter the agreement template management service; or enter the agreement template management service through the application of the mobile terminal; or enter the agreement template management service through the small program of the mobile terminal. Then the user logs in to the agreement template management server through the account password, etc. At this time, the account password, etc. can be used as the user identification of the user object. When determining to view the corresponding agreement template, the user enters the corresponding URL again to view the corresponding agreement template. For example, the URL can be https: / / xxx.com / contract / 123, where 123 can be understood as the agreement template identification).

[0112] In an exemplary embodiment, the user can input the query request by clicking the relevant control on the interface. Figure 5a As shown, the user clicks the "Payment Agreement Template" control, thereby obtaining a request to view the "Payment Agreement Template".

[0113] 402. Determine whether the user object has the viewing permission based on the user ID. If yes, execute steps 403 to 405; if no, execute step 406.

[0114] The server determines whether the user object has the viewing authority based on the user ID.

[0115] In an exemplary solution, the server may establish a whitelist and then query whether the user ID exists in the whitelist. If so, it is determined that the user object corresponding to the user ID has access permission; if not, it is determined that the user object corresponding to the user ID does not have access permission.

[0116] 403. Query the first protocol information, the associated file, and the archived information based on the protocol template identifier.

[0117] After receiving the query request, the server can call the contractId=request.params.contractId function to obtain the agreement template identifier from the query request. The server then calls the contractDao.getDetail(contractId) method to obtain the agreement details, namely the first agreement information; and simultaneously calls the contractAttachDao.getList(contractId) method to obtain the agreement archive information, namely the associated files and the archive information.

[0118] 404. Integrate the first protocol information, the associated file, and the archive information to generate protocol data.

[0119] After the server has found the first agreement information, the associated file, and the archive information, it integrates the above information to obtain the agreement data. In an exemplary solution, the agreement data can be integrated into ContractInfo, where

[0120]

[0121]

[0122] 405. Display the protocol data to the user object.

[0123] The server returns the protocol data to the display device and renders it to display it to the user. Figure 5a As shown, the payment agreement template, i.e. "XXXX", can be displayed on the display device.

[0124] 406. Send a first prompt message to the terminal device corresponding to the user object, where the first prompt message is used to indicate that the user object has no access permission.

[0125] When the server determines that the user object does not have the access authority, the server may display the first prompt information through the terminal device corresponding to the user object to prompt the user that the user does not have the access authority.

[0126] In an exemplary embodiment, Figure 5b As shown, "403 No Permission to Access" is directly displayed on the interface. At the same time, in order to facilitate the user to proceed to the next step, the user can also be prompted to apply for permission, such as Figure 5b As shown, the user is prompted "If you have any questions, please contact the person in charge: A".

[0127] Specific reference Figure 6 As shown, in this embodiment, an embodiment of downloading the protocol template includes:

[0128] 601. Receive permission application information, where the permission application information is used to indicate that the user object applies to download the associated file or the archived information.

[0129] In this embodiment, the user can log in to the protocol template management service through appropriate operations. For example, they can enter the protocol template management service by entering the corresponding URL through a browser on a computer; or by entering the protocol template management service through an application on a mobile terminal; or by entering the protocol template management service through a mini-program on a mobile terminal. The user then logs in to the protocol template management server using an account and password, which can then be used as the user identification of the user object. When deciding to download the corresponding associated file or archived information, the user again enters the corresponding URL to request download of the corresponding associated file or archived information.

[0130] In an exemplary solution, the user can enter the permission application information by clicking the relevant control on the interface. Figure 7a As shown, the user clicks the "Agreement Template Approval Information 1" control to obtain a download request for the "Agreement Template Approval Information 1"; then the input interface for the permission application information pops up, that is, the "Application Reason" input field pops up; finally, the user enters the corresponding permission application information through the input field.

[0131] 602. Determine whether the permission application information passes the permission review. If so, execute steps 603 to 604; if not, execute step 605.

[0132] In this embodiment, the server creates an approval form based on the permission application information, and then sends the approval form to the permission review for approval.

[0133] In an exemplary solution, the approval request data may be as shown in Table 2 below:

[0134] Table 2

[0135] project value illustrate Request method POST Request address / contract / downloadapply Request data contractIdAgreement ID

[0136] The approval form data body created by the server can be as follows:

[0137]

[0138] The server then calls the data access object auditDao.create(applyData). After the permission audit results in a result, the server can receive the corresponding approval result. In an exemplary solution, the specific form of the approval result can be as follows:

[0139] 1. Approval Failed

[0140] The server updates the approval document to "failed". The specific operation can be as follows: Update the approval document auditDao.update({auditId,status:2}) / / 2 represents failed.

[0141] 2. Approval

[0142] The server updates the approval document to passed. The specific operation can be as follows: Update the approval document auditDao.update({auditId,status:1}) / / 1 represents passed.

[0143] 603. Obtain the associated file or archive information.

[0144] The server obtains the associated file or archive information through the corresponding data calling function.

[0145] 604. Send the associated file or the archive information to the terminal device corresponding to the user object.

[0146] The server displays download information of the associated file or archive information to the terminal device corresponding to the user object, and sends the associated file or archive information to the terminal device at the same time.

[0147] In an exemplary embodiment, the terminal device corresponding to the user object will display the following Figure 7b The download interface shown displays the message "Agreement template approval information - downloading". It should be understood that after the download is complete, a corresponding notification message may pop up to notify the user that the corresponding associated file or archive information has been downloaded.

[0148] 605. Send a second prompt message to the terminal device corresponding to the user object, where the second prompt message is used to indicate that the user object does not have download permission.

[0149] When the server determines that the approval form has not been passed, the server may display the second prompt information through the terminal device corresponding to the user object to prompt the user that the user does not have the download permission.

[0150] In an exemplary embodiment, Figure 7c As shown, "Review failed" is directly displayed on the interface. At the same time, in order to facilitate the user to proceed to the next step, the user can also be prompted to apply for permission, such as Figure 7c As shown, the user is prompted "If you have any questions, please contact the person in charge: A".

[0151] Specific reference Figure 8 As shown, an embodiment of creating a new protocol template in this embodiment includes:

[0152] 801. Receive a creation request, where the creation request carries the protocol template identifier.

[0153] In this embodiment, the user can log in to the agreement template management service through corresponding operations. For example, enter the corresponding URL through the browser on the computer to enter the agreement template management service; or enter the agreement template management service through the application of the mobile terminal; or enter the agreement template management service through the small program of the mobile terminal. The user then logs in to the agreement template management server through the account number and password, etc. At this time, the account number and password can be used as the user identification of the user object. When it is determined that a new agreement template needs to be created under the same agreement template identification, the user enters the corresponding URL, views the corresponding agreement template, and then clicks the create control in the display interface of this agreement template to generate a creation request. For example, the user enters https: / / xxx.com / contract / 123, where 123 can be understood as the agreement template identification, opens the agreement template shown by "123", and then the user clicks the create control to generate the creation request.

[0154] 802. In response to the creation request, fill in a control to display protocol information of a second protocol template.

[0155] The server responds to the user's operation after clicking the create control, and then displays the protocol information filling control of the second protocol template.

[0156] In an exemplary solution, the user can click the create control in the electronic payment agreement template (version 1), and then a pop-up interface for filling in the agreement information will appear. Figure 9a As shown, on the display interface of the electronic payment agreement template (version 1), the agreement information filling control of the "electronic payment agreement template (version 2)" pops up.

[0157] 803. In response to the operation of filling in the protocol information control, obtain a second protocol template number of the second protocol template and description information of the second protocol template, where the second protocol template number is different from the first protocol template number.

[0158] The user enters corresponding protocol information in the protocol information filling control, and then obtains the second protocol template number of the second protocol template and the description information of the second protocol template.

[0159] In this embodiment, after the server obtains the second protocol template number and the description information of the second protocol template, it generates request data based on the second protocol template number and the description information of the second protocol template, and thereby generates the data body of the second protocol template based on the information carried by the request data.

[0160] In an exemplary solution, the request data may be in the form shown in Table 3:

[0161] Table 3

[0162]

[0163] In this embodiment, the second protocol template number can be directly entered by the user or calculated accordingly after it is entered. When the server generates the data body of the second protocol template based on the request data, it can first query the corresponding database based on the protocol template identifier to see whether the protocol template number under the protocol template identifier already exists; if not, the protocol template number is directly set to 1; if so, the maximum template number under the protocol template number is obtained, and then the maximum template number is increased by 1 to obtain the protocol template number of the second protocol template.

[0164] In an exemplary solution, the server may obtain the maximum template number from the database using the function maxVer=contractDao.getMaxVer(contractId); and then calculate the protocol template number of the second protocol template using the following calculation formula: newContractVer=maxVer+1.

[0165] Finally, the server generates the data body of the second protocol template according to the recalculated template number and relevant information in the request data.

[0166] In an exemplary scheme, the server can first query whether a protocol template number already exists under the protocol template identifier in the corresponding database based on the protocol template identifier; if not, the protocol template number is directly set to 1; if it exists, the maximum template number under the protocol template number is obtained, and then the maximum template number is increased by 1 to obtain the protocol template number of the first protocol template.

[0167] In an exemplary solution, the server may obtain the maximum template number from the database using the function maxVer=contractDao.getMaxVer(contractId); and then calculate the protocol template number of the first protocol template using the following calculation formula: newContractVer=maxVer+1.

[0168] Finally, the server generates the data body of the first protocol template according to the recalculated template number and relevant information in the request data.

[0169] 804. Determine the data body of the second protocol template based on the protocol template identifier, the second protocol template number, and the description information of the second protocol template.

[0170] After obtaining the second protocol template number and the description information of the second protocol template, the server creates a data body of the second protocol template.

[0171] In an exemplary solution, when creating the data body of the second protocol template, the following code may be used:

[0172] const newContractInfo={

[0173] contractId,

[0174] contractVer,

[0175] contractName,

[0176] contractDesc,

[0177] sortNum,

[0178] taglist,

[0179] publishTime,

[0180] }

[0181] 805. Store the data body of the second protocol template to generate the second protocol template.

[0182] After acquiring the data body, the server saves the data body, thereby obtaining the second protocol template.

[0183] In an exemplary solution, the server uses the contractDao.create(newContractInfo) function to store the data body, thereby obtaining the second protocol template. After obtaining the second protocol template, the protocol template information may be as follows:

[0184]

[0185] The associated attachment information of the agreement can be as follows:

[0186]

[0187] 806. Determine a target file and target archive information from the associated file and the archive information stored in the first protocol template.

[0188] In this embodiment, after creating the second protocol template, the server may upload new associated files in the second protocol template, and may also retain the related files and archive information of the previous protocol template.

[0189] In an exemplary embodiment, after the second protocol template is created, the following may be displayed: Figure 9b The interface shown in the figure is as follows. Figure 9b Upload the associated files corresponding to the second agreement template, such as the main agreement file (paper version), the main agreement file (electronic version) and the online electronic agreement. Then after clicking upload, the following will be displayed: Figure 9c The completed interface is shown. The corresponding files are stored under the categories corresponding to Master Agreement File (Paper Version) and Master Agreement File (Electronic Version).

[0190] You can also check to retain the files, such as checking "Related archive information", such as selecting the corresponding document information to retain from archive information 1, archive information 2 and archive information 3.

[0191] In order to ensure the security of the protocol information, associated files and archived information in the protocol template, the server can also set corresponding permission management information for the above information to manage the review, download or creation permissions of the above protocol information, associated files and archived information.

[0192] 807. Store the target file and the target archive information in the second protocol template.

[0193] The server directly copies the target file and the target archive information and stores them in the second protocol template.

[0194] Specific reference Figure 10 As shown, in this embodiment, an embodiment of querying the historical protocol template includes:

[0195] 1001. Display a first interface, where the first interface is used to display the second protocol template and a first control, where the first control is used to indicate a request to view historical protocol templates.

[0196] After obtaining the second protocol template, the terminal device displays the relevant protocol information, associated files and archive information of the second protocol template through the first interface. At the same time, the first interface also displays the first control, wherein the first control is used to indicate the review of historical protocol templates.

[0197] like Figure 11 As shown, the first interface will display the "historical version" control. At this time, the first control is the "historical version".

[0198] 1002. In response to the operation on the first control, obtain a template number set under the protocol template identifier of the second protocol template.

[0199] After the user clicks the first control, the server will obtain the protocol template identifier under the current protocol template and query the template number set under the protocol template identifier.

[0200] In an exemplary solution, after responding to the first control, the server generates request data, wherein the request data may be as shown in Table 4:

[0201] Table 4

[0202] project value illustrate Request method GET Request address / contract / historylist Request data contractIdAgreement ID Response data description contractList ContractInfo data list

[0203] The server then obtains the protocol template identifier according to the request data, that is, calls contractListcontractDao.getListById(contractId) to obtain the template number set.

[0204] For example, Figure 11 As shown, the template number set will include "Edition 5, Edition 4, Edition 3, Edition 2, and Edition 1"

[0205] 1003. Sort the template number set according to the rules to obtain a version list.

[0206] After obtaining the template number set, the server calls a corresponding function to sort the template numbers in the template number set according to the rules to obtain a version list.

[0207] In an exemplary solution, the server calls the contractList.sort(last.contractVer–pre.contractVer) function to sort the template numbers from largest to smallest to obtain the version list. The version list will be as follows: "Version 5, Version 4, Version 3, Version 2, and Version 1"

[0208] 1004. Display the version list.

[0209] The server returns the version list, and the browser renders the protocol version list to display it to the user.

[0210] It should be understood that the permissions for viewing agreement templates, downloading agreement information, viewing historical agreement templates, and creating new agreement templates can be interrelated or independent. For example, only if you have permission to view agreement templates can you also view historical agreement templates; only if you have permission to view agreement templates can you apply for permission to download agreement information; only if you have permission to view agreement templates can you apply for permission to create new agreement templates, and so on.

[0211] The data management device in this application is described in detail below. Figure 12 , Figure 12This is a schematic diagram of an embodiment of a data management device in an embodiment of the present application. The data management device 20 includes:

[0212] An acquisition module 201 is configured to acquire first protocol information of a first protocol template, where the first protocol information includes a protocol template identifier, a first protocol template number, and description information of the first protocol template;

[0213] A processing module 202 is configured to determine a data body of the first protocol template based on the protocol template identifier, the first protocol template number, and the description information of the first protocol template;

[0214] The storage module 203 is used to store the data body to generate the first protocol template. The first protocol template is used to store associated files and archive information. The associated files are used to indicate files uploaded to the first protocol template. The archive information is used to indicate record information of corresponding operations performed on the associated files within the first protocol template.

[0215] In an embodiment of the present application, a data management device is provided. Using the device, a protocol template is created to centrally manage multiple associated files and archived information related to operations performed on the associated files. This allows for centralized management of the associated files and timely access to operation information for each file, facilitating timely tracing of file operation information.

[0216] Optionally, in the above Figure 12 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application,

[0217] The processing module 202 is used to set the permission management information of the associated file and the archived information. The permission management information includes the viewing permission, editing permission and downloading permission of the associated file and the archived information.

[0218] In an embodiment of the present application, a data management device is provided. By using the device, corresponding permission management is set for associated files and archived information, which can effectively prevent information leakage and thus ensure information security.

[0219] Optionally, in the above Figure 12 On the basis of the corresponding embodiment, Figure 13 In the illustrated solution, in another embodiment of the data management device 20 provided by the embodiment of the present application, the device further includes a transceiver module 204 for receiving a query request, the query request carrying the protocol template identifier and the user identifier of the user object;

[0220] Processing module 202 is configured to query the first protocol information, the associated file, and the archived information based on the protocol template identifier if the user identifier indicates that the user object has access permission; and integrate the first protocol information, the associated file, and the archived information to generate protocol data;

[0221] The transceiver module 204 is used to display the protocol data to the user object; if the user identifier indicates that the user object does not have the viewing authority, a first prompt message is sent to the terminal device corresponding to the user object, where the first prompt message is used to indicate that the user object does not have the viewing authority.

[0222] In an embodiment of the present application, a data management device is provided. By using the device, access permissions for agreement templates are controlled, thereby improving the security of agreement templates and preventing other unrelated personnel from accessing the corresponding associated files and archived information within the agreement templates, thereby preventing information leakage.

[0223] Optionally, in the above Figure 13 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application,

[0224] A processing module 202 is configured to call a first function based on the protocol template identifier to obtain the first protocol information;

[0225] A second function is called based on the protocol template identifier to obtain the associated file and the archive information.

[0226] In an embodiment of the present application, a data management device is provided. By using the device and adopting different call schemes for different information, data acquisition efficiency can be increased, thereby avoiding query conflicts.

[0227] Optionally, in the above Figure 13 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application,

[0228] The device further includes a transceiver module 204 for receiving permission application information, wherein the permission application information is used to indicate that the user object applies to download the associated file or the archived information;

[0229] The acquisition module 201 is used to acquire the associated file or archive information if the permission application information passes the permission review;

[0230] The transceiver module 204 is used to send the associated file or the archive information to the terminal device corresponding to the user object; if the permission application information fails to pass the permission review, a second prompt message is sent to the terminal device corresponding to the user object, and the second prompt message is used to indicate that the user object does not have download permission.

[0231] In an embodiment of the present application, a data management device is provided. Using the device, download permissions for associated files and archived information are managed, thereby improving the security of the agreement template and preventing unrelated personnel from obtaining the corresponding associated files and archived information in the agreement template, thereby preventing information leakage.

[0232] Optionally, in the above Figure 13 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application, the processing module 202 is used to set a permission period if the permission application information passes the permission review. The permission period is used to indicate that the user object does not need to undergo permission review again within the permission period.

[0233] In an embodiment of the present application, a data management device is provided. Using the device, corresponding time limit information is set for the permission review of download permissions, so that users can be exempted from permission review within a certain period, thereby improving the user experience and reducing the workload of permission review.

[0234] Optionally, in the above Figure 13 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application, the device includes a transceiver module 204 for receiving a creation request, the creation request carrying the protocol template identifier;

[0235] The processing module 202 is configured to, in response to the creation request, display a protocol information fill-in control for the second protocol template; obtain a second protocol template number and description information of the second protocol template in response to an operation on the protocol information fill-in control, wherein the second protocol template number is different from the first protocol template number; and determine a data body of the second protocol template based on the protocol template identifier, the second protocol template number, and the description information of the second protocol template;

[0236] The storage module 203 is configured to store the data body of the second protocol template to generate the second protocol template;

[0237] The processing module 202 is configured to determine a target file and target archive information from the associated file and the archive information stored in the first protocol template;

[0238] The storage module 203 is configured to store the target file and the target archive information in the second protocol template.

[0239] In an embodiment of the present application, a data management device is provided. Using the device, a protocol template can be newly created under the same protocol template identifier, while inheriting the files and archived information of the previous protocol template. This eliminates the need to re-upload files that need to be retained and re-update archived information, thereby efficiently updating relevant information of the protocol template.

[0240] Optionally, in the above Figure 13 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application,

[0241] The processing module 202 is used to obtain the maximum protocol template number corresponding to the protocol template identifier;

[0242] The maximum protocol template number is incremented by one to obtain the second protocol template number.

[0243] In an embodiment of the present application, a data management device is provided. Using the aforementioned device, a protocol template number acquisition scheme is provided. In this embodiment, existing protocol template numbers are statistically calculated to more accurately acquire the template number of a newly created protocol template, thereby avoiding version conflicts caused by user-entered errors.

[0244] Optionally, in the above Figure 13 On the basis of the corresponding embodiment, Figure 14 As shown, in another embodiment of the data management device 20 provided in the embodiment of the present application,

[0245] The device further includes a display module 205 for displaying a first interface, wherein the first interface is used to display the second protocol template and a first control, wherein the first control is used to indicate the need to view historical protocol templates;

[0246] Processing module 202 is configured to obtain, in response to an operation on the first control, a set of template numbers under the protocol template identifier of the second protocol template; and sort the set of template numbers according to a rule to obtain a version list;

[0247] The display module 205 is used to display the version list.

[0248] In an embodiment of the present application, a data management device is provided. Using the device, protocol templates with different template numbers under the same protocol template identifier are centrally managed. After different protocol template numbers are obtained based on the protocol template identifier, the protocol templates are arranged and displayed according to the protocol template numbers, making it easier for users to review older documents.

[0249] Optionally, in the above Figure 14 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application,

[0250] The display module 205 is configured to display the target protocol template in response to an operation on the target protocol template in the version list.

[0251] In an embodiment of the present application, a data management device is provided. Using the device, protocol templates with different template numbers under the same protocol template identifier are centrally managed. After different protocol template numbers are obtained based on the protocol template identifier, the protocol templates are arranged and displayed according to the protocol template numbers, making it easier for users to review older documents.

[0252] Optionally, in the above Figure 14 On the basis of the corresponding embodiment, in another embodiment of the data management device 20 provided in the embodiment of the present application,

[0253] The description information of the first protocol template includes the name of the protocol template, content description, protocol category, release date, and ranking value.

[0254] In an embodiment of the present application, a data management device is provided. Using the device, protocol templates are described and classified using a variety of description information, thereby facilitating user definition of different protocol templates and improving user experience.

[0255] The data management device provided in this application can be used for servers. Figure 15 , Figure 15 This is a schematic diagram of a server structure provided in an embodiment of the present application. The server 300 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 322 (for example, one or more processors) and memory 332, and one or more storage media 330 (for example, one or more mass storage devices) for storing application programs 342 or data 344. Among them, the memory 332 and the storage medium 330 can be short-term storage or persistent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 322 can be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the server 300.

[0256] The server 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input and output interfaces 358, and / or one or more operating systems 341, such as Windows Server 2003 or Windows Server 2003R. TM , Mac OS X TM , UnixTM ,Linux TM , FreeBSD TM etc.

[0257] The steps performed by the server in the above embodiment can be based on the Figure 15 The server structure shown.

[0258] The data management device provided in this application can be used in terminal equipment. Figure 16 For the sake of convenience, only the parts related to the embodiment of this application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of this application. In the embodiment of this application, the terminal device is a smartphone as an example for explanation:

[0259] Figure 16 The block diagram shows a partial structure of a smart phone related to the terminal device provided in the embodiment of the present application. Figure 16 The smartphone includes components such as a radio frequency (RF) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, a processor 480, and a power supply 490. Those skilled in the art will appreciate that Figure 16 The structure of the smartphone shown in the figure does not constitute a limitation on the smartphone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0260] The following combination Figure 16 A detailed introduction to the various components of a smartphone:

[0261] The RF circuit 410 can be used to receive and send signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is sent to the processor 480 for processing; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 410 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 410 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the global system of mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.

[0262] The memory 420 can be used to store software programs and modules. The processor 480 executes the various functional applications and data processing of the smartphone by running the software programs and modules stored in the memory 420. The memory 420 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data created based on the use of the smartphone (such as audio data, a phone book, etc.). In addition, the memory 420 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device.

[0263] The input unit 430 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the smartphone. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel 431) and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 431 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 480, and can receive commands sent by the processor 480 and execute them. In addition, the touch panel 431 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 431, the input unit 430 may further include other input devices 432. Specifically, the other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power keys, etc.), a trackball, a mouse, and a joystick.

[0264] The display unit 440 can be used to display information input by the user or information provided to the user and various menus of the smartphone. The display unit 440 may include a display panel 441. Optionally, the display panel 441 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 431 may cover the display panel 441. When the touch panel 431 detects a touch operation on or near it, it is transmitted to the processor 480 to determine the type of touch event. Subsequently, the processor 480 provides a corresponding visual output on the display panel 441 according to the type of touch event. Although in Figure 16 In the embodiment, the touch panel 431 and the display panel 441 are used as two independent components to realize the input and output functions of the smartphone, but in some embodiments, the touch panel 431 and the display panel 441 can be integrated to realize the input and output functions of the smartphone.

[0265] The smartphone may also include at least one sensor 450, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 441 and / or the backlight when the smartphone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the smartphone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the smartphone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be described here.

[0266] Audio circuit 460, speaker 461, and microphone 462 provide an audio interface between the user and the smartphone. Audio circuit 460 converts received audio data into electrical signals and transmits them to speaker 461, where they are converted into sound signals for output. Microphone 462, on the other hand, converts collected sound signals into electrical signals, which are then received by audio circuit 460 and converted into audio data. The audio data is then output to processor 480 for processing, then sent to, for example, another smartphone via RF circuit 410, or stored in memory 420 for further processing.

[0267] WiFi is a short-range wireless transmission technology. Smartphones can help users send and receive emails, browse the web, and access streaming media through the WiFi module 470. It provides users with wireless broadband Internet access. Figure 16 A WiFi module 470 is shown, but it is understandable that it is not an essential component of the smartphone and can be omitted as needed without changing the essence of the invention.

[0268] Processor 480 is the control center of the smartphone, connecting all components of the smartphone using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 420 and accessing data stored in memory 420, it executes various smartphone functions and processes data, thereby providing overall smartphone monitoring. Optionally, processor 480 may include one or more processing units; alternatively, processor 480 may integrate an application processor and a modem processor, with the application processor primarily handling the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 480.

[0269] The smartphone also includes a power supply 490 (such as a battery) for supplying power to various components. Optionally, the power supply can be logically connected to the processor 480 through a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.

[0270] Although not shown, the smartphone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0271] The steps performed by the terminal device in the above embodiment can be based on the Figure 16 The terminal device structure shown.

[0272] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0273] An embodiment of the present application also provides a computer program product including a program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.

[0274] Those skilled in the art will 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.

[0275] In the several embodiments provided in this 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 merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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.

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

[0277] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0278] 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 for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0279] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data management method, characterized in that: include: Obtaining first protocol information of a first protocol template, where the first protocol information includes a protocol template identifier, a first protocol template number, and description information of the first protocol template; Determining a data body of the first protocol template based on the protocol template identifier, the first protocol template number, and the description information of the first protocol template; The data body is stored to generate the first protocol template, where the first protocol template is used to store multiple associated files and archive information, where the associated files are used to indicate files uploaded to the first protocol template, and the archive information is used to indicate record information of corresponding operations performed on the associated files within the first protocol template.

2. The method according to claim 1, characterized in that The method further comprises: The authority management information of the associated file and the archived information is set, wherein the authority management information includes a review authority, an edit authority, and a download authority of the associated file and the archived information.

3. The method according to claim 2, characterized in that The method further comprises: receiving a query request, the query request carrying the protocol template identifier and the user identifier of the user object; If the user identifier indicates that the user object has access rights, querying the first protocol information, the associated file, and the archived information based on the protocol template identifier; Integrate the first protocol information, the associated file, and the archive information to generate protocol data; presenting the protocol data to the user object; If the user identifier indicates that the user object does not have the viewing authority, a first prompt message is sent to a terminal device corresponding to the user object, where the first prompt message is used to indicate that the user object does not have the viewing authority.

4. The method according to claim 3, characterized in that The querying the first protocol information, the associated file, and the archived information based on the protocol template identifier includes: Calling a first function based on the protocol template identifier to obtain the first protocol information; A second function is called based on the protocol template identifier to obtain the associated file and the archive information.

5. The method according to claim 2, characterized in that The method further comprises: receiving permission application information, where the permission application information is used to instruct the user object to apply for downloading the associated file or the archived information; If the permission application information passes the permission review, then obtain the associated file or archive information; Sending the associated file or the archived information to a terminal device corresponding to the user object; If the permission application information fails to pass the permission review, a second prompt message is sent to the terminal device corresponding to the user object, where the second prompt message is used to indicate that the user object does not have the download permission.

6. The method according to claim 5, characterized in that After obtaining the permission application information, the method further includes: If the permission application information passes the permission review, a permission period is set, and the permission period is used to indicate that the user object does not need to undergo permission review again within the permission period.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: receiving a creation request, the creation request carrying the protocol template identifier; In response to the creation request, filling in a control with protocol information of a second protocol template; In response to an operation on filling in the protocol information control, obtaining a second protocol template number and description information of the second protocol template, where the second protocol template number is different from the first protocol template number; Determining a data body of the second protocol template based on the protocol template identifier, the second protocol template number, and the description information of the second protocol template; storing the data body of the second protocol template to generate the second protocol template; Determining a target file and target archive information from the associated files and the archive information stored in the first protocol template; The target file and the target archive information are stored in the second agreement template.

8. The method according to claim 7, characterized in that Obtaining the second protocol template number of the second protocol template includes: Obtaining the maximum protocol template number corresponding to the protocol template identifier; The maximum protocol template number is incremented by one to obtain the second protocol template number.

9. The method according to claim 7, characterized in that: The method further comprises: Displaying a first interface, where the first interface is used to display the second agreement template and a first control, where the first control is used to indicate a query of a historical agreement template; In response to an operation on the first control, obtaining a template number set under the protocol template identifier of the second protocol template; Sorting the template number set according to a rule to obtain a version list; Displays a list of said versions.

10. The method according to claim 9, characterized in that After displaying the version list, the method further includes: In response to an operation on a target protocol template in the version list, the target protocol template is displayed.

11. The method according to any one of claims 1 to 6, 8 to 10, characterized in that The description information of the first protocol template includes the name of the protocol template, content description, protocol category, release date, and ranking value.

12. A data management device, characterized in that: include: An acquisition module, configured to acquire first protocol information of a first protocol template, where the first protocol information includes a protocol template identifier, a first protocol template number, and description information of the first protocol template; a processing module, configured to determine a data body of the first protocol template based on the protocol template identifier, the first protocol template number, and the description information of the first protocol template; A storage module is used to store the data body to generate the first protocol template, the first protocol template is used to store associated files and archive information, the associated files are used to indicate files uploaded to the first protocol template, and the archive information is used to indicate record information of corresponding operations performed on the associated files within the first protocol template.

13. A computer device, characterized in that: include: Memory, processor, and bus system; Wherein, the memory is used to store programs; The processor is configured to execute the program in the memory, and the processor is configured to execute the method according to any one of claims 1 to 11 according to instructions in the program code; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

14. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 11.

15. A computer program product comprising a computer program, characterized in that The computer program is used by a processor to execute the method according to any one of claims 1 to 11.