CN111680522B - Method and system for realizing translation control based on electronic terminal and electronic equipment - Google Patents

Method and system for realizing translation control based on electronic terminal and electronic equipment Download PDF

Info

Publication number
CN111680522B
CN111680522B CN202010482563.4A CN202010482563A CN111680522B CN 111680522 B CN111680522 B CN 111680522B CN 202010482563 A CN202010482563 A CN 202010482563A CN 111680522 B CN111680522 B CN 111680522B
Authority
CN
China
Prior art keywords
electronic terminal
translation
app
translation app
recording
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.)
Active
Application number
CN202010482563.4A
Other languages
Chinese (zh)
Other versions
CN111680522A (en
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010482563.4A priority Critical patent/CN111680522B/en
Publication of CN111680522A publication Critical patent/CN111680522A/en
Application granted granted Critical
Publication of CN111680522B publication Critical patent/CN111680522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Machine Translation (AREA)

Abstract

The invention relates to a method for realizing translation control based on an electronic terminal, a system and electronic equipment thereof, wherein the electronic terminal is provided with a translation APP; the translation APP receives a trigger signal transmitted by the electronic terminal, enters a recording mode, recognizes recording content and translates the recording content into target information, wherein the target information is text information and/or audio information of a target language; and the translation APP controls target equipment to output the target information, wherein the target equipment is the electronic terminal and/or playing equipment in communication connection with the electronic terminal. Through mutually combining the volume key or the function key of translation APP and electronic terminal, satisfied the demand of user to translation APP's convenience, simplified operation process, brought more efficient experience for the user and felt.

Description

Method and system for realizing translation control based on electronic terminal and electronic equipment
[ Field of technology ]
The invention relates to the field of artificial intelligence, in particular to a method for realizing translation control based on an electronic terminal, a system thereof and electronic equipment.
[ Background Art ]
Along with the gradual diversification of information about languages in the work and life of people, in order to solve the communication difficulty caused by different languages, the demands of people on translation are more and more, and the translation APP is generated.
In the translation process of the existing translation APP, the front end operation of the translation APP is required to be maintained, and the translation is realized by operating through a display interface of the translation APP, so that convenience is not provided, and the use experience of a user is reduced.
[ Invention ]
The invention provides a method for realizing translation control based on an electronic terminal, a system thereof and electronic equipment, which aim to solve the problems that the existing translation APP does not have convenience and reduces user experience.
The invention provides the following technical scheme for solving the technical problems: a method for realizing translation control based on an electronic terminal, wherein the electronic terminal is provided with a translation APP, and the method for realizing translation control based on the electronic terminal comprises the following steps: step S1, the translation APP receives a wake-up signal and starts; step S2, the translation APP receives a trigger signal transmitted by the electronic terminal, the translation APP enters a recording mode, the recording content is identified and translated into target information, and the target information is text information and/or audio information of a target language; step S3, the translation APP controls target equipment to output the target information, wherein the target equipment is the electronic terminal and/or playing equipment in communication connection with the electronic terminal; the step S2 specifically includes the following steps: step S21, the translation APP monitors a trigger signal emitted by the electronic terminal, acquires recorded content recorded by the electronic terminal, converts the recorded content into original text information based on voice recognition, and the emission of the trigger signal is controlled by triggering a key of the electronic terminal; step S22, the translation APP translates the original text information according to a target language to obtain the target information; in the step S3, the structural design of the translation APP and the electronic terminal is set in a linkage manner, so that the electronic terminal can directly output and/or output the target information with the playing device through wired communication and wireless communication without hardware configuration expansion. The translation APP monitors the trigger signal and runs through the whole recording process, the translation APP recognizes and records the sound of the target frequency by monitoring the time length of the trigger signal transmitted by the electronic terminal, the time when the trigger signal exists is the time length of recording, and when the trigger signal disappears, the recording mode is stopped; in the specific voice frequency range selected by the translation APP, the translation APP can preferentially record the voice with a higher frequency range in the recording work, and the voice with a closer distance, higher volume and clear sounding with the translation APP is the voice preferentially recorded by the translation APP.
Preferably, after the translation APP in step S1 is started, the running state of the translation APP is front-end running or background running.
Preferably, in the step S2, the translating APP specifically transmits the trigger signal by touching a volume key or a function key of the electronic terminal to perform recording operation.
Preferably, the step S21 specifically includes the following steps: step S211, the translation APP monitors the trigger signal transmitted by the electronic terminal, and when the trigger signal is monitored to exist, the translation APP enters a recording state; step S212, the translation APP identifies the sound of the target frequency, and stores the recorded content recorded by the electronic terminal to the translation APP; step S213, based on voice recognition, the translation APP converts the stored recording content into the original text information; and step S214, when the trigger signal disappears, the translation APP stops recording.
Preferably, the step S3 specifically includes: when the target information is the text information, the translation APP displays the text information at a display interface; when the target information is the audio information, the translation APP controls the target equipment to play the audio information.
Preferably, the audio information in the step S2 is implemented based on speech synthesis.
The invention provides another technical scheme for solving the technical problems as follows: a system for implementing translation control based on an electronic terminal, the electronic terminal is provided with a translation APP, the system for implementing translation control based on the electronic terminal includes: the starting module is used for receiving a wake-up signal and starting the translation APP; the recording and translating module is used for monitoring a trigger signal emitted by the electronic terminal by the translating APP, starting recording after the trigger signal is received by the translating APP, judging whether the starting and ending of recording time exist in the trigger signal or not, and identifying and translating recording content; and the target language processing module is used for controlling target equipment to output the target information by the translation APP.
The invention provides another technical scheme for solving the technical problems as follows: an electronic device comprising a storage unit for storing a computer program and a processing unit for executing steps in a method of implementing translation control based on an electronic terminal as described above by means of the computer program stored by the storage unit.
Compared with the prior art, the method for realizing translation control based on the electronic terminal, the system and the electronic equipment provided by the invention have the following beneficial effects:
1. The invention provides a method for realizing translation control based on an electronic terminal, which specifically starts a translation APP through a wake-up signal to enable the APP to be in an operation state, provides a trigger signal of the electronic terminal, enables the translation APP to enter a recording mode, recognizes recording content, translates the recording content into target information, and finally outputs the target information. According to the method, the trigger signal for triggering the translation APP to enter the recording mode is arranged on the electronic terminal, so that the identification and translation of recording content are realized, and therefore, the text information and/or the audio information of a target language are obtained.
2. After the translation APP is started, whether the operation mode of the translation APP is at the front end or the background of the electronic terminal, the trigger signal of the electronic terminal for triggering the recording mode can be monitored, so that a user is not limited in the front end use scene of a single electronic terminal when the translation APP is used, namely, when the translation APP is in the background operation, the user does not need to fetch the translation APP again for operation when the electronic terminal is required to provide the translation function, the step of switching applications is avoided, the use mode of the volume key or the function key of the electronic terminal is expanded by setting the trigger signal for triggering the recording mode as the volume key or the function key of the electronic terminal, the requirement of the user on the fluency of the translation APP is met, and more efficient experience is brought to the user.
3. The voice of the target frequency is identified and recorded by monitoring the time length of the electronic terminal transmitting the trigger signal, and the method is different from the method for operating the translation APP on the screen of the electronic terminal, so that the user can flexibly control the recording of the translation APP on the voice, and the user does not need to change the operation on the screen of the electronic terminal, thereby providing new recording experience for the user.
4. Because the translation APP can acquire text information display through the electronic terminal itself in the use process, and can also perform wired communication connection and wireless communication connection with the playing equipment so as to acquire target language audio information play, the method can realize various ways of information acquisition channels without depending on special designs of the electronic terminal and the playing equipment in terms of structure, and only needs to carry out linkage setting on the structural designs of the translation APP and the electronic terminal itself, namely, the volume keys or the function keys of the translation APP and the electronic terminal are combined with each other. When the user needs to obtain the audio information, the audio information is obtained from the electronic terminal, the playing equipment in wired communication with the electronic terminal or the playing equipment in wireless communication with the electronic terminal, the obtaining modes of the audio information and the playing equipment are consistent with the operation method when the text information is obtained, and special requirements are not made on the playing equipment, so that all the playing equipment can translate in cooperation with the translation APP.
5. A system for realizing translation control based on an electronic terminal simplifies the operation flow of a user for translating APP by setting a recording and translating module to acquire a recording start and stop instruction.
6. The invention also provides electronic equipment, which comprises a storage unit and a processing unit, wherein the storage unit is used for storing a computer program, and the processing unit is used for executing steps in the method for realizing translation control based on the electronic terminal through the computer program stored by the storage unit so as to obtain the method for realizing translation control based on the electronic terminal. Therefore, the electronic device also has the same advantages as the method for implementing the translation control based on the electronic terminal, which is not described herein.
[ Description of the drawings ]
Fig. 1 is a flowchart illustrating steps of a method for implementing translation control based on an electronic terminal according to a first embodiment of the present invention;
FIG. 2 is a schematic flow chart showing the specific steps of step S2 shown in FIG. 1;
FIG. 3 is a detailed step flow diagram of step S21 shown in FIG. 2;
fig. 4 is a schematic diagram of a functional module of a system for implementing translation control based on an electronic terminal according to a second embodiment of the present invention;
Fig. 5 is a schematic functional block diagram of an electronic device according to a third embodiment of the present invention.
The drawings are marked with the following description:
100. starting a module; 200. a recording and translating module; 300. a target language processing module;
400. an electronic device; 401. a storage unit; 402. and a processing unit.
[ Detailed description ] of the invention
For the purpose of making the technical solution and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and examples of implementation. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, a first embodiment of the present invention provides a method for implementing translation control based on an electronic terminal, where the electronic terminal is installed with a translation APP, and the method includes the following steps:
Step S1, the translation APP receives a wake-up signal and starts;
Step S2, the translation APP receives a trigger signal transmitted by the electronic terminal, the translation APP enters a recording mode, the recording content is identified and translated into target information, and the target information is text information and/or audio information of a target language; and
Step S3, the translation APP controls target equipment to output the target information, wherein the target equipment is the electronic terminal and/or playing equipment in communication connection with the electronic terminal.
It can be appreciated that in step S1, after the translation APP receives the wake-up signal, the translation APP may be in a front-end running state of the electronic terminal, and if the user does not need to use the translation function of the translation APP temporarily, the translation APP may be transferred to a background running state, so as to keep the user for using the translation function later.
It can be understood that in step S2, the electronic terminal transmits a trigger signal to control the translation APP to enter a recording mode, so as to identify and translate the recording content, thereby obtaining target information required by the user. The target language is a language which is preset by a user and is hoped to be obtained through translating the APP.
It can be understood that the invention sets the trigger signal for triggering the translation APP to enter the recording mode on the electronic terminal, thereby realizing the identification and translation of the recording content, and further obtaining the text information and/or audio information of the target language.
Referring to fig. 2, as an embodiment, step S2 specifically includes steps S21 to S22:
Step S21, the translation APP monitors a trigger signal emitted by the electronic terminal, acquires recording content recorded by the electronic terminal, and converts the recording content into original text information based on voice recognition; and
Step S22, the translation APP translates the original text information according to a target language to obtain the target information.
It will be appreciated that in step S21, the translation APP specifically transmits the trigger signal by touching a volume key of the electronic terminal to perform recording operation. As a modified embodiment, the trigger signal may also be obtained by touching a function key of the electronic terminal, where the function key is a key on the electronic terminal except for a volume key; or the triggering signal is obtained by touching a volume key or a function key on an external device of the electronic terminal, wherein the external device can be an electronic device in wired communication connection or wireless communication connection with the electronic terminal. Optionally, the volume key or the function key is any one of a mechanical key or a virtual key.
It will be appreciated that in step S22, the translation APP may translate the original text information, and the languages involved in the translation include, but are not limited to, international common languages such as chinese, english, japanese, korean, spanish, etc.
It can be understood that the translation APP in an operation state can monitor the trigger signal emitted when the user touches the volume key or the function key, whether the operation mode is at the front end or the background of the electronic terminal, the trigger signal of the electronic terminal for triggering the recording mode can be monitored, so that the user is not limited in the front end use scene of a single electronic terminal when using the translation APP, that is, when the translation APP is in the background operation, the user does not need to recall the translation APP to operate when needing the electronic terminal to provide the translation function, the step of switching the application is avoided, the use mode of the volume key or the function key of the electronic terminal is expanded by setting the trigger signal for triggering the recording mode as the volume key or the function key of the electronic terminal, the requirement of the user on the fluency of the translation APP is met, and more efficient experience is brought to the user.
It will be appreciated that step S21 may be performed simultaneously with step S22, or prior to or subsequent to step S22.
It is to be understood that steps S21 to S22 are only one implementation of this example, and implementation thereof is not limited to steps S21 to S22.
Referring to fig. 3, as an embodiment, step S21 specifically includes steps S211 to S214:
Step S211, the translation APP monitors the trigger signal transmitted by the electronic terminal, and when the trigger signal is monitored to exist, the translation APP enters a recording state;
Step S212, the translation APP identifies the sound of the target frequency, and stores the recorded content recorded by the electronic terminal to the translation APP;
step S213, based on voice recognition, the translation APP converts the stored recording content into the original text information; and
In step S214, when the trigger signal disappears, the translation APP stops recording.
It will be appreciated that in step S211, when the user touches the volume key or the function key, the translation APP may analyze the acquired trigger signal and record the sound in the external environment when the trigger signal is monitored.
It can be appreciated that in step S212, the target frequency may be set to be a sound with a frequency range between 85 Hz and 1100Hz in the external environment, and a sound less than or exceeding the frequency range is not recorded and cached by the translation APP. Optionally, in the external environment, the translation APP will preferentially record the sound with a higher frequency range in the recording work. It can be understood that the sound with relatively short distance, relatively high volume and clear sounding with the translation APP is the sound preferentially recorded by the translation APP, and the sound preferentially recorded by the translation APP is more beneficial to the identification of the record content by the translation APP.
It can be appreciated that in step S213, the translation APP will send the cached recorded content to the speech recognition program to generate the original text information, so as to facilitate subsequent translation.
It will be appreciated that in step S214, the action of the translation APP monitoring the trigger signal runs through the whole recording process, the time when the trigger signal exists is the duration of recording, and when the trigger signal disappears, the recording mode is stopped.
It can be understood that the voice of the target frequency is identified and recorded by monitoring the time period of the electronic terminal transmitting the trigger signal, and the method is different from the method for operating the translation APP on the screen of the electronic terminal, so that the user can flexibly control the recording of the voice by the translation APP, the user does not need to change the operation of the screen of the electronic terminal, and a new recording experience is provided for the user.
It is to be understood that steps S211 to S214 are only one implementation of this example, and implementation thereof is not limited to steps S211 to S214.
In the embodiment of the present invention, in step S3, the translation APP controls a target device to output the target information, where the target device is the electronic terminal and/or a playback device communicatively connected to the electronic terminal. Step S3 specifically includes that when the target information is the text information, the translation APP displays the text information at a display interface; when the target information is the audio information, the translation APP controls the target equipment to play the audio information.
It can be understood that the original text information is translated into text information in a target language through the translation APP, and at this time, the translation APP displays the text information at a specific position of the translation APP display interface for a user to view.
It will be appreciated that the audio information may be selected for retrieval when the user is in an environment in which it is inconvenient to view the electronic terminal. Specifically, the communication connection mode between the playing device and the electronic terminal includes wired communication and wireless communication. After the playing device is paired with the electronic terminal, the audio information can be listened to by a user through the playing device. Of course, when the electronic terminal is not in communication connection with the playing device, the user can also listen to the audio information played by the electronic terminal by operating the translation APP.
It should be noted that, the playing device capable of being paired with the translation APP is not limited, and the translation APP can send audio information to the playing device for playing in a communication connection manner, so that the playing device is used as the translation device to be matched with the translation APP.
It can be understood that, because the translation APP can obtain the display of the target language text information through the electronic terminal itself in the use process, and can also perform wired communication connection and wireless communication connection with the playing device so as to obtain the play of the target language audio information, the translation APP can realize the channels for obtaining information in various modes without depending on the special design of the electronic terminal and the playing device in the structural aspect, and only the structural design of the translation APP and the electronic terminal itself is required to be set in a linkage way, so that the hardware configuration of the electronic terminal and the playing device is not required to be expanded, the hardware cost when the translation function is obtained is reduced, the applicability of the translation APP is enlarged, and the convenience of the translation function is enhanced.
In the first embodiment of the present invention, when the target information is the audio information, the electronic terminal or a playback device communicatively connected to the electronic terminal may play the audio information.
It can be appreciated that the translation APP sends the original text information to a speech synthesis program to generate audio information, so that the electronic terminal and/or the playing device play the audio information.
It can be understood that the volume key or the function key of the translation APP and the electronic terminal are combined with each other, when the user has the requirement of simultaneous translation, the configuration of the playing device is not required to be expanded, special playing device such as a translation earphone with higher manufacturing cost is not required to be selected, the selection of the playing device by the user is enlarged, the cost of using the translation APP by the user is reduced, and the application range of the translation APP is enlarged. When a user needs to acquire the audio information, the audio information is acquired from the electronic terminal, the playing equipment in wired communication with the electronic terminal or the playing equipment in wireless communication with the electronic terminal, the three are acquired in the same operation method as the operation method when the text information is acquired, and special requirements are not made on the playing equipment, so that all the playing equipment can translate by matching with the translation APP, the translation APP has applicability, the versatility of the electronic terminal is enhanced, and more convenient experience is brought to the user.
Referring to fig. 4, the second embodiment of the present invention further provides a system for implementing translation control based on an electronic terminal, where the electronic terminal is installed with the translation APP. The system for realizing translation control based on the electronic terminal can comprise:
the starting module 100 is used for receiving a wake-up signal and starting the translation APP;
The recording and translating module 200 monitors a trigger signal emitted by the electronic terminal, and the translating APP starts recording after receiving the trigger signal, judges whether the trigger signal is used for starting and stopping recording time or not, and recognizes and translates recording content;
and the target language processing module 300 controls target equipment to output the target information by the translation APP.
Specifically, in this embodiment, related content such as identification, translation and conversion of the recorded content is consistent with that in the first embodiment, which is not described herein, but needs to be described herein, where a monitoring module is set to obtain an instruction for starting and stopping the recording, so that a volume key or a function key of the electronic terminal has a function of triggering the translation APP to enter the recording work, and an operation flow of using the translation APP by a user is simplified.
It can be understood that the second embodiment of the present invention further provides a system for implementing translation control based on an electronic terminal, which is used for implementing the method for implementing translation control based on an electronic terminal according to the first embodiment of the present invention, where the system for implementing translation control based on an electronic terminal includes modules corresponding to one or more steps in the method for implementing translation control based on an electronic terminal.
In the embodiment of the invention, the operating system of the electronic terminal can be any one of an Android mobile device operating system (Android) and an apple mobile device operating system (IOS), and both systems can support the translation APP to run at the front end or the background of the electronic terminal, can also receive a trigger signal sent by a volume key or a function key of the electronic terminal, and can realize the translation by monitoring the trigger signal to enter a recording mode after a user wakes up the translation APP software.
Referring to fig. 5, a third embodiment of the present invention provides an electronic device 400, where the electronic device 400 includes a storage unit 401 and a processing unit 402, the storage unit 401 is configured to store a computer program, and the processing unit 402 is configured to execute, by using the computer program stored in the storage unit 401, the specific steps of the method for implementing translation control based on an electronic terminal in the first embodiment.
In some specific embodiments of the present invention, the electronic device 400 may be hardware or software. When the electronic device 400 is hardware, it may be a variety of electronic devices having a display screen and supporting voice playback, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like. When the electronic device 400 is software, it can be installed in the above-listed electronic device. Which may be implemented as multiple software or software modules (e.g., multiple software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, the disclosed embodiments of the invention may include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through a communication section.
The above-described functions defined in the method of the application are performed when the computer program is executed by a processor. It should be noted that, the computer memory according to the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. Computer memory includes, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the above. More specific examples of computer memory may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the context of this document, a computer readable signal medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor comprises a starting module, a recording and translating module and a target language processing module. The names of these modules do not in any way constitute a limitation of the module itself, for example, the start-up module may also be described as "a module for implementing trigger control based on an electronic terminal".
As another aspect, the present application also provides a computer memory, which may be included in the apparatus described in the above embodiment; or may be present alone without being fitted into the device. The computer memory carries one or more programs, and the programs specifically include: step S1, the translation APP receives a wake-up signal and starts; the translation APP receives a trigger signal transmitted by the electronic terminal, enters a recording mode, recognizes recording content and translates the recording content into target information, wherein the target information is text information and/or audio information of a target language; and the translation APP controls target equipment to output the target information, wherein the target equipment is the electronic terminal and/or playing equipment in communication connection with the electronic terminal.
Compared with the prior art, the method for realizing translation control based on the electronic terminal, the system and the electronic equipment provided by the invention have the following beneficial effects:
1. The invention provides a method for realizing translation control based on an electronic terminal, which specifically starts a translation APP through a wake-up signal to enable the APP to be in an operation state, provides a trigger signal of the electronic terminal, enables the translation APP to enter a recording mode, recognizes recording content, translates the recording content into target information, and finally outputs the target information. According to the method, the trigger signal for triggering the translation APP to enter the recording mode is arranged on the electronic terminal, so that the identification and translation of recording content are realized, and therefore, the text information and/or the audio information of a target language are obtained.
2. After the translation APP is started, whether the operation mode of the translation APP is at the front end or the background of the electronic terminal, the trigger signal of the electronic terminal for triggering the recording mode can be monitored, so that a user is not limited in the front end use scene of a single electronic terminal when the translation APP is used, namely, when the translation APP is in the background operation, the user does not need to fetch the translation APP again for operation when the electronic terminal is required to provide the translation function, the step of switching applications is avoided, the use mode of the volume key or the function key of the electronic terminal is expanded by setting the trigger signal for triggering the recording mode as the volume key or the function key of the electronic terminal, the requirement of the user on the fluency of the translation APP is met, and more efficient experience is brought to the user.
3. The voice of the target frequency is identified and recorded by monitoring the time length of the electronic terminal transmitting the trigger signal, and the method is different from the method for operating the translation APP on the screen of the electronic terminal, so that the user can flexibly control the recording of the translation APP on the voice, and the user does not need to change the operation on the screen of the electronic terminal, thereby providing new recording experience for the user.
4. Because the translation APP can acquire text information display through the electronic terminal itself in the use process, and can also perform wired communication connection and wireless communication connection with the playing equipment so as to acquire target language audio information play, the method can realize various ways of information acquisition channels without depending on special designs of the electronic terminal and the playing equipment in terms of structure, and only needs to carry out linkage setting on the structural designs of the translation APP and the electronic terminal itself, namely, the volume keys or the function keys of the translation APP and the electronic terminal are combined with each other. When the user needs to obtain the audio information, the audio information is obtained from the electronic terminal, the playing equipment in wired communication with the electronic terminal or the playing equipment in wireless communication with the electronic terminal, the obtaining modes of the audio information and the playing equipment are consistent with the operation method when the text information is obtained, and special requirements are not made on the playing equipment, so that all the playing equipment can translate in cooperation with the translation APP.
5. A system for realizing translation control based on an electronic terminal simplifies the operation flow of a user for translating APP by setting a recording and translating module to acquire a recording start and stop instruction.
6. The invention also provides electronic equipment, which comprises a storage unit and a processing unit, wherein the storage unit is used for storing a computer program, and the processing unit is used for executing steps in the method for realizing translation control based on the electronic terminal through the computer program stored by the storage unit so as to obtain the method for realizing translation control based on the electronic terminal. Therefore, the electronic device also has the same advantages as the method for implementing the translation control based on the electronic terminal, which is not described herein.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the invention, but any modifications, equivalents, improvements, etc. within the principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. The method for realizing translation control based on the electronic terminal is characterized in that the electronic terminal is provided with a translation APP: which comprises the following steps:
Step S1, the translation APP receives a wake-up signal and starts;
Step S2, the translation APP receives a trigger signal transmitted by the electronic terminal, the translation APP enters a recording mode, the recording content is identified and translated into target information, and the target information is text information and/or audio information of a target language; and
Step S3, the translation APP controls target equipment to output the target information, wherein the target equipment is the electronic terminal and/or playing equipment in communication connection with the electronic terminal;
the step S2 specifically includes the following steps:
Step S21, the translation APP monitors a trigger signal emitted by the electronic terminal, acquires recorded content recorded by the electronic terminal, converts the recorded content into original text information based on voice recognition, and the emission of the trigger signal is controlled by triggering a key of the electronic terminal; and
Step S22, the translation APP translates the original text information according to a target language to obtain the target information;
In the step S3, the structural design of the translation APP and the electronic terminal is set in a linkage manner, so that the electronic terminal can directly output and/or output the target information with the playing device through wired communication and wireless communication without hardware configuration expansion;
The translation APP monitors the trigger signal and runs through the whole recording process, the translation APP recognizes and records the sound of the target frequency by monitoring the time length of the trigger signal transmitted by the electronic terminal, the time when the trigger signal exists is the time length of recording, and when the trigger signal disappears, the recording mode is stopped; in the specific voice frequency range selected by the translation APP, the translation APP can preferentially record the voice with a higher frequency range in the recording work, and the voice with a closer distance, higher volume and clear sounding with the translation APP is the voice preferentially recorded by the translation APP.
2. The method for implementing translation control based on an electronic terminal as claimed in claim 1, wherein: after the translation APP in the step S1 is started, the running state of the translation APP is front-end running or background running.
3. The method for implementing translation control based on an electronic terminal as claimed in claim 1, wherein: in the step S2, the translation APP specifically transmits the trigger signal by touching a volume key or a function key of the electronic terminal to perform recording operation.
4. The method for implementing translation control based on an electronic terminal as claimed in claim 1, wherein: the step S21 specifically includes the following steps:
Step S211, the translation APP monitors the trigger signal transmitted by the electronic terminal, and when the trigger signal is monitored to exist, the translation APP enters a recording state;
Step S212, the translation APP identifies the sound of the target frequency, and stores the recorded content recorded by the electronic terminal to the translation APP;
step S213, based on voice recognition, the translation APP converts the stored recording content into the original text information; and
In step S214, when the trigger signal disappears, the translation APP stops recording.
5. The method for implementing translation control based on an electronic terminal as claimed in claim 1, wherein: the step S3 specifically includes: when the target information is the text information, the translation APP displays the text information at a display interface;
When the target information is the audio information, the translation APP controls the target equipment to play the audio information.
6. The method for implementing translation control based on an electronic terminal as claimed in claim 1, wherein: the audio information described in step S2 above is implemented based on speech synthesis.
7. A system for implementing translation control based on an electronic terminal, configured to implement the method for implementing translation control based on an electronic terminal according to any one of claims 1 to 6, where the electronic terminal is installed with a translation APP, and characterized in that: the system for realizing translation control based on the electronic terminal comprises:
The starting module is used for receiving a wake-up signal and starting the translation APP;
The recording and translating module is used for monitoring a trigger signal transmitted by the electronic terminal by the translating APP, starting recording after the trigger signal is received by the translating APP, judging whether the starting and ending of recording time exists in the trigger signal or not, and carrying out other and translation on recording content;
and the target language processing module is used for controlling target equipment to output target information by the translation APP.
8. An electronic device, characterized in that: the electronic device comprises a storage unit for storing a computer program and a processing unit for executing the steps in the method for implementing translation control based on an electronic terminal according to any one of claims 1-6 by the computer program stored in the storage unit.
CN202010482563.4A 2020-05-29 2020-05-29 Method and system for realizing translation control based on electronic terminal and electronic equipment Active CN111680522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010482563.4A CN111680522B (en) 2020-05-29 2020-05-29 Method and system for realizing translation control based on electronic terminal and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010482563.4A CN111680522B (en) 2020-05-29 2020-05-29 Method and system for realizing translation control based on electronic terminal and electronic equipment

Publications (2)

Publication Number Publication Date
CN111680522A CN111680522A (en) 2020-09-18
CN111680522B true CN111680522B (en) 2024-04-23

Family

ID=72452920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010482563.4A Active CN111680522B (en) 2020-05-29 2020-05-29 Method and system for realizing translation control based on electronic terminal and electronic equipment

Country Status (1)

Country Link
CN (1) CN111680522B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595445A (en) * 2018-04-23 2018-09-28 Oppo广东移动通信有限公司 Interpretation method, device and terminal
CN109376363A (en) * 2018-09-04 2019-02-22 出门问问信息科技有限公司 A kind of real-time voice interpretation method and device based on earphone
CN110365371A (en) * 2019-07-05 2019-10-22 深圳市声临科技有限公司 The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment
CN110914828A (en) * 2018-09-19 2020-03-24 深圳市合言信息科技有限公司 Speech translation method and translation device
WO2020057102A1 (en) * 2018-09-19 2020-03-26 深圳市合言信息科技有限公司 Speech translation method and translation device
WO2020078337A1 (en) * 2018-10-15 2020-04-23 华为技术有限公司 Translation method and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10878202B2 (en) * 2018-08-03 2020-12-29 International Business Machines Corporation Natural language processing contextual translation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595445A (en) * 2018-04-23 2018-09-28 Oppo广东移动通信有限公司 Interpretation method, device and terminal
CN109376363A (en) * 2018-09-04 2019-02-22 出门问问信息科技有限公司 A kind of real-time voice interpretation method and device based on earphone
CN110914828A (en) * 2018-09-19 2020-03-24 深圳市合言信息科技有限公司 Speech translation method and translation device
WO2020057102A1 (en) * 2018-09-19 2020-03-26 深圳市合言信息科技有限公司 Speech translation method and translation device
WO2020078337A1 (en) * 2018-10-15 2020-04-23 华为技术有限公司 Translation method and electronic device
CN110365371A (en) * 2019-07-05 2019-10-22 深圳市声临科技有限公司 The method and its system, electronic equipment that trigger signal realizes translation system control are provided based on bluetooth equipment

Also Published As

Publication number Publication date
CN111680522A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN109658932B (en) Equipment control method, device, equipment and medium
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
JP2019185011A (en) Processing method for waking up application program, apparatus, and storage medium
CN107995519B (en) Method, device and storage medium for playing multimedia file
JP6681450B2 (en) Information processing method and device
CN108694947B (en) Voice control method, device, storage medium and electronic equipment
US10283168B2 (en) Audio file re-recording method, device and storage medium
WO2014161282A1 (en) Method and device for adjusting playback progress of video file
US20200294491A1 (en) Method and apparatus for waking up device
CN104780403A (en) System and method for providing somatosensory video based on script
KR20230091852A (en) Display arraratus, background music providing method thereof and background music providing system
US9332401B2 (en) Providing dynamically-translated public address system announcements to mobile devices
CN111601154B (en) Video processing method and related equipment
CN106471493A (en) Method and apparatus for managing data
CN111680522B (en) Method and system for realizing translation control based on electronic terminal and electronic equipment
CN111862965A (en) Awakening processing method and device, intelligent sound box and electronic equipment
US8271268B2 (en) Method to translate, cache and transmit text-based information contained in an audio signal
CN111696550A (en) Voice processing method and device for voice processing
CN108399918B (en) Intelligent device connection method, intelligent device and terminal
CN112700770A (en) Voice control method, sound box device, computing device and storage medium
CN112203116A (en) Video generation method, video playing method and related equipment
CN112218137B (en) Multimedia data acquisition method, device, equipment and medium
CN111556406A (en) Audio processing method, audio processing device and earphone
CN112148754A (en) Song identification method and device
CN112203125A (en) Voice broadcasting method and device, video playing device and storage medium

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
GR01 Patent grant
GR01 Patent grant