Copywriting Processing Methods and Copywriting Management Center

Through the Copywriting Management Center centrally handles and distributes multilingual copywriting, the problem of dependence on software development and copywriting translation processes is solved, R&D efficiency and copywriting distribution efficiency are improved, and system problems are reduced.

CN111914573BInactive Publication Date: 2024-11-15BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010784131.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-06
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the software function development and copywriting translation processes are interdependent, which leads to the need for R&D personnel to invest a lot of manpower and time costs, reducing the efficiency of software development.

Method used

The copywriting information input by the target personnel is received through the copywriting management center, sent to the translation platform for language translation, and distributed to the corresponding terminal according to the business type, realizing centralized processing and unified distribution of copywriting, and divesting the dependence between R&D personnel and copywriting translation.

Benefits of technology

There is no need for R&D personnel to care about the copywriting translation process, which improves the R&D efficiency of R&D personnel, reduces system problems caused by copywriting, and realizes timely updates and accurate distribution of copywriting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111914573B_ABST
    Figure CN111914573B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a copywriting processing method and a copywriting management center, the method comprising: receiving copywriting information input by a target person, the copywriting information including the copywriting content; sending the copywriting information to a translation platform, so that the translation platform translates the language of the copywriting content into a target language to obtain a target copywriting; receiving the target copywriting returned by the translation platform; and sending the target copywriting to corresponding terminals according to the business type of the target copywriting. The embodiment of the present invention realizes the centralized processing and unified distribution of copywriting, and R&D personnel do not need to care about the copywriting translation process, thereby improving the R&D efficiency of R&D personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to computer technology, and more particularly to a document processing method and a document management center. Background Art

[0002] With the development of internationalization, more and more businesses are being introduced to multiple countries around the world. The same business corresponds to different language copywriting in different countries. For example, travel software provides travel services in multiple countries. In order to provide more high-quality travel services in different countries, relevant technical personnel are required to organize the copywriting corresponding to various business types and manage various copywriting, such as copywriting translation, and publish the translated copywriting to the travel software in the corresponding country.

[0003] In related technologies, the management of multilingual documents is based on the open source distributed version control system Git. That is, the source document is extracted from the business party's code, and the language translation is initiated. After the translation is completed, the target document is written back to the business party's Git, and then the business party's R&D personnel organize the document and publish it online. For example, Figure 1 As shown in the figure, when the product manager PM puts forward a copywriting requirement, the R&D personnel RD needs to write the corresponding copywriting into the code and submit it to Git to initiate copywriting translation. After the translation is completed, the R&D personnel will merge the translated copywriting and release it online.

[0004] However, the copywriting management method in the prior art has the following problems: the processes of software function development and copywriting translation are interdependent, and R&D personnel need to invest a lot of manpower and time costs to participate in the process of copywriting translation and online release, thereby reducing software development efficiency. Summary of the invention

[0005] The embodiment of the present invention provides a copy processing method and a copy management center to solve the technical problem that the processes of software function development and copy translation are mutually dependent in the prior art, and R&D personnel need to invest a lot of manpower and time costs to participate in the process of copy translation and online release, thereby reducing the software development efficiency.

[0006] A first aspect of an embodiment of the present invention provides a document processing method, which is applied to a document management center, comprising:

[0007] Receiving text information input by a target person, wherein the text information includes text content;

[0008] Sending the text information to a translation platform so that the translation platform translates the language of the text content into a target language to obtain a target text;

[0009] Receiving the target text returned by the translation platform;

[0010] According to the business type of the target document, the target document is sent to the corresponding terminal respectively.

[0011] Optionally, the method further comprises:

[0012] Receive the copy modification information input by the target personnel;

[0013] The target document is updated according to the document modification information.

[0014] Optionally, the text information further includes text background information; and sending the text information to a translation platform so that the translation platform converts the language of the text content into a target language includes:

[0015] The text information is sent to a translation platform, so that the translation platform converts the language of the text content into a target language according to the text background information.

[0016] Optionally, sending the target documents to corresponding terminals respectively according to the business type of the target documents includes:

[0017] The target copy belonging to the service type of the server is sent to the server, so that the server acquires or queries the target copy according to the copy loading plug-in SDK provided by the copy management center.

[0018] Optionally, sending the target document belonging to the service type of the server to the server includes:

[0019] Generate a corresponding target file according to the target document belonging to the service type of the server;

[0020] The target file is sent to the server through a data transmission tool.

[0021] Optionally, sending the target file to the server through a data transmission tool includes:

[0022] Sending the target file to a data transfer tool;

[0023] Receive feedback information from the data transmission tool, and if the feedback information indicates that the transmission fails, resend the target file to the data transmission tool.

[0024] Optionally, sending the target documents to corresponding terminals respectively according to the business type of the target documents includes:

[0025] The text identifier of the target text belonging to the H5 end business type is sent to the H5 end, so that the H5 end obtains the corresponding target text in the text management center through the text identifier.

[0026] Optionally, the method further comprises:

[0027] The modified content of the copy entered by the target personnel is uploaded to the copy management node, so that the H5 terminal obtains the modified copy on the copy management node through the SDK provided by the copy management center.

[0028] Optionally, sending the target documents to corresponding terminals respectively according to the business type of the target documents includes:

[0029] The target document belonging to the client business type is sent to the client CI platform, so that the client CI platform integrates the target document into a resource package, and sends the resource package to the client when the client releases the version.

[0030] Optionally, the method further comprises:

[0031] In response to a document acquisition request sent by a client continuous integration CI platform, the newly added document in the document management center is sent to the client CI platform, so that the client CI platform updates the resource package according to the newly added document.

[0032] Optionally, the method further comprises:

[0033] Receive all target documents sent by the client CI platform to instruct the target personnel to modify all target documents;

[0034] In response to the latest copy acquisition request sent by the client, the modified new target copy is sent to the client.

[0035] Optionally, after receiving all target documents sent by the client CI platform to instruct the target personnel to modify all target documents, the method further includes:

[0036] Record the version information of the current modified document and generate a corresponding grayscale switch, wherein the grayscale switch is used to control the grayscale release of the modified document. The version information of the modified document includes an indication value, wherein the indication value is used to indicate whether the corresponding modified document is effective.

[0037] The version information of the modified text, the switch information of the grayscale switch corresponding to the modified text, the modified target text and the target text before modification are added to the cache, so that the client can publish a new target text according to the information in the cache.

[0038] A second aspect of an embodiment of the present invention provides a document processing method, which is applied to a server, and the method includes:

[0039] The target copy is sent by the target copy business type of the copy management center. The target copy is obtained after the copy management center sends the copy information input by the target person to the translation platform and the translation platform translates the language of the copy content in the copy information into the target language.

[0040] Optionally, the method comprises:

[0041] The target document is obtained or queried through the document loading plug-in SDK provided by the document management center.

[0042] Optionally, the step of obtaining or querying the target document through a document loading plug-in SDK provided by the document management center includes:

[0043] Detecting the copy modification information in the local memory of the copy management center through the SDK, and loading the copy modification information into the server memory;

[0044] The corresponding text is obtained from the server memory according to the text identifier.

[0045] A third aspect of an embodiment of the present invention provides a copywriting processing method, which is applied to an H5 terminal, and the method includes:

[0046] The target copy is sent by the target copy business type of the copy management center. The target copy is obtained after the copy management center sends the copy information input by the target person to the translation platform and the translation platform translates the language of the copy content in the copy information into the target language.

[0047] Optionally, the method comprises:

[0048] Obtain the corresponding target copy in the copy center according to the copy ID;

[0049] The acquired target text is marked, and the marked information is used to indicate that the acquired target text is a text used by the H5 terminal.

[0050] A fourth aspect of an embodiment of the present invention provides a document processing method, which is applied to a client, and the method includes:

[0051] The target copy is sent by the target copy business type of the copy management center. The target copy is obtained after the copy management center sends the copy information input by the target person to the translation platform and the translation platform translates the language of the copy content in the copy information into the target language.

[0052] Optionally, the method comprises:

[0053] Send the latest copy acquisition request to the copy management center, and receive the new target copy returned by the copy management center, wherein the new target copy is obtained after the copy management center receives all target copies sent by the client CI platform and instructs the target personnel to modify all target copies.

[0054] Optionally, the method comprises:

[0055] A new target copy is published according to the information in the cache, wherein the information in the cache is the version information of the modified copy added by the copy management center, the switch information of the grayscale switch corresponding to the modified copy, the modified target copy, and the target copy before the modification, wherein the version information of the modified copy is the version information of the current modified copy recorded by the copy management center, the switch information of the grayscale switch is the switch information of the grayscale switch generated by the copy management center corresponding to the modified copy, the grayscale switch is used to control the grayscale release of the modified copy, and the version information of the modified copy includes an indication value, and the indication value is used to indicate whether the corresponding modified copy is effective.

[0056] Optionally, publishing a new target document according to the information in the cache includes:

[0057] Obtaining switch information of the grayscale switch in the cache;

[0058] According to the switch information of each grayscale switch, determine whether the modified text corresponding to each grayscale switch needs to take effect, and obtain version information of the modified text that needs to take effect;

[0059] According to the version information of the modified document, determine whether the corresponding modified document is effective, and obtain the version information of the effective modified document;

[0060] Determine the modification documents that need to be published and the modification documents that need to be rolled back according to the version information of the modification documents that need to be effective and the version information of the modification documents that have been effective;

[0061] The modified documents that need to be released will be released online, and the modified documents that need to be rolled back will be rolled back and the target document before the modification will be released online.

[0062] Optionally, if the indication value in the version information is a first value, it indicates that the modification document corresponding to the version information has taken effect; if the indication value is a second value, it indicates that the modification document corresponding to the version information has not taken effect;

[0063] After the modified document to be published is released online, and the modified document to be rolled back is rolled back and the target document before the modification is released online, the method further includes:

[0064] The indication value in the version information of the effective modification document is set to the first value, and the indication value in the version information of the modification document that needs to be rolled back is set to the second value.

[0065] A fifth aspect of an embodiment of the present invention provides a copywriting management center, including:

[0066] A receiving module, used to receive the copy information input by the target person, wherein the copy information includes the copy content;

[0067] A sending module, used to send the copy information to a translation platform, so that the translation platform translates the language of the copy content into a target language to obtain a target copy;

[0068] The receiving module is also used to receive the target text returned by the translation platform;

[0069] The sending module is further used to send the target documents to corresponding terminals according to the business types of the target documents.

[0070] A sixth aspect of an embodiment of the present invention provides an electronic device, including: at least one processor and a memory;

[0071] The memory stores computer-executable instructions;

[0072] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the document processing method provided by the first aspect, the second aspect, the third aspect, or the fourth aspect of the embodiment of the present invention.

[0073] The seventh aspect of the embodiments of the present invention provides a computer-readable storage medium, in which computer execution instructions are stored. When the processor executes the computer execution instructions, the document processing method provided by the first aspect, the second aspect, the third aspect, or the fourth aspect of the embodiments of the present invention is implemented.

[0074] The embodiment of the present invention provides a copy processing method and a copy management center. The method receives copy information input by a target person, and the copy information includes copy content; then sends the copy information to a translation platform, so that the translation platform translates the language of the copy content into a target language to obtain a target copy; then receives the target copy returned by the translation platform, thereby realizing centralized processing of the copy, eliminating the need for R&D personnel to care about the copy translation process, and improving the R&D efficiency of the R&D personnel; then, according to the business type of the target copy, the target copy is sent to the corresponding terminal respectively, thereby realizing unified distribution of the copy. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0076] Figure 1 It is a flowchart of a document management method in the prior art shown in an exemplary embodiment of the present invention;

[0077] Figure 2 is an application scenario diagram of a document processing method shown in an exemplary embodiment of the present invention;

[0078] Figure 3 is a flowchart of a document processing method according to an exemplary embodiment of the present invention;

[0079] Figure 4 is a flowchart of a document processing method shown in another exemplary embodiment of the present invention;

[0080] Figure 5 is a flowchart of a document processing method shown in another exemplary embodiment of the present invention;

[0081] Figure 6 is a flowchart of a document processing method shown in another exemplary embodiment of the present invention;

[0082] Figure 7 is a structural diagram of a copywriting management center shown in an exemplary embodiment of the present invention;

[0083] Figure 8 It is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0084] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

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

[0086] With the development of internationalization, more and more businesses are being introduced to multiple countries around the world. The same business corresponds to different language copywriting in different countries. For example, travel software provides travel services in multiple countries. In order to provide more high-quality travel services in different countries, relevant technical personnel are required to organize the copywriting corresponding to various business types and manage various copywriting, such as copywriting translation, and publish the translated copywriting to the travel software in the corresponding country.

[0087] In related technologies, the management of multilingual documents is based on the open source distributed version control system Git. That is, the source document is extracted from the business party's code, and the language translation is initiated. After the translation is completed, the target document is written back to the business party's Git, and then the business party's R&D personnel organize the document and publish it online. For example, Figure 1 As shown, when the product manager PM proposes a copywriting requirement, the R&D personnel RD needs to write the corresponding copywriting into the code and submit it to Git to initiate the copywriting translation. After the translation is completed, the R&D personnel will merge the translated copywriting and publish it online. When the copywriting is modified, the operation personnel or the language quality assurance personnel LQA directly modify the copywriting in the copywriting center and submit it to the Git of the business party, and then the R&D personnel of the business party merge the modified copywriting online. However, the copywriting management method in the prior art has the following problems: the copywriting depends on the online release of the R&D personnel after modification, and in actual situations, the R&D personnel cannot publish the copywriting online immediately after the modification in most cases. Therefore, in this way, the modified copywriting cannot take effect in time. In addition, the copywriting management based on Git can only provide the content to be translated when submitting the copywriting for translation, lacking background information such as the context information of the translation and the content to be translated. For the copywriting in a specific scenario, the efficiency and accuracy of the translation are often low due to the lack of copywriting background information. The processes of software function development and text translation are interdependent. R&D personnel need to invest a lot of manpower and time costs to participate in the process of text translation and online release, which reduces software development efficiency.

[0088] In response to this defect, the technical solution of the present invention mainly lies in: the copywriting center centrally manages the multilingual copywriting of all business parties; when a new copywriting is added, the translation is initiated to the translation platform according to the content and background of the copywriting, and the translation result is returned to the copywriting center; the copywriting center modifies the copywriting with translation problems; the copywriting center adopts different copywriting distribution methods according to different business types, thereby separating business functions and copywriting translation. R&D personnel do not need to worry about the copywriting translation process, but only need to focus on the realization of business functions, thereby improving the overall R&D efficiency and reducing system problems caused by copywriting.

[0089] Figure 2 It is an application scenario diagram of a document processing method shown in an exemplary embodiment of the present invention.

[0090] like Figure 2 As shown, the basic architecture of the scenario provided by this embodiment mainly includes: a copywriting center 201, a translation platform 202, a server 203, a client 204 and an H5 terminal 205; wherein, when a new copywriting is needed, the project manager PM inputs the new copywriting into the copywriting center, and the copywriting center sends the copywriting to be translated to the translation platform, the translation platform translates the content to be translated, and sends the translated copywriting to the copywriting center. When the copywriting needs to be modified, the language quality assurance personnel directly modifies the copywriting with translation errors in the copywriting center. When the copywriting is distributed, the copywriting center adopts different distribution methods according to the different business types of the translated copywriting, such as the server business type, the client business type and the H5 end business type, and sends the translated copywriting to the server, the client or the H5 end, and then the R&D personnel implement the corresponding business functions through the server, the client and the H5 end.

[0091] Figure 3 is a flowchart of a method for processing a document according to an exemplary embodiment of the present invention. The execution subject of the method provided in this embodiment may be Figure 2 The copy center in the illustrated embodiment.

[0092] like Figure 3 As shown, the method provided in this embodiment may include the following steps.

[0093] S301, receiving copy information input by a target person, wherein the copy information includes copy content.

[0094] Specifically, when new copy is needed, the target person (such as a project manager) can add the copy information to be added in the copy center. The copy information may include the copy content to be added and the copy background information corresponding to the copy content, such as the context information of the copy content.

[0095] S302: Send the text information to a translation platform, so that the translation platform translates the language of the text content into a target language to obtain a target text.

[0096] Specifically, the copy information is sent to the translation platform, and the translation platform translates the copy content according to the copy background information. The specific target language of the translation is determined according to the country where the business function needs to be launched. For example, the copy content is translated into English, Japanese and other target languages.

[0097] S303, receiving the target text returned by the translation platform.

[0098] Specifically, after the translation platform completes the translation, the translated target copy is automatically returned to the copy center.

[0099] S304: Send the target documents to corresponding terminals according to the business types of the target documents.

[0100] Specifically, business types can be divided into three types, namely server-side business type, client-side business type and H5-side business type. Different distribution methods are used to send target texts of different business types to corresponding terminals.

[0101] For example, for the target copy of the server-side business type, it is sent to the server; for the target copy of the client-side business type, it is sent to the client; for the target copy of the H5-side business type, it is sent to the H5-side.

[0102] It should be noted that the specific distribution methods of target documents of different business types will be specifically described in the following embodiments.

[0103] In this embodiment, the copy information input by the target personnel is received, and the copy information includes the copy content; then the copy information is sent to the translation platform, so that the translation platform translates the language of the copy content into the target language to obtain the target copy; then the target copy returned by the translation platform is received, thereby realizing centralized processing of the copy, without the need for R&D personnel to care about the copy translation process, thereby improving the R&D efficiency of the R&D personnel; then according to the business type of the target copy, the target copy is sent to the corresponding terminal respectively, thereby realizing unified distribution of the copy.

[0104] In a possible embodiment, the method further includes: receiving text modification information input by the target person; and updating the target text according to the text modification information.

[0105] Specifically, the copy translated by the translation platform may contain translation errors or inaccuracies. The language quality assurance staff will check the translated target copy in the copy center. If any translation errors are found, the copy will be modified directly and the copy modification information will be input into the copy center. The copy center will update the target copy according to the modified content.

[0106] It should be noted that for copywriting of different business types, the copywriting center adopts different copywriting distribution methods. The following describes the distribution methods of copywriting for server-side business types, client-side business types, and H5-side business types respectively.

[0107] When the business type is server-side business type, the business party is the server, and the copywriting center uses copywriting push to send the target copywriting to the server, see Figure 4 , specifically including the following steps:

[0108] S401, the copywriting center generates a corresponding target file according to the target copywriting belonging to the service type of the server.

[0109] S402, the copywriting center sends the target file to the data transmission tool.

[0110] Specifically, the copywriting center generates corresponding target files from all target copies at regular intervals, and sends the target files to the data transmission tool.

[0111] S403, the data transmission tool sends the target document to the server and generates feedback information.

[0112] Specifically, after receiving the target file sent by the copywriting center, the data transmission tool sends all the target files to the server and generates feedback information based on the sending situation. If the sending is successful, the feedback information is that the sending is successful; if the sending fails, the feedback information is that the sending fails.

[0113] S404: The data transmission tool sends the feedback information to the copywriting center.

[0114] S405: If the feedback information indicates that the sending fails, the copywriting center resends the target file to the data transmission tool.

[0115] If the feedback information is that the sending failed, it means that the server failed to successfully receive the target file. After receiving the feedback information, the copywriting center will resend the target file to the data transmission tool, and the data transmission tool will then send the target file to the server until it is successfully sent.

[0116] S406, the server obtains or queries the target document according to the document loading plug-in SDK provided by the document management center.

[0117] Among them, each business party server will access the file loading plug-in SDK of the copy center. The server obtains or queries the target copy according to the SDK provided by the copy center. The copy loading plug-in SDK is used to monitor copy changes in real time and load the corresponding changed files into the memory of the application to be served.

[0118] Specifically, whenever the copy center pushes files to the server, the SDK monitors the changes of local files on the server in real time and loads the corresponding changed files into the memory of the service application. When the business party needs to obtain the copy, it can directly obtain the corresponding copy through the copy's unique identifier UIkey and the language type of the copy. For example, the project manager adds a new copy through the copy center. The copy center generates the corresponding file for the copy and sends the file to the server through the data transmission tool. After the SDK monitors the newly added file, it loads the file into the memory of the service application. When the business party needs the copy, it can enter the identifier of the changed copy on the server to obtain the copy.

[0119] In one case of this embodiment, when the copy of the copy center needs to be changed, the language quality assurance staff can modify the copy directly through the copy center. To modify the copy sending method, it is only necessary to repeat the above process. The copy can be quickly effective in the production environment without publishing the copy online.

[0120] When the service type is H5 end service type, the service party is H5 end, see Figure 5 , specifically including the following steps:

[0121] S501, the copy center sends the copy identifier of the target copy belonging to the H5 end business type to the H5 end.

[0122] S502, the H5 terminal obtains the corresponding target copy in the copy management center through the copy identifier.

[0123] Specifically, after the H5 terminal receives the copy identification sent by the copy center, it obtains the corresponding target copy in the copy center according to the copy identification; and marks the obtained target copy, and the marking information is used to indicate that the obtained target copy belongs to the copy used by the H5 terminal.

[0124] S503, the copywriting center uploads the copywriting modification content input by the target personnel to the copywriting management node.

[0125] Specifically, when there is a problem with the online H5 copy that needs to be changed, the business personnel can directly search for the corresponding copy in the copy center and modify it. After the modification is completed, the copy center will automatically generate a file with the modified copy content and upload it to the copy management node CDN.

[0126] S504, the H5 terminal sends a request for modifying the copy to the copy management node through the SDK provided by the copy center.

[0127] S505, the copy management node sends the modified copy content to the H5 terminal.

[0128] Specifically, when a user opens an H5 page and needs to obtain the copy, the H5 end will automatically request resources from the CDN based on the SDK provided by the copy center to obtain the changed copy and return it to the H5 page to display it to the user.

[0129] In this embodiment, the entire process does not require the online release of the modified text, which greatly saves the energy and time costs of R&D personnel, and also reduces the probability of text errors.

[0130] When the service type is client service type, the service party is the client, see Figure 6 , specifically including the following steps:

[0131] S601, the copywriting center sends the target copywriting belonging to the client business type to the client CI platform.

[0132] S602: The client CI platform integrates a resource package according to the target document.

[0133] S603: The client CI platform stores the resource package in the client code repository.

[0134] Specifically, client developers only need to obtain the required documents from the document center and upload them to the client continuous integration (CI) platform for registration. The client CI platform will automatically integrate these documents into the resource package, and then the client developers do not need to worry about the related issues of the documents in the future.

[0135] S604, the client CI platform sends a document acquisition request to the document management center.

[0136] During the specific implementation, the project manager will add some new documents to the copy center at any time according to the needs, and the client CI platform will send a copy acquisition request to the copy center at a regular interval, for example, every 10 minutes.

[0137] S605, the copy center sends the newly added copy in the copy management center to the client CI platform.

[0138] Specifically, after receiving the copy acquisition request sent by the client CI platform, the copy center sends the latest newly added copy to the client CI platform.

[0139] S606: The client CI platform updates the resource package according to the newly added document.

[0140] Specifically, the client CI platform updates the resource package in the client code repository in real time according to the latest copy obtained.

[0141] S607, the client CI platform sends all target documents to the document center when publishing, to instruct the target personnel to modify all target documents.

[0142] Specifically, before the client App is released to the app store, all the texts need to be checked. Therefore, when the client packages and releases the version, the client CI platform will upload all the target texts of the client to the text center for inspection. Then, the language quality assurance staff will check all the target texts in the text center and modify the texts directly in the text center when translation errors are found.

[0143] Specifically, the version information of the current modified document is recorded, and a corresponding grayscale switch is generated, wherein the grayscale switch is used to control the grayscale release of the modified document, and the version information of the modified document includes an indication value, wherein the indication value is used to indicate whether the corresponding modified document is effective; the version information of the modified document, the switch information of the grayscale switch corresponding to the modified document, the modified target document, and the target document before modification are added to the cache, so that the client can release the new target document according to the information in the cache.

[0144] Specifically, the CI platform will upload all target documents of the client to the document center, and initialize the document modification version indicator value copyVersion of each language to 0. copyVersion represents the effective status of each modification.

[0145] It should be noted that, due to the length limit of integer data processed by computers, the data is divided into blocks by isolating symbols, so that the indicator value copyVersion can break through the limit. The block rule is: a 63-bit binary number is a block, and 1 on each bit indicates that the corresponding version number has been effective on the client, and 0 indicates that it has not yet been effective. Each block in copyVersion is recorded in decimal. For example: copyVersion = "1200,1" 1200 is 10010110000 in binary, which means that the 5th, 6th, 8th, 11th, and 64th (63+1) modifications have been effective on the client of this user.

[0146] Furthermore, when the client's online copywriting is wrong, the language quality assurance staff will modify the corresponding copywriting in the copywriting center. When the modification is approved, the server records the version of the current modified copywriting and generates a grayscale switch accordingly. At the same time, the version information of the modified copywriting, the switch information of the grayscale switch corresponding to the modified copywriting, the modified target copywriting, and the target copywriting before and after the modification are added to the cache.

[0147] S608: The client sends a request to obtain the latest copy to the copy management center.

[0148] S609, the copywriting center sends the modified new target copywriting to the client.

[0149] S610: The client publishes the modified new target text.

[0150] Specifically, in steps S608-S610, when the client is restarted, it will request the document center to obtain the latest modified document, and publish the latest modified document according to the information added to the cache in step S607.

[0151] In one case of this embodiment, the publishing of the new target document according to the information in the cache includes: obtaining the switch information of the grayscale switch in the cache; judging whether the modified document corresponding to each grayscale switch needs to take effect according to the switch information of each grayscale switch, and obtaining the version information of the modified document that needs to take effect.

[0152] Specifically, the switch information of the grayscale switch corresponding to all the modified documents is obtained from the cache, and the switch information of the grayscale switch is used to identify whether the modified document corresponding to the grayscale switch needs to take effect. If the switch information is on, it means that the modified document needs to take effect, otherwise it does not need to take effect. Thus, the version information of the modified document that needs to take effect is obtained.

[0153] Furthermore, based on the version information of the modified text, it is determined whether the corresponding modified text is effective, and the version information of the effective modified text is obtained.

[0154] Specifically, the indicator value copyVersion in the version information of the modified document is processed in blocks to determine whether the corresponding modified document is effective, and obtain the version information of the effective modified document. The block division rule is: a 63-bit binary number is a block, and 1 on each bit indicates that the corresponding version number has been effective on the client, and 0 indicates that it has not yet been effective. Each block in copyVersion is recorded in decimal. For example: copyVersion = "1200,1" 1200 is 10010110000 in binary, which means that the 5th, 6th, 8th, 11th, and 64th (63+1) modifications have been effective on the user's client.

[0155] Furthermore, based on the version information of the modified documents that need to take effect and the version information of the modified documents that have taken effect, determine the modified documents that need to be published and the modified documents that need to be rolled back; publish the modified documents that need to be published online, and roll back the modified documents that need to be rolled back and publish the target documents before the modification online.

[0156] Specifically, if the modified document needs to take effect but has not yet taken effect, then the modified document is the modified document that needs to be published; if the modified document does not need to take effect but has already taken effect, then it means that the modified document needs to be rolled back and the target document before the modification is published online; if the modified document needs to take effect and has already taken effect, then it means that the modified document does not need to be published again; if the modified document does not need to take effect and has not yet taken effect, then it means that the Gates modified document has not taken effect but the modified document cannot be published.

[0157] In one case of this embodiment, if the indication value in the version information is a first value, it indicates that the modified text corresponding to the version information has taken effect; if the indication value is a second value, it indicates that the modified text corresponding to the version information has not taken effect; after the modified text to be released is put online, and the modified text to be rolled back is rolled back and the target text before the modification is put online, the method also includes: setting the indication value in the version information of the effective modified text to the first value, and setting the indication value in the version information of the modified text to be rolled back to the second value.

[0158] The first value may be 1, and the second value may be 0.

[0159] Specifically, after the modified document to be published is released online, the indicator value copyVersion in the version information of the corresponding modified document needs to be changed, that is, the corresponding digit of the effective version number is set to 1, and the corresponding digit of the rolled back modified version number is set to 0. The specific modification rules are:

[0160] 1) Record the maximum number of blocks: maxPartition = {the partition containing the maximum modified version number to be effective, the maximum partition of copyVersion}.

[0161] 2) Traverse the modified version number that will take effect, convert the version number into a number of corresponding digits of the corresponding partition, and add it to the value of the partition in the original copyVersion (the rolled back version is subtracted).

[0162] 3) Concatenate each partition. If a partition is empty, the partition is 0.

[0163] In this embodiment, when the business party using the copy is the client, the R&D personnel only need to register the corresponding copy to the CI platform. When the client integrates and packages, the CI platform automatically integrates the latest copy results into the client. In addition, a new copy hot repair function is added. When the client restarts, it directly obtains the latest modified copy from the copy center and performs online copy repair.

[0164] Figure 7 It is a structural diagram of a copywriting management center shown in an exemplary embodiment of the present invention.

[0165] like Figure 7 As shown, the structure of the copy center provided in this embodiment includes: a receiving module 701 and a sending module 702; wherein the receiving module is used to receive the copy information input by the target person, and the copy information includes the copy content; the sending module is used to send the copy information to the translation platform, so that the translation platform translates the language of the copy content into the target language to obtain the target copy; the receiving module is also used to receive the target copy returned by the translation platform; the sending module is also used to send the target copy to the corresponding terminal according to the business type of the target copy.

[0166] Furthermore, the receiving module is specifically used to: receive the text modification information input by the target person; and update the target text according to the text modification information.

[0167] Furthermore, the text information also includes text background information; the sending module is specifically used for:

[0168] The text information is sent to a translation platform, so that the translation platform converts the language of the text content into a target language according to the text background information.

[0169] Furthermore, the sending module is specifically used for:

[0170] The target copy belonging to the service type of the server is sent to the server, so that the server acquires or queries the target copy according to the copy loading plug-in SDK provided by the copy management center.

[0171] Furthermore, the sending module is specifically used for:

[0172] Generate a corresponding target file according to the target document belonging to the service type of the server;

[0173] The target file is sent to the server through a data transmission tool.

[0174] Furthermore, the sending module is specifically used to: send the target file to a data transmission tool; receive feedback information from the data transmission tool, and if the feedback information indicates that the transmission fails, re-send the target file to the data transmission tool.

[0175] Furthermore, the sending module is specifically used to send the text identifier of the target text belonging to the H5 terminal business type to the H5 terminal, so that the H5 terminal obtains the corresponding target text in the text management center through the text identifier.

[0176] Furthermore, the sending module is specifically used to upload the modified content of the copy entered by the target person to the copy management node, so that the H5 terminal obtains the modified copy on the copy management node through the SDK provided by the copy management center.

[0177] Furthermore, the sending module is specifically used to send the target document belonging to the client business type to the client CI platform, so that the client CI platform integrates the target document into a resource package, and sends the resource package to the client when the client releases the version.

[0178] Furthermore, the sending module is specifically used to: in response to a document acquisition request sent by a client continuous integration CI platform, send the newly added document in the document management center to the client CI platform, so that the client CI platform updates the resource package according to the newly added document.

[0179] Furthermore, the sending module is specifically used to: receive all target documents sent by the client CI platform to instruct the target personnel to modify all target documents; and send the modified new target documents to the client in response to the latest document acquisition request sent by the client.

[0180] Furthermore, the sending module is specifically used to: record the version information of the current modified document and generate a corresponding grayscale switch, the grayscale switch is used to control the grayscale release of the modified document, the version information of the modified document includes an indication value, and the indication value is used to indicate whether the corresponding modified document is effective; add the version information of the modified document, the switch information of the grayscale switch corresponding to the modified document, the modified target document and the target document before modification to the cache, so that the client can release the new target document according to the information in the cache.

[0181] For the detailed functional description of each module in this embodiment, please refer to the description in the embodiment of the method, which will not be elaborated here.

[0182] Figure 8 Schematic diagram of the electronic hardware structure provided by the embodiment of the present invention. Figure 8As shown, the electronic device 800 provided in this embodiment includes: at least one processor 801 and a memory 802. The processor 801 and the memory 802 are connected via a bus 803.

[0183] In the specific implementation process, at least one processor 801 executes the computer execution instructions stored in the memory 802, so that at least one processor 801 executes the text processing method in the above method embodiment.

[0184] In this embodiment, the electronic device may be a terminal, such as a mobile phone, a computer, etc.

[0185] The specific implementation process of the processor 801 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0186] In the above Figure 8 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0187] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0188] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0189] Another embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the document processing method in the above method embodiment is implemented.

[0190] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage 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. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0191] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0192] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0193] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention 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 replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A copywriting processing method, characterized in that: Applied to a copywriting management center, the method includes: Receiving text information input by a target person, wherein the text information includes text content; Sending the text information to a translation platform so that the translation platform translates the language of the text content into a target language to obtain a target text; Receiving the target text returned by the translation platform; According to the business type of the target document, the target document is sent to the corresponding terminal respectively; The sending of the target documents to corresponding terminals according to the business type of the target documents comprises: Receive all target documents sent by the client CI platform to instruct the target personnel to modify all target documents; Record the version information of the current modified document and generate a corresponding grayscale switch, the grayscale switch is used to control the grayscale release of the modified document, the version information includes an indication value, the indication value is used to indicate whether the corresponding modified document is effective, and the indication value is processed in blocks; The version information, the switch information of the grayscale switch, the modified target document and the target document before modification are added to the cache, so that the client can publish a new target document according to the information in the cache.

2. The method according to claim 1, characterized in that Also includes: Receive the copy modification information input by the target personnel; The target document is updated according to the document modification information.

3. The method according to claim 1, characterized in that: The copywriting information also includes copywriting background information; sending the copywriting information to the translation platform so that the translation platform converts the language of the copywriting content into the target language, including: The text information is sent to a translation platform, so that the translation platform converts the language of the text content into a target language according to the text background information.

4. The method according to any one of claims 1 to 3, characterized in that: The step of sending the target documents to corresponding terminals according to the business types of the target documents comprises: The target copy belonging to the service type of the server is sent to the server, so that the server acquires or queries the target copy according to the copy loading plug-in SDK provided by the copy management center.

5. The method according to claim 4, characterized in that The sending of the target document belonging to the service type of the server to the server includes: Generate a corresponding target file according to the target document belonging to the service type of the server; The target file is sent to the server through a data transmission tool.

6. The method according to claim 5, characterized in that The sending of the target file to the server through a data transmission tool includes: Sending the target file to a data transfer tool; Receive feedback information from the data transmission tool, and if the feedback information indicates that the transmission fails, resend the target file to the data transmission tool.

7. The method according to any one of claims 1 to 3, characterized in that: The step of sending the target documents to corresponding terminals according to the business types of the target documents comprises: The text identifier of the target text belonging to the H5 end business type is sent to the H5 end, so that the H5 end obtains the corresponding target text in the text management center through the text identifier.

8. The method according to claim 7, characterized in that Also includes: The modified content of the copy entered by the target personnel is uploaded to the copy management node, so that the H5 terminal obtains the modified copy on the copy management node through the SDK provided by the copy management center.

9. The method according to any one of claims 1 to 3, characterized in that: The step of sending the target documents to corresponding terminals according to the business types of the target documents comprises: The target document belonging to the client business type is sent to the client CI platform, so that the client CI platform integrates the target document into a resource package, and sends the resource package to the client when the client releases the version.

10. The method according to claim 9, characterized in that Also includes: In response to a document acquisition request sent by a client continuous integration CI platform, the newly added document in the document management center is sent to the client CI platform, so that the client CI platform updates the resource package according to the newly added document.

11. The method according to claim 9, characterized in that Also includes: In response to the latest copy acquisition request sent by the client, the modified new target copy is sent to the client.

12. A method for processing a document, characterized in that: Applied to a client, the method comprises: Receiving a target copy sent by a target copy business type of a copy management center, wherein the target copy is obtained after the copy management center sends copy information input by a target person to a translation platform and the translation platform translates the language of the copy content in the copy information into a target language; A new target copy is published according to the information in the cache, wherein the information in the cache is the version information of the modified copy added by the copy management center, the switch information of the grayscale switch corresponding to the modified copy, the modified target copy, and the target copy before the modification, wherein the version information of the modified copy is the version information of the current modified copy recorded by the copy management center, the switch information of the grayscale switch is the switch information of the grayscale switch generated by the copy management center corresponding to the modified copy, the grayscale switch is used to control the grayscale release of the modified copy, the version information of the modified copy includes an indication value, the indication value is used to indicate whether the corresponding modified copy is effective, and the indication value is processed in blocks.

13. The method according to claim 12, characterized in that include: Send the latest copy acquisition request to the copy management center, and receive the new target copy returned by the copy management center, wherein the new target copy is obtained after the copy management center receives all target copies sent by the client CI platform and instructs the target personnel to modify all target copies.

14. The method according to claim 13, characterized in that The publishing of a new target document according to the information in the cache includes: Obtaining switch information of the grayscale switch in the cache; According to the switch information of each grayscale switch, determine whether the modified text corresponding to each grayscale switch needs to take effect, and obtain version information of the modified text that needs to take effect; According to the version information of the modified document, determine whether the corresponding modified document is effective, and obtain the version information of the effective modified document; Determine the modification documents that need to be published and the modification documents that need to be rolled back according to the version information of the modification documents that need to be effective and the version information of the modification documents that have been effective; The modified documents that need to be released will be released online, and the modified documents that need to be rolled back will be rolled back and the target document before the modification will be released online.

15. The method according to claim 14, characterized in that If the indication value in the version information is the first value, it means that the modification document corresponding to the version information has taken effect; if the indication value is the second value, it means that the modification document corresponding to the version information has not taken effect; After the modified document to be published is released online, and the modified document to be rolled back is rolled back and the target document before the modification is released online, the method further includes: The indication value in the version information of the effective modification document is set to the first value, and the indication value in the version information of the modification document that needs to be rolled back is set to the second value.

16. A copywriting management center, characterized in that: include: A receiving module, used to receive the copy information input by the target person, wherein the copy information includes the copy content; A sending module, used to send the copy information to a translation platform, so that the translation platform translates the language of the copy content into a target language to obtain a target copy; The receiving module is also used to receive the target text returned by the translation platform; The sending module is further used to send the target documents to corresponding terminals according to the business type of the target documents; The sending module is also used for: Receive all target documents sent by the client CI platform to instruct the target personnel to modify all target documents; Record the version information of the current modified document and generate a corresponding grayscale switch, the grayscale switch is used to control the grayscale release of the modified document, the version information includes an indication value, the indication value is used to indicate whether the corresponding modified document is effective, and the indication value is processed in blocks; The version information, the switch information of the grayscale switch, the modified target document and the target document before modification are added to the cache, so that the client can publish a new target document according to the information in the cache.

17. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the document processing method as described in any one of claims 1-11 or 12-15.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the document processing method as described in any one of claims 1-11 or 12-15 is implemented.