Translation method, diagnosis server, electronic equipment and storage medium

By using the combination of local database and translation server in the vehicle system, the problem of high translation service costs in the vehicle system is solved, efficient and accurate text translation is achieved, the dependence on third-party services is reduced, and the translation efficiency is improved. Accuracy.

CN119089912APending Publication Date: 2024-12-06LAUNCH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099316.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the prior art, the cost of providing translation services to mobile terminals through third-party translation servers or translators is too high, especially in on-board systems, when the diagnostic server needs to frequently translate text, reliance on third-party services leads to an increase in operating costs.

Method used

In the on-board system, the diagnostic server obtains text translation through the local database. If it fails, it requests from the first translation server and receives and sends translation results, reducing dependence on third-party services, improving translation efficiency and reducing costs. At the same time, the translation accuracy is ensured through proofreading feedback scores and rating verification, and if necessary, rating upgrade verification is carried out to ensure translation accuracy.

Benefits of technology

It effectively reduces the operating cost of translation services, improves translation efficiency and accuracy, reduces dependence on third-party services, and ensures the reliability and accuracy of the translation services provided by the diagnostic server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089912A_ABST
    Figure CN119089912A_ABST
Patent Text Reader

Abstract

The invention discloses a translation method, a diagnosis server, an electronic device and a storage medium, the method is applied to the diagnosis server in a vehicle-mounted system, the method comprises the following steps: obtaining first diagnosis information sent by a mobile terminal, the first diagnosis information comprising a first text and a first language identifier, the first language identifier is used for indicating a target language category of the first text; obtaining a second text from a local database of the diagnosis server according to the first text and the first language identifier, wherein the language category of the second text corresponds to the first language identifier; if the second text is successfully acquired, sending the second text to the mobile terminal; if the second text fails to be acquired, requesting the first translation server to acquire the second text corresponding to the first text; and receiving the second text from the first translation server, and sending the second text to the mobile terminal. By implementing the method, the problem that the cost of providing the translation service for the mobile terminal through the third-party translation server is too high can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing in text translation, and in particular to a translation method, a diagnostic server, an electronic device and a storage medium. Background Art

[0002] The languages ​​supported by mobile terminals are usually built into the mobile terminals. If the user needs to translate the text of the mobile terminal into other languages ​​that the mobile terminal currently cannot support, it is necessary to translate through the server. In the prior art, for specialized mobile terminals such as diagnostic instruments used in automobiles, they are only connected to specific diagnostic servers, and the diagnostic servers usually process the translation needs of the mobile terminals through third-party translation servers or translators. If translation services are provided for mobile terminals through third-party translation servers or translators for a long time, the cost of providing translation services for mobile terminals will be too high due to the cost of third-party servers and the cost of hiring translators. Summary of the invention

[0003] In response to the above problems, the example of the present application provides a translation method, a diagnostic server, an electronic device and a storage medium. The solution of the present application is conducive to solving the problem of high cost of providing translation services for mobile terminals through third-party translation servers or translators.

[0004] In a first aspect, an embodiment of the present application provides a translation method, which is applied to a diagnostic server in a vehicle-mounted system. The vehicle-mounted system also includes a mobile terminal and a first translation server, and the mobile terminal and the first translation server are respectively connected to the diagnostic server. The method includes: obtaining first diagnostic information sent by the mobile terminal, the first diagnostic information including a first text and a first language identifier, and the first language identifier is used to indicate a target language category of the first text; obtaining a second text from a local database of the diagnostic server according to the first text and the first language identifier, and the language category of the second text corresponds to the first language identifier; if the second text is successfully obtained, sending the second text to the mobile terminal; if the second text fails to be obtained, sending a first request message to the first translation server, and the first request message is used to request the first translation server to obtain a second text corresponding to the first text; receiving the second text from the first translation server, and sending the second text to the mobile terminal.

[0005] It can be seen that in the embodiment of the present application, when the mobile terminal needs the diagnostic server to translate the first text, the second text is obtained by obtaining the local database of the diagnostic server, and there is no need to request translation from the translation server. Under the premise that the diagnostic server does not have the translation function, the translation efficiency is improved, and there is no need to obtain the second text corresponding to the first text from the first translation server for a fee multiple times, thereby reducing the operating cost of providing translation services.

[0006] In combination with the first aspect, in a possible embodiment, before sending the second text to the mobile terminal, the correspondence level between the first text and the second text is determined to be a first level, and the correspondence level is used to characterize the translation accuracy of the second text; after sending the second text to the mobile terminal, proofreading feedback information sent by the mobile terminal is obtained, and the proofreading feedback information is used to characterize the evaluation of the user of the mobile terminal on the translation accuracy of the second text; a first feedback score for the second text is generated based on the proofreading feedback information, and if the first feedback score of the second text is higher than the first preset score, the correspondence level between the first text and the second text is determined to be a second level, and the translation accuracy corresponding to the second level is higher than the translation accuracy corresponding to the first level.

[0007] It can be seen that in the embodiment of the present application, the first feedback score generated according to the proofreading feedback information sent by the mobile terminal is used to evaluate the translation accuracy of the second text. When the translation accuracy of the second text is high, the second text is determined to be an accurate translation text of the first text. When the translation accuracy of the second text is low, a new second text can be generated by other means, thereby ensuring the translation accuracy of the diagnostic server.

[0008] In combination with the first aspect, in a possible embodiment, generating a feedback score for the second text based on proofreading feedback information includes: obtaining the number of proofreading feedback information corresponding to the second text stored in the diagnostic server; if the number of proofreading feedback information corresponding to the second text stored in the diagnostic server is greater than a first preset number, generating a first feedback score for the second text based on the proofreading feedback information corresponding to the second text stored in the diagnostic server.

[0009] It can be seen that in an embodiment of the present application, after the number of proofreading feedback information corresponding to the second text saved in the diagnostic server is greater than a preset number, a first feedback score corresponding to the second text is generated based on the multiple proofreading feedback information saved in the diagnostic server, thereby improving the credibility of the first feedback score.

[0010] In combination with the first aspect, in a possible embodiment, a diagnostic result corresponding to the first text is determined based on the first text; if the diagnostic result corresponding to the first text is that there is a fault, before sending the second text to the mobile terminal, the corresponding level between the first text and the second text is determined; if the corresponding level between the first text and the second text is the first level, the second text is verified for a corresponding level upgrade; the corresponding level between the second text that has passed the corresponding level upgrade verification and the first text is determined to be the second level; if the corresponding level between the first text and the second text is the second level, the step of sending the second text to the mobile terminal is executed.

[0011] It can be seen that in the embodiment of the present application, in a scenario where the diagnostic result corresponding to the first text is that there is a fault and the translation accuracy of the second text is required to be higher, the translation accuracy of the second text sent by the diagnostic server to the mobile terminal is guaranteed by performing a corresponding level upgrade verification on the second text whose corresponding level with the first text is the first level.

[0012] In combination with the first aspect, in a possible embodiment, the second text is verified for corresponding level upgrade, including: sending a second request information to a second translation server, the second request information is used to request to obtain a third text corresponding to the first text; receiving the third text from the second translation server, and determining whether the second text is consistent with the third text; if the third text is consistent with the second text, determining that the second text has passed the corresponding level upgrade verification; if the third text is inconsistent with the second text, determining that the second text has not passed the corresponding level upgrade verification.

[0013] It can be seen that in the embodiment of the present application, when the second text needs to be verified for the corresponding level upgrade, the second text is verified by the third text obtained from the second translation server, and the second text does not need to be manually verified by relevant translators, thereby improving the efficiency of verification. When the second text is consistent with the third text, it is determined that the second text has passed the corresponding level upgrade verification, thereby ensuring the translation accuracy of the second text.

[0014] In combination with the first aspect, in a possible embodiment, after determining that the second text has not passed the corresponding level upgrade verification, a second feedback score for the second text is generated based on the proofreading feedback information of the second text recorded in the diagnostic server; if the second feedback score is not lower than the second preset score, the corresponding level between the first text and the second text is determined to be the second level, and the second preset score is lower than the first preset score; if the second feedback score is lower than the second preset score, the third text is determined to be a new second text, and the corresponding relationship level between the second text and the first text is determined to be the second level.

[0015] It can be seen that in the embodiment of the present application, if the translation accuracy of the second text meets the requirements of the second preset score, the second text is sent to the mobile terminal. If the translation accuracy of the second text does not meet the requirements of the second preset score, the third text is sent to the mobile terminal as a new second text. On the premise of determining that the second text meets the basic accuracy requirements, there is no need to perform additional proofreading procedures such as manual translation, thereby improving the translation efficiency of the diagnostic server.

[0016] In combination with the first aspect, in a possible embodiment, the number of second texts whose corresponding level with the first text is the second level in the diagnostic server is obtained; if the number of second texts whose corresponding level with the first text in the diagnostic server is the second level is greater than a second preset number, a language package of the language corresponding to the second text is generated based on the second text whose corresponding level with the first text is the second level; the language package of the language corresponding to the second text is sent to a mobile terminal, and the language package of the language corresponding to the second text is used to update the mobile terminal so that the mobile terminal supports displaying the language corresponding to the second text.

[0017] It can be seen that in an embodiment of the present application, a language package of the language corresponding to the second text is generated by using a second text whose corresponding level with the first text is the second level and is greater than the second preset number, and the language package is sent to the mobile terminal, so that the mobile terminal supports displaying the language corresponding to the second text. The user of the mobile terminal can directly change the language displayed by the mobile terminal to the language corresponding to the second text, thereby improving the translation efficiency of the diagnostic server.

[0018] In a second aspect, an embodiment of the present application provides a diagnostic server, which belongs to a vehicle-mounted system. The vehicle-mounted system also includes a mobile terminal and a first translation server, and the mobile terminal and the first translation server are respectively connected to the diagnostic server. The diagnostic server includes:

[0019] An acquiring unit: configured to acquire first diagnostic information sent by a mobile terminal, wherein the first diagnostic information includes a first text and a first language identifier, and the first language identifier is used to indicate a target language category of the first text;

[0020] Acquire a second text from a local database of the diagnostic server according to the first text and the first language identifier, wherein a language category of the second text corresponds to the first language identifier;

[0021] A sending unit: configured to send the second text to the mobile terminal if the second text is successfully obtained;

[0022] If the acquisition of the second text fails, sending a first request message to the first translation server, where the first request message is used to request the first translation server to acquire the second text corresponding to the first text;

[0023] Receiving unit: used for receiving the second text from the first translation server and sending the second text to the mobile terminal.

[0024] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and one or more instructions are suitable for being loaded by the processor and executing part or all of the method of the first aspect.

[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the method of the first aspect.

[0026] In a fifth aspect, the present application provides a computer program product. When a computer reads and executes the computer program product, the computer executes the method in any possible design of the first to second aspects above.

[0027] It can be understood that the beneficial effects of the embodiments described in the second to fifth aspects can refer to the beneficial effects of the methods described in the first to second aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 A schematic diagram of an application scenario of a translation method provided in an embodiment of the present application;

[0030] Figure 2 A flowchart of a translation method provided in an embodiment of the present application;

[0031] Figure 3 A schematic diagram of a translation text corresponding to a first text in a local database of a diagnostic server provided in an embodiment of the application;

[0032] Figure 4 A schematic diagram of a translation interface of a mobile terminal provided in an embodiment of the present application;

[0033] Figure 5 A schematic diagram of a process of translating a first text into a second text provided in an embodiment of the present application;

[0034] Figure 6 A flowchart of another translation method provided in an embodiment of the present application;

[0035] Figure 7 A schematic diagram of the structure of a diagnostic server provided in an embodiment of the present application;

[0036] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0038] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. 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 limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0039] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0040] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0041] See also Figure 1 , Figure 1 A schematic diagram of an application scenario of a translation method provided in an embodiment of the present application, wherein the application scenario 100 includes a diagnostic server 101, a mobile terminal 102, a first translation server 103 and a target vehicle 104.

[0042] The diagnostic server 101 here is used to connect with the mobile terminal 102, provide services for the mobile terminal, receive information and data sent by the mobile terminal, and provide the mobile terminal 102 with diagnostic conclusions, translation texts, etc.

[0043] The mobile terminal 102 is built into the target vehicle 104 or connected to the target vehicle 104, and can obtain the operating data of the target vehicle 104, detect the target vehicle 104, and send and receive various information and data to the diagnostic server. The mobile terminal 102 is specifically a vehicle diagnostic instrument, including real-time detection of the performance of the target vehicle 104, acquisition of the operating data of the target vehicle 104 (such as mileage, fuel volume, current driving speed, etc.) and fault detection of the target vehicle 104.

[0044] The first translation server 103 here refers to a server that provides translation services. The diagnostic server 101 becomes an interface according to the application of the first translation server 103 and sends the first text to be translated to the first translation server 103, and obtains the translated second text sent by the first translation server 103 for a fee.

[0045] The target vehicle 104 here specifically refers to vehicles of the type of sedan, multi-purpose vehicle, off-road vehicle, pickup truck, van, bus, truck, etc., which can be connected to the mobile terminal 102.

[0046] In the embodiment of the present application, the diagnostic server 101 obtains the first diagnostic information sent by the mobile terminal 102, the first diagnostic information includes a first text and a first language identifier, and the first language identifier is used to indicate the target language category of the first text. That is, the mobile terminal 102 requests the diagnostic server 101 to translate the first text into a text in the language corresponding to the first language identifier.

[0047] The diagnostic server 101 obtains the second text from the local database of the diagnostic server according to the first text and the first language identifier, and the language category of the second text corresponds to the first language identifier. The diagnostic server 101 locally records the translation texts corresponding to the first text in multiple different languages, and the second text here is the translation text corresponding to the target language of the first text.

[0048] If the diagnostic server 101 successfully obtains the second text, it sends the second text to the mobile terminal 102 .

[0049] If the diagnosis server 101 fails to obtain the second text, it sends a first request message to the first translation server 103 , where the first request message is used to request the first translation server 103 to obtain the second text corresponding to the first text.

[0050] The second text is received from the first translation server 103, and sent to the mobile terminal 102. The second text here is the text that the mobile terminal 102 requests the diagnosis server 101 to translate the first text into the language corresponding to the first language identifier.

[0051] It can be seen that in the embodiment of the present application, when the mobile terminal needs the diagnostic server to translate the first text, the second text is obtained by obtaining the local database of the diagnostic server, and there is no need to request translation from the translation server. Under the premise that the diagnostic server itself does not have the translation function, the translation efficiency is improved, and there is no need to obtain the second text corresponding to the first text from the first translation server for a fee multiple times, thereby reducing the operating cost of providing translation services.

[0052] See also Figure 2 , Figure 2A flowchart of a translation method provided in an embodiment of the present application can be based on Figure 1 The application scenario shown is implemented as follows Figure 2 As shown, steps S201-S205 are included:

[0053] S201: The diagnostic server obtains first diagnostic information sent by a mobile terminal, where the first diagnostic information includes a first text and a first language identifier, where the first language identifier is used to indicate a target language category of the first text.

[0054] Specifically, the mobile terminal is usually connected to the target vehicle, operates according to a preset program or the instructions of the user of the mobile terminal, obtains information and data of the target vehicle, and performs inspection, diagnosis and other operations on the target vehicle based on this information and data in combination with the diagnostic server.

[0055] Since the display languages ​​supported by the mobile terminal are limited, some professional vocabulary in the automotive field will be frequently involved when the mobile terminal inspects and diagnoses the target vehicle. Therefore, when the languages ​​supported by the mobile terminal do not include the user's native language, the user may not be able to display part of the text displayed by the mobile terminal, namely the first text mentioned here.

[0056] At this time, the user can instruct the mobile terminal to generate the first diagnostic information, send the first text and the first language identifier to the diagnostic server, and instruct the diagnostic server to translate the first text into a text in the language corresponding to the first language identifier.

[0057] S202: The diagnostic server obtains a second text from a local database of the diagnostic server according to the first text and the first language identifier, where the language category of the second text corresponds to the first language identifier.

[0058] Specifically, the local database of the diagnostic server may store translation texts corresponding to the first text in multiple languages. After receiving the first diagnostic information related to the text to be translated from the mobile terminal, the diagnostic server first obtains the corresponding translation text from the records in the local database.

[0059] For example, see Figure 3 , Figure 3A schematic diagram of the translation text corresponding to the first text in the local database of a diagnostic server provided in an embodiment of the application; wherein the first text is "Engine diagnostics", and a first translation text corresponding to the first text in English is recorded in the local data of the first diagnostic server, and the first translation text is specifically "Enginediagnostics". The second translation text corresponding to the first text in German is also recorded in the local data of the first diagnostic server, and the second translation text is specifically "Diagnose der maschinen". If the target language corresponding to the first language identifier is English, the diagnostic server obtains the translation text corresponding to English, and uses the obtained text as the second text, that is, the first translation text "Engine diagnostics" here; if the target language corresponding to the first language identifier is French, it is obvious that in Figure 3 The diagnostic server shown determines that the acquisition of the second text fails.

[0060] S203: If the diagnostic server successfully obtains the second text, the second text is sent to the mobile terminal.

[0061] If the diagnostic server successfully obtains the second text, the second text is sent to the second text, and the mobile terminal can then display the second text as a translated text of the first text.

[0062] For example, see Figure 4 , Figure 4 A schematic diagram of a translation interface of a mobile terminal provided in an embodiment of the present application; a user can convert a text message into a text message by physical buttons, gesture commands, touch screen commands, etc. Figure 4 The "intelligent diagnosis" in the text is formulated as the first text, and the target language is specified. The mobile terminal generates the first diagnostic information according to the first language identifier corresponding to the first text and the target language, and sends the first diagnostic information to the diagnostic server. The diagnostic server sends the translated second text to the mobile terminal and displays it in the mobile terminal. If the first text is "intelligent diagnosis" and the target language is English, the second text displayed here is the English translation of "intelligent diagnosis" "Intelligent diagnosis".

[0063] S204: If the diagnosis server fails to obtain the second text, the diagnosis server sends a first request message to the first translation server, where the first request message is used to request the first translation server to obtain the second text corresponding to the first text.

[0064] Specifically, if the diagnostic server does not record the second text corresponding to the first text, the diagnostic server cannot translate the first text into the second text in the language specified by the first language identifier. Therefore, the first translation server is required to translate the first text into the second text.

[0065] The diagnostic server generates a first request message according to the first text and the first language identifier and in accordance with the application programming interface of the first translation server, and sends the first text to the first translation server to request the first translation server to translate the first text into a second text in a target language corresponding to the second language identifier.

[0066] For example, see Figure 5 , Figure 5 A flow chart of translating a first text into a second text is provided for an embodiment of the present application, as shown in the figure, wherein the mobile terminal first sends the first text to the diagnostic server, so that the diagnostic server sends the first text to the first translation server after failing to obtain the second text, and then receives the second text sent by the first translation server, and finally sends the second text to the mobile terminal.

[0067] In a possible embodiment, before sending a first request message to a first translation server, the method includes: determining a distance value between a language corresponding to a first text and a language corresponding to a second text, wherein the distance value is used to characterize the degree of similarity between the language corresponding to the first text and the language corresponding to the second text; if the distance value is greater than a preset distance, determining a second language identifier based on the language corresponding to the first text and the language corresponding to the second text; generating a second request message based on the first text, the first language identifier, and the second language identifier; and the first request message is used to instruct the first translation server to translate the first text into a language corresponding to the second language identifier and then into a target language corresponding to the first language identifier.

[0068] Specifically, the distance value here is used to characterize the similarity between the language corresponding to the first text and the language corresponding to the second text. The higher the similarity between the two languages, the higher the translation accuracy of the second text obtained by direct translation; the lower the similarity between the two languages, the lower the translation accuracy of the second text obtained by direct translation. The distance values ​​of different languages ​​can be specifically calculated by the physical distance between the popular areas of different languages.

[0069] When the language corresponding to the first text and the language corresponding to the second text are less similar, that is, the distance value is greater than the preset distance, the second language identifier is determined according to the language corresponding to the first text and the language corresponding to the second text. The language corresponding to the second language identifier here is an intermediate language between the language corresponding to the first text and the language corresponding to the second text.

[0070] The second request information generated according to the first text, the first language identifier and the second language identifier can instruct the second text to first translate the first text into the language corresponding to the second language identifier to obtain an intermediate text, and then translate the intermediate text into the target language corresponding to the first language identifier to obtain the second text.

[0071] S205: The diagnosis server receives the second text from the first translation server, and sends the second text to the mobile terminal.

[0072] Specifically, after receiving the second text from the first server, the diagnostic server sends the second text to the mobile terminal. Further, the diagnostic server also records the second text in a local database, so that the second text can be directly obtained from the local database when the mobile terminal or other mobile terminals request to translate the first text next time.

[0073] In a possible embodiment, before sending the second text to the mobile terminal, the correspondence level between the first text and the second text is determined to be a first level, and the correspondence level is used to characterize the translation accuracy of the second text; after sending the second text to the mobile terminal, proofreading feedback information sent by the mobile terminal is obtained, and the proofreading feedback information is used to characterize the evaluation of the user of the mobile terminal on the translation accuracy of the second text; a first feedback score of the second text is generated according to the proofreading feedback information, and if the first feedback score of the second text is higher than the first preset score, the correspondence level between the first text and the second text is determined to be a second level, and the translation accuracy corresponding to the second level is higher than the translation accuracy corresponding to the first level.

[0074] Specifically, the local database of the diagnostic server mentioned in the above embodiment stores translation texts corresponding to the first text in multiple languages. The translation texts are recorded after the diagnostic server sends a request message to the first translation server and receives the translation text sent by the first translation server.

[0075] In the embodiment of the present application, the translated text sent by the first translation server is the second text here. The diagnostic server will first record that there is a corresponding relationship between the first text and the second text, that is, the second text is the translated text of the first text in the language indicated by the first language identifier. After recording that there is a corresponding relationship between the first text and the second text, the diagnostic server determines the correspondence level between the first text and the second text as the first level, and the correspondence level is used to characterize the translation accuracy of the second text. In the embodiment of the present application, the higher the corresponding level, the higher the translation accuracy of the second text.

[0076] After recording the correspondence and the correspondence level between the first text and the second text, the diagnostic server sends the second text to the mobile terminal, and the user of the mobile terminal generates proofreading feedback information on the accuracy of the second text translation through the mobile terminal. The mobile terminal sends the proofreading feedback information to the diagnostic server.

[0077] The diagnostic server then quantifies the user's evaluation of the translation accuracy of the second text into a first feedback score based on the proofreading feedback information. When the first feedback score of the second text is higher than the first preset score, the diagnostic server determines that the translation accuracy of the second text is higher, and determines the corresponding level between the first text and the second text as a second level symbolizing a higher degree of translation.

[0078] Furthermore, if the first feedback score of the second text is not higher than the first preset score, the diagnosis server can determine that the translation accuracy of the second text is low, and re-translate the second text in other ways, such as obtaining translations from other translation servers, or having a translator translate the first text.

[0079] It can be seen that in the embodiment of the present application, the first feedback score generated according to the proofreading feedback information sent by the mobile terminal is used to evaluate the translation accuracy of the second text. When the translation accuracy of the second text is high, the second text is determined to be an accurate translation text of the first text. When the translation accuracy of the second text is low, a new second text can be generated by other means, thereby ensuring the translation accuracy of the diagnostic server.

[0080] In a possible embodiment, generating a feedback score for the second text based on proofreading feedback information includes: obtaining the amount of proofreading feedback information corresponding to the second text stored in the diagnostic server; if the amount of proofreading feedback information corresponding to the second text stored in the diagnostic server is greater than a first preset amount, generating a first feedback score for the second text based on the proofreading feedback information corresponding to the second text stored in the diagnostic server.

[0081] Specifically, the proofreading feedback information stored in the diagnostic server in the embodiment of the present application may come from one or more mobile terminals. If the number of proofreading feedback information corresponding to the second text stored in the diagnostic server is greater than the first preset number, for example, the number of feedback information is greater than 10, 50, 100, etc., then the first feedback score of the second text is calculated based on the multiple proofreading feedback information stored in the diagnostic server.

[0082] Exemplarily, the first feedback information specifically includes the target user's rating of the second text, such as 1 / 10, 6 / 10, 10 / 10, etc. Or the evaluation of the second text is accurate / inaccurate, etc. If the first feedback information is specifically a rating, the first feedback rating can be obtained by calculating the average value of the ratings in multiple first feedback information. If the first feedback information is specifically an evaluation, the first feedback rating can be calculated based on the different evaluation proportions in multiple first feedback information.

[0083] It can be seen that in an embodiment of the present application, after the number of proofreading feedback information corresponding to the second text saved in the diagnostic server is greater than a preset number, a first feedback score corresponding to the second text is generated based on the multiple proofreading feedback information saved in the diagnostic server, thereby improving the credibility of the first feedback score.

[0084] In a possible embodiment, the number of second texts whose corresponding level with the first text is the second level in the diagnostic server is obtained; if the number of second texts whose corresponding level with the first text in the diagnostic server is the second level is greater than a second preset number, a language package of the language corresponding to the second text is generated according to the second texts whose corresponding level with the first text is the second level; the language package of the language corresponding to the second text is sent to a mobile terminal, and the language package of the language corresponding to the second text is used to update the mobile terminal so that the mobile terminal supports displaying the language corresponding to the second text.

[0085] Specifically, the second text whose corresponding level with the first text is the second level is determined to have a higher translation accuracy based on the first feedback score of the second text. If the number of second texts whose corresponding level with the first text is the second level in the diagnostic server is greater than the second preset number, a language pack of the language corresponding to the second text is generated according to the second text whose corresponding level with the first text is the second level.

[0086] The second preset number here is determined based on the number of texts in the mobile terminal itself. For example, the number of texts that may be displayed in the normal operation of the mobile terminal is 100, and the second preset number here is 50, 70, 90, etc.

[0087] A language package of a language corresponding to a second text is generated based on a second text having a second level of correspondence with the first text; the language package of the language corresponding to the second text is sent to a mobile terminal, and the language package of the language corresponding to the second text is used to update the mobile terminal so that the mobile terminal supports displaying the language corresponding to the second text.

[0088] It can be seen that in an embodiment of the present application, a language package of the language corresponding to the second text is generated by using a second text whose corresponding level with the first text is the second level and is greater than the second preset number, and the language package is sent to the mobile terminal, so that the mobile terminal supports displaying the language corresponding to the second text. The user of the mobile terminal can directly change the language displayed by the mobile terminal to the language corresponding to the second text, thereby improving the translation efficiency of the diagnostic server.

[0089] The above-mentioned application embodiment describes a method for translating a first text. Based on this, when a higher translation accuracy is required for a second text, the embodiment of the present application also provides another more detailed translation method.

[0090] The low translation accuracy requirement mentioned here specifically refers to the fact that the diagnosis result corresponding to the first text is a qualified diagnosis. In this case, the user of the mobile terminal does not need to perform additional maintenance, repair, etc. on the target vehicle. The first text is specifically some text describing that the vehicle status is qualified, normal, etc. Therefore, the translation accuracy requirement for the text information related to the qualified diagnosis is not high.

[0091] However, when the diagnosis result corresponding to the first text is unqualified, since the user of the mobile terminal needs to take maintenance and repair measures on the target vehicle based on the second text corresponding to the first text, the translation accuracy requirement of the second text corresponding to the first document in this scenario is higher than the requirement in the scenario where the diagnosis result corresponding to the first text is qualified.

[0092] See also Figure 6 , Figure 6 A flowchart of another translation method provided in an embodiment of the present application. Figure 1 The application scenario shown is implemented as follows Figure 6 As shown, steps S601-S607 are included:

[0093] S601: The diagnostic server obtains first diagnostic information sent by a mobile terminal, where the first diagnostic information includes a first text and a first language identifier, where the first language identifier is used to indicate a target language category of the first text.

[0094] S602: The diagnostic server obtains a second text from a local database of the diagnostic server according to the first text and the first language identifier, where the language category of the second text corresponds to the first language identifier.

[0095] For a detailed description of steps S601-S602, please refer to the aforementioned steps S201-S202 and related descriptions, which will not be repeated here.

[0096] S603: If the diagnostic server successfully obtains the second text, the diagnostic result corresponding to the first text is determined according to the first text. If the diagnostic result corresponding to the first text is that there is no fault, the second text is sent to the mobile terminal.

[0097] Specifically, when the diagnosis result corresponding to the first text is that there is no fault, it means that the first text is a text obtained in the process of diagnosing according to the information and data of the target vehicle, and the first text is likely to be used to describe the operating status of the target vehicle, whether there is a fault, etc. When the diagnosis result is that there is no fault, the translation accuracy requirement for the second text is relatively low, so the second text can be sent to the mobile terminal without considering the correspondence level between the first text and the second text.

[0098] S604: If the diagnosis result corresponding to the first text is that a fault exists, the diagnosis server determines a correspondence level between the first text and the second text.

[0099] When the diagnosis result corresponding to the first text is that a fault exists, the first text may be used to describe the fault status, fault cause, recommended troubleshooting measures, etc. of the target vehicle. Therefore, the translation accuracy of the first text in this scenario is required to be relatively high, and the translation accuracy of the second text needs to be determined based on the correspondence level between the first text and the second text.

[0100] S605: If the correspondence level between the first text and the second text is the first level, the diagnostic server performs a correspondence level upgrade verification on the second text.

[0101] Specifically, if the correspondence level between the first text and the second text is the first level, the translation accuracy of the second text is relatively low or in a state to be determined. Therefore, the second text needs to be verified for corresponding level upgrade to further determine the translation accuracy of the second text.

[0102] S606: The diagnostic server determines the correspondence level between the second text that has passed the correspondence level upgrade verification and the first text as the second level.

[0103] Specifically, for the second text that has passed the corresponding level upgrade verification, the diagnostic server further verifies the translation accuracy of the second text and determines that the translation accuracy of the second text is high, and therefore determines the corresponding level between the second text and the first text to be the second level.

[0104] Exemplarily, the corresponding level upgrade verification here can be determined by the operation and maintenance personnel of the diagnostic server, or verified by proofreading feedback sent by other users for the second text.

[0105] In a possible embodiment, performing a corresponding level upgrade verification on the second text includes: sending a second request information to a second translation server, the second request information is used to request to obtain a third text corresponding to the first text; receiving the third text from the second translation server, and determining whether the second text is consistent with the third text; if the third text is consistent with the second text, determining that the second text has passed the corresponding level upgrade verification; if the third text is inconsistent with the second text, determining that the second text has not passed the corresponding level upgrade verification.

[0106] Specifically, the specific server here is another server that is different from the first translation server and can translate the first text into the second text. The first translation server and the second translation server can translate the first text in the same or different ways, such as translation through a translation model, translation through artificial intelligence, translation through professional translators, etc.

[0107] The second request information here is generated by the diagnostic server according to the first text and the first language identifier and in accordance with the application programming interface of the second translation server. The second translation server sends the second request information to the second translation server to instruct the second translation server to translate the first text into the third text. Since the second translation server and the first translation server may adopt different translation methods to translate the first text, the second text and the third text may be the same text or different texts.

[0108] After receiving the third text from the second translation server, the diagnostic server determines whether the second text is consistent with the third text. If the second text is consistent with the third text, it proves that the translation results obtained by the first translation server and the second translation server when translating the first text into the target language using different translation methods are consistent, so it can be judged that the translation accuracy of the second text is higher. Based on the above reasons, if the third text is consistent with the second text, it is determined that the second text has passed the corresponding level upgrade verification.

[0109] Here, the third text is consistent with the second text, which specifically means that the second text and the third text have the same or similar specific meanings. Furthermore, the third text is consistent with the second text, which specifically means that the texts of the second text and the third text are completely consistent.

[0110] If the second text is inconsistent with the third text, it proves that the first translation server and the second translation server, when using different translation methods, have obtained inconsistent translation results when translating the first text into the target language, and it is impossible to determine which of the second text and the third text has a higher translation accuracy. Based on the above reasons, if the third text is inconsistent with the second text, it is determined that the second text has not passed the corresponding level upgrade verification.

[0111] It can be seen that in the embodiment of the present application, when the second text needs to be verified for the corresponding level upgrade, the second text is verified by the third text obtained from the second translation server, and the second text does not need to be manually verified by relevant translators, thereby improving the efficiency of verification. When the second text is consistent with the third text, it is determined that the second text has passed the corresponding level upgrade verification, thereby ensuring the translation accuracy of the second text.

[0112] In a possible embodiment, after determining that the second text has not passed the corresponding level upgrade verification, a second feedback score for the second text is generated based on the proofreading feedback information of the second text recorded in the diagnostic server; if the second feedback score is not lower than the second preset score, the corresponding level between the first text and the second text is determined to be the second level, and the second preset score is lower than the first preset score; if the second feedback score is lower than the second preset score, the third text is determined to be a new second text, and the corresponding relationship level between the second text and the first text is determined to be the second level.

[0113] Specifically, when the second text fails to pass the corresponding level upgrade verification, the second text is inconsistent with the third text. At this time, the one with a higher translation accuracy between the second text and the third text needs to be used as the text corresponding to the first text in the target language.

[0114] First, a second feedback score for the second text is generated based on the proofreading feedback information of the second text recorded by the diagnostic server. The proofreading feedback information recorded by the diagnostic server here is not sent by the mobile terminal that sent the first diagnostic information, but is sent by other mobile terminals that request the diagnostic server to translate the first text into the second text before the mobile terminal sends the first diagnostic information.

[0115] A second feedback score for the second text is generated based on the proofreading feedback information of the second text recorded in the diagnostic server. If the second feedback score is not lower than a second preset score, it proves that the translation accuracy of the second text meets the basic accuracy requirement, and the corresponding level between the first text and the second text is determined as the second level.

[0116] If the second feedback score is lower than the second preset score, it proves that the translation accuracy of the second text does not meet the basic accuracy requirement, and the third text different from the second text is more likely to meet the basic accuracy requirement. Therefore, the third text is determined as the new second text, and the correspondence level between the second text and the first text is determined to be the second level.

[0117] Further, after the second level of the second text is determined as the second level based on the second feedback score of the second text; or after the third text is determined as the new second text and the corresponding relationship level is determined as the second level. The diagnostic server will continue to obtain proofreading feedback information for the second text sent by the user through the mobile terminal, and record the proofreading feedback information sent by the mobile terminal. When the number of proofreading feedback information recorded by the diagnostic server is greater than the first preset number, the aforementioned steps for calculating the first feedback score are executed again. For the relevant description of calculating the first feedback score, please refer to the aforementioned description, which will not be repeated here.

[0118] It can be seen that in the embodiment of the present application, if the translation accuracy of the second text meets the requirements of the second preset score, the second text is sent to the mobile terminal. If the translation accuracy of the second text does not meet the requirements of the second preset score, the third text is sent to the mobile terminal as a new second text. On the premise of determining that the second text meets the basic accuracy requirements, there is no need to perform additional proofreading procedures such as manual translation, thereby improving the translation efficiency of the diagnostic server.

[0119] S607: If the correspondence level between the first text and the second text is the second level, the diagnostic server executes the step of sending the second text to the mobile terminal.

[0120] If the correspondence level between the first text and the second text is the second level, the diagnosis server may determine that the translation accuracy of the second text is relatively high, and may execute the step of sending the second text to the mobile terminal.

[0121] Furthermore, steps S603-S607 of the embodiment of the present application are executed on the premise that the diagnostic server successfully obtains the second text. When the diagnostic server fails to obtain the second text and needs to obtain the second text from the first translation server, steps S603-S607 can also be executed. The relevant content is not repeated here.

[0122] It can be seen that in the embodiment of the present application, in a scenario where the diagnostic result corresponding to the first text is that there is a fault and the translation accuracy of the second text is required to be higher, the translation accuracy of the second text sent by the diagnostic server to the mobile terminal is guaranteed by performing a corresponding level upgrade verification on the second text whose corresponding level with the first text is the first level.

[0123] By implementing the method in the above-mentioned application embodiment, it can be seen that the second text sent by the first translation server is recorded in the local database of the diagnostic server, and there is no need to obtain the second text corresponding to the first text from the first translation server for a fee multiple times, thereby reducing the operating cost of providing translation services. According to the feedback score evaluation sent by the mobile terminal, the translation accuracy of the diagnostic server is improved. When the mobile terminal has a high requirement for the translation accuracy of the second text, the corresponding level upgrade verification is performed on the second text with the first level, thereby ensuring the translation accuracy of the second text sent by the diagnostic server to the mobile terminal.

[0124] Based on the description of the above configuration method embodiment, the present application also provides a diagnostic server 700, which can be running on Figure 1 The diagnostic server 101 is used to perform Figure 2 See the method shown in Figure 7 , Figure 7A schematic diagram of the structure of a diagnostic server provided in an embodiment of the present application, the diagnostic server 700 includes:

[0125] An acquiring unit 701 is configured to acquire first diagnostic information sent by a mobile terminal, where the first diagnostic information includes a first text and a first language identifier, where the first language identifier is used to indicate a target language category of the first text;

[0126] Acquire a second text from a local database of the diagnostic server according to the first text and the first language identifier, wherein a language category of the second text corresponds to the first language identifier;

[0127] The sending unit 702 is configured to send the second text to the mobile terminal if the second text is successfully obtained;

[0128] If the acquisition of the second text fails, sending a first request message to the first translation server, where the first request message is used to request the first translation server to acquire the second text corresponding to the first text;

[0129] Receiving unit 703: configured to receive a second text from the first translation server, and send the second text to the mobile terminal.

[0130] In a possible embodiment, before sending the second text to the mobile terminal, the acquisition unit 701 is further specifically used to: determine the correspondence level between the first text and the second text as the first level, and the correspondence level is used to characterize the translation accuracy of the second text; after sending the second text to the mobile terminal, obtain proofreading feedback information sent by the mobile terminal, and the proofreading feedback information is used to characterize the evaluation of the user of the mobile terminal on the translation accuracy of the second text; generate a first feedback score for the second text according to the proofreading feedback information, and if the first feedback score of the second text is higher than the first preset score, determine the correspondence level between the first text and the second text as the second level, and the translation accuracy corresponding to the second level is higher than the translation accuracy corresponding to the first level.

[0131] In a possible embodiment, in terms of generating a feedback score for the second text based on the proofreading feedback information, the acquisition unit 701 is also specifically used to: obtain the number of proofreading feedback information corresponding to the second text stored in the diagnostic server; if the number of proofreading feedback information corresponding to the second text stored in the diagnostic server is greater than a first preset number, then generating a first feedback score for the second text based on the proofreading feedback information corresponding to the second text stored in the diagnostic server.

[0132] In a possible embodiment, the sending unit 702 is also specifically used to: determine a diagnostic result corresponding to the first text based on the first text; if the diagnostic result corresponding to the first text is that there is a fault, before sending the second text to the mobile terminal, determine the corresponding level between the first text and the second text; if the corresponding level between the first text and the second text is the first level, perform a corresponding level upgrade verification on the second text; determine the corresponding level between the second text that passes the corresponding level upgrade verification and the first text as the second level; if the corresponding level between the first text and the second text is the second level, execute the step of sending the second text to the mobile terminal.

[0133] In a possible embodiment, in terms of performing corresponding level upgrade verification on the second text, the sending unit 702 is also specifically used to: send a second request information to the second translation server, the second request information is used to request to obtain a third text corresponding to the first text; receive the third text from the second translation server, and determine whether the second text is consistent with the third text; if the third text is consistent with the second text, determine that the second text has passed the corresponding level upgrade verification; if the third text is inconsistent with the second text, determine that the second text has not passed the corresponding level upgrade verification.

[0134] In a possible embodiment, after determining that the second text has not passed the corresponding level upgrade verification, the sending unit 702 is further specifically used to: generate a second feedback score for the second text based on the proofreading feedback information of the second text recorded in the diagnostic server; if the second feedback score is not lower than the second preset score, the corresponding level between the first text and the second text is determined to be the second level, and the second preset score is lower than the first preset score; if the second feedback score is lower than the second preset score, the third text is determined to be a new second text, and the corresponding relationship level between the second text and the first text is determined to be the second level.

[0135] In a possible embodiment, the acquisition unit 701 is also specifically used to: acquire the number of second texts in the diagnostic server whose corresponding level with the first text is the second level; if the number of second texts in the diagnostic server whose corresponding level with the first text is the second level is greater than a second preset number, generate a language package of the language corresponding to the second text based on the second text whose corresponding level with the first text is the second level; send the language package of the language corresponding to the second text to the mobile terminal, and the language package of the language corresponding to the second text is used to update the mobile terminal so that the mobile terminal supports displaying the language corresponding to the second text.

[0136] Based on the description of the above method embodiment and device embodiment, please refer to Figure 8 , Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 The electronic device 800 shown (the electronic device 800 may be a computer device, Figure 1 The diagnostic server 101 shown in the figure includes a memory 801, a processor 802, a communication interface 803 and a bus 804. The memory 801, the processor 802 and the communication interface 803 are connected to each other through the bus 804.

[0137] The memory 801 may be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM).

[0138] The memory 801 can store programs. When the program stored in the memory 801 is executed by the processor 802, the processor 802 and the communication interface 803 are used to execute the various steps of the translation method of the embodiment of the present application.

[0139] The processor 802 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the functions required to be performed by the units in the electronic device 800 of the embodiment of the present application, or to execute the translation method of the method embodiment of the present application.

[0140] The processor 802 may also be an integrated circuit chip with signal processing capability. In the implementation process, each step of the translation method of the present application may be completed by an integrated logic circuit of hardware or software instructions in the processor 802. The above-mentioned processor 802 may also be a general-purpose processor, a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 801, and the processor 802 reads the information in the memory 801, and combines its hardware to complete the functions required to be performed by the units included in the electronic device 800 of the embodiment of the present application, or executes the translation method of the method embodiment of the present application.

[0141] The communication interface 803 uses a transceiver such as, but not limited to, a transceiver to implement communication between the electronic device 800 and other devices or a communication network. For example, data can be acquired through the communication interface 803 .

[0142] The bus 804 may include a path for transmitting information between various components of the electronic device 800 (eg, the memory 801 , the processor 802 , and the communication interface 803 ).

[0143] It should be noted that although Figure 8 The electronic device 800 shown only shows a memory, a processor, and a communication interface, but in the specific implementation process, those skilled in the art should understand that the electronic device 800 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the electronic device 800 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the electronic device 800 may also only include the devices necessary to implement the embodiments of the present application, and does not necessarily include Figure 8 All devices shown in .

[0144] An embodiment of the present application further provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to implement the translation method.

[0145] Optionally, as an implementation manner, the chip may further include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the translation method.

[0146] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0147] The embodiment of the present application further provides a computer program product including instructions. When the computer program product is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.

[0148] Those skilled in the art will appreciate that the functions described in conjunction with the various illustrative logic blocks, modules, and algorithm steps disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions described in the various illustrative logic blocks, modules, and steps can be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to tangible media, such as data storage media, or includes any media (e.g., based on a communication protocol) that facilitates the transfer of a computer program from one place to another. In this manner, computer-readable media may generally correspond to (1) non-temporary tangible computer-readable storage media, or (2) communication media, such as signals or carrier waves. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in this application. A computer program product may include computer-readable media.

[0149] As an example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. Also, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio and microwave are included in the definition of media. However, it should be understood that the computer-readable storage media and data storage media do not include connections, carrier waves, signals or other temporary media, but are actually directed to non-temporary tangible storage media. As used herein, disks and optical disks include compact disks (CDs), laser optical disks, optical optical disks, digital versatile disks (DVDs), and Blu-ray disks, where disks typically reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0150] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Thus, the term "processor" as used herein may refer to any of the aforementioned structures or any other structures suitable for implementing the techniques described herein. Additionally, in some aspects, the functions described by the various illustrative logic blocks, modules, and steps described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated in a combined codec. Moreover, the techniques may be fully implemented in one or more circuits or logic elements.

[0151] The techniques of the present application may be implemented in a variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this application to emphasize functional aspects of devices for performing the disclosed techniques, but do not necessarily need to be implemented by different hardware units. In fact, as described above, the various units may be combined in an encoded hardware unit in conjunction with appropriate software and / or firmware, or provided by interoperating hardware units (including one or more processors as described above).

[0152] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the specific descriptions of the corresponding steps in the aforementioned method embodiments, and will not be repeated here.

[0153] It should be understood that in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; wherein A and B can be singular or plural. Also, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be necessarily different. Meanwhile, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.

[0154] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling, direct coupling, or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0156] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. The available medium may be a read-only memory (ROM), or a random access memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a tape, a disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state disk (SSD), etc.

[0157] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

[0158] The device embodiments described above are merely illustrative, wherein the units and modules described as separate components may or may not be physically separated. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.

[0159] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A translation method, characterized in that: A diagnostic server applied to a vehicle-mounted system, wherein the vehicle-mounted system further comprises a mobile terminal and a first translation server, wherein the mobile terminal and the first translation server are respectively connected to the diagnostic server, and the method comprises: Acquire first diagnostic information sent by the mobile terminal, where the first diagnostic information includes a first text and a first language identifier, where the first language identifier is used to indicate a target language category of the first text; Acquire a second text from a local database of the diagnostic server according to the first text and the first language identifier, wherein a language category of the second text corresponds to the first language identifier; If the second text is obtained successfully, sending the second text to the mobile terminal; If the acquisition of the second text fails, sending a first request message to the first translation server, wherein the first request message is used to request the first translation server to acquire the second text corresponding to the first text; The second text is received from the first translation server, and the second text is sent to the mobile terminal.

2. The method according to claim 1, characterized in that Before sending the second text to the mobile terminal, the method further includes: determining a correspondence level between the first text and the second text as a first level, wherein the correspondence level is used to represent a degree of translation accuracy of the second text; After sending the second text to the mobile terminal, the method further includes: Acquiring proofreading feedback information sent by the mobile terminal, wherein the proofreading feedback information is used to represent an evaluation of a user of the mobile terminal on the accuracy of the translation of the second text; A first feedback score for the second text is generated according to the proofreading feedback information; if the first feedback score for the second text is higher than a first preset score, the corresponding level between the first text and the second text is determined as a second level, and the translation accuracy corresponding to the second level is higher than the translation accuracy corresponding to the first level.

3. The method according to claim 2, characterized in that Generating a feedback score for the second text according to the proofreading feedback information includes: Obtaining the amount of proofreading feedback information corresponding to the second text stored in the diagnostic server; If the amount of proofreading feedback information corresponding to the second text stored in the diagnostic server is greater than a first preset amount, a first feedback score for the second text is generated according to the proofreading feedback information corresponding to the second text stored in the diagnostic server.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: determining a diagnosis result corresponding to the first text according to the first text; If the diagnosis result corresponding to the first text is that a fault exists, before sending the second text to the mobile terminal, the method further includes: determining a correspondence level between the first text and the second text; If the corresponding level between the first text and the second text is the first level, performing corresponding level upgrade verification on the second text; Determining the correspondence level between the second text that has passed the correspondence level upgrade verification and the first text as the second level; If the correspondence level between the first text and the second text is the second level, the step of sending the second text to the mobile terminal is performed.

5. The method according to claim 4, characterized in that The performing corresponding level upgrade verification on the second text includes: Sending a second request message to a second translation server, where the second request message is used to request obtaining a third text corresponding to the first text; receiving the third text from the second translation server, and determining whether the second text is consistent with the third text; If the third text is consistent with the second text, determining that the second text has passed the corresponding level upgrade verification; If the third text is inconsistent with the second text, it is determined that the second text has not passed the corresponding level upgrade verification.

6. The method according to claim 5, characterized in that After determining that the second text fails the corresponding level upgrade verification, the method further includes: generating a second feedback score for the second text according to the proofreading feedback information of the second text recorded in the diagnostic server; If the second feedback score is not lower than a second preset score, determining the corresponding level of the first text and the second text as a second level, and the second preset score is lower than the first preset score; If the second feedback score is lower than the second preset score, the third text is determined as a new second text, and the correspondence level between the second text and the first text is determined as a second level.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Acquire the number of second texts in the diagnostic server whose corresponding level to the first text is a second level; If the number of second texts in the diagnostic server whose corresponding level to the first text is the second level is greater than a second preset number, generating a language package of the language corresponding to the second text according to the second texts whose corresponding level to the first text is the second level; A language package of the second text corresponding language is sent to the mobile terminal, where the language package of the second text corresponding language is used to update the mobile terminal so that the mobile terminal supports displaying the second text corresponding language.

8. A diagnostic server, characterized in that: The diagnostic server belongs to a vehicle-mounted system, and the vehicle-mounted system also includes a mobile terminal and a first translation server, the mobile terminal and the first translation server are respectively connected to the diagnostic server, and the diagnostic server includes: An acquiring unit: configured to acquire first diagnostic information sent by the mobile terminal, wherein the first diagnostic information includes a first text and a first language identifier, wherein the first language identifier is used to indicate a target language category of the first text; Acquire a second text from a local database of the diagnostic server according to the first text and the first language identifier, wherein a language category of the second text corresponds to the first language identifier; A sending unit: configured to send the second text to the mobile terminal if the second text is successfully obtained; If the acquisition of the second text fails, sending a first request message to the first translation server, wherein the first request message is used to request the first translation server to acquire the second text corresponding to the first text; Receiving unit: used for receiving the second text from the first translation server and sending the second text to the mobile terminal.

9. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 7.