Method and device for displaying access result of multilingual service system

Generating a collection of multilingual business terms through a large generative pre-training model solves the problems of high cost and low efficiency in the development of multilingual business systems, achieves efficient and accurate multilingual support, and improves development efficiency.

CN118656163AInactive Publication Date: 2024-09-17BEIJING JINGDONG YUANSHENG TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410961932.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the development process of existing multilingual business systems, adding new languages ​​requires higher labor costs and translation costs. The translation results are not accurate enough and the translation cycle is long, resulting in low development efficiency.

Method used

Use a generative pre-trained large model to generate a collection of business terms in each language type, obtain the target language type through user access requests, find and render business result messages, and achieve multi-lingual support without human translation. It combines public term libraries and multi-language A translation approach to improve translation accuracy.

Benefits of technology

It improves the accuracy and quality of translation results, shortens the translation cycle, and improves the development efficiency of multilingual business systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656163A
    Figure CN118656163A
Patent Text Reader

Abstract

The invention discloses an access result display method and device of a multilingual service system, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: in response to a received service system access request sent by a user, obtaining a target language type from the service system access request; obtaining a target business entry set corresponding to the target language type from pre-stored business entry sets corresponding to various language types, wherein the business entry sets corresponding to various language types are generated based on a generative pre-training large model; in response to a received service result message returned by the server, searching a target service result message corresponding to the service result message from the target service entry set; and performing page rendering according to the target service result message to obtain an access result of the service system, and displaying the access result. According to the embodiment, the accuracy of the translation result and the translation quality are improved, the translation efficiency is improved, and then the development efficiency of a multilingual service system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for displaying access results of a multilingual business system. Background Art

[0002] With the increasing demand for internationalization of systems in various industries, how to quickly and accurately convert a system that only supports one language into a more localized target language has become the primary technical issue for the internationalization of various business systems. Taking the translation of Chinese into other languages ​​as an example, the existing technology extracts resource files that need to be internationalized to form a collection of Chinese vocabulary one by one, and then hands the Chinese vocabulary to a translation agency for translation. After the translation company completes the translation, the business system R&D personnel will verify and check the translated entries, and then replace them into the system. After a long period of debugging, the multilingual system can be launched. When a user accesses a multilingual business system, the system responds and returns the result according to the language selected by the user.

[0003] In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: in the process of developing a multilingual business system, adding new languages ​​requires higher labor costs and translation costs, and because the translation companies lack the background of system professional terminology, the translation results are not accurate enough, the translation quality is poor, and the translation cycle is long, which reduces the development efficiency of the multilingual business system. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method and device for displaying access results of a multilingual business system, which can improve the accuracy and quality of translation results, improve translation efficiency, and further improve the development efficiency of the multilingual business system.

[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for displaying access results of a multilingual business system is provided, comprising: In response to receiving a business system access request sent by a user, obtaining a target language type from the business system access request; Obtaining a target business term set corresponding to a target language type from pre-stored business term sets corresponding to various language types, wherein the business term sets corresponding to various language types are generated based on a generative pre-trained large model; In response to receiving the service result message returned by the server, searching for a target service result message corresponding to the service result message from the target service entry set; The page is rendered according to the target business result message to obtain the access result of the business system and display the access result.

[0006] Optionally, the method also includes: in case a target business term set corresponding to the target language type cannot be obtained from the pre-stored business term sets corresponding to each language type, in response to receiving a business result message returned by the server, using a generative pre-trained large model to generate a target business result message corresponding to the business result message.

[0007] Optionally, the business term sets corresponding to each language type are generated in the following manner: obtaining a business result message set corresponding to the business system; generating prompts corresponding to each language type based on the business result message set, the business description of the business system and the language type; and generating business term sets corresponding to each language type by inputting the prompts corresponding to each language type into a generative pre-trained large model.

[0008] Optionally, prompt words corresponding to each language type are generated based on the business result message set, the business description of the business system, and the language type, including: for each language type, a prompt word of the language type corresponding to each business result message is generated based on each business result message in the business result message set, the business description of the business system, and the language type.

[0009] Optionally, before generating a prompt of the language type corresponding to each business result message, it also includes: for each business result message, confirming that there is no business entry of the language type corresponding to the business result message in a public entry library, the public entry library being a pre-accumulated professional term library, which includes business entries of no less than one language type corresponding to commonly used professional terms.

[0010] Optionally, prompts corresponding to each language type are input into a generative pre-trained large model to generate a set of business terms corresponding to each language type, including: for each business result message and each language type in the business result message set, the prompts of the language type corresponding to the business result message are input into the generative pre-trained large model, so that the generative pre-trained large model generates multiple translation results of the language type corresponding to the business result message through multiple translation paths; selects one translation result from the multiple translation results through a voting mechanism as the business term of the language type corresponding to the business result message; and takes a set consisting of business terms of the language type corresponding to each business result message in the business result message set as a set of business terms corresponding to the language type, thereby obtaining a set of business terms corresponding to each language type.

[0011] According to another aspect of an embodiment of the present invention, there is provided an access result display device for a multilingual business system, comprising: A language type acquisition module, configured to acquire a target language type from a business system access request in response to receiving a business system access request from a user; A term set acquisition module, used to acquire a target business term set corresponding to a target language type from pre-stored business term sets corresponding to various language types, wherein the business term sets corresponding to various language types are generated based on a generative pre-trained large model; A result message search module, configured to search for a target business result message corresponding to the business result message from a target business entry set in response to receiving a business result message returned by the server; The result generation and display module is used to render the page according to the target business result message to obtain the access result of the business system and display the access result.

[0012] Optionally, the device also includes a result message generation module, which is used to: in the event that a target business term set corresponding to the target language type cannot be obtained from the pre-stored business term sets corresponding to each language type, in response to receiving a business result message returned by the server, use a generative pre-trained large model to generate a target business result message corresponding to the business result message.

[0013] Optionally, the device also includes a business term set generation module, which is used to generate a business term set corresponding to each language type in the following manner: obtaining a business result message set corresponding to the business system; generating prompt words corresponding to each language type based on the business result message set, the business description of the business system and the language type; and generating a business term set corresponding to each language type by inputting the prompt words corresponding to each language type into a generative pre-trained large model.

[0014] Optionally, when the business term set generation module generates prompts corresponding to each language type based on the business result message set, the business description of the business system and the language type, it can also be used to: for each language type, generate a prompt of the language type corresponding to each business result message based on each business result message in the business result message set, the business description of the business system and the language type.

[0015] Optionally, the business term set generation module is also used to: before generating a prompt word of the language type corresponding to each business result message, confirm for each business result message that there is no business term of the language type corresponding to the business result message in the public term library, the public term library being a pre-accumulated professional term library, which includes business terms of no less than one language type corresponding to commonly used professional terms.

[0016] Optionally, when the business term set generation module generates business term sets corresponding to each language type by inputting prompts corresponding to each language type into the generative pre-trained large model, it is also used to: for each business result message and each language type in the business result message set, input the prompt of the language type corresponding to the business result message into the generative pre-trained large model, so that the generative pre-trained large model generates multiple translation results of the language type corresponding to the business result message through multiple translation paths; selects one translation result from the multiple translation results through a voting mechanism as the business term of the language type corresponding to the business result message; and uses a set consisting of business terms of the language type corresponding to each business result message in the business result message set as the business term set corresponding to the language type, to obtain a business term set corresponding to each language type.

[0017] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the access result display method of the multilingual business system provided in an embodiment of the present invention.

[0018] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the access result display method of the multilingual business system provided by an embodiment of the present invention is implemented.

[0019] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the access result display method of the multilingual business system provided by an embodiment of the present invention is implemented.

[0020] An embodiment of the above invention has the following advantages or beneficial effects: by responding to receiving a business system access request sent by a user, obtaining the target language type from the business system access request; obtaining the target business term set corresponding to the target language type from the pre-stored business term set corresponding to each language type, and the business term set corresponding to each language type is generated based on the generative pre-trained large model; in response to receiving the business result message returned by the server, searching the target business result message corresponding to the business result message from the target business term set; rendering the page according to the target business result message to obtain the access result of the business system, and displaying the technical solution of the access result, realizing the generation of business term sets corresponding to each language type based on the generative pre-trained large model, without the need for human translation, and combined with reasonable architecture adjustment, only the front end needs to execute the translation of the business result message, and the back end does not need to perform multi-language translation processing, thereby improving the accuracy and translation quality of the translation result, improving the translation efficiency, and thus improving the development efficiency of the multi-language business system.

[0021] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention. Figure 1 Schematic diagram of the development framework of the multilingual business system of the embodiment of the present invention; Figure 2 1 is a schematic diagram of the main steps of the access result display method of the multilingual business system according to an embodiment of the present invention; Figure 3 It is a schematic diagram of the process of generating a business term set according to an embodiment of the present invention; Figure 4 It is a schematic diagram of the access result display process of a multilingual business system according to an embodiment of the present invention; Figure 5 is a schematic diagram of main modules of an access result display device of a multilingual business system according to an embodiment of the present invention; Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied; Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0024] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution disclosed in the present invention are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.

[0025] For multilingual business systems, the current language customization is basically carried out in the traditional offline manual mode, which has high labor and translation costs. Due to the lack of background in system professional terminology, the translation results of translation companies are also unsatisfactory. The following is the main translation process: 1. When the business department proposes to add a new system language, the R&D department will organize all the entries of the business system into multilingual resource files offline, and provide the initial language resource files (for example, Chinese files) developed by the business system to the business department; 2. The business department finds the corresponding translation agency to translate the terms and pays the translation fee. The business department usually sends thousands of Chinese terms in the system to the translation company and asks the translation company to translate them into other languages ​​according to the format; 3. After the translation is completed, the translation company will provide the translation results corresponding to all entries to the R&D personnel, who will proofread and adjust the translation results; 4. Carry out full-process debugging of the business system to verify the validity and completeness of the translation results after proofreading and adjustment.

[0026] The traditional approach to adding new languages ​​to business systems is to translate the entries for both the front-end pages and back-end services, and then replace the translated entries on the front-end and back-end, which usually consumes a lot of R&D resources and is repetitive work. There are usually tens of thousands of system entries to be translated for new languages, most of which involve proprietary industry entries in different industries. Translation companies do not have industry capabilities, and although the translation costs are spent, many entries are not translated to express the meaning. Whenever a business system needs to add a new language, it takes a long period from proposing the demand to releasing it online, and the development efficiency of multilingual business systems is low.

[0027] In order to solve the above technical problems, the present invention provides an access result display method for a multilingual business system, which can translate entries with the help of the natural language processing and semantic recognition capabilities of the generative pre-trained large model GPT (Generative Pre-Trained), without the need for human translation. At the same time, combined with reasonable architectural adjustments, only the front-end needs to execute the translation of the business result message, thereby improving the accuracy and quality of the translation results, improving the translation efficiency, and thus improving the development efficiency of the multilingual business system.

[0028] Figure 1 Schematic diagram of the development framework of the multilingual business system of the embodiment of the present invention. Figure 1 As shown, in an embodiment of the present invention, the development framework of the multilingual business system is mainly divided into five modules, namely, the front-end module, the GPT service center, the cloud storage, the public entry library and the GPT large model. Among them, the front-end module refers to the application front-end of the language to be added, which is mainly used for entry loading, entry error correction and multilingual processing components, wherein entry loading refers to the front-end page loading multilingual entries into the system at startup to facilitate multilingual display, entry error correction refers to the user being able to directly modify the entry translation results on the front-end page, and the multilingual processing component refers to the elements for multilingual processing, such as cloud storage, GPT large model, etc. Cloud storage is a service for storing entries in the cloud; the GPT service center is the core module of the present invention, which mainly calls the GPT big model to complete the multi-language translation of business system entries through a variety of fault-tolerant mechanisms or retry mechanisms, and automatically uploads the translated entries to cloud storage; the public entry library is a pre-accumulated professional terminology library, which includes business terms of no less than one language type corresponding to commonly used professional terms. For example, the English translation result of "order" is "order", and the English business term "order" corresponding to the professional term "order" is stored in the public entry library. When translating business terms, the public entry library will be combined for screening and judgment. The GPT big model is a generative pre-trained big model used to generate business terms of the target language type.

[0029] Figure 2 1 is a schematic diagram of the main steps of the access result display method of the multilingual business system according to an embodiment of the present invention. Figure 2 As shown, the access result display method of the multilingual business system according to the embodiment of the present invention mainly includes the following steps S201 to S204.

[0030] Step S201: in response to receiving a business system access request from a user, obtaining a target language type from the business system access request. When a user accesses a business system, a business system access request is sent, in which the target language type required to be displayed by the user is provided.

[0031] Normally, when a user accesses a business system through the front-end page for the first time, the business system will display system information based on the default language. At this time, the user can select the target language type required for information display in the business system. In this way, when subsequent requests are sent, the business system can display business results based on the target language type.

[0032] Step S202: acquiring a target business term set corresponding to a target language type from pre-stored business term sets corresponding to various language types, wherein the business term sets corresponding to various language types are generated based on a generative pre-trained large model.

[0033] When a user accesses the business system through the front-end page, the front-end will first obtain the previously generated business term sets corresponding to each language type from the cloud storage. Then, according to the target language type included in the business system access request sent by the user, the target business term set corresponding to the target language type can be obtained from the business term sets corresponding to each language type.

[0034] According to one embodiment of the present invention, a set of business terms corresponding to each language type is generated in the following manner: obtaining a set of business result messages corresponding to the business system; generating prompts corresponding to each language type based on the business result message set, the business description of the business system and the language type; and generating a set of business terms corresponding to each language type by inputting the prompts corresponding to each language type into a generative pre-trained large model.

[0035] The GPT big model is a big model that can understand natural language and can translate more than 200 common languages ​​in the world. When translating entries, prompts can be used to guide the GPT big model to output translation results that are more in line with local culture and laws and regulations, thereby enhancing the localization effect. For example, when customizing the English language of the warehousing system, the following prompt can be used: "Please translate the content to be translated into English. As long as the direct translation result is output, do not output other content except the translation result; please do not repeat the output, do not repeat the translation, do not explain, and there must be no political, pornographic, violent, illegal, insulting and other terms. The translation results will be used in the warehousing system, and the content to be translated is as follows: %s". In an embodiment of the present invention, prompts can be generated for each business result message in the business result message set based on the selected target language type and the business description of the business system. In the above embodiment, the business description of the business system is the "warehousing system".

[0036] According to a specific embodiment of the present invention, prompts corresponding to each language type are generated according to a business result message set, a business description of a business system, and a language type, including: for each language type, a prompt of the language type corresponding to each business result message is generated according to each business result message in the business result message set, the business description of the business system, and the language type. In a specific implementation, corresponding prompts can be generated for each language type and each business result message, so as to generate corresponding target business terms according to the prompts using the GPT large model.

[0037] According to the technical solution of the present invention, when the user initiates the language customization process through the front-end module, it will take effect after approval (approval is carried out according to business needs), and the customization of the new language will begin after it takes effect. When customizing a new language, the GPT service center will first pull all the entry resources of the default language (for example, Chinese) during system development in the cloud storage. The entry resource is a file that contains all the system entries. After pulling the Chinese entry resource, the GPT service center starts to use the Chinese entry resource as a template and generate new languages ​​one by one according to the target language specified by the user.

[0038] According to another embodiment of the present invention, before generating a prompt of the language type corresponding to each business result message, it also includes: for each business result message, confirming that there is no business entry of the language type corresponding to the business result message in a public entry library, the public entry library is a pre-accumulated professional term library, which includes business entries of no less than one language type corresponding to commonly used professional terms.

[0039] According to an embodiment of the present invention, the generation of new languages ​​adopts a unified mode, and each business result message entry will first be queried in the public entry library, and then the GPT large model will be used to translate the target language type. If a business result message entry already exists in the public entry library, it can be directly returned without translation. In order to prevent failures in the translation process of the interface calling the GPT large model, the GPT service center needs to adopt many necessary fault-tolerant mechanisms, such as multiple translation paths and retry mechanisms, to ensure that the entry is translated correctly.

[0040] According to one embodiment of the present invention, prompts corresponding to each language type are input into a generative pre-trained large model to generate a set of business terms corresponding to each language type, including: for each business result message and each language type in a business result message set, a prompt of the language type corresponding to the business result message is input into the generative pre-trained large model, so that the generative pre-trained large model generates multiple translation results of the language type corresponding to the business result message through multiple translation paths; selects one translation result from the multiple translation results through a voting mechanism as the business term of the language type corresponding to the business result message; and uses a set of business terms of the language type corresponding to each business result message in the business result message set as a set of business terms corresponding to the language type, thereby obtaining a set of business terms corresponding to each language type. In an embodiment of the present invention, in order to prevent failure in the translation process of the interface calling the GPT large model, multiple translation paths can be used to call multiple different GPT large models to translate the business result messages respectively. For the multiple translation results obtained, the final translation result is selected from them through a voting mechanism. That is, when multiple semantics appear, the result is selected through a voting mechanism. For example, for an entry, the results translated by several GPT large models are A, A, and B respectively, then A will be selected as the final translation result after voting.

[0041] For each target language type, when all the entry resource files of the entire system are translated, the GPT service center will upload the entry resource files of the new language to the cloud storage, so as to achieve automatic language customization when translating the entry resource files of the new language later.

[0042] Figure 3 FIG. 1 is a schematic diagram of a process flow for generating a business term set according to an embodiment of the present invention. Figure 3 As shown, in one embodiment of the present invention, after a user initiates a language customization request, it is subject to approval according to business needs. If the approval is not passed, the process ends; if the approval is passed, the multi-language customization process begins, and the customization of the new language begins. First, the GPT service center will pull all the entry resource files of the default language in the cloud storage, and then the GPT service center will start to use the entry resource files of the default language as a template and use the GPT large model to generate entries of the new language one by one, so as to obtain a business entry set of the new language. Finally, the generated business entry set resource file of the new language is uploaded to the cloud storage.

[0043] Step S203: In response to receiving the service result message returned by the server, searching the target service result message corresponding to the service result message from the target service entry set.

[0044] According to an embodiment of the present invention, the service end of the business system does not need to perform multilingual processing. It only needs to ensure that the business result message returned by the interface of the front-end and back-end interaction includes the code code, and can also include the description information of the code code, and the business meaning corresponding to the code code is stored in the front-end in advance. The front-end will match the corresponding language according to the code code and return the matching result to the user. This design can not only reduce the workload of the back-end for multilingual processing and reduce the complexity of the back-end service, but also is the basis for realizing automatic customization of languages. Among them, the code code is the business result message returned in the interface when the front-end and back-end of the system interact. The interface of the design specification usually returns the code code and the corresponding description information. For example, when calling the interface, the code code returned is 200, and it is pre-specified that the code code 200 represents "call success", then the description information in the returned interface message is the actual meaning represented by the code code, such as the description information of the code code 200 can be "interface call success". The business meaning of the code code saved by the front-end is the actual interpretation corresponding to the code code, for example, the business meaning of the code code 200 is "call success".

[0045] This architecture mode is to put all the entries of the front-end and back-end in the front-end management, form business entry resource files and store them in cloud storage. When the user visits the front-end page, the front-end module first pulls the corresponding business entry resource files from the cloud storage, and then renders the business result message in the corresponding language according to the target language type selected by the user. When the front-end and back-end interact, the back-end does not need to return the business result message in the corresponding language. The front-end will match the actual business meaning according to the corresponding code, and then obtain the matching result of the target language type corresponding to the code for specific display, so that the back-end does not need to perform multi-language processing.

[0046] According to another embodiment of the present invention, when a target business term set corresponding to a target language type cannot be obtained from a pre-stored business term set corresponding to each language type, in response to receiving a business result message returned by the server, a target business result message corresponding to the business result message is generated using a generative pre-trained large model. When using a generative pre-trained large model GPT large model to generate a target business result message corresponding to a business result message, specific reference may be made to the generation method of the business term set corresponding to each language type described in the aforementioned embodiment.

[0047] Step S204: Render the target business result message to obtain the business system access result, and display the access result. By rendering the target business result message, the business system access result of the target language type selected by the user can be obtained.

[0048] Figure 4 FIG. 1 is a schematic diagram of a flow chart showing access results of a multilingual business system according to an embodiment of the present invention. Figure 4 As shown, in one embodiment of the present invention, when a user initiates a service access request through the front end, the back end performs service processing according to the received service access request and returns a code and description information. After receiving the returned code and description information, the front end can match the business meaning of the code stored in the front end according to the code and description information, and the business meaning of the code is the business result message. Afterwards, according to the target language type included in the business result message and the business access request, the target business result message corresponding to the business result message is matched. Then, the target business result message is used to replace the business result message, so as to render the page according to the target business result message, obtain the access result of the business system, and display the access result.

[0049] Figure 5 Schematic diagram of the main modules of the access result display device of the multilingual business system according to an embodiment of the present invention. Figure 5 As shown, the access result display device 500 of the multilingual business system of the embodiment of the present invention mainly includes a language type acquisition module 501, a word set acquisition module 502, a result message search module 503 and a result generation and display module 504.

[0050] The language type acquisition module 501 is used to acquire the target language type from the business system access request in response to receiving the business system access request sent by the user; The term set acquisition module 502 is used to acquire a target business term set corresponding to a target language type from pre-stored business term sets corresponding to various language types, wherein the business term sets corresponding to various language types are generated based on a generative pre-trained large model; A result message search module 503 is used to search for a target business result message corresponding to the business result message from the target business entry set in response to receiving the business result message returned by the server; The result generation and display module 504 is used to render a page according to the target business result message to obtain the access result of the business system and display the access result.

[0051] According to one embodiment of the present invention, the access result display device 500 of the multilingual business system also includes a result message generation module (not shown in the figure), which is used to: in the case that the target business term set corresponding to the target language type cannot be obtained from the pre-stored business term set corresponding to each language type, in response to receiving the business result message returned by the server, use the generative pre-trained large model to generate a target business result message corresponding to the business result message.

[0052] According to another embodiment of the present invention, the access result display device 500 of the multilingual business system also includes a business term set generation module (not shown in the figure), which is used to generate business term sets corresponding to each language type in the following manner: obtaining a business result message set corresponding to the business system; generating prompts corresponding to each language type based on the business result message set, the business description of the business system and the language type; and generating business term sets corresponding to each language type by inputting the prompts corresponding to each language type into the generative pre-trained large model.

[0053] According to another embodiment of the present invention, when the business term set generation module generates prompts corresponding to each language type based on the business result message set, the business description of the business system and the language type, it can also be used to: for each language type, generate a prompt of the language type corresponding to each business result message based on each business result message in the business result message set, the business description of the business system and the language type.

[0054] According to another embodiment of the present invention, the business term set generation module can also be used for: before generating a prompt of the language type corresponding to each business result message, for each business result message, confirming that there is no business term of the language type corresponding to the business result message in the public term library, the public term library is a pre-accumulated professional term library, which includes business terms of no less than one language type corresponding to commonly used professional terms.

[0055] According to another embodiment of the present invention, when the business term set generation module generates business term sets corresponding to each language type by inputting prompts corresponding to each language type into the generative pre-trained large model, it can also be used to: for each business result message and each language type in the business result message set, input the prompt of the language type corresponding to the business result message into the generative pre-trained large model, so that the generative pre-trained large model generates multiple translation results of the language type corresponding to the business result message through multiple translation paths; selects one translation result from the multiple translation results through a voting mechanism as the business term of the language type corresponding to the business result message; and uses a set consisting of business terms of the language type corresponding to each business result message in the business result message set as the business term set corresponding to the language type to obtain a business term set corresponding to each language type.

[0056] According to the technical solution of the embodiment of the present invention, in response to receiving a business system access request from a user, a target language type is obtained from the business system access request; a target business term set corresponding to the target language type is obtained from a pre-stored business term set corresponding to each language type, and the business term set corresponding to each language type is generated based on a generative pre-trained large model; in response to receiving a business result message returned by the server, a target business result message corresponding to the business result message is searched from the target business term set; a page is rendered according to the target business result message to obtain an access result of the business system, and a technical solution for displaying the access result is implemented, which realizes the generation of business term sets corresponding to each language type based on a generative pre-trained large model, without the need for human translation, and combined with reasonable architectural adjustments, only the front end needs to execute the translation of the business result message, and the back end does not need to perform multi-language translation processing, thereby improving the accuracy and quality of the translation results, improving the translation efficiency, and further improving the development efficiency of multi-language business systems.

[0057] Figure 6 An exemplary system architecture 600 is shown to which the access result display method of a multilingual business system or the access result display device of a multilingual business system according to an embodiment of the present invention can be applied.

[0058] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0059] The user can use the terminal devices 601, 602, 603 to interact with the server 605 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).

[0060] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0061] Server 605 may be a server that provides various services, such as a backend management server (for example only) that provides support for shopping websites browsed by users using terminal devices 601, 602, and 603. The backend management server may respond to the received business system access request and other data by receiving the business system access request sent by the user, obtaining the target language type from the business system access request; obtaining the target business term set corresponding to the target language type from the pre-stored business term set corresponding to each language type, and the business term set corresponding to each language type is generated based on the generative pre-trained large model; in response to receiving the business result message returned by the server, searching the target business result message corresponding to the business result message from the target business term set; rendering the page according to the target business result message to obtain the access result of the business system, and displaying the access result and other processing, and feeding back the processing result (for example, the access result - for example only) to the terminal device.

[0062] It should be noted that the access result display method of the multilingual business system provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the access result display device of the multilingual business system is generally arranged in the server 605 .

[0063] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0064] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device or a server suitable for implementing an embodiment of the present invention. Figure 7 The terminal device or server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0065] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0066] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0067] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0068] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0069] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0070] The units or modules involved in the embodiments of the present invention may be implemented in software or hardware. The units or modules described may also be provided in a processor, for example, may be described as: a processor including a language type acquisition module, a term set acquisition module, a result message search module, and a result generation and display module. Among them, the names of these units or modules do not constitute limitations on the units or modules themselves in certain circumstances, for example, the result generation and display module may also be described as "a module for performing page rendering according to the target business result message to obtain the access result of the business system, and displaying the access result".

[0071] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: in response to receiving a business system access request sent by a user, obtaining a target language type from the business system access request; obtaining a target business term set corresponding to the target language type from a pre-stored business term set corresponding to each language type, and the business term set corresponding to each language type is generated based on a generative pre-trained large model; in response to receiving a business result message returned by the server, searching for a target business result message corresponding to the business result message from the target business term set; rendering a page according to the target business result message to obtain the access result of the business system, and displaying the access result.

[0072] According to the technical solution of the embodiment of the present invention, in response to receiving a business system access request from a user, a target language type is obtained from the business system access request; a target business term set corresponding to the target language type is obtained from a pre-stored business term set corresponding to each language type, and the business term set corresponding to each language type is generated based on a generative pre-trained large model; in response to receiving a business result message returned by the server, a target business result message corresponding to the business result message is searched from the target business term set; a page is rendered according to the target business result message to obtain an access result of the business system, and a technical solution for displaying the access result is implemented, which realizes the generation of business term sets corresponding to each language type based on a generative pre-trained large model, without the need for human translation, and combined with reasonable architectural adjustments, only the front end needs to execute the translation of the business result message, and the back end does not need to perform multi-language translation processing, thereby improving the accuracy and quality of the translation results, improving the translation efficiency, and further improving the development efficiency of multi-language business systems.

[0073] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for displaying access results of a multilingual business system, characterized in that: include: In response to receiving a business system access request sent by a user, obtaining a target language type from the business system access request; Acquire a target business term set corresponding to a target language type from pre-stored business term sets corresponding to various language types, wherein the business term sets corresponding to various language types are generated based on a generative pre-trained large model; In response to receiving the service result message returned by the server, searching the target service result message corresponding to the service result message from the target service entry set; The page is rendered according to the target business result message to obtain the access result of the business system, and the access result is displayed.

2. The method according to claim 1, characterized in that The method further comprises: In the event that a target business term set corresponding to a target language type cannot be obtained from a pre-stored business term set corresponding to each language type, in response to receiving a business result message returned by the server, the generative pre-trained large model is used to generate a target business result message corresponding to the business result message.

3. The method according to claim 1, characterized in that The business term sets corresponding to the various language types are generated in the following manner: Obtaining a business result message set corresponding to the business system; Generate prompts corresponding to each language type according to the business result message set, the business description and language type of the business system; The prompt words corresponding to the various language types are input into the generative pre-trained large model to generate a set of business terms corresponding to the various language types.

4. The method according to claim 3, characterized in that Generate prompts corresponding to various language types according to the service result message set, the service description and language type of the service system, including: For each language type, a prompt of the language type corresponding to each service result message is generated according to each service result message in the service result message set, the service description of the service system and the language type.

5. The method according to claim 4, characterized in that Before generating a prompt of the language type corresponding to each service result message, the method further includes: For each business result message, confirm that there is no business term of the language type corresponding to the business result message in the public term library, wherein the public term library is a pre-accumulated professional term library, which includes business terms of no less than one language type corresponding to commonly used professional terms.

6. The method according to claim 3, characterized in that The prompts corresponding to the various language types are input into the generative pre-trained large model to generate a set of business terms corresponding to the various language types, including: For each service result message and each language type in the service result message set, a prompt of the language type corresponding to the service result message is input into a generative pre-trained large model, so that the generative pre-trained large model generates multiple translation results of the language type corresponding to the service result message through multiple translation paths; Selecting a translation result from the multiple translation results through a voting mechanism as a business term of the language type corresponding to the business result message; A set of business terms of the language type corresponding to each business result message in the business result message set is taken as the business term set corresponding to the language type, to obtain the business term sets corresponding to the respective language types.

7. A device for displaying access results of a multilingual business system, characterized in that: include: A language type acquisition module, configured to, in response to receiving a business system access request from a user, acquire a target language type from the business system access request; A vocabulary set acquisition module, used to acquire a target business vocabulary set corresponding to a target language type from pre-stored business vocabulary sets corresponding to various language types, wherein the business vocabulary sets corresponding to various language types are generated based on a generative pre-trained large model; A result message search module, configured to search for a target business result message corresponding to the business result message from the target business entry set in response to receiving the business result message returned by the server; The result generation and display module is used to render a page according to the target business result message to obtain the access result of the business system and display the access result.

8. The device according to claim 7, characterized in that The device also includes a result message generating module, which is used to: In the event that a target business term set corresponding to a target language type cannot be obtained from a pre-stored business term set corresponding to each language type, in response to receiving a business result message returned by the server, the generative pre-trained large model is used to generate a target business result message corresponding to the business result message.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Node.js-based internationalization realization method

    CN106569793A

  • Internationalization implementation method, device and system

    CN109683998A

  • Page internationalization method and system, electronic equipment and storage medium

    CN117009015A