Document management method and device and server

Receive access requests from online applications and obtain target copy through access services, which solves the problem of inconsistent enterprise file management, and realizes efficient management of enterprise files and automatic acquisition of multilingual copy.

CN119760204APending Publication Date: 2025-04-04ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411886839.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

During the overseas market layout of enterprises, file management is inconsistent, resulting in the inability to efficiently classify data and it is difficult to effectively manage enterprise documents.

Method used

The access request sent by the online application is received through the access service, after verifying the verification information, the target copy is obtained based on the application identification and copy information, and sent it to the online application as a subscription copy.

Benefits of technology

This enables users to manually find copywriting in different languages ​​without manually searching for copywriting in different languages. Online applications can automatically obtain target copywriting in different languages, improving efficient management of corporate documents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119760204A_ABST
    Figure CN119760204A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to a document management method and device and a server. The method comprises the following steps: receiving an access request sent by an online application through an access service; wherein the access request comprises verification information, an application identifier and copywriting information of a subscribed subscribed copywriting, and the copywriting information comprises a copywriting identifier and at least one language type; when it is determined that the verification information passes verification, obtaining a target copywriting based on the application identifier and the copywriting information; and taking the target copywriting as a subscribed copywriting, and sending response information carrying the subscribed copywriting to the online application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a document management method, device and server. Background Art

[0002] At present, with the gradual development of enterprises, more and more enterprises are going abroad and starting to layout overseas markets. However, with the continuous deployment of overseas time, more and more files need to be managed within the enterprise, but in the actual management process, it is often impossible to efficiently classify data due to inconsistent storage formats and no mandatory fixed format.

[0003] Therefore, how to efficiently manage corporate documents has become an urgent problem to be solved. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a document management method, device and server for solving the problem of how to efficiently manage enterprise files.

[0005] In a first aspect, the present application provides a document management method, comprising: receiving an access request sent by an online application through an access service; wherein the access request includes verification information, an application identifier, and text information of a subscribed subscription text, and the text information includes a text identifier and at least one language type; when it is determined that the verification information passes the verification, obtaining a target text based on the application identifier and the text information; using the target text as a subscription text, and sending a response message carrying the subscription text to the online application.

[0006] In some feasible examples, when it is determined that the verification information passes the verification, the target copy is obtained based on the application identifier and the copy information, including: when it is determined that the verification information passes the verification, based on the application identifier and the copy identifier, determining the multilingual copy resource package corresponding to the application identifier and the copy identifier; pulling at least one theoretical copy contained in the multilingual copy resource package to the local memory; based on the application identifier and the copy information, determining the historical version information of the last access to the theoretical copy; wherein, the version information of different languages ​​corresponding to the same copy identifier is different; for the preset copy of each language type in the same copy identifier, the following operations are performed: when the current version information of the subscribed copy is different from the historical version information, the theoretical copy corresponding to the historical version information in the local memory is replaced with the preset copy corresponding to the current version information; and the replaced theoretical copy and the unreplaced theoretical copy are used as the target copy.

[0007] In some feasible examples, before receiving an access request sent by an online application through an access service, the document management method provided by the present disclosure also includes: obtaining basic information in response to a deployment operation of a new online application; wherein the basic information includes at least a deployment location; generating an application identifier and an application key based on the basic information; and storing the application identifier and the application key in a database to complete the deployment of the new online application.

[0008] In some feasible examples, before receiving an access request sent by an online application through an access service, the document management method provided by the present disclosure also includes: in response to an import operation of a preset copy, when there is no theoretical copy identical to the preset copy in the database, creating an application copy resource package; obtaining at least one language type into which the preset copy needs to be translated; translating the preset copy according to the language type to obtain a translated text; in response to an adjustment operation on the translated text, obtaining an adjusted text; and generating a multilingual copy resource package based on the adjusted text and the application copy resource package.

[0009] In some feasible examples, the document management method provided by the present disclosure further includes: synchronizing the multi-language document resource package to a disaster recovery server.

[0010] In a second aspect, the present application provides a document management device, comprising: a receiving module, used to receive an access request sent by an online application through an access service; wherein the access request includes verification information, an application identifier, and text information of a subscribed subscription text, and the text information includes a text identifier and at least one language type; a processing module, used to obtain a target text based on the application identifier and the text information when it is determined that the verification information received by the receiving module has passed the verification; the processing module is also used to use the target text as a subscription text, and send a response message carrying the subscription text to the online application.

[0011] In some implementable examples, the processing module is specifically used to determine the multilingual copy resource package corresponding to the application identifier and the copy identifier based on the application identifier and the copy identifier when determining that the verification information received by the receiving module has passed the verification; the processing module is specifically used to pull at least one theoretical copy included in the multilingual copy resource package to the local memory; the processing module is specifically used to determine the historical version information of the last access to the theoretical copy based on the application identifier and the copy information; wherein, the version information of different languages ​​corresponding to the same copy identifier is different; the processing module is specifically used to perform the following operations on the preset copy of each language type in the same copy identifier: when the current version information of the subscribed copy is different from the historical version information, the theoretical copy corresponding to the historical version information in the local memory is replaced with the preset copy corresponding to the current version information; the processing module is specifically used to use the replaced theoretical copy and the unreplaced theoretical copy as the target copy.

[0012] In some implementable examples, the processing module is also used to obtain basic information in response to the deployment operation of a new online application; wherein the basic information includes at least the deployment location; the processing module is also used to generate an application identifier and an application key based on the basic information; the processing module is also used to store the application identifier and the application key in a database to complete the deployment of the new online application.

[0013] In some implementable examples, the document management device also includes an acquisition module; a processing module, which is also used to create an application copy resource package in response to an import operation of a preset copy and when there is no theoretical copy identical to the preset copy in the database; the acquisition module is used to acquire at least one language type into which the preset copy needs to be translated; the processing module is also used to translate the preset copy according to the language type acquired by the acquisition module to obtain a translated text; the processing module is also used to obtain an adjusted text in response to an adjustment operation on the translated text; the processing module is also used to generate a multilingual copy resource package based on the adjusted text and the application copy resource package.

[0014] In some feasible examples, the processing module is also used to synchronize the multi-language text resource package to the disaster recovery server.

[0015] In a third aspect, the present application provides an electronic device, comprising: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to enable the electronic device to implement the above method when executing the computer program.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above method.

[0017] Compared with the prior art, the technical solution provided by the present invention has the following advantages:

[0018] From the above, it can be seen that the document management method provided by the present disclosure receives the access request sent by the online application through the access service; when it is determined that the verification information has passed the verification, the target copy is obtained based on the application identifier and the copy information. Therefore, the user does not need to find the copy in the required language separately, but subscribes to the required subscription copy in the online application, so that the online application can automatically obtain the target copy in different languages. The target copy is used as the subscription copy, and a response message carrying the subscription copy is sent to the online application. In this way, the user can obtain subscription copies in multiple languages ​​through the online application, which improves the efficient management of the company's files and solves the problem of how to efficiently manage the company's files. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0021] Figure 1 One of the flowcharts of a document management method provided in the first embodiment is exemplarily shown in FIG.

[0022] Figure 2 A schematic diagram of a server system for applying a document management method provided in the first embodiment is shown in FIG.

[0023] Figure 3 FIG. 2 exemplarily shows a second flow chart of a document management method provided in the first embodiment;

[0024] Figure 4 FIG3 is a flowchart of a document management method provided by the first embodiment of the present invention;

[0025] Figure 5 FIG4 is a flowchart of a document management method provided in the first embodiment;

[0026] Figure 6 FIG. 5 exemplarily shows a flowchart of a document management method provided in the first embodiment;

[0027] Figure 7 The structural diagram of the document management device provided in the second embodiment is exemplarily shown in FIG.

[0028] Figure 8 A structural schematic diagram of an electronic device provided in the second embodiment is exemplarily shown in FIG. DETAILED DESCRIPTION

[0029] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0031] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0032] Elasticsearch in the embodiments of the present disclosure is an open source, highly scalable distributed search engine based on Apache Lucene.

[0033] Embodiment 1

[0034] Figure 1 A flowchart of a document management method is shown in FIG. 1 . The execution subject of this example may be a server system, such as Figure 1 As shown, the method includes:

[0035] S11. Receive an access request sent by an online application through an access service; wherein the access request includes verification information, an application identifier, and text information of a subscribed text, and the text information includes a text identifier and at least one language type.

[0036] In some examples, the online application periodically (e.g., every 10 seconds) sends access requests to the server system to pull the latest version of the subscription copy remotely to ensure the user experience.

[0037] In some examples, the document management method provided by the embodiments of the present disclosure is applied to Figure 2 The server system 1 shown and at least one electronic device 2 with an online application installed, the server system 1 includes: a cache system 1-1, a synchronization system 1-2, a multilingual background 1-3, a search engine 1-4 and a database 1-5; the server system 1 can provide access services.

[0038] In some examples, when an electronic device newly installed with an online application needs to access the server system, the user can perform a deployment operation on the electronic device newly installed with the online application. At this time, the server system responds to the deployment operation of the new online application and obtains basic information; wherein the basic information at least includes the deployment location; the server system generates an application identifier and an application key based on the basic information; the server system stores the application identifier (Identification, ID) and the application key (ClientSecret) in the database to complete the deployment of the new online application. At the same time, the server system sends the application identifier and the application key to the electronic device newly installed with the online application. In this way, the electronic device newly installed with the online application is connected to the server system. Afterwards, when the electronic device installed with the online application accesses the server system, it encapsulates the application identifier and the application key in the access request.

[0039] In some examples, when an online application subscribes to a subscription document in a server system, each time the online application goes online, the online application obtains the subscription document from the server system. For example, the online application sends an access request to the server system through the access service provided by the server system. At this time, the server system receives the access request sent by the online application.

[0040] In some examples, the server system 1 may be a server system managed based on the World Wide Web (Web).

[0041] In some examples, after the online application connected to the server system 1 is successfully connected and initialized, the online application will automatically capture the custom system exceptions in the application, and convert the text corresponding to the exception code value into the localized language, or the program coder can dynamically or statically convert the text through the components automatically injected by the online application.

[0042] S12: When it is determined that the verification information passes the verification, the target text is obtained based on the application identifier and the text information.

[0043] In some examples, each online application that can access the server system is pre-deployed on the server system. The deployment process includes: the server system obtains basic information in response to the deployment operation of the new online application; the basic information includes at least the deployment location; the server system generates an application identifier and an application key based on the basic information; the server system stores the application identifier and the application key in the database to complete the deployment of the new online application. The deployment location refers to the actual location of the electronic device where the online application is installed (such as including longitude information and latitude information). Afterwards, when the server system receives an access request sent by the online application, it parses the access request to obtain the verification information carried in the access request. Afterwards, when the server system determines that there is an application identifier and application key identical to the verification information in database 1-5, it determines that the verification information has passed the verification.

[0044] In some examples, the database 1 - 5 of the server system 1 pre-stores the storage relationship between the application identifier, the copy information and the target copy.

[0045] Exemplarily, the storage relationship is shown in Table 1.

[0046] Table 1

[0047]

[0048] In this way, when the application identifier is application identifier 1, the text identifier in the text information is text identifier 1, and the language type is Chinese, by querying Table 1, it can be seen that the target text corresponding to application identifier 1 and text information (text identifier 1, Chinese) is target text 1.

[0049] S13: Use the target copy as the subscription copy, and send a response message carrying the subscription copy to the online application.

[0050] From the above, it can be seen that the document management method provided by the embodiment of the present disclosure receives the access request sent by the online application through the access service; when it is determined that the verification information has passed the verification, the target copy is obtained based on the application identifier and the copy information. Therefore, the user does not need to find the copy in the required language separately, but subscribes to the required subscription copy in the online application, so that the online application can automatically obtain the target copy in different languages. The target copy is used as the subscription copy, and a response message carrying the subscription copy is sent to the online application. In this way, the user can obtain subscription copies in multiple languages ​​through the online application, thereby improving the efficient management of the company's files.

[0051] In some possible implementation examples, combined with Figure 1 ,like Figure 3 As shown, the above S12 can be specifically implemented through the following S120-S124.

[0052] S120: When it is determined that the verification information passes the verification, based on the application identifier and the text identifier, determine a multilingual text resource package corresponding to the application identifier and the text identifier.

[0053] S121. Pull at least one theoretical copy included in the multilingual copy resource package into local memory.

[0054] S122: Based on the application identifier and the text information, determine the historical version information of the theoretical text that was accessed last time, wherein the version information of different languages ​​corresponding to the same text identifier is different.

[0055] S123. For each preset text in the same text identifier, the following operation is performed: when the current version information of the subscribed text is different from the historical version information, the theoretical text corresponding to the historical version information in the local memory is replaced with the preset text corresponding to the current version information.

[0056] S124. The replaced theoretical copy and the unreplaced theoretical copy are used as target copies.

[0057] From the above, it can be seen that in the document management method provided by the embodiment of the present disclosure, the server system 1 pushes the newly added and / or changed theoretical copy to the online application that has subscribed to the theoretical copy according to the application identifier and the copy identifier, so that after the online application goes online, when pulling the subscription copy, it can obtain the latest version of the subscription copy, thereby ensuring the user experience.

[0058] In some possible implementation examples, combined with Figure 1 ,like Figure 4 As shown, the document management method provided by the embodiment of the present disclosure further includes: S14-S16.

[0059] S14. In response to the deployment operation of the new online application, basic information is obtained; wherein the basic information at least includes a deployment location;

[0060] S15. Generate an application identifier and an application key based on the basic information.

[0061] In some examples, the basic information also includes a device identification of the electronic device on which the online application is installed, user information of the electronic device on which the online application is installed, and the like.

[0062] In some examples, the server system 1 may generate an application identifier based on one or more of the deployment location, the device identifier, and the user information; the server system 1 may generate an application key based on one or more of the deployment location, the device identifier, and the user information;

[0063] Alternatively, one or more of the deployment location, device identification, and user information are input into the generation model for processing to obtain the application identification and application key. The training process of the generation model is as follows:

[0064] Obtain training sample data and marking results of the training sample data; wherein the training sample data includes historical input information, the input information includes one or more of a deployment location, a device identifier, and user information, and the marking results include a training key corresponding to the input information.

[0065] The training sample data is input into the neural network model for learning, and the prediction results of the neural network model for the training sample data are obtained.

[0066] Based on the prediction results and labeling results, the network parameters of the neural network model are adjusted until the neural network model converges to obtain a generated model.

[0067] In some examples, generating an application identifier based on one or more of a deployment location, a device identifier, and user information includes:

[0068] Generate application identification based on the deployment location, including:

[0069] A first ratio is obtained based on a ratio of actual longitude information of the deployment location to longitude information of the theoretical location.

[0070] Based on the ratio of the actual latitude information of the deployment position to the latitude information of the theoretical position, a second ratio is obtained.

[0071] An application identifier is generated based on the sum of the first ratio and the second ratio.

[0072] Generate application identification based on device identification, including:

[0073] Based on the ratio of the device identification to the theoretical device identification, a third ratio is obtained, and the third ratio is used as the application identification.

[0074] Generate application identification based on user information, including:

[0075] Based on the sum of the ID card number and the mobile phone number in the user information, a fourth ratio is obtained, and the fourth ratio is used as the application identifier.

[0076] Generate an application ID based on the deployment location and device ID, including:

[0077] determining a fourth ratio based on a ratio of the first ratio and the third ratio;

[0078] determining a fifth ratio based on a ratio of the second ratio and the third ratio;

[0079] When the fourth ratio is greater than the fifth ratio, using the fourth ratio as the application identifier;

[0080] When the fourth ratio is less than or equal to the fifth ratio, the fifth ratio is used as the application identifier.

[0081] Generate an application identifier based on the deployment location and user information, including:

[0082] An application identifier is generated based on the sum of the first ratio, the second ratio, and the fourth ratio.

[0083] Generate an application identifier based on the deployment location, device identifier, and user information, including:

[0084] determining a sixth ratio based on a ratio of the fourth ratio and the third ratio;

[0085] Based on the sum of the first ratio and the second ratio, a seventh ratio is obtained;

[0086] Based on the ratio of the sixth ratio and the seventh ratio, an eighth ratio is determined, and the eighth ratio is used as an application identifier.

[0087] S16. Store the application identifier and the application key in the database to complete the deployment of the new online application.

[0088] As can be seen from the above, the document management method provided by the embodiment of the present disclosure obtains basic information in response to the deployment operation of a new online application; wherein the basic information includes at least the deployment location; based on the basic information, an application identifier and an application key are generated; the application identifier and the application key are stored in a database to complete the deployment of the new online application, thereby ensuring the access security of the online application. Afterwards, the access request sent by the online application is received through the access service; when it is determined that the verification information passes the verification, the target copy is obtained based on the application identifier and the copy information. Thus, the user does not need to find the copy of the required language type separately, but by subscribing to the required subscription copy in the online application, the online application can automatically obtain the target copy of different languages. The target copy is used as the subscription copy, and a response message carrying the subscription copy is sent to the online application. In this way, the user can obtain subscription copies of multiple languages ​​through the online application, thereby improving the efficient management of the company's files.

[0089] In some possible implementation examples, combined with Figure 1 ,like Figure 5 As shown, the document management method provided by the embodiment of the present disclosure also includes: S17-S21.

[0090] S17, in response to the import operation of the preset copy, when there is no theoretical copy identical to the preset copy in the database, creating an application copy resource package;

[0091] S18, obtaining at least one language type into which the preset text needs to be translated;

[0092] In some examples, at least one language type that the preset copy needs to be translated into can be pre-configured by the user, or based on the copy category of the preset copy, all language types corresponding to the historical copy category are used as the language types of the preset copy, or when it is determined that the language type corresponding to the preset copy is different from the language type corresponding to the deployment location, the language type for translation is determined to be the language type corresponding to the deployment location.

[0093] S19. Translate the preset text according to the language to obtain a translated text.

[0094] S20: In response to the adjustment operation on the translated text, an adjusted text is obtained.

[0095] In some examples, the adjustment operation includes one or more of a modification operation, an addition operation, and a deletion operation.

[0096] S21. Generate a multilingual copy resource package based on the adjusted text and the applied copy resource package.

[0097] In some examples, in response to an import operation of a preset copy, when there is a theoretical copy identical to the preset copy in a database, at least one language type that the preset copy needs to be translated into is obtained; the language type of the theoretical copy identical to the preset copy stored in the database is obtained; the language type of the theoretical copy identical to the preset copy in at least one language type that the preset copy needs to be translated into is deleted to obtain the filtered language type. The preset copy is translated according to the filtered language type to obtain a translated text. In response to an adjustment operation on the translated text, an adjusted text is obtained. The adjusted text is added to the multilingual copy resource package corresponding to the preset copy.

[0098] As can be seen from the above, the document management method provided by the embodiment of the present disclosure, in response to the import operation of the preset copy, and when there is no theoretical copy identical to the preset copy in the database, creates an application copy resource package; obtains at least one language type that the preset copy needs to be translated; translates the preset copy according to the language type to obtain a translated text. In response to the adjustment operation of the translated text, an adjusted text is obtained. Based on the adjusted text and the application copy resource package, a multilingual copy resource package is generated. Thus, the online application can access the multilingual copy resource package. Furthermore, the user does not need to find the copy in the required language type separately, but subscribes to the required subscription copy in the online application, so that the online application can automatically obtain the target copy in different languages. The target copy is used as the subscription copy, and a response message carrying the subscription copy is sent to the online application. In this way, the user can obtain subscription copies in multiple languages ​​through the online application, thereby improving the efficient management of the company's files.

[0099] In some possible implementation examples, combined with Figure 1 ,like Figure 6 As shown, the document management method provided by the embodiment of the present disclosure further includes: S22.

[0100] S22. Synchronize the multi-language text resource package to the disaster recovery server.

[0101] In some examples, when the server system 1 has a new or modified multilingual text resource package, the server system 1 will store the new or modified multilingual text resource package in the database 1-5, and synchronize it to the disaster recovery server (such as Elasticsearch) through DTS (Data Transmission Service).

[0102] In some examples, the server system 1 synchronizes the newly added or modified multi-language text resource package to the disaster recovery server periodically (eg, every hour).

[0103] From the above, we can see that by synchronizing the multi-language copy resource package to the disaster recovery server, when a database failure occurs, online applications can continue to access the disaster recovery server to view and access subscription documents, thus ensuring the user experience.

[0104] Embodiment 2

[0105] Figure 7 The structure diagram of the document management device provided in the second embodiment of the present application is exemplarily shown in FIG. Figure 7 As shown, the document management device includes: a receiving module 80, a processing module 81 and an acquisition module 82.

[0106] The receiving module 80 is used to receive an access request sent by an online application through an access service; wherein the access request includes verification information, an application identifier, and text information of a subscribed subscription text, and the text information includes a text identifier and at least one language type; the processing module 81 is used to obtain a target text based on the application identifier and the text information when it is determined that the verification information received by the receiving module 80 has passed the verification; the processing module 81 is also used to use the target text as a subscription text, and send a response message carrying the subscription text to the online application.

[0107] In some implementable examples, the processing module 81 is specifically used to determine the multilingual copy resource package corresponding to the application identifier and the copy identifier based on the application identifier and the copy identifier when determining that the verification information received by the receiving module 80 has passed the verification; the processing module 81 is specifically used to pull at least one theoretical copy contained in the multilingual copy resource package to the local memory; the processing module 81 is specifically used to determine the historical version information of the last access to the theoretical copy based on the application identifier and the copy information; wherein, the version information of different language types corresponding to the same copy identifier is different; the processing module 81 is specifically used to perform the following operations for the preset copy of each language type in the same copy identifier: when the current version information of the subscribed copy is different from the historical version information, the theoretical copy corresponding to the historical version information in the local memory is replaced with the preset copy corresponding to the current version information; the processing module 81 is specifically used to use the replaced theoretical copy and the unreplaced theoretical copy as the target copy.

[0108] In some implementable examples, the processing module 81 is also used to obtain basic information in response to the deployment operation of a new online application; wherein the basic information includes at least the deployment location; the processing module 81 is also used to generate an application identifier and an application key based on the basic information; the processing module 81 is also used to store the application identifier and the application key in a database to complete the deployment of the new online application.

[0109] In some implementable examples, the document management device also includes an acquisition module 82; the processing module 81 is also used to create an application copy resource package in response to an import operation of a preset copy and when there is no theoretical copy identical to the preset copy in the database; the acquisition module 82 is used to obtain at least one language type into which the preset copy needs to be translated; the processing module 81 is also used to translate the preset copy according to the language type obtained by the acquisition module 82 to obtain a translated text; the processing module 81 is also used to obtain an adjusted text in response to an adjustment operation on the translated text; the processing module 81 is also used to generate a multilingual copy resource package based on the adjusted text and the application copy resource package.

[0110] In some feasible examples, the processing module 81 is further used to synchronize the multi-language text resource package to the disaster recovery server.

[0111] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and its role will not be repeated here.

[0112] Of course, the electronic device provided by the embodiment of the present invention includes but is not limited to the above modules, for example, the electronic device may also include a storage module 83. The storage module 83 may be used to store the program code of the electronic device, and may also be used to store data generated during the operation of the electronic device, such as diagnostic data.

[0113] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Figure 8 As shown, the electronic device may include: at least one processor 51 , a memory 52 , a communication interface 53 and a communication bus 54 .

[0114] Combine the following Figure 8 A detailed introduction to the various components of electronic equipment:

[0115] The processor 51 is the control center of the electronic device, and may be a processor or a general term for multiple processing elements. For example, the processor 51 is a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more DSPs, or one or more field programmable gate arrays (FPGAs).

[0116] In a specific implementation, as an embodiment, the processor 51 may include one or more CPUs, such as Figure 8 Also, as an embodiment, the electronic device may include multiple processors, such as Figure 8 51 and 55 are shown in FIG. Each of these processors may be a single-core processor (Single-CPU) or a multi-core processor (Multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0117] The memory 52 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 52 may exist independently and be connected to the processor 51 via a communication bus 54. The memory 52 may also be integrated with the processor 51.

[0118] In a specific implementation, the memory 52 is used to store the data of the present invention and execute the software program of the present invention. The processor 51 can execute various functions of the air conditioner by running or executing the software program stored in the memory 52 and calling the data stored in the memory 52.

[0119] The communication interface 53 uses any transceiver-like device to communicate with other devices or communication networks, such as Radio Access Network (RAN), Wireless Local Area Networks (WLAN), terminals, the cloud, etc. The communication interface 53 may include an acquisition module and a receiving module to implement the acquisition function and the receiving function.

[0120] The communication bus 54 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0121] As an example, combining Figure 7The functions implemented by the receiving module 80 and the obtaining module 82 of the document management device are similar to those Figure 8 The function of the communication interface 53 in the document management device is the same as that of the processing module 81 in the document management device. Figure 8 The functions of the processor 51 in the document management device are the same as those of the storage module 83 in the document management device. Figure 8 The function of the memory 52 in is the same.

[0122] An embodiment of the present application also provides an electronic device, which may include the electronic device in any embodiment.

[0123] An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method in any embodiment.

[0124] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A document management method, characterized in that: include: Receiving an access request sent by an online application through an access service; wherein the access request includes verification information, an application identifier, and text information of a subscribed text, wherein the text information includes a text identifier and at least one language type; When it is determined that the verification information passes the verification, obtaining the target copy based on the application identifier and the copy information; The target document is used as the subscription document, and a response message carrying the subscription document is sent to the online application.

2. The document management method according to claim 1, characterized in that: When it is determined that the verification information passes the verification, obtaining the target text based on the application identifier and the text information includes: When it is determined that the verification information passes the verification, based on the application identifier and the text identifier, determining a multilingual text resource package corresponding to the application identifier and the text identifier; Pulling at least one theoretical copy included in the multilingual copy resource package into local memory; Based on the application identifier and the text information, determine the historical version information of the last access to the theoretical text; wherein the version information of different languages ​​corresponding to the same text identifier is different; For each preset copy of the language type in the same copy identifier, the following operations are performed: when the current version information of the subscribed copy is different from the historical version information, the theoretical copy corresponding to the historical version information in the local memory is replaced with the preset copy corresponding to the current version information; The replaced theoretical text and the unreplaced theoretical text are used as the target text.

3. The document management method according to claim 1, characterized in that: Before receiving the access request sent by the online application through the access service, the method further includes: In response to a deployment operation of a new online application, basic information is acquired; wherein the basic information at least includes a deployment location; Based on the basic information, generate an application identifier and an application key; The application identifier and the application key are stored in a database to complete the deployment of the new online application.

4. The document management method according to claim 1, characterized in that: Before receiving the access request sent by the online application through the access service, the method further includes: In response to an import operation of a preset document, when there is no theoretical document identical to the preset document in the database, creating an application document resource package; Obtaining at least one language type into which the preset text needs to be translated; Translate the preset text according to the language to obtain a translated text; In response to an adjustment operation on the translation text, an adjusted text is obtained; A multilingual copy resource package is generated based on the adjusted text and the application copy resource package.

5. The document management method according to claim 4, characterized in that: The method further comprises: The multilingual text resource package is synchronized to the disaster recovery server.

6. A document management device, characterized in that: include: A receiving module, configured to receive an access request sent by an online application through an access service; wherein the access request includes verification information, an application identifier, and text information of a subscribed text, wherein the text information includes a text identifier and at least one language type; A processing module, configured to obtain a target copy based on the application identifier and the copy information when it is determined that the verification information received by the receiving module passes the verification; The processing module is further configured to use the target document as the subscription document and send a response message carrying the subscription document to the online application.

7. The document management device according to claim 6, characterized in that: The processing module is specifically configured to determine, based on the application identifier and the text identifier, a multilingual text resource package corresponding to the application identifier and the text identifier when determining that the verification information received by the receiving module passes the verification; The processing module is specifically used to pull at least one theoretical copy included in the multilingual copy resource package into the local memory; The processing module is specifically used to determine the historical version information of the last access to the theoretical copy based on the application identifier and the copy information; wherein the version information of different languages ​​corresponding to the same copy identifier is different; The processing module is specifically used to perform the following operations for the preset copy of each language type in the same copy identifier: when the current version information of the subscribed copy is different from the historical version information, replace the theoretical copy corresponding to the historical version information in the local memory with the preset copy corresponding to the current version information; The processing module is specifically used to use the replaced theoretical copy and the unreplaced theoretical copy as the target copy.

8. The document management device according to claim 6, characterized in that: The processing module is further used to obtain basic information in response to the deployment operation of the new online application; wherein the basic information at least includes the deployment location; The processing module is further used to generate an application identifier and an application key based on the basic information; The processing module is further used to store the application identifier and the application key in a database to complete the deployment of the new online application.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to enable the electronic device to implement the method described in any one of claims 1 to 5 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.

Citation Information

Patent Citations

  • A copywriting generation method and device

    CN109840273A

  • Copywriting processing method and copywriting management center

    CN111914573A

  • Page copywriting processing method and device, page copywriting management method and device, terminal equipment, computer equipment and server

    CN112528193A

  • Method and device for acquiring verification code short message, electronic equipment and storage medium

    CN113423076A

  • Multi-language rendering method and device for H5 page

    CN114253535A