CN115758996A - Data processing method and electronic equipment - Google Patents

Data processing method and electronic equipment Download PDF

Info

Publication number
CN115758996A
CN115758996A CN202211363210.8A CN202211363210A CN115758996A CN 115758996 A CN115758996 A CN 115758996A CN 202211363210 A CN202211363210 A CN 202211363210A CN 115758996 A CN115758996 A CN 115758996A
Authority
CN
China
Prior art keywords
language
vocabulary
request
response
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211363210.8A
Other languages
Chinese (zh)
Inventor
苏小霓
万侃然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN202211363210.8A priority Critical patent/CN115758996A/en
Publication of CN115758996A publication Critical patent/CN115758996A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Machine Translation (AREA)

Abstract

The embodiment of the application discloses a data processing method and electronic equipment. In the data processing method, the method includes: receiving a first language request from a client device; the first language request is a request obtained by coding in a first language; determining a first language vocabulary in the first language request; generating a second language request according to the first language vocabulary in the first language request; the second language request is a request obtained by coding in a second language; processing the second language request to generate a second language response; wherein the second language response is a response encoded in the second language; for a user, the user does not need to know an internal conversion mechanism of the processor and the server, can efficiently and conveniently access the server through the mastered first language, and is simple and flexible to operate and high in access efficiency.

Description

Data processing method and electronic equipment
Technical Field
The present application relates to the field of server technologies, and in particular, to a data processing method and an electronic device.
Background
redfish is a management standard based on a hypertext transfer protocol security (HTTPS) service, thereby implementing device management.
When a user initiates a redfish request through client equipment, the client equipment sends an English-form URL and the redfish request to a server through HTTPS, and the server analyzes and processes a Uniform Resource Locator (URL) and the redfish request and sends a processing result to the client equipment in an English form.
In the redfish standard, the URL, the redfish request and the processing result are all in the form of english content, and are only applicable to english read-write scenes, and the flexibility is poor.
Disclosure of Invention
The application provides a data processing method and electronic equipment, which are used for improving the efficiency of accessing a server.
In a first aspect, the present application provides a data processing method. The user may input a request in a first language to the client device, the first language request encoded in the first language, in other words, the client device may obtain the first language request from the user.
The first language and the second language are different languages, but the application does not limit the specific language type of the first language or the second language, for example, the first language may be any one of chinese, english, japanese, or german, and the second language may be any one of chinese, english, japanese, or german, as long as the first language and the second language are not the same language.
In this application, a specific communication protocol between the client device and the server is defined, and may be, for example, redfish protocol, representational state transfer (REST), or hypertext transfer protocol (HTTP) in HTTPS, or may be another protocol, which is not described herein in detail.
After the client device obtains the first language request, the first language vocabulary in the first language request is searched, so that a second language request is generated according to the first language vocabulary in the first language request, and then the second language request is sent to the server, so that the server can process the second language request.
In the application, for the user, the user does not need to know the internal conversion mechanism of the processor and the server, the user can efficiently and conveniently access the server only through the first language known by the user, the operation is simple and flexible, and the access efficiency is high.
Based on the first aspect, in an optional implementation manner, after receiving the second language request, the server parses and processes the second language request to obtain a second language response, that is, the second language response is encoded by the second language. The server then sends the second language response to the client device.
The client device searches for the second language vocabulary in the second language response and generates the first language response according to the second language vocabulary in the second language response. The process of converting the second language response into the first language response by the client device is similar to the process of converting the first language request into the second language request by the client device, and details are not repeated here. Therefore, the processing response (i.e. the first language response) for the first language request, which is seen by the user through the client device, is also encoded in the first language, thereby improving the efficiency and flexibility of data processing.
Based on the first aspect, in an optional implementation manner, the corresponding first segmentation rule is set according to naming rules of different communication protocol commands. The first language request is then divided into one or more first language vocabulary based on the first segmentation rules to accommodate scenarios of different communication protocols.
Based on the first aspect, in an optional implementation manner, second language words corresponding to the first language requests are determined, where each first language word in the first language requests corresponds to one second language word;
and combining second language vocabularies corresponding to the first language request into a second language request according to the word segmentation sequence.
Based on the first aspect, in an optional implementation manner, the client device may determine, according to a pre-established lexicon, a second language vocabulary corresponding to the first language request. Specifically, the word bank in the client device includes a plurality of words of a first language (i.e., words of a first language) and a plurality of words of a second language (i.e., words of a second language), wherein each word of the first language corresponds to only one word of the second language, and similarly, each word of the second language also corresponds to only one word of the first language, thereby ensuring the accuracy and consistency of conversion between the words of the first language and the words of the second language.
Based on the first aspect, in an optional implementation manner, the word bank in the client device includes a general word bank and a customized word bank, where the general word bank includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized thesaurus comprises an extended vocabulary and a modified vocabulary of the general protocol and a translation vocabulary thereof. The client device may determine, from the universal thesaurus or the custom thesaurus, a second language vocabulary corresponding to the first language request.
Based on the first aspect, in an optional implementation manner, the corresponding second participle rule is set according to naming rules of different communication protocol commands. The second language response is then divided into one or more second language words based on second word segmentation rules to accommodate scenarios of different communication protocols.
The second language response is divided into one or more second language words based on second word segmentation rules.
Based on the first aspect, in an optional implementation manner, the first language vocabulary corresponding to the second language response is determined, wherein each second language vocabulary in the second language response corresponds to one first language vocabulary;
and combining second language vocabularies corresponding to the first language request into a second language request according to the word segmentation sequence.
Based on the first aspect, in an optional implementation manner, the client device may determine, according to a pre-established lexicon, a first language vocabulary corresponding to the second language response. Specifically, the word bank in the client device includes a plurality of words of a first language (i.e., words of a first language) and a plurality of words of a second language (i.e., words of a second language), wherein each word of the first language corresponds to only one word of the second language, and similarly, each word of the second language also corresponds to only one word of the first language, thereby ensuring the accuracy and consistency of conversion between the words of the first language and the words of the second language.
Based on the first aspect, in an optional implementation manner, the word library in the client device includes a general word library and a customized word library, where the general word library includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized thesaurus comprises an extended vocabulary and a modified vocabulary of the general protocol and a translation vocabulary thereof. The client device may determine the first language vocabulary corresponding to the second language response from the universal thesaurus or the custom thesaurus.
In an alternative embodiment according to the first aspect, a selection interface of a target language type may be displayed on the client device for the user to select in which language to input the request. Wherein the selection interface includes a plurality of language types including a first language and a second language. If the user selects the first language as the target language type, triggering a translation process of the client for the first language request input by the user; if the user selects the second language as the target language type, because the server uses the second language as the standard language for processing the request, the client directly sends the second language request input by the user to the server for processing without a translation process. By the method, before the user requests to access the server, the user can select the language to be adopted by himself, so that the flexibility and the efficiency of the user in accessing the server are improved.
In an optional implementation manner according to the first aspect, the first language request and the second language request are redfish requests.
In a second aspect, the present application provides a data processing method. Receiving a first language request from a client device, wherein the first language request is a request obtained by coding in a first language;
determining a first language vocabulary in the first language request;
generating a second language request according to the first language vocabulary in the first language request, wherein the second language request is a request obtained by coding in a second language;
and processing the second language request to obtain a second language response, wherein the second language response is a response obtained by coding the second language.
The information interaction, execution process, and other contents of the embodiment shown in this aspect are based on the same concept as the embodiment shown in the first aspect, and therefore, for the description of the beneficial effects shown in this aspect, please refer to the description of the first aspect, which is not described herein in detail.
Based on the second aspect, in an alternative embodiment, the determining the first language vocabulary in the first language request includes:
the first language request is divided into one or more first language words based on first word segmentation rules.
In an optional implementation manner, based on the second aspect, the generating the second language request according to the first language vocabulary in the first language request includes:
determining a second language vocabulary corresponding to each first language vocabulary in the first language request;
and combining second language vocabularies corresponding to the first language request into a second language request according to the word segmentation sequence.
In an alternative embodiment, based on the second aspect, determining the second language vocabulary corresponding to each first language vocabulary in the first language request includes:
and determining a second language vocabulary corresponding to each first language vocabulary in the first language request based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary are stored in the vocabulary library in a one-to-one mapping manner.
Based on the second aspect, in an alternative embodiment, the word library includes a general word library and a customized word library, and the general word library includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
determining a second language vocabulary corresponding to each first language vocabulary in the first language request based on the lexicon, comprising:
and determining a second language vocabulary corresponding to each first language vocabulary in the first language request from the general vocabulary base or the self-defined vocabulary base.
In an optional implementation manner based on the second aspect, the method further includes:
determining a second language vocabulary in the second language response;
generating a first language response according to the second language vocabulary in the second language response, wherein the first language response is a response obtained by coding in the first language;
a first language response is sent to the client device.
In an alternative embodiment, based on the second aspect, determining the second language vocabulary in the second language response comprises:
the second language response is divided into one or more second language words based on the second word segmentation rules.
Based on the second aspect, in an alternative embodiment, generating the first language response according to the second language vocabulary in the second language response includes:
determining a first language vocabulary corresponding to each second language vocabulary in the second language response;
and combining the first language words corresponding to each second language word in the second language response into the first language response according to the word segmentation sequence.
Based on the second aspect, in an alternative embodiment, the determining the first language vocabulary corresponding to the second language vocabulary in the second language response includes:
and determining a first language vocabulary corresponding to each second language vocabulary in the second language response based on the vocabulary library, wherein the first language vocabulary and the second language vocabulary which are mapped one by one are stored in the vocabulary library.
Based on the second aspect, in an optional implementation manner, the word library includes a general word library and a customized word library, and the general word library includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
determining a first language vocabulary corresponding to each second language vocabulary in the second language response based on the lexicon, comprising:
and determining the first language vocabulary corresponding to each second language vocabulary in the second language response from the general word stock or the self-defined word stock.
In an alternative embodiment based on the second aspect, the first language request and the second language request are redfish requests.
In a third aspect, the present application provides a data processing apparatus, comprising:
the receiving and sending unit is used for acquiring a first language request, wherein the first language request is a request obtained by coding in a first language;
the processing unit is used for determining first language vocabularies in the first language request;
the processing unit is further used for generating a second language request according to the first language vocabulary in the first language request, and the second language request is a request coded in a second language;
and the transceiving unit is further used for sending the second language request to the server so that the server can process the second language request.
The information interaction, execution process, and other contents of the embodiment shown in this aspect are based on the same concept as the embodiment shown in the first aspect, and therefore, for the description of the beneficial effects shown in this aspect, please refer to the description of the first aspect, which is not described herein in detail.
Based on the third aspect, in an optional implementation manner, the processing unit is further configured to:
receiving a second language response from the server, wherein the second language response is obtained after the server processes the second language request and is a response obtained by encoding in a second language;
determining a second language vocabulary in the second language response;
and generating a first language response according to the second language words in the second language response, wherein the first language response is a response coded by the first language.
Based on the third aspect, in an optional implementation manner, the processing unit is specifically configured to:
the first language request is divided into one or more first language words based on the first segmentation rules.
Based on the third aspect, in an optional implementation manner, the processing unit is specifically configured to:
determining second language vocabularies corresponding to the first language requests, wherein each first language vocabulary in the first language requests corresponds to one second language vocabulary;
and combining second language vocabularies corresponding to the first language request into a second language request according to the word segmentation sequence.
Based on the third aspect, in an optional implementation manner, the processing unit is specifically configured to:
and determining a second language vocabulary corresponding to the first language request based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary which are mapped one by one are stored in the vocabulary library.
Based on the third aspect, in an optional implementation manner, the word bank includes a general word bank and a customized word bank, and the general word bank includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
a processing unit, specifically configured to: and determining a second language vocabulary corresponding to the first language request from the general word stock or the self-defined word stock.
Based on the third aspect, in an optional implementation manner, the processing unit is specifically configured to:
the second language response is divided into one or more second language words based on the second word segmentation rules.
Based on the third aspect, in an optional implementation manner, the processing unit is specifically configured to:
determining first language words corresponding to the second language responses, wherein each second language word in the second language responses corresponds to one first language word
And combining the first language words corresponding to the second language response into the first language response according to the word segmentation sequence.
Based on the third aspect, in an optional implementation manner, the processing unit is specifically configured to:
and determining a first language vocabulary corresponding to the second language response based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary which are mapped one by one are stored in the vocabulary library.
Based on the third aspect, in an optional implementation manner, the word bank includes a general word bank and a customized word bank, and the general word bank includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
a processing unit, specifically configured to: determining the first language vocabulary corresponding to the second language response from the universal thesaurus or the custom thesaurus
Based on the third aspect, in an optional implementation manner, the processing unit is further configured to: displaying a selection interface of a target language type, wherein the selection interface comprises a plurality of language types including a first language and a second language; in response to the first language being selected as the target language type, the step of obtaining a request in the first language is triggered.
In a fourth aspect, the present application provides a data processing apparatus comprising:
the receiving and sending unit is used for receiving a first language request from the client equipment, wherein the first language request is a request obtained by coding in a first language;
the processing unit is used for determining first language vocabularies in the first language request;
the processing unit is further used for generating a second language request according to the first language vocabulary in the first language request, and the second language request is a request coded in a second language;
and the processing unit is also used for processing the second language request to obtain a second language response, and the second language response is a response obtained by coding the second language.
The information interaction, execution process, and other contents of the embodiment shown in this aspect are based on the same concept as the embodiment shown in the first aspect, and therefore, for the description of the beneficial effects shown in this aspect, please refer to the description of the first aspect, which is not described herein in detail.
In an optional implementation manner according to the fourth aspect, the processing unit is further configured to:
determining a second language vocabulary in the second language response;
generating a first language response according to a second language vocabulary in the second language response, wherein the first language response is a response obtained by coding in the first language;
a first language response is sent to the client device.
Based on the fourth aspect, in an optional implementation manner, the processing unit is specifically configured to:
the first language request is divided into one or more first language words based on the first segmentation rules.
Based on the fourth aspect, in an optional implementation manner, the processing unit is specifically configured to:
determining second language vocabularies corresponding to the first language requests, wherein each first language vocabulary in the first language requests corresponds to one second language vocabulary;
and combining second language vocabularies corresponding to the first language request into a second language request according to the word segmentation sequence.
Based on the fourth aspect, in an optional implementation manner, the processing unit is specifically configured to:
and determining a second language vocabulary corresponding to the first language request based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary are stored in the vocabulary library in a one-to-one mapping manner.
Based on the fourth aspect, in an optional implementation manner, the word bank includes a general word bank and a customized word bank, and the general word bank includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
a processing unit, specifically configured to:
and determining a second language vocabulary corresponding to the first language request from the general word stock or the self-defined word stock.
Based on the fourth aspect, in an optional implementation manner, the processing unit is specifically configured to:
the second language response is divided into one or more second language words based on the second word segmentation rules.
Based on the fourth aspect, in an optional implementation manner, the processing unit is specifically configured to: determining first language words corresponding to the second language responses, wherein each second language word in the second language responses corresponds to one first language word;
and combining the first language words corresponding to the second language response into the first language response according to the word segmentation sequence.
Based on the fourth aspect, in an optional implementation manner, the processing unit is specifically configured to: and determining the first language vocabulary corresponding to the second language response based on the vocabulary library, wherein the first language vocabulary and the second language vocabulary are stored in the vocabulary library in a one-to-one mapping manner.
Based on the fourth aspect, in an optional implementation manner, the word bank includes a general word bank and a customized word bank, and the general word bank includes a general protocol vocabulary and a standardized translation vocabulary thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
a processing unit, specifically configured to: and determining the first language vocabulary corresponding to the second language response from the universal word stock or the self-defined word stock.
In a fifth aspect, an electronic device is provided that includes a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is configured to store instructions, the processor is configured to execute the instructions, and the communication interface is configured to communicate with other devices under control of the processor; wherein the processor executes the instructions to perform the method of any of the above aspects.
In an optional implementation manner, based on the fifth aspect, the electronic device may be a terminal device or a server.
In a sixth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of any of the above aspects.
In a seventh aspect, a data processing system is provided, the data processing system comprising the client device and the server in any of the above aspects, and the client device and the server in the data processing system are configured to perform the method in any of the above aspects.
Drawings
Fig. 1 is a schematic diagram of HTTPS message delivery in english between a client device and a server;
FIG. 2 is a system framework diagram of the data processing method of the present application;
FIG. 3 is a schematic flow chart of a data processing method of the present application;
FIG. 4 is a schematic diagram of a scenario for establishing a thesaurus in the present application;
FIG. 5 is another schematic flow chart of a data processing method of the present application;
FIG. 6 is a schematic flow chart of another data processing method of the present application;
fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data processing method and electronic equipment, which are used for improving the efficiency of accessing a server.
The embodiments of the present application are described below with reference to the drawings. The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application. As can be known to those skilled in the art, with the development of technology and the emergence of new scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
In this application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Some terms or expressions used in the present application are explained below, and the terms or expressions are also included as a part of the summary of the invention.
redfish is a management standard based on a hypertext transfer protocol secure (HTTPS) service, thereby implementing device management.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating HTTPS message transmission between a client device and a server in english format. As shown in fig. 1, when a user initiates a redfish request through a client device, the client device sends the redfish request in an english format to a server through HTTPS, and the server parses and processes the redfish request and sends a processing result to the client device in an english format.
In the redfish standard, redfish requests and processing results are all in English content forms, and are only applicable to English reading and writing scenes, and cannot support users to use other languages for requesting, so that the use flexibility is poor, the users are not convenient to understand and operate, and the operation efficiency of the users is influenced.
In view of this, the present application provides a data processing method and a related apparatus, which are used to improve flexibility and processing efficiency of accessing server data by a user. Referring to fig. 2, fig. 2 is a schematic diagram of a system framework of a data processing method according to the present application. As shown in fig. 2, in the present application, a translation engine may be deployed in a client device and/or a server, and the translation engine is used to implement the conversion of a first language into a second language, or alternatively, the conversion of the second language into the first language. Illustratively, the translation engine may be used to implement interconversion between Chinese and English for messages (including redfish requests and responses) in the redfish standard. Taking the example that the translation engine is deployed in the client device, the user can input a Chinese redfish request to the client device by Chinese, and the translation engine in the client device can convert the Chinese redfish request into an English redfish request conforming to the redfish standard and then send the English redfish request to the server. After receiving the English redfish request, the server generates an English response and sends the English response to the client device, the translation engine in the client device converts the English response into a Chinese response, and the request or the response is easy to understand by the user through the conversion of the translation engine, so that the user can conveniently process and operate.
It should be noted that the "translation engine" is a general term for a module that performs a translation function, and does not refer to a certain device or devices, and is not limited to a software module or a hardware device.
It is to be appreciated that the translation engine can be deployed on a client device; may be deployed on a server; or the system can be respectively deployed on the client equipment and the server; may also be deployed on third party devices; the deployment location of the translation engine is not limited by the present application.
The following describes a process of the translation engine deployed in the client device to perform the conversion between the first language and the second language. Referring to fig. 3, fig. 3 is a schematic flow chart of a data processing method according to the present application. As shown in fig. 3, the data processing method in the present application includes:
101. the client device obtains a first language request.
Based on the standard of the communication protocol between the client device and the server, the server can only parse and process messages (including requests or responses) encoded in the second language. In practical applications, if the user only knows the first language and does not know the second language, if the access request, such as a redfish request, is input in the second language, the efficiency of accessing the server by the user through the client device will be affected. In the data processing method of the application, a user can input a first language request to a client device, wherein the first language request is coded in a first language, in other words, the client device can obtain the first language request from the user.
The first language and the second language are different languages, but the application does not limit the specific language type of the first language or the second language, for example, the first language may be any one of chinese, english, japanese, or german, and the second language may be any one of chinese, english, japanese, or german, as long as the first language and the second language do not belong to the same language.
In this application, a specific communication protocol between the client device and the server is not limited, and may be, for example, redfish protocol, representational state transfer (REST), or hypertext transfer protocol (HTTP) in HTTPS, or may be another protocol, which is not described herein in detail.
102. The client device translates the first language request into a second language request.
In the application, the client device may convert the message in the first language into the message in the second language according to a pre-established thesaurus. Specifically, the lexicon in the client device includes a plurality of words in a first language (i.e., words in a first language) and a plurality of words in a second language (i.e., words in a second language). Each first language vocabulary only corresponds to one second language vocabulary, and similarly, each second language vocabulary also only corresponds to one first language vocabulary, so that the accuracy and consistency of conversion between the first language vocabulary and the second language vocabulary are ensured.
For example, taking the first language as chinese and the second language as english, the word "data" of the chinese word may be corresponding to the word "data" of the english word in the word bank; the word "input" of Chinese vocabulary can correspond to the word "input" of English vocabulary. When the client device finds the word "data" from the first language request, the word of the second language corresponding to the "data" of the first language can be found from the word stock to be "data".
After the client device obtains the first language request, a second language vocabulary corresponding to the first language vocabulary in the first language request in the word bank is searched, so that a second language request is generated according to the searched second language vocabulary, and then the second language request is sent to the server.
Specifically, in practical applications, since the command statement in the communication protocol often includes a specific naming rule, for example, the access request may include a character "/", a size hump, or a linux naming style (such as underlining), and the like, after acquiring the first language request, the client device needs to segment the first language request according to the naming rule in the communication protocol, and the first language vocabulary in the first language request is converted into the second language vocabulary.
Referring to fig. 4, fig. 4 is a schematic view of a scene for establishing a thesaurus in the present application. As shown in fig. 4, the word stock in the present application may include a general word stock and a customized word stock. The universal thesaurus can be an existing standardized translation thesaurus based on a communication protocol between the client device and the server, so that the existing standardized translation thesaurus is imported into the thesaurus of the client device to serve as the universal thesaurus. For a standard command (namely a standard command in a communication protocol standard) in the first language request, the client device searches a first language vocabulary corresponding to the standard command in the universal word bank; in practical applications, communication protocols often need to be extended or modified, so that some customized commands other than standard commands are needed, and therefore, a customized word library for the customized commands needs to be imported. Specifically, the customized word stock can be established by importing a user manual (or a translation set), manually inputting, accessing a server resource for translation, and the like. And for the customized command in the first language request, the client equipment searches the first language vocabulary corresponding to the customized command in the customized word bank. Therefore, the data processing method in the application can be suitable for different scenes, different types of commands can be translated, and the flexibility of the scheme is improved.
103. The client device sends a request in the second language to the server.
104. The client device receives the second language response sent by the server.
And after receiving the second language request, the server analyzes and processes the second language request to obtain a second language response, namely the second language response is coded through the second language. The server then returns a second language response to the client device.
105. The client device converts the second language response to the first language response.
After the client device obtains the second language response, the vocabulary of the first language corresponding to the second language vocabulary in the second language response in the word stock is searched, and therefore the first language response is generated according to the searched vocabulary of the first language. The process of converting the second language response into the first language response by the client device is similar to the process of converting the first language request into the second language request by the client device in step 102, and please refer to the description of step 102 specifically, which is not described herein again.
Additionally, the client device may also display a first language response; and the first language response is a response corresponding to the first language request.
Compared with the method that the user needs to directly input the second language to access the server, in the embodiment, the user can be allowed to send the first language request to the server through the client device in the first language mastered by the user only after the translation engine is deployed on the client device without changing the existing hardware structure; a translation engine of the client equipment converts the first language request into a second language request and then sends the second language request to the server; the server generates a second language response according to the second language request; the translation engine of the client converts the second language response into a first language response and then provides the first language response to the user; for a user, the user does not need to know the internal conversion mechanism of the processor and the server, can efficiently and conveniently access the server only through the first language known by the user, and is simple and flexible to operate and high in access efficiency.
In one possible implementation, a selection interface of the target language type may be displayed on the client device for the user to select in which language to enter the request. Wherein the selection interface includes a plurality of language types including a first language and a second language. If the user selects the first language as the target language type, triggering a translation process of the client for the first language request input by the user; if the user selects the second language as the target language type, the server takes the second language as the standard language for processing the request, and the client directly sends the second language request input by the user to the server for processing without a translation process.
Taking the example of deploying the translation engine in the server, the following describes a process of the server performing the conversion between the first language and the second language. Referring to fig. 5, fig. 5 is a schematic flow chart of a data processing method according to the present application. As shown in fig. 5, the data processing method in the present application includes:
201. the server obtains a first language request from a client device.
Based on the standard of the communication protocol between the client device and the server, the server can only parse and process messages (including requests or responses) encoded in the second language. In practical applications, if the user only knows the first language and does not know the second language, if the access request, such as a redfish request, is input in the second language, the efficiency of accessing the server by the user through the client device will be affected. In the data processing method, a user can input a first language request to a client device, wherein the first language request is coded in a first language.
The first language and the second language are different languages, but the application does not limit the specific language type of the first language or the second language, for example, the first language may be any one of chinese, english, japanese, or german, and the second language may be any one of chinese, english, japanese, or german, as long as the first language and the second language do not belong to the same language.
In this application, a specific communication protocol between the client device and the server is not limited, and may be, for example, redfish protocol, representational state transfer (REST), or hypertext transfer protocol (HTTP) in HTTPS, or may be another protocol, which is not described herein again.
202. The server translates the first language request into a second language request.
In the application, the server can convert the message in the first language into the message in the second language according to the pre-established word bank. Specifically, the lexicon in the server includes a plurality of words in a first language (i.e., words in a first language) and a plurality of words in a second language (i.e., words in a second language). Each first language vocabulary only corresponds to one second language vocabulary, and similarly, each second language vocabulary also only corresponds to one first language vocabulary, so that the accuracy and consistency of conversion between the first language vocabulary and the second language vocabulary are ensured.
After the server acquires the first language request, a second language vocabulary corresponding to the first language vocabulary in the first language request in the word stock is searched, and therefore the second language request is generated according to the searched second language vocabulary.
Specifically, in practical applications, since the command statement in the communication protocol often includes a specific naming rule, for example, the access request may include a character "/", a size hump, or a linux naming style (such as underlining), and the like, after acquiring the first language request, the client device needs to segment the first language request according to the naming rule in the communication protocol, and the first language vocabulary in the first language request is converted into the second language vocabulary.
As shown in fig. 4, the word library in the present application may include a general word library and a customized word library. The universal word stock can be an existing standardized translation word stock based on a communication protocol between the client device and the server, so that the existing standardized translation word stock can be imported into the word stock of the server to serve as the universal word stock. For the standard command in the first language request (namely the standard command in the communication protocol standard), the server searches the first language vocabulary corresponding to the standard command in the universal word stock; in practical applications, communication protocols often need to be extended or modified, so that some customized commands other than standard commands are needed, and therefore, a customized word library for the customized commands needs to be imported. Specifically, the customized word stock can be established by importing a user manual (or a translation set), manually inputting, accessing a server resource for translation, and the like. For the customized command in the first language request, the server searches the first language vocabulary corresponding to the customized command in the customized word bank. Therefore, the data processing method in the application can be suitable for different scenes, different types of commands can be translated, and the flexibility of the scheme is improved.
203. And the server processes the second language request to obtain a second language response.
The server parses and processes the second language request to obtain a second language response, i.e., the second language response is encoded in the second language.
204. The server converts the second language response to the first language response.
The server searches the vocabulary of the first language corresponding to the vocabulary in the second language response in the word stock, and accordingly the first language response is generated according to the searched vocabulary of the first language. The process of converting the second language response into the first language response by the client device is similar to the process of converting the first language request into the second language request by the client device in step 202, and please refer to the description in step 202 for details, which is not repeated herein.
205. The server sends a first language response to the client device.
The server generates a first language response that is sent to the client device for processing by the user in the first language.
Compared with the method that the user needs to directly input the second language to access the server, in the embodiment, the user can be allowed to send the first language request to the server through the client device in the first language mastered by the user only after the translation engine is deployed in the server without changing the existing hardware structure; the client equipment sends the first language request to the server, and a translation engine of the server translates the first language request into a second language request; the server generates a second language response according to the second language request; the translation engine of the server converts the second language response into a first language response and then provides the first language response to the user; for a user, the user does not need to know the internal conversion mechanism of the processor and the server, can efficiently and conveniently access the server only through the first language known by the user, and is simple and flexible to operate and high in access efficiency.
The following describes a process of converting a first language and a second language by taking an example in which a first translation engine is deployed on a client device and a second translation engine is deployed on a server. Referring to fig. 6, fig. 6 is a schematic flow chart of a data processing method according to the present application. As shown in fig. 6, the data processing method in the present application includes:
301. the client device obtains a first language request.
Based on the standards of the communication protocol between the client device and the server, the server can only parse and process messages (including requests or responses) encoded in the second language. In practical applications, if the user only knows the first language and does not know the second language, if the access request, such as a redfish request, is input in the second language, the efficiency of the user accessing the server through the client device will be affected. In the data processing method of the present application, a user may input a first language request to a client device, the first language request being encoded in a first language, in other words, the client device may obtain the first language request from the user.
302. The client device translates the first language request into a second language request via the first engine.
The client may convert the first language request into a second language request through a first translation engine. The process of the client converting the first language request into the second language request through the first translation engine is similar to the content of the step 102, and please refer to the description of the step 102 specifically, which is not repeated herein.
303. The client device sends the second language request to the server.
304. And the server receives the second language request, processes the second language request and obtains a second language response.
305. The server converts the second language response to the first language response via a second translation engine.
The server may convert the second language response to the first language response via a second translation engine. The process of the server converting the second language response into the first language response through the second translation engine is similar to the content of the foregoing step 204, and please refer to the description of the foregoing step 204 specifically, which is not repeated herein.
306. The server sends a first language response to the client device.
307. The client device displays the first language response.
In order to better implement the above-mentioned scheme of the embodiment of the present application, the following also provides related equipment for implementing the scheme. Specifically, please refer to fig. 7, and fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure. As shown in fig. 7, the data processing apparatus 400 includes:
a transceiver unit 401, configured to obtain a first language request, where the first language request is a request encoded in a first language;
a processing unit 402 for determining first language vocabulary in the first language request;
the processing unit 402 is further configured to generate a second language request according to the first language vocabulary in the first language request, where the second language request is a request encoded in a second language;
the transceiving unit 401 is further configured to send a second language request to the server, so that the server processes the second language request.
In one possible design, the processing unit 402 is further configured to:
receiving a second language response from the server, wherein the second language response is obtained after the server processes the second language request and is a response obtained by coding in a second language;
determining a second language vocabulary in the second language response;
and generating a first language response according to the second language words in the second language response, wherein the first language response is a response coded by the first language.
In one possible design, the processing unit 402 is specifically configured to:
the first language request is divided into one or more first language words based on first word segmentation rules.
In one possible design, the processing unit 402 is specifically configured to:
determining second language vocabularies corresponding to the first language requests, wherein each first language vocabulary in the first language requests corresponds to one second language vocabulary;
and combining second language vocabularies corresponding to the first language request into a second language request according to the word segmentation sequence.
In one possible design, the processing unit 402 is specifically configured to:
and determining a second language vocabulary corresponding to the first language request based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary which are mapped one by one are stored in the vocabulary library.
In one possible design, the word stock comprises a general word stock and a customized word stock, wherein the general word stock comprises general protocol words and standardized translation words thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
the processing unit 402 is specifically configured to: and determining a second language vocabulary corresponding to the first language request from the general word stock or the self-defined word stock.
In one possible design, the processing unit 402 is specifically configured to:
the second language response is divided into one or more second language words based on the second word segmentation rules.
In one possible design, the processing unit 402 is specifically configured to:
determining first language words corresponding to the second language responses, wherein each second language word in the second language responses corresponds to one first language word
And combining the first language words corresponding to the second language response into the first language response according to the word segmentation sequence.
In one possible design, the processing unit 402 is specifically configured to:
and determining the first language vocabulary corresponding to the second language response based on the vocabulary library, wherein the first language vocabulary and the second language vocabulary are stored in the vocabulary library in a one-to-one mapping manner.
In one possible design, the word stock comprises a general word stock and a customized word stock, wherein the general word stock comprises general protocol words and standardized translation words thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
the processing unit 402 is specifically configured to: determining a first language vocabulary corresponding to the second language response from the general word stock or the user-defined word stock;
in one possible design, the processing unit 402 is further configured to: displaying a selection interface of a target language type, wherein the selection interface comprises a plurality of language types including a first language and a second language; in response to the first language being selected as the target language type, the step of obtaining a request in the first language is triggered.
It should be noted that, the contents of information interaction, execution process, and the like between the modules/units in the network device are based on the same concept as the method embodiment corresponding to fig. 3 in the present application, and specific contents may refer to the description in the foregoing method embodiment in the present application, and are not described herein again.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present disclosure. As shown in fig. 8, the data processing apparatus 500 includes:
a transceiving unit 501, configured to receive a first language request from a client device, where the first language request is a request encoded in a first language;
a processing unit 502 for determining a first language vocabulary in the first language request;
a processing unit 502, configured to generate a second language request according to the first language vocabulary in the first language request, where the second language request is a request encoded in a second language;
the processing unit 502 is configured to process the second language request to obtain a second language response, where the second language response is a response encoded in the second language.
In an optional implementation manner based on the fourth aspect, the processing unit 502 is further configured to:
determining a second language vocabulary in the second language response;
generating a first language response according to a second language vocabulary in the second language response, wherein the first language response is a response obtained by coding in the first language;
a first language response is sent to the client device.
Based on the fourth aspect, in an optional implementation manner, the processing unit 502 is specifically configured to:
the first language request is divided into one or more first language words based on the first segmentation rules.
Based on the fourth aspect, in an optional implementation manner, the processing unit 502 is specifically configured to:
determining second language vocabularies corresponding to the first language requests, wherein each first language vocabulary in the first language requests corresponds to one second language vocabulary;
and combining second language vocabularies corresponding to the first language request into a second language request according to the word segmentation sequence.
Based on the fourth aspect, in an optional implementation manner, the processing unit 502 is specifically configured to:
and determining a second language vocabulary corresponding to the first language request based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary which are mapped one by one are stored in the vocabulary library.
Based on the fourth aspect, in an optional implementation manner, the word library includes a general word library and a customized word library, where the general word library includes general protocol vocabularies and standardized translation vocabularies thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
the processing unit 502 is specifically configured to:
and determining a second language vocabulary corresponding to the first language request from the general word stock or the self-defined word stock.
Based on the fourth aspect, in an optional implementation manner, the processing unit 502 is specifically configured to:
the second language response is divided into one or more second language words based on the second word segmentation rules.
Based on the fourth aspect, in an optional implementation manner, the processing unit 502 is specifically configured to: determining first language words corresponding to the second language responses, wherein each second language word in the second language responses corresponds to one first language word;
and combining the first language words corresponding to the second language response into the first language response according to the word segmentation sequence.
Based on the fourth aspect, in an optional implementation manner, the processing unit 502 is specifically configured to: and determining a first language vocabulary corresponding to the second language response based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary which are mapped one by one are stored in the vocabulary library.
Based on the fourth aspect, in an optional implementation manner, the word library includes a general word library and a customized word library, where the general word library includes general protocol vocabularies and standardized translation vocabularies thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
the processing unit 502 is specifically configured to: and determining the first language vocabulary corresponding to the second language response from the general word stock or the self-defined word stock.
It should be noted that, the contents of information interaction, execution process, and the like between the modules/units in the network device are based on the same concept as the method embodiment corresponding to fig. 5 in the present application, and specific contents may refer to the description in the foregoing method embodiment in the present application, and are not described herein again.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where a data processing apparatus described in the embodiment corresponding to fig. 7 may be deployed on the electronic device 600 to implement a function of a client device in the embodiment corresponding to fig. 3, or a data processing apparatus described in the embodiment corresponding to fig. 8 may be deployed on the electronic device 600 to implement a function of a server in the embodiment corresponding to fig. 5. Specifically, the electronic device 600 may be a terminal device or one or more servers, and the electronic device 600 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and a memory 624, where the memory 624 is used for storing one or more stored applications or data. Memory 624 may be, among other things, transient storage or persistent storage. Still further, a central processor 622 may be provided in communication with the memory 624 for executing a sequence of instruction operations within the memory 624 on the electronic device 600.
The electronic device 600 may also include one or more power supplies 626, one or more input-output interfaces 628. In addition, the electronic device may run one or more operating systems, such as Windows Server TM ,MacOS X TM ,Unix TM ,Linux TM ,FreeBSD TM And so on.
The embodiment of the application also provides a computer program product containing instructions. The computer program product may be software or a program product containing instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computer device, the computer program product causes the at least one computer device to perform the method as described in the foregoing embodiments shown in fig. 3 or fig. 5.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium can be any available medium that a computing device can store or a data storage device, such as a data center, that contains one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others. The computer-readable storage medium includes instructions that instruct the computing device to perform the above-described method for performing the embodiments described in fig. 3 or fig. 5.
The training device of the neural network provided by the embodiment of the application can be specifically a chip, and the chip comprises: a processing unit, which may be for example a processor, and a communication unit, which may be for example an input/output interface, a pin or a circuit, etc. The processing unit may execute the computer executable instructions stored by the storage unit to cause the chip to perform the methods described in the embodiments of fig. 3 or fig. 5 above. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, and the like, and the storage unit may also be a storage unit located outside the chip in the radio access device, such as a read-only memory (ROM) or another type of static storage device that may store static information and instructions, a Random Access Memory (RAM), and the like.
It should be further noted that the above-described embodiments of the apparatus are merely illustrative, where the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiments of the apparatus provided in the present application, the connection relationship between the modules indicates that there is a communication connection therebetween, and may be implemented as one or more communication buses or signal lines.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus necessary general-purpose hardware, and certainly can also be implemented by special-purpose hardware including special-purpose integrated circuits, special-purpose CPUs, special-purpose memories, special-purpose components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions may be various, such as analog circuits, digital circuits, or dedicated circuits. However, for the present application, the implementation of a software program is more preferable. Based on such understanding, the technical solutions of the present application may be substantially embodied in the form of a software product, which is stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, an exercise device, or a network device) to execute the method according to the embodiments of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, training device, or data center to another website site, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a training device, a data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.

Claims (12)

1. A method of data processing, comprising:
receiving a first language request from a client device; the first language request is a request obtained by coding in a first language;
determining a first language vocabulary in the first language request;
generating a second language request according to the first language vocabulary in the first language request; the second language request is a request obtained by coding in a second language;
processing the second language request to generate a second language response; wherein the second language response is a response encoded in the second language.
2. The method of claim 1, wherein determining the first language vocabulary in the first language request comprises:
the first language request is divided into one or more first language words based on first word segmentation rules.
3. The method of claim 2, wherein generating a second language request from a first language vocabulary in the first language request comprises:
determining a second language vocabulary corresponding to each first language vocabulary in the first language request;
and combining second language vocabularies corresponding to the first language request into the second language request according to the word segmentation sequence.
4. The method of claim 3, wherein determining the second language vocabulary corresponding to each first language vocabulary in the first language request comprises:
and determining a second language vocabulary corresponding to each first language vocabulary in the first language request based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary which are mapped one by one are stored in the vocabulary library.
5. The method of claim 4, wherein the thesaurus comprises a generic thesaurus and a custom thesaurus, and the generic thesaurus comprises a generic protocol vocabulary and a standardized translation vocabulary thereof; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
the determining, based on the lexicon, a second language vocabulary corresponding to each first language vocabulary in the first language request includes:
and determining a second language vocabulary corresponding to each first language vocabulary in the first language request from the general vocabulary bank or the self-defined vocabulary bank.
6. The method according to any one of claims 1 to 5, further comprising:
determining a second language vocabulary in the second language response;
generating a first language response according to a second language vocabulary in the second language response, wherein the first language response is a response obtained by coding the first language;
sending the first language response to the client device.
7. The method of claim 6, wherein said determining the second language vocabulary in the second language response comprises:
the second language response is divided into one or more second language words based on second word segmentation rules.
8. The method of claim 7, wherein generating a first linguistic response from a second linguistic vocabulary in the second linguistic response comprises:
determining a first language vocabulary corresponding to each second language vocabulary in the second language response;
and combining the first language vocabulary corresponding to each second language vocabulary in the second language response into the first language response according to the word segmentation sequence.
9. The method of claim 8, wherein determining the first language vocabulary corresponding to the second language vocabulary in the second language response comprises:
and determining a first language vocabulary corresponding to each second language vocabulary in the second language response based on a vocabulary library, wherein the first language vocabulary and the second language vocabulary are stored in the vocabulary library in a one-to-one mapping manner.
10. The method of claim 9, wherein the thesaurus comprises a generic thesaurus and a custom thesaurus, the generic thesaurus comprising a generic protocol vocabulary and its standardized translation vocabulary; the customized word bank comprises an extended word and a modified word of a general protocol and a translation word thereof;
the determining, based on the lexicon, a first language vocabulary corresponding to each second language vocabulary in the second language response includes:
and determining the first language vocabulary corresponding to each second language vocabulary in the second language response from the general word stock or the self-defined word stock.
11. The method according to any one of claims 1 to 10, wherein said first language request and said second language request are redfish requests.
12. A server comprising a processor and a memory, the processor coupled with the memory,
the memory is used for storing programs;
the processor configured to execute the program in the memory, to cause the electronic device to perform the method of any of claims 1 to 11.
CN202211363210.8A 2022-11-02 2022-11-02 Data processing method and electronic equipment Pending CN115758996A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211363210.8A CN115758996A (en) 2022-11-02 2022-11-02 Data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211363210.8A CN115758996A (en) 2022-11-02 2022-11-02 Data processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN115758996A true CN115758996A (en) 2023-03-07

Family

ID=85355496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211363210.8A Pending CN115758996A (en) 2022-11-02 2022-11-02 Data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115758996A (en)

Similar Documents

Publication Publication Date Title
CN107622135B (en) Method and apparatus for displaying information
CN107872437B (en) Method, device and server for service request
US11934394B2 (en) Data query method supporting natural language, open platform, and user terminal
CN110471848B (en) Method and device for dynamically returning message
CN109858045B (en) Machine translation method and device
CN111144402A (en) OCR recognition accuracy calculation method, device, equipment and storage medium
CN111026931A (en) Data query method, device, equipment and medium
CN109062560B (en) Method and apparatus for generating information
CN112966824A (en) Deployment method and device of inference library and electronic equipment
JP2023036681A (en) Task processing method, processing device, electronic equipment, storage medium, and computer program
CN112581568B (en) Dynamic poster generation method, device, server and storage medium
EP3825897A2 (en) Method, apparatus, device, storage medium and program for outputting information
US20180314683A1 (en) Method and device for processing natural language
CN109325227A (en) Method and apparatus for generating amendment sentence
US20230153550A1 (en) Machine Translation Method and Apparatus, Device and Storage Medium
JP2015200860A (en) Dictionary database management device, api server, dictionary database management method, and dictionary database management program
CN115758996A (en) Data processing method and electronic equipment
CN102663063B (en) System and method for showing general information of multiple user platforms based on XSLT (extensible stylesheet language transformation)
CN114996131A (en) Thinking guide diagram conversion test case method and device
CN114595702A (en) Text translation model training method, text translation method and related device
JP2018194978A (en) Information output program, information output method and information output apparatus
KR20130103239A (en) Method, server and terminal for providing web browsing service having translation
CN113254819A (en) Page rendering method, system, equipment and storage medium
CN113760274A (en) Front-end component logic injection method and device
CN112667274A (en) Method and device for generating application programming interface document and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination