Page copy processing method, page copy management method, device, terminal equipment, computer equipment and server
By generating a request carrying copy key demand information, obtaining and binding the copy key of the target page, the problem of inaccurate copy key acquisition in the existing technology is solved, and the efficiency of page copy management is improved.
Patent Information
- Application Number
- CN201910797574.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-27
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2039-08-27
AI Technical Summary
The existing technology cannot accurately and comprehensively obtain the copy key of page copywriting, resulting in inefficient page copywriting management.
Generate a copy-retrieval request for pages carrying copy-reference key requirements, obtain the copy-reference key and copy-reference value corresponding to the target page from the multi-language management system, and bind the copy-reference key in the target page to facilitate the direct access to the copy-reference key from the page.
It realizes the copy keys that quickly, comprehensively and accurately obtain page copywriting, and improves the efficiency of page copywriting management.
Smart Images

Figure CN112528193B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of network technology, and in particular, to a method for processing page copywriting, a method for managing page copywriting, a device, a terminal device, a computer device, and a server. Background Art
[0002] Page copywriting, also known as copywriting, refers to the form of information presentation using language and text. Page copywriting provides page content for web pages or application pages using language and text. Currently, with the rapid development of globalization and internationalization, in order to meet the international multi-language needs, multi-language copywriting has emerged. Multi-language copywriting can provide different language versions of copywriting for different language user groups. Users can select different language versions on the page, such as page copywriting in different language versions like Simplified Chinese, Traditional Chinese, English, Russian, French, etc.
[0003] In a multi-language management system, multi-language copywriting is managed in the form of copywriting key-value pairs. Among them, the copywriting key is the keyword for maintaining the same copywriting, and the copywriting value is the value of the copywriting key in different languages. For example, the copywriting key of a copywriting in the login page of a client in the multi-language management system is "key _ hello". In the Chinese environment, the displayed copywriting value is "你好", and in the English environment, the displayed copywriting value is "hello". In practical applications, the page copywriting displayed on the client page is the copywriting value. Therefore, when obtaining the page copywriting from the multi-language management system, the multi-language management system only returns the copywriting value for the client to display.
[0004] Generally, in order to facilitate the management of the page copywriting displayed on the client, for example, when there are problems such as incorrect translation or missing translation of the page copywriting, it is necessary to obtain the copywriting key of the page copywriting displayed on the client in order to revise the copywriting value found in the multi-language management system based on the copywriting key and achieve the management of the page copywriting. However, in the prior art, the copywriting key cannot be directly obtained based on the page copywriting displayed on the client. Therefore, it is necessary to reverse the copywriting key obtained from the copywriting value obtained from the displayed page, so as to achieve the management of the page copywriting based on the copywriting key and the copywriting value. When actually reversing the copywriting key, it is necessary to traverse each multi-language copywriting key-value in the multi-language management system. However, in the multi-language management system, the same copywriting value may correspond to multiple copywriting keys. And if the page copywriting is formed by splicing multiple copywriting values, the copywriting key may not be reversely obtained. Therefore, this method cannot accurately and comprehensively obtain the copywriting key of the page copywriting, resulting in low efficiency of page copywriting management. Summary of the Invention
[0005] The embodiments of the present application provide a page copy processing method, a page copy management method, an apparatus, a terminal device, a computer device and a server, which can quickly, accurately and comprehensively obtain the copy key and copy value corresponding to the page copy, greatly improving the management efficiency of the page copy.
[0006] In a first aspect, an embodiment of the present application provides a method for processing page copy, comprising:
[0007] For the target page, generate a page copy acquisition request carrying the copy key requirement information;
[0008] Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system;
[0009] The target page is processed based on the text key and the text value, so that the target page carries the text key, so as to obtain the text key from the target page.
[0010] In a second aspect, an embodiment of the present application provides a page copy processing method, including:
[0011] Generate a page copy acquisition request that carries the copy key requirement information;
[0012] Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system;
[0013] Generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page to obtain the copy key from the target page.
[0014] In a third aspect, an embodiment of the present application provides a page copy processing method, including:
[0015] Obtaining a target page carrying a copy key; wherein the target page carrying a copy key is obtained by processing a page view of the target page based on the copy key and the copy value; the copy key and the copy value are obtained from a multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request generated for the target page and carrying copy key requirement information;
[0016] Traverse the page views in the target page and obtain the copy key of the target page.
[0017] In a fourth aspect, an embodiment of the present application provides a page copy processing method, including:
[0018] Receive a page copy acquisition request from the user end for the target page, carrying the copy key requirement information;
[0019] Obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request;
[0020] The content key and the content value are sent to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0021] In a fifth aspect, an embodiment of the present application provides a page copy management method, including:
[0022] Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request sent by the user end for the target page and carrying the copy key requirement information;
[0023] The content key and the content value are returned to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key and obtains the content key from the target page.
[0024] In a sixth aspect, an embodiment of the present application provides a page copy management method, including:
[0025] Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request carrying copy key requirement information sent by the application development end;
[0026] Return the copy key and the copy value to the application development end so that the application development end can generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page to obtain the copy key from the target page.
[0027] In a seventh aspect, an embodiment of the present application provides a page copy processing device, comprising:
[0028] The first acquisition request generation module is used to generate a page copy acquisition request carrying copy key requirement information for the target page;
[0029] A first acquisition module is configured to acquire the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request;
[0030] The first processing module is configured to process the target page based on the text key and the text value, so that the target page carries the text key, so as to obtain the text key from the target page.
[0031] In an eighth aspect, an embodiment of the present application provides a page copy processing device, comprising:
[0032] The second acquisition request generation module is used to generate a page copy acquisition request carrying copy key requirement information;
[0033] A second acquisition module is configured to acquire the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request;
[0034] A file generation module is used to generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page to obtain the copy key from the target page.
[0035] In a ninth aspect, an embodiment of the present application provides a page copy processing device, comprising:
[0036] A target page acquisition module is configured to acquire a target page carrying a copy key; wherein the target page carrying the copy key is obtained by processing a page view of the target page based on the copy key and the copy value; the copy key and the copy value are acquired from the multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request generated for the target page and carrying copy key requirement information;
[0037] The copy key acquisition module is used to traverse the page views in the target page and obtain the copy key of the target page.
[0038] In a tenth aspect, an embodiment of the present application provides a page copy processing device, comprising:
[0039] The first receiving module is used to receive a page copy acquisition request sent by a user terminal for a target page, carrying copy key requirement information;
[0040] A third acquisition module is used to obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request;
[0041] The first sending module is used to send the copy key and the copy value to the user terminal, so that the user terminal processes the target page based on the copy key and the copy value, so that the target page carries the copy key, so as to obtain the copy key from the target page.
[0042] In an eleventh aspect, an embodiment of the present application provides a page copy management device, comprising:
[0043] A first determining module is configured to determine a copy key and a copy value corresponding to a target page based on a page copy acquisition request sent by a user terminal and carrying copy key requirement information for the target page;
[0044] The first return module is used to return the copy key and the copy value to the user terminal, so that the user terminal processes the target page based on the copy key and the copy value, so that the target page carries the copy key and obtains the copy key from the target page.
[0045] In a twelfth aspect, an embodiment of the present application provides a page copy management device, comprising:
[0046] The second determination module is used to determine the copy key and copy value corresponding to the target page based on the page copy acquisition request carrying copy key requirement information sent by the application development end for the target page;
[0047] The second return module is used to return the copy key and the copy value to the application development end, so that the application development end can generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page, so as to obtain the copy key from the target page.
[0048] In a thirteenth aspect, an embodiment of the present application provides a terminal device, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0049] The processing component is used to:
[0050] For the target page, generate a page copy acquisition request carrying the copy key requirement information;
[0051] Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system;
[0052] The target page is processed based on the text key and the text value, so that the target page carries the text key, so as to obtain the text key from the target page.
[0053] In a fourteenth aspect, an embodiment of the present application provides a computer device, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0054] The processing component is used to:
[0055] Generate a page copy acquisition request that carries the copy key requirement information;
[0056] Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system;
[0057] Generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page to obtain the copy key from the target page.
[0058] In a fifteenth aspect, an embodiment of the present application provides a terminal device, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0059] The processing component is used to:
[0060] Obtaining a target page carrying a copy key; wherein the target page carrying a copy key is obtained by processing a page view of the target page based on the copy key and the copy value; the copy key and the copy value are obtained from a multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request generated for the target page and carrying copy key requirement information;
[0061] Traverse the page views in the target page and obtain the copy key of the target page.
[0062] In a sixteenth aspect, an embodiment of the present application provides a server, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0063] The processing component is used to:
[0064] Receive a page copy acquisition request from the user end for the target page, carrying the copy key requirement information;
[0065] Obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request;
[0066] The content key and the content value are sent to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0067] In a seventeenth aspect, an embodiment of the present application provides a server, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0068] The processing component is used to:
[0069] Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request sent by the user end for the target page and carrying the copy key requirement information;
[0070] The content key and the content value are returned to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key and obtains the content key from the target page.
[0071] In an eighteenth aspect, an embodiment of the present application provides a server, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0072] The processing component is used to:
[0073] Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request carrying copy key requirement information sent by the application development end;
[0074] Return the copy key and the copy value to the application development end so that the application development end can generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page to obtain the copy key from the target page.
[0075] Compared with the existing technology, this application can achieve the following technical effects:
[0076] The embodiment of the present application provides a page copy processing method, a page copy management method, an apparatus, a terminal device, a server and a computer device. The embodiment of the present application generates a page copy acquisition request carrying copy key requirement information for a target page, so as to obtain the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request. In order to facilitate the management of the page copy of the target page, the target page is processed based on the copy key and the copy value, so that the target page carries the copy key, so as to facilitate the acquisition of the copy key from the target page. Since the target page itself carries the copy key, the copy key of the page copy can be obtained from the target page quickly, comprehensively and accurately, so that the copy value in the multilingual management system is revised based on the obtained copy key, thereby greatly improving the management efficiency of the page copy.
[0077] These and other aspects of the present application will become more readily apparent from the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0079] Figure 1 A schematic diagram showing a flow chart of an embodiment of a page copy processing method provided by the present application is shown;
[0080] Figure 2 A schematic diagram showing a flow chart of another embodiment of a page copy processing method provided by the present application;
[0081] Figure 3 A flow chart showing another embodiment of a page copy processing method provided by the present application is shown;
[0082] Figure 4 A schematic diagram showing a flow chart of another embodiment of a page copy processing method provided by the present application is shown;
[0083] Figure 5 A schematic diagram showing a flow chart of another embodiment of a page copy processing method provided by the present application is shown;
[0084] Figure 6 A schematic diagram showing a flow chart of another embodiment of a page copy processing method provided by the present application is shown;
[0085] Figure 7 A schematic diagram showing a flow chart of an embodiment of a page copy management method provided by the present application is shown;
[0086] Figure 8 A flow chart showing another embodiment of a page copy management method provided by the present application is shown;
[0087] Figure 9 A data flow diagram of an embodiment of a page copy processing system provided by the present application is shown;
[0088] Figure 10 A flowchart of an embodiment of a multilingual document management method provided by the present application is shown;
[0089] Figure 11(a)-Figure 11(b) A schematic diagram of a multi-language page copy switching scenario provided by the present application is shown;
[0090] Figure 12 A schematic structural diagram of an embodiment of a page copy processing device provided by the present application is shown;
[0091] Figure 13 A schematic structural diagram of another embodiment of a page copy processing device provided by the present application is shown;
[0092] Figure 14 A schematic structural diagram of another embodiment of a page copy processing device provided by the present application is shown;
[0093] Figure 15 A schematic structural diagram of another embodiment of a page copy processing device provided by the present application is shown;
[0094] Figure 16 A schematic structural diagram of another embodiment of a page copy processing device provided by the present application is shown;
[0095] Figure 17 A schematic structural diagram of another embodiment of a page copy processing device provided by the present application is shown;
[0096] Figure 18 A schematic structural diagram of an embodiment of a page copy management device provided by the present application is shown;
[0097] Figure 19 A schematic structural diagram of another embodiment of a page copy management device provided by the present application is shown;
[0098] Figure 20 A schematic structural diagram of an embodiment of a terminal device provided by the present application is shown;
[0099] Figure 21 A schematic structural diagram of an embodiment of a computer device provided by the present application is shown;
[0100] Figure 22 A schematic structural diagram of another embodiment of a terminal device provided by the present application is shown;
[0101] Figure 23 A schematic structural diagram of an embodiment of a server provided by the present application is shown;
[0102] Figure 24 A schematic structural diagram of another embodiment of a server provided by the present application is shown;
[0103] Figure 25 A structural diagram of another embodiment of a server provided according to the present application is shown. DETAILED DESCRIPTION
[0104] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0105] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to being different types.
[0106] As described in the background technology, since multilingual documents are managed in a multilingual management system based on document key-value pairs, when revising the document on any page, it is necessary to reverse-interpret the document value on the target page to obtain the corresponding document key. Only then can the document value in the multilingual management system be revised based on the document key. However, the reverse-interpretation method cannot accurately and comprehensively obtain the document key corresponding to the document value on the target page. The resulting document key is prone to errors. To address this technical problem, the inventors, after a series of studies, proposed the technical solution of this application.
[0107] In an embodiment of the present application, a page copy acquisition request carrying copy key requirement information is generated for a target page, and based on the page copy acquisition request, the copy key and copy value corresponding to the target page are obtained from the multilingual management system. To facilitate the management of the page copy of the target page, the target page is processed based on the copy key and the copy value, so that the target page carries the copy key, thereby facilitating the acquisition of the copy key from the target page. Since the target page itself carries the copy key, the copy key of the page copy can be quickly, comprehensively, and accurately obtained from the target page, thereby revising the copy value in the multilingual management system based on the acquired copy key, greatly improving the management efficiency of the page copy.
[0108] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0109] Figure 1 This is a flow chart of an embodiment of a page copy processing method provided in an embodiment of the present application. The method can be applied to a client and may include the following steps:
[0110] 101: For the target page, generate a page copy acquisition request carrying the copy key requirement information.
[0111] In actual applications, the target page may include but is not limited to web pages and application pages. Among them, the page copy of the target page can be divided into static copy and non-static copy. The static copy is the fixed content in the page determined when the page template is created. It is stored locally in advance. When the target page displays the static copy, the static copy value is obtained from the local; the non-static copy is the changing content in the page. Due to the unpredictability and uncertainty of the changing content in the page, such as product information, ticketing information, etc., which will change over time, the target page needs to obtain the non-static copy from the multilingual management system in real time when it needs to display non-static copy. In actual applications, the multilingual management system can be located in the same server as the server, or it can be located separately in the multilingual server, only providing multilingual copy services to the client. No specific limitation is made here.
[0112] A multilingual management system can provide clients with multiple language versions of page content. In an actual multilingual management system, different languages for the same content value correspond to the same content key. Users can select a language that suits their language habits in the client, so that when the client obtains page content from the multilingual management system, the content value that matches the user's selected language is obtained and displayed on the target page. Therefore, when the user selects a language, the page content acquisition request in the embodiment of the present application also includes language version information. If the user does not select a language, the content value of the target page is obtained according to the system's default language version.
[0113] Optionally, in actual application, the copy key acquisition information can be identified by the parameter needkey. When the parameter needkey=true, it means that the copy key is acquired with the copy key. When the parameter needkey=false or the page copy acquisition request does not contain the parameter needkey, it means that the copy key is not acquired with the copy key.
[0114] 102: Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system.
[0115] In the embodiment of the present application, the page copy acquisition request generated by the client actually obtains the non-static copy of the target page, so it is necessary to obtain the copy value and copy key of the target page from the multilingual management system. When the multilingual management system and the server are located on the same server, the server is also the multilingual management system. Therefore, the client can directly send the page copy acquisition request to the multilingual management system to obtain the copy key and copy value corresponding to the target page.
[0116] When the multilingual management system and the server are located in different servers, as an optional implementation, obtaining the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request may include:
[0117] Sending the page copy acquisition request to the server, so that the server can determine the copy key corresponding to the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the copy key and the copy key requirement information, and send the copy key and the copy value to the user;
[0118] Receive the document key and the document value sent by the server.
[0119] Since multilingual documents are managed in a key-value pair format in a multilingual management system, a document key index is required to obtain the document value stored in the multilingual management system. When the server obtains a document value from the multilingual management system, it must predetermine the document key for the page document. In practice, the server pre-establishes a correspondence between the target page and the document key. Therefore, when receiving a request for obtaining the page document of the target page from the client, the document key for the page copy acquisition request is determined based on this correspondence. The document value corresponding to the document key is then obtained from the multilingual management system based on the document key, and the document key requirement information is used to ensure that the obtained document value includes the document key.
[0120] As an achievable implementation, obtaining the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request may include:
[0121] Based on the page copy acquisition request, the copy key, copy value and copy related information corresponding to the target page are obtained from the multilingual management system.
[0122] In actual applications, in a multilingual management system, to facilitate serving different apps, multi-level keywords are further set to distinguish multilingual documents located in different multi-level directories. For example, the app name (appname) is used as the first-level directory, and the document key is used as the second-level directory, thereby indexing the document value. To further facilitate the management of the target page's page copy, further document-related information can be obtained. This copy-related information can include the index directory corresponding to the document value, such as the application name, customer information, etc., and can also include information such as the update or revision time of the document value. This is not specifically limited here and can be set according to actual needs.
[0123] In actual applications, before returning the content key and content value, the multilingual management system will pre-encapsulate the content key and content value in a format that can be correctly recognized by the target page.
[0124] For example, the preset encapsulation characters can be the first encapsulation characters "@@@##" and the second encapsulation characters "##@@@". The first and second encapsulation characters are wrapped before and after the text key to obtain @@@##key##@@@, and then the text value is concatenated to obtain the text value carrying the text key information: @@@##key##@@@value. Of course, the encapsulation characters can be any form that the target page can correctly recognize. Other forms include the first encapsulation characters being "%%" and the second encapsulation characters being "&". However, these forms need to be distinguished from existing character identifiers on the target page to avoid parsing errors. This is not specifically limited here.
[0125] When the target page obtains copy-related information at the same time, the copy-related information can also be encapsulated. For example, if the copy-related information is copy appname, the copy value carrying copy key information and copy-related information is obtained: @@@##appname#key##@@@value, etc. The specific settings can be made according to actual needs and are not specifically limited here.
[0126] 103: Process the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0127] When the target page processes the content key and content value within the multilingual management system, it displays the content value in the target page's page view because the target page can only correctly display the content value. At the same time, the content key is bound to the page view when displaying the content value. Of course, if content-related information is also included, the content key and content-related information are also bound to the page view. In this way, by traversing the target page's page view, the content key and content-related information bound to the page view can be obtained.
[0128] In practice, page copywriters revise page copy through the multilingual copywriter. Based on the page copy compilation request for the target page sent by the administrator, the multilingual copywriter obtains the target page copy's key and related information from the client. It can also obtain the corresponding copy value. Alternatively, the multilingual copywriter is linked to a multilingual management system. After obtaining the target page copy's key and related information, the multilingual copywriter can also retrieve the corresponding copy value based on the obtained copy key and related information. By establishing a correspondence between copy value and copy key on the multilingual copywriter, the compiler can revise the copy value based on revision requirements, such as adding, modifying, or deleting. The revised copy value then updates the copy value in the multilingual management system, completing page copy management for the target page. After the copy value in the multilingual management system is updated, the client refreshes the target page to display the revised page copy.
[0129] In this embodiment of the present application, a page copy acquisition request carrying copy key requirement information is generated for a target page, and the copy key and copy value corresponding to the target page are obtained from the multilingual management system. The target page is then processed based on the copy key and copy value, ensuring that the target page carries the copy key. Because the target page itself carries the copy key, this lays the foundation for quickly, comprehensively, and accurately obtaining the copy key of the target page's page copy from the target page. The copy value in the multilingual management system can then be revised based on the obtained copy key, significantly improving page copy management efficiency.
[0130] Figure 2 This is a flow chart of another embodiment of a page copy processing method provided in an embodiment of the present application. The method can be applied to a client and may include the following steps:
[0131] 201: Generate a page copy acquisition request carrying the copy key requirement information for the target page.
[0132] 202: Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page, which are packaged in a preset data format, from the multilingual management system.
[0133] The actual client obtains the content key and content value based on the page content request as follows: Figure 1 In the embodiment, the text value carrying the text key information is obtained by encapsulating it in a preset data format. However, since the page view of the target page cannot directly display the encapsulated text value and text key, it is necessary to pre-process the text key and text value encapsulated in the preset data format. The specific processing process is described as follows.
[0134] 203: Processing the text key and text value packaged in a preset data format in the page view of the target page, so that the page view carries the text key, so as to obtain the text key from the target page.
[0135] As an achievable implementation, processing the text key and text value encapsulated in a preset data format in the page view of the target page so that the page view carries the text key, so as to obtain the text key from the target page, may include:
[0136] Parsing the document key and document value packaged in a preset data format to obtain the document key and the document value;
[0137] The copy value is displayed in the page view and the copy key is bound to the page view, so that the page view carries the copy key, so as to obtain the copy key from the target page.
[0138] The target page parses the copy key and copy value encapsulated in a preset data format to obtain the copy key and copy value. For example, after encapsulating the copy key and copy value in the preset encapsulation data format, @@@##key##@@@value is obtained. The page view of the target page obtains the value and key through parsing, thereby separating the copy key from the copy value. However, in order to clarify the relationship between the copy key and the copy value, the page view binds the copy key to the page view while displaying the copy value, and establishes a corresponding relationship between copy key-page view-copy value, so that the page view of the target page carries the copy key.
[0139] As an optional implementation, displaying the copy value in the page view and binding the copy key to the page view so that the page view carries the copy key, so as to obtain the copy key from the target page, may include:
[0140] Determine the display position of the copy value in the page view;
[0141] The copy value is displayed at the display position of the page view and the copy key is bound to the page view based on the display position, so that the page view carries the copy key, so as to obtain the copy key from the target page.
[0142] When binding a text key to an actual page view, it's done based on the text value's display position within the page view. When creating a page template, the display position of each text value within the page view is pre-set. This display position is typically fixed, or it can be set according to specific display rules, such as random display or scrolling display. Therefore, binding a text key based on the text value's display position facilitates obtaining the text key from the target page.
[0143] 204: Traverse the page view and obtain the copy key in the target page.
[0144] Since each display position of the display copy value in the page view is bound to the copy key, it is only necessary to traverse each display position to quickly and accurately obtain all the copy keys and copy values of the page copy in the target page.
[0145] In an embodiment of the present application, the copy key is bound to the page view while displaying the copy value on the page view of the target page, thereby establishing a correspondence between the copy key-page view-copy value. Therefore, by traversing the page view, the copy key of the target page can be obtained quickly, accurately and comprehensively, so there will be no problems of missing or incorrect copy keys, thereby avoiding revision errors of the page copy.
[0146] In actual applications, any APP or browser will contain multiple pages. When the amount of data required to obtain page copy is large, if the key of the page copy is obtained for each page and the copy key is bound to the target page, not only will the client's data processing volume be greatly increased, affecting the processor's data processing efficiency, it may also cause the waiting time for displaying the page to be extended and reduce the user experience. Therefore, the following implementation method can be adopted to further improve the user experience.
[0147] Figure 3 This is a flow chart of an embodiment of a page copy processing method provided in an embodiment of the present application. The method can be applied to a client and may include the following steps:
[0148] 301 : Detect whether the page copy of the target page needs to be managed. If yes, execute step 302 ; if not, execute step 305 .
[0149] In order to avoid the problem of prolonged waiting time for displaying the target page due to excessive data processing, the target page that needs to be revised or recompiled can be determined in advance by the administrator. Optionally, the detection of whether the page copy of the target page needs to be managed may include:
[0150] Detecting receipt of a management request for a page copy of any page, and determining that the any page is the target page that needs to be managed.
[0151] 302: Generate a page copy acquisition request carrying the copy key requirement information for the target page.
[0152] 303: Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system.
[0153] 304: Process the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0154] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0155] 305: For the target page, generate a page copy acquisition request that does not carry the copy key requirement information.
[0156] 306: Based on the page copy acquisition request, obtain the copy value of the target page from the multilingual management system.
[0157] 307: Display the text value in the page view of the target page.
[0158] If the target page does not require page content management, a page content retrieval request can be generated without the content key requirement. For example, a page content retrieval request can include the parameter needkey=false, or without the parameter needkey. In this case, the multilingual management system will only return the original content value based on the page content retrieval request. Since the target page view can directly display the original content value, the target page's data processing workload can be significantly reduced.
[0159] In an embodiment of the present application, by obtaining the copy key of the target page according to the actual revision requirements, and allowing the target page to flexibly and conveniently carry the copy key based on the revision requirements of the page copy, it is possible to avoid the long waiting time for the target reality to be displayed due to excessive data processing volume of the target page, thereby further improving the user experience.
[0160] The foregoing Figure 1-Figure 3 The embodiment described above provides an implementation method for obtaining the text key of the non-static text on the target page. The following embodiment is an implementation method for obtaining the text key of the static text on the target page.
[0161] Figure 4 This is a flow chart of an embodiment of a page copy processing method provided in an embodiment of the present application. This method can be used on the application development side and may include the following steps:
[0162] 401: Generates a page copy acquisition request that carries the copy key requirement information.
[0163] 402: Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system.
[0164] In actual applications, when generating the installation file of any APP on the application development side, it is necessary to obtain the static page copy corresponding to the APP from the multi-language management system in advance. The multi-language management system will package the multi-language copy corresponding to the APP and send it to the application development side for the APP developers to generate the application installation file. The multi-language copy sent by the actual multi-language management system is stored in the same way as the multi-language management system, and the copy value is still stored in the form of key-value pairs. Therefore, the multi-language copy file stored locally on the user side based on the actual application installation actually contains the copy key and copy value. However, since the local file of the multi-language copy based on the target page can only obtain the copy value, the copy key cannot be directly obtained.
[0165] Therefore, in order to make the target page carry the copy key of the static copy, it is necessary to pre-process the multilingual copy corresponding to the APP so that the copy value obtained by the client carries the copy key information.
[0166] As an optional implementation, obtaining the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request may include:
[0167] Sending the page copy acquisition request to the multilingual management system;
[0168] Receive the text key and text value packaged in a preset data format returned by the multilingual management system.
[0169] In practice, the multilingual management system pre-packages the content key information into the content value according to a preset packaging format. For example, the original key=value format is packaged into the data format of key=@@@##key##@@@value according to the aforementioned packaging format. The client then obtains the value information carrying the content key, namely @@@##key##@@@value, based on the key index. The target page can then obtain the content key and content value of the static content of the page by parsing the content value in this preset data format.
[0170] In the prior art, the multilingual copy corresponding to the APP returned by the multilingual management system also includes the copy value. Therefore, the process of encapsulating the copy value can also be completed on the application development side. As another optional implementation method, obtaining the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request may include:
[0171] Sending the page copy acquisition request to the multilingual management system;
[0172] Receive the document key and the document value returned by the multilingual management system.
[0173] Furthermore, after receiving the document key and the document value returned by the multilingual management system, the method may further include:
[0174] Encapsulate the document key and the document value into a preset data format.
[0175] 403: Generate an application installation file including the text key and the text value.
[0176] The application installation file is used to install the client and provide the text key and the text value to the client; the client carries the text key when outputting the text value of the target page to obtain the text key from the target page.
[0177] Generating the application installation file including the text key and the text value may include:
[0178] Generate an application installation file containing the text key and the text value packaged according to the preset data format.
[0179] In fact, when the target page of the APP that the user is currently using does not carry the copy key, if you want to implement the target page to also carry the copy key of the static copy, you can update or reinstall the current APP by releasing a new version of the APP or issuing a plug-in, so that the target page can carry the copy key of the static copy.
[0180] In an embodiment of the present application, an implementation method for obtaining the static copy of the target page is provided. By preprocessing the multilingual copy corresponding to the obtained APP, the application installation file contains a copy value that can carry copy key information, so that the target page can parse the locally stored static copy to obtain the copy key, thereby laying the foundation for the copy key carrying the static copy in the target page.
[0181] Figure 5 This is a flow chart of an embodiment of a page copy processing method provided in an embodiment of the present application. The method can be applied on the user side and may include the following steps:
[0182] 501: Get the target page with the copy key.
[0183] Among them, the target page carrying the copy key is obtained by processing the page view of the target page based on the copy key and the copy value; the copy key and the copy value are obtained from the multilingual management system based on the page copy acquisition request; the page copy acquisition request is a page copy acquisition request carrying copy key requirement information generated for the target page.
[0184] 502: Traverse the page views in the target page and obtain the text key in the target page.
[0185] It is understandable that after the user end obtains the copy key of the target page, it needs to send it to the multilingual copy compilation end so that the multilingual copy compilation end can revise the page copy of the target page based on the copy key.
[0186] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0187] In an embodiment of the present application, a method for obtaining a copy key is provided. By obtaining a target page carrying a copy key obtained based on the aforementioned embodiment, the copy key of the target page can be quickly and effectively obtained by traversing the page view of the target page. Since the copy key obtained in this way meets the characteristics of accuracy and completeness, the management efficiency of page copy can be greatly improved.
[0188] Figure 6 This is a flow chart of an embodiment of a page copy processing method provided in an embodiment of the present application. The method can be applied to the server and may include the following steps:
[0189] 601: Receive a page copy acquisition request for a target page, which carries copy key requirement information and is sent by a user terminal.
[0190] 602: Obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request.
[0191] 603: Send the content key and the content value to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0192] As an achievable implementation, the method may further include:
[0193] Receiving a page copy acquisition request sent by the user terminal that does not carry copy key requirement information;
[0194] Obtaining the copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request;
[0195] Send the text value to the user terminal.
[0196] As another achievable implementation, obtaining the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request may include:
[0197] Determine the copy key corresponding to the target page according to the page copy acquisition request;
[0198] The copy key and copy value corresponding to the target page are obtained from the multilingual management system based on the copy key and the copy key requirement information.
[0199] Optionally, obtaining the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request may include:
[0200] According to the page copy acquisition request, obtain the copy key and copy value corresponding to the target page, which are packaged in a preset data format, from the multilingual management system;
[0201] In practical applications, sending the text key and the text value to the user terminal may include:
[0202] Send the content key and content value packaged in a preset data format to the user terminal.
[0203] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0204] In the embodiment of the present application, for the scenario of obtaining non-static copy of the target page, the business server actually needs to process the business request sent by the client. The page copy acquisition request sent by the client is actually a page content display service. Therefore, if the page copy needs to be obtained for page content display, the page copy needs to be obtained from the multilingual management system that provides the page copy service. If the multilingual management system and the business server are located in two different servers, the business server determines the corresponding copy key based on the page copy acquisition request and obtains the copy key and copy value of the target page from the service port provided by the multilingual management system, thereby providing a service for the client to obtain the page copy from the multilingual management system.
[0205] Figure 7This is a flow chart of an embodiment of a page copy management method provided in an embodiment of the present application. This method can be used in a multi-language management system and can include the following steps:
[0206] 701: Based on a page copy acquisition request carrying copy key requirement information sent by the user terminal for a target page, determine a copy key and a copy value corresponding to the target page.
[0207] 702: Return the content key and the content value to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key and obtains the content key from the target page.
[0208] As an achievable implementation, determining the copy key and copy value corresponding to the target page based on the page copy acquisition request carrying copy key requirement information sent by the user terminal for the target page may include:
[0209] receiving a content key and content key requirement information determined based on the page content acquisition request sent by the server; wherein the page content acquisition request is sent by the user end to the server end for the target page;
[0210] The copy key and copy value corresponding to the target page are determined based on the copy key and the copy key requirement information.
[0211] As an optional implementation manner, returning the content key and the content value to the user terminal may include:
[0212] Return the document key and the document value to the server, so that the server can send the document key and the document value to the user.
[0213] As an optional implementation manner, returning the content key and the content value to the user terminal may include:
[0214] Encapsulate the document key and the document value according to a preset data format;
[0215] The document key and document value packaged in the preset data format are returned to the user end.
[0216] In actual applications, for a client's request to retrieve non-static content for a target page, only the content value and content key for the requested page are returned. This packaging process can be entirely implemented on the multilingual management system. The multilingual management system and the client can pre-standardize the packaging protocol for page content, allowing the client to parse the content key and content value packaged in a pre-set data format.
[0217] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0218] In this embodiment of the present application, the content key and content value are encapsulated in a preset data format, so that the content key information is included in the content value. This allows the content key to be obtained simultaneously with the content value obtained based on the content key index. Returning the content value carrying the content key information to the user terminal lays the foundation for the content key to be included in the target page.
[0219] Figure 8 This is a flow chart of an embodiment of a page copy management method provided in an embodiment of the present application. This method can be used in a multi-language management system and may include the following steps:
[0220] 801: Based on a page copy acquisition request carrying copy key requirement information sent by the application development end for the target page, determine the copy key and copy value corresponding to the target page.
[0221] 802: Return the document key and the document value to the application development end, so that the application development end can generate an application installation file containing the document key and the document value.
[0222] The application installation file is used to install the client and provide the text key and the text value to the client; the client carries the text key when outputting the text value of the target page to obtain the text key from the target page.
[0223] As an optional implementation manner, the determining the copy key and copy value corresponding to the target page based on the page copy acquisition request carrying copy key requirement information sent by the application development end for the target page may include:
[0224] Determine the copy key, copy value, and copy-related information corresponding to the target page based on the page copy acquisition request carrying the copy key requirement information;
[0225] The returning of the document key and the document value to the application development end includes:
[0226] Return the document key, the document value, and the document-related information to the application development end.
[0227] In actual applications, the multilingual copy files corresponding to the corresponding APP are indexed based on the APP name as the keyword. Therefore, obtaining copy related information at the same time as the copy key information can further improve the accuracy of the copy key and copy value obtained when managing page copy.
[0228] As another optional implementation, returning the document key and the document value to the application development end includes:
[0229] Encapsulate the document key and the document value according to a preset data format;
[0230] The document key and document value packaged in the preset data format are returned to the application development end.
[0231] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0232] In this embodiment, the multilingual text corresponding to the static text is encapsulated using a preset data format for the text key and text value. This allows the text value to carry the text key information, thereby simultaneously obtaining the text value based on the text key index and the text key. The text value carrying the text key information is returned to the application development end, so that the application installation file contains the text value carrying the text key information, thereby laying the foundation for the target page to carry the text key.
[0233] Figure 9 The figure is a data flow diagram of an embodiment of a page copy processing system.
[0234] For non-static copy on the target page:
[0235] The user end 901 is used to generate a page copy acquisition request carrying the copy key requirement information for the target page; send the page copy acquisition request carrying the copy key requirement information to the server end 902; receive the copy key and copy value of the target page returned by the server end 902; process the target page based on the copy key and the copy value so that the target page carries the copy key; traverse the target page view to obtain the copy key of the target page.
[0236] The server 902 is configured to receive a page copy acquisition request carrying copy key requirement information from the client 901 ; determine a copy key corresponding to the page copy acquisition request; and send the copy key and copy key requirement information to the multilingual management system 904 to obtain the copy key and copy value corresponding to the target page.
[0237] The multilingual management system 904 is used to determine the content value and content key of the target page based on the content key and content key requirement information, encapsulate the content value and content key according to a preset data format, and return the content key and content value to the server 902.
[0238] For static copy on the target page:
[0239] The application development end 903 generates a page copy acquisition request carrying the copy key requirement information; sends the page copy acquisition request carrying the copy key requirement information to the multi-language management system 904; receives the copy key and copy value of the target page returned by the multi-language management system 904; generates an application installation file containing the copy key and the copy value; and publishes the application installation file to the server 902.
[0240] The multilingual management system 904 is used to determine the target page's content value and content key based on the page content acquisition request, encapsulate the content value and content key according to a preset data format, and return the content key and content value to the application development end 903 .
[0241] The user terminal 901 downloads the application installation file from the service order 902 to install the client, and locally stores the text key and text value in the application installation file; obtains the text key and text value of the locally stored target page; processes the target page based on the text key and the text value so that the target page carries the text key; traverses the target page view to obtain the text key of the target page.
[0242] The page copy processing system described in the embodiments of this application more clearly and indirectly demonstrates the page copy processing process and data flow. Through the mutual cooperation and complementation between various terminals in the system, the target page itself carries the copy key, laying the foundation for quickly, comprehensively, and accurately obtaining the copy key of the page copy from the target page. Furthermore, it improves the efficiency of revising copy values in the multilingual management system based on the obtained copy key, greatly improving the efficiency of page copy management.
[0243] Figure 10The following is a flowchart of an embodiment of a multilingual document management method provided in an embodiment of the present application. The method may include the following steps:
[0244] 1001: Get the copy key carried by the target page.
[0245] The target page carries the copy key by processing the copy key and copy value obtained from the multilingual management system, and the copy key and copy value are obtained from the multilingual management system based on a page copy acquisition request carrying copy key requirement information.
[0246] The target page may be an application page of any application program or a web page, which is not specifically limited here.
[0247] As can be seen from the above, the target page can carry the copy key of the static copy and the copy key of the non-static copy. Therefore, by carrying the copy key target page, the copy key corresponding to all the first language copy values displayed in the page view of the target page can be obtained.
[0248] Optionally, in some embodiments, obtaining the text key carried by the target page may include:
[0249] Get the target page with the copy key;
[0250] Traverse the page views in the target page and obtain the copy key in the target page.
[0251] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0252] 1002: Determine the first language text value corresponding to the text key.
[0253] 1003: Obtain a second language copy value obtained by translating the first language copy value.
[0254] 1004: Establish a correspondence between the text key and the second language text value.
[0255] In practical applications, the text key carried by the target page can not only be used to revise the page text value corresponding to the target page in the multi-language management system, but also be used to manage newly added language values.
[0256] For example, if the page copy for any application or web page is only in Chinese, the multilingual management system will only contain the Chinese language library. When expanding into other regions or countries, it is necessary to develop languages for the regions or countries to be entered, such as adding dialects, Traditional Chinese, English, Russian, etc.
[0257] It is understandable that if the multilingual management system only contains Chinese copywriting, the copywriting value in the Chinese language library can be used as the first language copywriting value; when the multilingual management system contains copywriting in multiple languages, the copywriting value of the default language or initial language can be used as the first language copywriting value.
[0258] Based on the acquired content key, the language translation system can retrieve the first-language content value from the multilingual management system. Translators then translate the first-language content value into the second-language content value. The second-language content value can be in a language specific to the region or country of deployment, such as a local dialect, Traditional Chinese, English, or Russian, though this is not a specific limitation.
[0259] A key-value pair relationship between the copy key and the second language copy value is established based on the second language copy value and the corresponding copy key obtained by translation by the language translation system.
[0260] Optionally, in some embodiments, establishing a correspondence between the text key and the second language text value may include:
[0261] generating a second language identifier for the second language copy value;
[0262] A correspondence between the text key, the second language identifier, and the second language text value is established.
[0263] In a multilingual management system, the same key can be associated with text values in different languages. Text values in different languages are stored in their respective language libraries, with language identifiers indicating their corresponding languages. Therefore, it is necessary to establish a correspondence between the text key, the second language identifier, and the second language text value.
[0264] For example, if the second language copy value is English, an English language library corresponding to the copy key is established in the multilingual management system. When the target page is requested to be displayed in English, the copy acquisition request will carry an English identifier, and the copy value will be obtained from the English language library based on the copy key, and the target page will display the English copy. If the requested display language is Chinese, the copy acquisition request will carry a Chinese identifier, and the copy value will be obtained from the Chinese language library based on the copy key, and the target page will display the Chinese copy.
[0265] It is understandable that when a new language is added to the multilingual management system, the local configuration information of the user-side application or web page needs to be updated synchronously to add the language identifier and static text value corresponding to the new language, so that the user can change the language corresponding to the page text displayed on the target page through the language identifier switching operation.
[0266] Based on the application scenario of adding a new language in the multilingual management system described in the above embodiment, the embodiment of the present application can also realize multilingual switching on the user side based on the application scenario. The embodiment of the present application provides a multilingual document processing method, which may include:
[0267] In response to a language identification switching instruction for a target page, the language identification of the target page is switched from a first language identification to a second language identification.
[0268] The second language identifier is generated based on the second language text value corresponding to the text key carried by the target page.
[0269] For the target page, a page copy acquisition request carrying the second language identifier is generated.
[0270] Based on the page copy acquisition request, obtain the second language copy value corresponding to the target page from the multilingual management system. The second language copy value is obtained by translating the first language copy value corresponding to the copy key;
[0271] The second language copy value is displayed in the page view of the target page.
[0272] Optionally, in some embodiments, before switching the language identification of the target page from the first language identification to the second language identification in response to the language identification switching instruction for the target page, the method may further include:
[0273] The language identification switching instruction is generated based on the language switching operation on the target page.
[0274] Usually, the application page or web page will set a default language. When the user opens the target page, the default language copy is displayed. The user can switch the default language copy to the target language copy based on reading needs through the language switch control displayed on the target page. Of course, the application or web page can also obtain the current address location information or longitude and latitude information to determine the language of the current area, and automatically switch the language of the page copy to the language corresponding to the area, without specific limitation here.
[0275] In actual applications, users can trigger the language switching operation by inputting a device to the language switching space, and can also switch the page text language through voice control, gesture control and other operations, which are not specifically limited here.
[0276] like Figure 11(a)-Figure 11(b) 11(a) is a schematic diagram of a multi-language switching scenario, where the target page displays the default language (Chinese) page text, and FIG11(b) is a schematic diagram of switching the Chinese text displayed on the target page to English text based on the user's language switching operation on the language switching control.
[0277] An embodiment of the present application, based on the aforementioned embodiment, provides a method for managing page copy in a multilingual management system based on quickly, comprehensively, and accurately obtaining the copy key of the page copy from the target page. A correspondence is established between the obtained copy key of the target page and a newly added second language copy value, and the second language copy value is added to the multilingual management system. By updating the language identifier and static copy value in the local configuration information of the application or the web page, the application or web page can obtain the second language page copy corresponding to the switched language identifier through a language identifier switching instruction triggered by the user according to reading needs.
[0278] Figure 12 This is a schematic diagram of the structure of an embodiment of a page copy processing device provided in an embodiment of the present application. The device can be applied to a client and may include:
[0279] The first acquisition request generation module 1201 is used to generate a page copy acquisition request carrying copy key requirement information for a target page;
[0280] The first acquisition module 1202 is configured to acquire the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request.
[0281] The first processing module 1203 is configured to process the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0282] As an optional implementation manner, the first obtaining module 1202 may be specifically configured to:
[0283] Sending the page copy acquisition request to the server, so that the server can determine the copy key corresponding to the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the copy key and the copy key requirement information, and send the copy key and the copy value to the user;
[0284] Receive the document key and the document value sent by the server.
[0285] As an achievable implementation, the first acquisition module 1202 may be specifically configured to:
[0286] Based on the page copy acquisition request, the copy key, copy value and copy related information corresponding to the target page are obtained from the multilingual management system.
[0287] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0288] In this embodiment of the present application, a page copy acquisition request carrying copy key requirement information is generated for a target page, and the copy key and copy value corresponding to the target page are obtained from the multilingual management system. The target page is then processed based on the copy key and copy value, ensuring that the target page carries the copy key. Because the target page itself carries the copy key, this lays the foundation for quickly, comprehensively, and accurately obtaining the copy key of the target page's page copy from the target page. The copy value in the multilingual management system can then be revised based on the obtained copy key, significantly improving page copy management efficiency.
[0289] Figure 13 This is a schematic diagram of the structure of an embodiment of a page copy processing device provided in an embodiment of the present application. The device can be applied to a client and may include:
[0290] The first acquisition request generating module 1301 is used to generate a page copy acquisition request carrying copy key requirement information for a target page.
[0291] The first acquisition module 1302 is configured to acquire, from the multilingual management system, a copy key and a copy value corresponding to the target page, which are packaged in a preset data format, based on the page copy acquisition request.
[0292] The first processing module 1303 is used to process the text key and text value packaged in a preset data format in the page view of the target page, so that the page view carries the text key, so as to obtain the text key from the target page.
[0293] The view traversal module 1304 is used to traverse the page view and obtain the text key in the target page.
[0294] As an achievable implementation, the first processing module 1303 may be specifically configured to:
[0295] Parsing the document key and document value packaged in a preset data format to obtain the document key and the document value;
[0296] The copy value is displayed in the page view and the copy key is bound to the page view, so that the page view carries the copy key, so as to obtain the copy key from the target page.
[0297] As an optional implementation, the copy value is displayed in the page view and the copy key is bound to the page view, so that the page view carries the copy key, so that the copy key can be obtained from the target page. Specifically, it can be used for:
[0298] Determine the display position of the copy value in the page view;
[0299] The copy value is displayed at the display position of the page view and the copy key is bound to the page view based on the display position, so that the page view carries the copy key, so as to obtain the copy key from the target page.
[0300] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0301] In an embodiment of the present application, the copy key is bound to the page view while displaying the copy value on the page view of the target page, thereby establishing a correspondence between the copy key-page view-copy value. Therefore, by traversing the page view, the copy key of the target page can be obtained quickly, accurately and comprehensively, so there will be no problems of missing or incorrect copy keys, thereby avoiding revision errors of the page copy.
[0302] Figure 14 This is a schematic diagram of the structure of an embodiment of a page copy processing device provided in an embodiment of the present application. The device can be applied to a client and may include:
[0303] The detection module 1401 is used to detect whether the page copy of the target page needs to be managed. If yes, the first acquisition request generation module 1402 is triggered; if not, the copy value acquisition request generation module 1405 is triggered.
[0304] In order to avoid the problem of prolonged waiting time for displaying the target page due to excessive data processing, the target page that needs to be revised or recompiled can be determined in advance by the administrator.
[0305] Detecting receipt of a management request for a page copy of any page, and determining that the any page is the target page that needs to be managed.
[0306] The first acquisition request generation module 1402 is used to generate a page copy acquisition request carrying copy key requirement information for a target page.
[0307] The first acquisition module 1403 is configured to acquire the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request.
[0308] The first processing module 1404 is configured to process the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0309] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0310] The copy value acquisition request generating module 1405 is used to generate a page copy acquisition request without carrying the copy key requirement information for the target page.
[0311] The copy value acquisition module 1406 is configured to acquire the copy value of the target page from the multilingual management system based on the page copy acquisition request.
[0312] The copy value display module 1407 is used to display the copy value in the page view of the target page.
[0313] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0314] In an embodiment of the present application, by obtaining the copy key of the target page according to the actual revision requirements, and allowing the target page to flexibly and conveniently carry the copy key based on the revision requirements of the page copy, it is possible to avoid the long waiting time for the target reality to be displayed due to excessive data processing volume of the target page, thereby further improving the user experience.
[0315] Figure 15 This is a schematic diagram of the structure of an embodiment of a page copy processing device provided in an embodiment of the present application. The device can be used in an application development end, and the device may include:
[0316] The second acquisition request generating module 1501 is used to generate a page copy acquisition request carrying copy key requirement information.
[0317] The second acquisition module 1502 is configured to acquire the copy key and copy value corresponding to the target page from the multilingual management system based on the page copy acquisition request.
[0318] The file generation module 1503 is configured to generate an application installation file including the text key and the text value.
[0319] The application installation file is used to install the client and provide the text key and the text value to the client; the client carries the text key when outputting the text value of the target page to obtain the text key from the target page.
[0320] As an optional implementation manner, the second obtaining module 1502 may be specifically configured to:
[0321] Sending the page copy acquisition request to the multilingual management system;
[0322] Receive the text key and text value packaged in a preset data format returned by the multilingual management system.
[0323] As another optional implementation, the second obtaining module 1502 may be specifically configured to:
[0324] Sending the page copy acquisition request to the multilingual management system;
[0325] Receive the document key and the document value returned by the multilingual management system.
[0326] Furthermore, after receiving the document key and the document value returned by the multilingual management system, the method may further include:
[0327] The encapsulation module is used to encapsulate the document key and the document value into a preset data format.
[0328] The file generation module 1503 can be specifically used to:
[0329] Generate an application installation file containing the text key and the text value packaged according to the preset data format.
[0330] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0331] In an embodiment of the present application, an implementation method for obtaining the static copy of the target page is provided. By preprocessing the multilingual copy corresponding to the obtained APP, the application installation file contains a copy value that can carry copy key information, so that the target page can parse the locally stored static copy to obtain the copy key, thereby laying the foundation for the copy key carrying the static copy in the target page.
[0332] Figure 16 This is a schematic diagram of a structure of an embodiment of a page copy processing device provided in an embodiment of the present application. The device can be used on a user end and may include:
[0333] The target page acquisition module 1601 is used to acquire the target page carrying the copy key.
[0334] Among them, the target page carrying the copy key is obtained by processing the page view of the target page based on the copy key and the copy value; the copy key and the copy value are obtained from the multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request carrying copy key requirement information generated for the target page.
[0335] The copy key acquisition module 1602 is used to traverse the page views in the target page and obtain the copy key of the target page.
[0336] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0337] In an embodiment of the present application, a method for obtaining a copy key is provided. By obtaining a target page carrying a copy key obtained based on the aforementioned embodiment, the copy key of the target page can be quickly and effectively obtained by traversing the page view of the target page. Since the copy key obtained in this way meets the characteristics of accuracy and completeness, the management efficiency of page copy can be greatly improved.
[0338] Figure 17 This is a schematic diagram of the structure of an embodiment of a text recognition device provided in an embodiment of the present application. The device can be used on a server side and may include:
[0339] The first receiving module 1701 is configured to receive a page copy acquisition request carrying copy key requirement information sent by a user terminal for a target page.
[0340] The third acquisition module 1702 is configured to acquire the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request.
[0341] The first sending module 1703 is used to send the copy key and the copy value to the user terminal, so that the user terminal processes the target page based on the copy key and the copy value, so that the target page carries the copy key, so as to obtain the copy key from the target page.
[0342] As an achievable implementation manner, the device may further include:
[0343] The second receiving module is used to receive a page copy acquisition request sent by the user terminal that does not carry copy key requirement information.
[0344] The fourth acquisition module is configured to acquire the copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request.
[0345] The second sending module is used to send the text value to the user terminal.
[0346] As another achievable implementation, the third acquisition module 1702 may be specifically configured to:
[0347] Determine the copy key corresponding to the target page according to the page copy acquisition request;
[0348] The copy key and copy value corresponding to the target page are obtained from the multilingual management system based on the copy key and the copy key requirement information.
[0349] Optionally, the third obtaining module 1702 may be specifically configured to:
[0350] According to the page copy acquisition request, the multilingual management system obtains the copy key and copy value corresponding to the target page, which are packaged in a preset data format;
[0351] The first sending module 1703 can be specifically used for:
[0352] Send the content key and content value packaged in a preset data format to the user terminal.
[0353] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0354] In the embodiment of the present application, for the scenario of obtaining non-static copy of the target page, the business server actually needs to process the business request sent by the client. The page copy acquisition request sent by the client is actually a page content display service. Therefore, if the page copy needs to be obtained for page content display, the page copy needs to be obtained from the multilingual management system that provides the page copy service. If the multilingual management system and the business server are located in two different servers, the business server determines the corresponding copy key based on the page copy acquisition request and obtains the copy key and copy value of the target page from the service port provided by the multilingual management system, thereby providing a service for the client to obtain the page copy from the multilingual management system.
[0355] Figure 18 This is a schematic diagram of an embodiment of a page copy management device provided in an embodiment of the present application. The device can be used in a multi-language management system, and the device may include:
[0356] The first determining module 1801 is configured to determine a copy key and a copy value corresponding to a target page based on a page copy acquisition request carrying copy key requirement information sent by a user terminal for the target page.
[0357] The first return module 1802 is used to return the copy key and the copy value to the user terminal, so that the user terminal processes the target page based on the copy key and the copy value, so that the target page carries the copy key and obtains the copy key from the target page.
[0358] The first determining module 1801 can be specifically used to:
[0359] Receive the content key and content key requirement information determined based on the page content acquisition request sent by the server.
[0360] The page copy acquisition request is sent by the user end to the server end for the target page.
[0361] The copy key and copy value corresponding to the target page are determined based on the copy key and the copy key requirement information.
[0362] As an optional implementation manner, the first returning module 1802 may be specifically configured to:
[0363] Return the document key and the document value to the server, so that the server can send the document key and the document value to the user.
[0364] As an optional implementation manner, the first returning module 1802 may be specifically configured to:
[0365] Encapsulate the document key and the document value according to a preset data format;
[0366] The document key and document value packaged in the preset data format are returned to the user end.
[0367] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0368] In this embodiment of the present application, the content key and content value are encapsulated in a preset data format, so that the content key information is included in the content value. This allows the content key to be obtained simultaneously with the content value obtained based on the content key index. Returning the content value carrying the content key information to the user terminal lays the foundation for the content key to be included in the target page.
[0369] Figure 19 This is a schematic diagram of an embodiment of a page copy management device provided in an embodiment of the present application. The device can be used in a multi-language management system, and the device may include:
[0370] The second determining module 1901 is configured to determine the copy key and copy value corresponding to the target page based on a page copy acquisition request carrying copy key requirement information sent by the application development end for the target page.
[0371] The second returning module 1902 is configured to return the document key and the document value to the application development end, so that the application development end can generate an application installation file containing the document key and the document value.
[0372] The application installation file is used to install the client and provide the text key and the text value to the client; the client carries the text key when outputting the text value of the target page to obtain the text key from the target page.
[0373] As an optional implementation manner, the second determining module 1901 may be specifically configured to:
[0374] Determine the copy key, copy value, and copy-related information corresponding to the target page based on the page copy acquisition request carrying the copy key requirement information;
[0375] The second returning module 1902 can be specifically used to:
[0376] Return the document key, the document value, and the document-related information to the application development end.
[0377] As another optional implementation, the second returning module 1902 may be specifically configured to:
[0378] Encapsulate the document key and the document value according to a preset data format;
[0379] The document key and document value packaged in the preset data format are returned to the application development end.
[0380] The specific implementation of the embodiment of the present application has been described in detail above and will not be repeated here.
[0381] In this embodiment, the multilingual content corresponding to static content is encapsulated using a preset data format for content keys and content values. This ensures that the content value includes the content key information, allowing the content key to be retrieved simultaneously with the content value obtained based on the content key index. The content value containing the content key information is returned to the application development end, ensuring that the application installation file contains the content value containing the content key information, thereby paving the way for the content key to be included in the target page.
[0382] Figure 20 A schematic structural diagram of an embodiment of a terminal device provided in an embodiment of the present application, wherein the terminal device may include a processing component 2001 and a storage component 2002.
[0383] The storage component 2002 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 2001.
[0384] The processing component 2001 can be used to:
[0385] For the target page, generate a page copy acquisition request carrying the copy key requirement information;
[0386] Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system;
[0387] The target page is processed based on the text key and the text value, so that the target page carries the text key, so as to obtain the text key from the target page.
[0388] The processing component 2001 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0389] The storage component 2002 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0390] Of course, the terminal device may also include other components, such as input / output interfaces, communication components, etc.
[0391] The input / output interface provides an interface between the processing component and the peripheral interface module, which can be an output device, an input device, etc.
[0392] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as terminals.
[0393] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 1-Figure 3 The page copy processing method of the illustrated embodiment.
[0394] Figure 21This is a structural diagram of an embodiment of a computer device provided in an embodiment of the present application. The computer device may include a processing component 2101 and a storage component 2102.
[0395] The storage component 2102 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 2101.
[0396] The processing component 2101 can be used to:
[0397] Generate a page copy acquisition request that carries the copy key requirement information;
[0398] Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system;
[0399] Generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page to obtain the copy key from the target page.
[0400] The processing component 2101 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0401] The storage component 2102 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0402] Of course, the computer device may also include other components, such as input / output interfaces, communication components, etc.
[0403] The input / output interface provides an interface between the processing component and the peripheral interface module, which can be an output device, an input device, etc.
[0404] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as terminals.
[0405] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 4 The page copy processing method of the illustrated embodiment.
[0406] Figure 22 A structural diagram of an embodiment of a terminal device provided in an embodiment of the present application, wherein the terminal device may include a processing component 2201 and a storage component 2202.
[0407] The storage component 2202 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 2201.
[0408] The processing component 2201 can be used to:
[0409] Obtaining a target page carrying a copy key; wherein the target page carrying a copy key is obtained by processing a page view of the target page based on the copy key and the copy value; the copy key and the copy value are obtained from a multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request generated for the target page and carrying copy key requirement information;
[0410] Traverse the page views in the target page and obtain the copy key of the target page.
[0411] The processing component 2201 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0412] The storage component 2202 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0413] Of course, the terminal device may also include other components, such as input / output interfaces, communication components, etc.
[0414] The input / output interface provides an interface between the processing component and the peripheral interface module, which can be an output device, an input device, etc.
[0415] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as terminals.
[0416] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 5 The page copy processing method of the illustrated embodiment.
[0417] Figure 23 A structural diagram of an embodiment of a server provided in an embodiment of the present application, wherein the server may include a processing component 2301 and a storage component 2302.
[0418] The storage component 2302 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 2301.
[0419] The processing component 2301 can be used to:
[0420] Receive a page copy acquisition request from the user end for the target page, carrying the copy key requirement information;
[0421] Obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request;
[0422] The content key and the content value are sent to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key, so as to obtain the content key from the target page.
[0423] The processing component 2301 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0424] The storage component 2302 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0425] Of course, the server may also include other components, such as input / output interfaces, communication components, etc.
[0426] The input / output interface provides an interface between the processing component and the peripheral interface module, which can be an output device, an input device, etc.
[0427] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as terminals.
[0428] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 6 The page copy processing method of the illustrated embodiment.
[0429] Figure 24 A structural diagram of an embodiment of a server provided in an embodiment of the present application, wherein the server may include a processing component 2401 and a storage component 2402.
[0430] The storage component 2402 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 2401.
[0431] The processing component 2401 can be used to:
[0432] Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request sent by the user end for the target page and carrying the copy key requirement information;
[0433] The content key and the content value are returned to the user terminal, so that the user terminal processes the target page based on the content key and the content value, so that the target page carries the content key and obtains the content key from the target page.
[0434] The processing component 2401 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0435] The storage component 2402 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0436] Of course, the server may also include other components, such as input / output interfaces, communication components, etc.
[0437] The input / output interface provides an interface between the processing component and the peripheral interface module, which can be an output device, an input device, etc.
[0438] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as terminals.
[0439] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 7 The page copy management method of the illustrated embodiment.
[0440] Figure 25 A structural diagram of an embodiment of a server provided in an embodiment of the present application, wherein the server may include a processing component 2501 and a storage component 2502.
[0441] The storage component 2502 is used to store one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component 2501.
[0442] The processing component 2501 can be used to:
[0443] Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request carrying copy key requirement information sent by the application development end;
[0444] Return the copy key and the copy value to the application development end so that the application development end can generate an application installation file containing the copy key and the copy value; wherein, the application installation file is used to install the client and provide the copy key and the copy value to the client; the client carries the copy key when outputting the copy value of the target page to obtain the copy key from the target page.
[0445] The processing component 2501 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0446] The storage component 2502 is configured to store various types of data to support operations in the server. The storage component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0447] Of course, the server may also include other components, such as input / output interfaces, communication components, etc.
[0448] The input / output interface provides an interface between the processing component and the peripheral interface module, which can be an output device, an input device, etc.
[0449] The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as terminals.
[0450] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program can achieve the above-mentioned Figure 8 The page copy management method of the illustrated embodiment.
[0451] 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.
[0452] The device embodiments described above are merely illustrative. 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, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0453] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0454] Finally, it should be noted that 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned 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 page copy processing method, characterized in that: include: For the target page, generate a page copy acquisition request carrying copy key requirement information, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page, which are packaged in a preset data format, from the multilingual management system; The copy key and copy value packaged in a preset data format are processed in the page view of the target page, so that the page view carries the copy key, so as to obtain the copy key from the target page.
2. The method according to claim 1, characterized in that The method further comprises: Sending the page copy acquisition request to the server, so that the server can determine the copy key corresponding to the page copy acquisition request, obtain the copy key and copy value corresponding to the target page from the multilingual management system according to the copy key and the copy key requirement information, and send the copy key and the copy value to the user; Receive the document key and the document value sent by the server.
3. The method according to claim 1, characterized in that The method further comprises: Based on the page copy acquisition request, the copy key, copy value and copy related information corresponding to the target page are obtained from the multilingual management system.
4. The method according to claim 1, wherein After processing the text key and text value encapsulated in a preset data format in the page view of the target page so that the page view carries the text key, so as to obtain the text key from the target page, the method further includes: Traverse the page view and obtain the copy key in the target page.
5. The method according to claim 1, characterized in that: The step of processing the text key and text value encapsulated in a preset data format in the page view of the target page so that the page view carries the text key, thereby obtaining the text key from the target page, includes: Parsing the document key and document value packaged in a preset data format to obtain the document key and the document value; The copy value is displayed in the page view and the copy key is bound to the page view, so that the page view carries the copy key, so as to obtain the copy key from the target page.
6. The method according to claim 5, characterized in that: The step of displaying the text value in the page view and binding the text key to the page view so that the page view carries the text key, so as to obtain the text key from the target page, includes: Determine the display position of the copy value in the page view; The copy value is displayed at the display position of the page view and the copy key is bound to the page view based on the display position, so that the page view carries the copy key, so as to obtain the copy key from the target page.
7. The method according to claim 1, characterized in that Before generating a page copy acquisition request carrying the copy key requirement information for the target page, the method further includes: Detecting whether the page copy of the target page needs to be managed; If yes, execute the step of generating a page copy acquisition request carrying the copy key requirement information for the target page; If not, a page copy acquisition request without the copy key requirement information is generated for the target page.
8. The method according to claim 7, characterized in that After generating a page copy acquisition request without copy key requirement information for the target page, the method further includes: Based on the page copy acquisition request, obtain the copy value of the target page from the multilingual management system; The copy value is displayed in the page view of the target page.
9. A page copy processing method, characterized in that: include: Generate a page copy acquisition request carrying copy key requirement information, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; Sending the page copy acquisition request to the multilingual management system; Receive the copy key and copy value packaged in a preset data format returned by the multilingual management system; Generate an application installation file containing the text key and the text value packaged in the preset data format; wherein the application installation file is used to install a client and provide the text key and the text value to the client; The client carries the copy key when outputting the copy value of the target page, so as to obtain the copy key from the target page.
10. The method according to claim 9, characterized in that The method further comprises: Sending the page copy acquisition request to the multilingual management system; Receive the document key and the document value returned by the multilingual management system.
11. The method according to claim 10, characterized in that After receiving the document key and the document value returned by the multilingual management system, the method further includes: Encapsulate the document key and the document value into a preset data format.
12. A page copy processing method, characterized in that: include: Obtaining a target page carrying a copy key; wherein the target page carrying a copy key is obtained by processing a page view of the target page based on the copy key and copy value; the copy key and copy value are the copy key and copy value packaged in a preset data format and obtained from a multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request generated for the target page and carrying copy key requirement information, the page copy acquisition request including language version information, and the copy key requirement information is represented by a parameter identifier; Traverse the page views in the target page and obtain the copy key in the target page.
13. A page copy processing method, characterized in that: include: Receive a page copy acquisition request for a target page, sent by a user end, carrying copy key requirement information, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; According to the page copy acquisition request, obtain the copy key and copy value corresponding to the target page, which are packaged in a preset data format, from the multilingual management system; The text key and text value packaged in a preset data format are sent to the user terminal, so that the user terminal processes the target page based on the text key and the text value, so that the target page carries the text key, so as to obtain the text key from the target page.
14. The method according to claim 13, characterized in that The method further comprises: Receiving a page copy acquisition request sent by the user terminal that does not carry copy key requirement information; Obtaining the copy value corresponding to the target page from the multilingual management system according to the page copy acquisition request; Send the text value to the user terminal.
15. The method according to claim 13, characterized in that The method further comprises: Determine the copy key corresponding to the target page according to the page copy acquisition request; The copy key and copy value corresponding to the target page are obtained from the multilingual management system based on the copy key and the copy key requirement information.
16. A page copy management method, characterized in that: include: Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request sent by the user end for the target page, wherein the page copy acquisition request includes language version information and the copy key requirement information is represented by a parameter identifier; Encapsulate the document key and the document value according to a preset data format; The copy key and copy value packaged in the preset data format are returned to the user end, so that the user end processes the target page based on the copy key and the copy value, so that the target page carries the copy key and obtains the copy key from the target page.
17. The method according to claim 16, characterized in that The determining of the copy key and copy value corresponding to the target page based on the page copy acquisition request carrying copy key requirement information sent by the user terminal for the target page includes: receiving a content key and content key requirement information determined based on the page content acquisition request sent by the server; wherein the page content acquisition request is sent by the user end to the server end for the target page; The copy key and copy value corresponding to the target page are determined based on the copy key and the copy key requirement information.
18. The method according to claim 17, characterized in that The method further comprises: Return the document key and the document value to the server, so that the server can send the document key and the document value to the user.
19. A page copy management method, characterized in that: include: Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request sent by the application developer for the target page, the page copy acquisition request including language version information, and the copy key requirement information represented by a parameter identifier; Encapsulate the document key and the document value according to a preset data format; Returning the text key and text value packaged in a preset data format to the application development end, so that the application development end can generate an application installation file containing the text key and the text value; wherein the application installation file is used to install the client and provide the text key and the text value to the client; The client carries the copy key when outputting the copy value of the target page, so as to obtain the copy key from the target page.
20. The method according to claim 19, characterized in that The determining of the copy key and copy value corresponding to the target page based on the page copy acquisition request carrying copy key requirement information sent by the application development end for the target page includes: Determine the copy key, copy value, and copy-related information corresponding to the target page based on the page copy acquisition request carrying the copy key requirement information; The returning of the document key and the document value to the application development end includes: Return the document key, the document value, and the document-related information to the application development end.
21. A multilingual copywriting management method, characterized in that: include: Obtaining a content key carried by a target page; wherein the target page carries the content key by processing the content key and content value obtained from the multilingual management system, the content key and content value being the content key and content value packaged in a preset data format and obtained from the multilingual management system based on a page content acquisition request carrying content key requirement information, the page content acquisition request including language version information, and the content key requirement information being represented by a parameter identifier; Determine the first language copy value corresponding to the copy key; Obtain the second language copy value obtained by translating the first language copy value; A correspondence between the text key and the second language text value is established.
22. The method according to claim 21, characterized in that The establishing of the correspondence between the text key and the second language text value includes: generating a second language identifier for the second language copy value; A correspondence between the text key, the second language identifier, and the second language text value is established.
23. A multilingual copywriting processing method, characterized in that: include: In response to a language identification switching instruction for a target page, the language identification of the target page is switched from a first language identification to a second language identification; wherein the second language identification is generated based on a second language text value corresponding to a text key carried by the target page; For the target page, generating a page copy acquisition request carrying the second language identifier, the page copy acquisition request including language version information, and the copy key requirement information being represented by a parameter identifier; Based on the page copy acquisition request, obtaining a second language copy value corresponding to the target page from the multilingual management system; wherein the second language copy value is obtained by translating the first language copy value corresponding to the copy key, and the copy key and the corresponding first language copy value are packaged according to a preset data format; The second language copy value is displayed in the page view of the target page.
24. The method according to claim 23, wherein Before the language identification of the target page is switched from the first language identification to the second language identification in response to the language identification switching instruction for the target page, the method further includes: The language identification switching instruction is generated based on the language switching operation on the target page.
25. A page copy processing device, characterized in that: include: A first acquisition request generation module is configured to generate a page copy acquisition request carrying copy key requirement information for a target page, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; A first acquisition module is configured to acquire, from the multilingual management system, a copy key and a copy value corresponding to the target page, which are packaged in a preset data format, based on the page copy acquisition request; The first processing module is used to process the text key and text value packaged according to the preset data format in the page view of the target page, so that the page view carries the text key, so as to obtain the text key from the target page.
26. A page copy processing device, characterized in that: include: A second acquisition request generation module is used to generate a page copy acquisition request carrying copy key requirement information, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; The second acquisition module is configured to send the page copy acquisition request to the multi-language management system; and receive the copy key and copy value packaged in a preset data format returned by the multi-language management system; A file generation module, configured to generate an application installation file containing the text key and the text value packaged in the preset data format; wherein the application installation file is used to install a client and provide the text key and the text value to the client; The client carries the copy key when outputting the copy value of the target page, so as to obtain the copy key from the target page.
27. A page copy processing device, characterized in that: include: A target page acquisition module is configured to acquire a target page carrying a copy key; the target page carrying the copy key is obtained by processing a page view of the target page based on the copy key and the copy value; the copy key and the copy value are the copy key and copy value packaged in a preset data format and obtained from a multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request generated for the target page and carrying copy key requirement information, the page copy acquisition request including language version information, and the copy key requirement information is represented by a parameter identifier; The copy key acquisition module is used to traverse the page views in the target page and obtain the copy key of the target page.
28. A page copy processing device, characterized in that: include: A first receiving module is configured to receive a page copy acquisition request sent by a user terminal for a target page, carrying copy key requirement information, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; A third acquisition module is configured to acquire, from the multilingual management system according to the page copy acquisition request, a copy key and a copy value corresponding to the target page, which are packaged in a preset data format; The first sending module is used to send the copy key and copy value packaged in a preset data format to the user terminal, so that the user terminal processes the target page based on the copy key and the copy value, so that the target page carries the copy key, so as to facilitate obtaining the copy key from the target page.
29. A page copy management device, characterized in that: include: A first determination module is configured to determine a content key and content value corresponding to a target page based on a page content acquisition request sent by a user terminal for the target page and carrying content key requirement information, wherein the page content acquisition request includes language version information and the content key requirement information is represented by a parameter identifier; The first return module is used to encapsulate the copy key and the copy value according to a preset data format; and return the copy key and copy value encapsulated in the preset data format to the user terminal, so that the user terminal processes the target page based on the copy key and the copy value, so that the target page carries the copy key and obtains the copy key from the target page.
30. A page copy management device, characterized in that: include: A second determination module is configured to determine a content key and content value corresponding to a target page based on a page content acquisition request sent by an application developer for the target page and carrying content key requirement information, wherein the page content acquisition request includes language version information and the content key requirement information is represented by a parameter identifier; The second return module is used to encapsulate the copy key and the copy value according to a preset data format; Returning the text key and text value packaged in a preset data format to the application development end, so that the application development end can generate an application installation file containing the text key and the text value; wherein the application installation file is used to install the client and provide the text key and the text value to the client; The client carries the copy key when outputting the copy value of the target page, so as to obtain the copy key from the target page.
31. A terminal device, characterized in that: The system comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: For the target page, generate a page copy acquisition request carrying copy key requirement information, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; Based on the page copy acquisition request, obtain the copy key and copy value corresponding to the target page, which are packaged in a preset data format, from the multilingual management system; The copy key and copy value packaged in a preset data format are processed in the page view of the target page, so that the page view carries the copy key, so as to obtain the copy key from the target page.
32. A computer device, characterized in that: The system comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: Generate a page copy acquisition request carrying copy key requirement information; the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; Sending the page copy acquisition request to the multilingual management system; Receive the text key and text value packaged in a preset data format returned by the multilingual management system, Generate an application installation file containing the text key and the text value packaged in the preset data format; wherein the application installation file is used to install a client and provide the text key and the text value to the client; The client carries the copy key when outputting the copy value of the target page, so as to obtain the copy key from the target page.
33. A terminal device, characterized in that: The system comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: Obtaining a target page carrying a copy key; wherein the target page carrying a copy key is obtained by processing a page view of the target page based on the copy key and the copy value; the copy key and the copy value are the copy key and copy value packaged in a preset data format and obtained from a multilingual management system based on a page copy acquisition request; the page copy acquisition request is a page copy acquisition request generated for the target page and carrying copy key requirement information, the page copy acquisition request including language version information, and the copy key requirement information is represented by a parameter identifier; Traverse the page views in the target page and obtain the copy key of the target page.
34. A server, characterized in that: The system comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: Receive a page copy acquisition request for a target page, sent by a user end, carrying copy key requirement information, wherein the page copy acquisition request includes language version information, and the copy key requirement information is represented by a parameter identifier; According to the page copy acquisition request, obtain the copy key and copy value corresponding to the target page, which are packaged in a preset data format, from the multilingual management system; The text key and text value packaged in a preset data format are sent to the user terminal, so that the user terminal processes the target page based on the text key and the text value, so that the target page carries the text key, so as to obtain the text key from the target page.
35. A server, characterized in that: The system comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request sent by the user end for the target page, wherein the page copy acquisition request includes language version information and the copy key requirement information is represented by a parameter identifier; Encapsulate the document key and the document value according to a preset data format; The copy key and copy value packaged in the preset data format are returned to the user end, so that the user end processes the target page based on the copy key and the copy value, so that the target page carries the copy key and obtains the copy key from the target page.
36. A server, characterized in that: The system comprises a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: Determine the copy key and copy value corresponding to the target page based on a page copy acquisition request sent by the application developer for the target page, the page copy acquisition request including language version information, and the copy key requirement information represented by a parameter identifier; Encapsulate the document key and the document value according to a preset data format; Returning the text key and text value packaged in a preset data format to the application development end, so that the application development end can generate an application installation file containing the text key and the text value; wherein the application installation file is used to install the client and provide the text key and the text value to the client; The client carries the copy key when outputting the copy value of the target page, so as to obtain the copy key from the target page.
Citation Information
Patent Citations
Multi-language binding method and system in web applications
CN101398845A
H5 page multilingual render method and device
CN108984170A