WO2023082198A1 - Data processing method, intelligent terminal, and storage medium - Google Patents
Data processing method, intelligent terminal, and storage medium Download PDFInfo
- Publication number
- WO2023082198A1 WO2023082198A1 PCT/CN2021/130435 CN2021130435W WO2023082198A1 WO 2023082198 A1 WO2023082198 A1 WO 2023082198A1 CN 2021130435 W CN2021130435 W CN 2021130435W WO 2023082198 A1 WO2023082198 A1 WO 2023082198A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- content
- display
- translation
- target
- language
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 33
- 230000004044 response Effects 0.000 claims abstract description 24
- 238000013519 translation Methods 0.000 claims description 211
- 230000006870 function Effects 0.000 claims description 139
- 238000000034 method Methods 0.000 claims description 75
- 230000006854 communication Effects 0.000 claims description 52
- 238000004891 communication Methods 0.000 claims description 51
- 230000008569 process Effects 0.000 claims description 35
- 238000004590 computer program Methods 0.000 claims description 13
- 230000008859 change Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 abstract description 22
- 238000010586 diagram Methods 0.000 description 11
- 230000004913 activation Effects 0.000 description 8
- 238000001514 detection method Methods 0.000 description 7
- 238000012790 confirmation Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 241000894007 species Species 0.000 description 2
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
- G06F40/58—Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
Definitions
- the present application relates to the technical field of smart terminals, and in particular to a data processing method, a smart terminal and a storage medium.
- smart terminals such as mobile phones, tablet PCs and/or computers have been deeply applied to various fields and play an important role in people's life and work. Groups using these smart terminals often have different language backgrounds. If these smart terminals use one language to respond to the needs of multiple users with different language backgrounds at the same time, it will easily affect the user experience provided.
- the inventors found at least the following problems: when the smart terminal provides the translation interface corresponding to the display interface, there is a problem of low efficiency.
- the present application provides a data processing method, a smart terminal and a storage medium, capable of real-time translation and display of the content displayed by the smart terminal, with high display efficiency.
- this application provides a data processing method, which can be applied to smart terminals such as mobile phones, including the following steps:
- the obtaining process of the first display instruction includes:
- the second display instruction includes at least one of the following:
- the first trigger instruction received by the first control is the first trigger instruction received by the first control.
- step S13 includes:
- the displayed content is input into a preset content translation model, and the content translation model outputs target content; the content translation model is used to translate specified content in a target language, and the specified content is represented by at least one language.
- the content translation model is used to translate pictures represented by at least one language; the acquisition process of the content translation model includes:
- step S14 includes:
- the target content is output in the second area according to the display characteristics.
- the process of enabling the smart translation function includes:
- the first opening instruction includes: an opening operation received by the second control.
- the second control includes at least one of the following items:
- step S14 the method further includes:
- the associated information is output.
- the method further includes:
- the third control receives the third trigger instruction and responds to the third trigger instruction.
- the present application also provides a data processing method, which can be applied to smart terminals such as mobile phones, including the following steps:
- the input content comes from an input window.
- step S23 includes:
- step S24 includes:
- step S22 in response to the second operation corresponding to changing the language control, return to step S22 after updating the target language.
- the present application also provides an intelligent terminal, including: a memory and a processor, wherein a data processing program is stored in the memory, and when the data processing program is executed by the processor, the steps of any one of the methods described above are implemented.
- the present application also provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods described above are implemented.
- the data processing method of the present application can respond to the first display command in the target language, obtain the display content in the first area, translate the display content in the target language, and output the obtained target content in the second area, so that the target The content is displayed and/or played in the second area, which has high accuracy and display efficiency.
- Using the content translation model to directly translate the display content represented by pictures and other forms to obtain the required target content can simplify the acquisition process of the target content and contribute to the improvement of display efficiency.
- the corresponding smart translation function When the corresponding smart translation function is turned on, it can be configured according to specific user needs, which can improve the matching degree between the smart translation function and user needs, thereby improving the corresponding user experience.
- FIG. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application
- FIG. 2 is a system architecture diagram of a communication network provided by an embodiment of the present application.
- Fig. 3 is a schematic flowchart of a data processing method according to an embodiment
- Fig. 4a, Fig. 4b, Fig. 4c, Fig. 4d and Fig. 4e are schematic diagrams of display interfaces shown according to an embodiment of the present application;
- Fig. 5a, Fig. 5b, Fig. 5c, Fig. 5d and Fig. 5e are schematic diagrams of display interfaces shown according to an embodiment of the present application;
- Fig. 6a, Fig. 6b, Fig. 6c and Fig. 6d are schematic configuration interface diagrams shown according to an embodiment of the present application.
- Fig. 7a, Fig. 7b, Fig. 7c, Fig. 7d and Fig. 7e are schematic diagrams of the second control according to an embodiment of the present application;
- Fig. 8a, Fig. 8b, Fig. 8c and Fig. 8d are schematic diagrams of communication interfaces shown according to an embodiment of the present application.
- FIG. 9 is a schematic flowchart of a data processing method according to an embodiment of the present application.
- Fig. 10a, Fig. 10b, Fig. 10c, Fig. 10d and Fig. 10e are schematic diagrams of communication interfaces shown according to an embodiment of the present application.
- first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information.
- first information may also be called second information, and similarly, second information may also be called first information.
- second information may also be called first information.
- the word “if” as used herein may be interpreted as “at” or “when” or “in response to a determination”.
- the singular forms "a”, “an” and “the” are intended to include the plural forms as well, unless the context indicates otherwise.
- A, B, C means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C
- A, B or C or "A, B and/or C” means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
- the words “if”, “if” as used herein may be interpreted as “at” or “when” or “in response to determining” or “in response to detecting”.
- the phrases “if determined” or “if detected (the stated condition or event)” could be interpreted as “when determined” or “in response to the determination” or “when detected (the stated condition or event) )” or “in response to detection of (a stated condition or event)”.
- step codes such as S12 and S13 are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order.
- S13 will be executed first, followed by S12, etc., but these should be within the scope of protection of this application.
- Smart terminals can be implemented in various forms.
- the smart terminals described in this application may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Mobile terminals such as wearable devices, smart bracelets, and pedometers, and fixed terminals such as digital TVs and desktop computers.
- PDA Personal Digital Assistant
- PMP portable media players
- Mobile terminals such as wearable devices, smart bracelets, and pedometers
- fixed terminals such as digital TVs and desktop computers.
- a smart terminal will be taken as an example for illustration, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to fixed-type terminals.
- FIG. 1 is a schematic diagram of the hardware structure of a smart terminal implementing various embodiments of the present application.
- the smart terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, an /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components.
- RF Radio Frequency, radio frequency
- the radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station.
- the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 101 can also communicate with the network and other devices through wireless communication.
- the above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time-division duplex long-term evolution) and 5G, etc.
- GSM Global System of Mobile communication, Global System for Mobile Communications
- GPRS General Packet Radio Service
- CDMA2000 Code Division Multiple Access 2000
- WCDMA Wideband Code Division Multiple Access
- TD-SCDMA Time Division-Synchronous Code Division Multiple Access, Time Division Synchro
- WiFi is a short-distance wireless transmission technology.
- the smart terminal can help users send and receive emails, browse web pages, and access streaming media, etc., and it provides users with wireless broadband Internet access.
- Fig. 1 shows the WiFi module 102, it can be understood that it is not an essential component of the smart terminal, and can be completely omitted as required without changing the essence of the invention.
- the audio output unit 103 can store the information received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 when the smart terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like.
- the audio data is converted into an audio signal and output as sound.
- the audio output unit 103 may also provide audio output related to specific functions performed by the smart terminal 100 (for example, call signal receiving sound, message receiving sound, etc.).
- the audio output unit 103 may include a speaker, a buzzer, and the like.
- the A/V input unit 104 is used to receive audio or video signals.
- the A/V input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed.
- the processed image frames may be displayed on the display unit 106 .
- the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 .
- the microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data.
- the processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode.
- the microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
- the smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display when the smart terminal 100 moves to the ear. panel 1061 and/or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
- the display unit 106 is used to display information input by the user or information provided to the user.
- the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display area (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
- LCD Liquid Crystal Display
- OLED Organic Light-Emitting Diode
- the user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the smart terminal.
- the user input unit 107 may include a touch panel 1071 and other input devices 1072 .
- the touch panel 1071 also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program.
- the touch panel 1071 may include two parts, a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates , and then sent to the processor 110, and can receive the command sent by the processor 110 and execute it.
- the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 107 may also include other input devices 1072 .
- other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
- the touch panel 1071 may cover the display panel 1061.
- the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the touch event according to the touch event.
- the corresponding visual output is provided on the display panel 1061 .
- the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated.
- the implementation of the input and output functions of the smart terminal is not specifically limited here.
- the interface unit 108 is used as an interface through which at least one external device can be connected with the smart terminal 100 .
- an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more.
- the interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
- the memory 109 can be used to store software programs as well as various data.
- the memory 109 can mainly include a storage program area and a storage data area.
- the storage program area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.
- the storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone.
- the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
- the processor 110 is the control center of the smart terminal, and uses various interfaces and lines to connect various parts of the whole smart terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the smart terminal and process data, so as to monitor the smart terminal as a whole.
- the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor.
- the application processor mainly processes operating systems, user interfaces, and application programs, etc.
- the demodulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
- the smart terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components.
- a power supply 111 (such as a battery) for supplying power to various components.
- the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
- the smart terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
- the following describes the communication network system on which the smart terminal of the present application is based.
- FIG. 2 is a structure diagram of a communication network system provided by an embodiment of the present application.
- the communication network system is an LTE system of general mobile communication technology.
- 201 E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
- E-UTRAN Evolved UMTS Terrestrial Radio Access Network
- EPC Evolved Packet Core, Evolved Packet Core Network
- the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
- E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on.
- the eNodeB 2021 can be connected to other eNodeB 2022 through a backhaul (for example, X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
- a backhaul for example, X2 interface
- EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc.
- MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management.
- HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates.
- PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
- the IP service 204 may include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
- IMS IP Multimedia Subsystem, IP Multimedia Subsystem
- LTE system is used as an example above, those skilled in the art should know that this application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new wireless communication systems.
- the network system (such as 5G), etc., is not limited here.
- the present application provides a data processing method, which may include a method for displaying target content, and can be applied to smart terminals such as mobile phones and/or applications running on smart terminals; refer to FIG. 3 As shown, the data processing method includes step S12, step S13 and step S14.
- the target language is the language adopted by at least one first user currently using the smart terminal, and/or the language adopted by at least one second user associated with the smart terminal.
- the second user is a user who needs to know the content currently displayed by the smart terminal, such as a user who learns the content currently displayed by the smart terminal remotely, a user who remotely participates in a meeting held by the smart terminal, and/or, a user who needs to know the content currently displayed by the smart terminal afterwards etc.
- the first area is the area selected and/or collected by the first user when an intelligent display instruction (such as a second display instruction) corresponding to the target language is selected, including at least part of the area currently collected by the camera module of the smart terminal, the currently selected Select at least a partial area in the picture, the entire display area corresponding to the current display interface of the smart terminal, a partial display area, or a scrolling display area including the entire display area, and the like.
- the displayed content includes content such as screenshots and/or texts corresponding to the first area.
- the entire display area corresponding to the current display interface can refer to Figure 4a, and can be determined by means of full-screen screenshots; the partial display area of the entire display area shown in Figure 4a can be referred to as shown in Figure 4b, as shown in Figure 4c, this part shows The area can be selected through the relevant selection box on the current display interface, and the selection box can be input into the current display interface through the mouse, user's finger and/or touch screen writing pen, etc.; the scrolling display area can be acquired through scrolling acquisition operations such as scrolling screenshots.
- the smart terminal and/or application After the smart terminal and/or application monitors the smart display instruction corresponding to the target language, it can directly generate or determine the first display instruction to ensure the generation efficiency of the first display instruction; it can also further identify whether the smart terminal and/or application is currently
- the smart translation function is turned on, and the first display instruction is generated or determined according to the current enabled state of the smart translation function, so that the first display instruction matches the user setting.
- the process of acquiring the first display instruction includes: responding to the second display instruction in the target language; if the smart terminal and/or the application program enables the smart translation function, determining or generating the first display instruction in the target language to Respond to users' current smart translation needs in a timely manner.
- the smart translation function if the smart translation function is not turned on, output a first prompt message for turning on the smart translation function.
- the first prompt information can be output through pop-up window display and/or voice playback.
- the first user receives the first prompt information. If the smart translation function does not need to be turned on, the confirmation information for not turning on the smart translation function can be input. to close the first prompt message. and / or,
- the first user may input a second activation instruction for enabling the smart translation function into the relevant control according to the first prompt information, and after the smart terminal and/or application program responds to the second activation instruction corresponding to the first prompt information, it may A first display instruction in the target language is generated, so as to acquire the display content of the first area in time and display it in the target language accordingly.
- the second display instructions include at least one of the following:
- the area identification instruction corresponding to the display interface such as the instruction to identify the entire current display area of the display interface, the instruction to identify the partial area of the display interface, and/or the scrolling identification instruction corresponding to the display interface, etc.; these identification instructions (such as the area identification instruction and/or or scroll recognition instruction) can be input to the smart terminal through operations such as clicking, tapping, gesture selection and/or dragging, so that the smart terminal can receive it.
- an area selection control can be set on the corresponding display interface, as shown in Figure 4a, the area selection control is suspended on the display interface, and the first user can drag it to the The area selection control is used to input an area identification command to the display interface.
- the smart terminal and/or the application determine the first region according to the closed figure formed by the track of the area selection control, as shown in Figure 4c, if the closed figure formed by the track of the area selection control is as shown in the selection box, then you can Enter the selection box to the display interface.
- the virtual control is set on the pull-down menu of the display screen, such as a pull-up menu, a left-hand pull-down menu and/or a drop-down menu, etc.
- Fig. 4d shows the first control set in the corresponding drop-down menu of the display interface shown in Fig. 4a .
- the virtual control is suspended on the display interface.
- the first control suspended on the display interface can be an area selection control for the first user to input an area identification instruction; Displays the first control of the interface.
- the letter "T" is used to represent the first control, and in other examples, other letters and/or symbols may also be used to represent the first control.
- a selection box may pop up for the first user to select the first area, so that the smart terminal and/or the application program can acquire the display content in the first area.
- a translation tool may be selected for translation according to features such as the representation form of the displayed content and/or the language involved.
- the display content can be input into a translation program capable of recognizing the languages involved in the display content, and the translation program is used to translate the display content into target content to ensure translation efficiency.
- the display content is represented by pictures, a large number of pictures can be used to pre-train a picture translation model that can recognize all kinds of text in the picture and translate all kinds of text into the target language. This translation model can be used to translate the display content to improve translation efficiency. On this basis, the accuracy of translation results is guaranteed.
- the inventor found that when the traditional solution translates the display content represented by pictures and other forms, the models are often trained separately in the process of text detection and text recognition, and each model is used to process the display content in order to obtain the target The target content of language representation, this process consumes a lot of resources, the translation efficiency is low, and the large program affects the user experience provided by the smart terminal.
- step S13 includes: inputting the display content into a preset content translation model, and obtaining the target content output by the content translation model; the content translation model is used to translate the specified content in the target language, and the specified content is passed At least one language representation.
- the display content is input into the content translation model to obtain the required target content, which has high translation efficiency and can reduce the smart terminal resources occupied by the translation process, thereby improving the performance of the smart terminal such as the operating speed.
- the content translation model is also used to identify various characters in the displayed content, and translate the recognized characters into the target language respectively, so as to ensure the accuracy and comprehensiveness of the obtained target content.
- the content translation model is used to translate pictures represented by at least one language; the process of obtaining the content translation model includes steps S131 and S132.
- At least one sample picture represented by at least one language may be collected, and a translation result corresponding to each sample picture, where the translation result is represented by a target language.
- at least one picture to be translated may be collected, and a class of pictures corresponding to each picture may be collected from various network platforms through a web crawler to obtain a large number of sample pictures.
- this step can also preprocess the collected pictures in terms of format, text and/or language form, for example, replace part of the content in the pictures with content represented by a certain language, etc., so that after preprocessing
- the images of are more comprehensive and standardized, which can further improve the accuracy of the resulting content translation model.
- step S132 Train an initial network by using the sample picture and the translation result to obtain the content translation model.
- the initial network can be an end-to-end network model, such as Pgnet (a single-step text detection recognizer for multi-task learning) and the like.
- the content translation model has the function of recognizing characters in various languages in the input image, and it can also be called an ocr (optical character recognition) model.
- step S132 can obtain model evaluation parameters such as the loss function of the initial network during the training process, and when the model evaluation parameters meet the set requirements (such as convergence and/or in an optimal state, etc.), according to when the set requirements are reached
- the model parameters determine the content translation model, so as to ensure the accuracy of the determined content translation model.
- the content translation model provided in this example can directly translate pictures represented by at least one language, has high translation efficiency and accuracy, can improve the accuracy of the obtained target content, and plays an important role in optimizing various performances of smart terminals.
- step S13 may also include translating the displayed content in the target language, identifying each unit content in the translation result, and merging the same unit content to determine the target content and make the determined target content more concise.
- unit content may include short sentences, long sentences and/or other content capable of representing independent events.
- S14 Output the target content in the second area, so that the target content is displayed and/or played in the second area.
- the second area can be in the same position as the first area, that is, the target content is overlaid on the original display content.
- the second area is in the same position as the first area, and FIG. After translating the entire display area of the display interface, each part of the content is displayed in its original position.
- Fig. 5d is for the partial area of the display interface shown in Fig. 5c (the first area in the diagram) after translation, each part of the first area The content is displayed in the original position respectively.
- the second area can also be other areas different from the first area, such as the area suspended near the first area, the display area corresponding to the information to be sent in the chat interface, etc.; referring to the chat interface shown in Figure 5e, the first The area includes the display content 1 represented by the first language, the display content 2 represented by the second language and the display content 3 represented by the third language.
- the corresponding second area can be suspended near the first area, including the corresponding display content 1
- step S14 includes:
- the target content is output in the second area according to the display characteristics.
- the above display features may include background features and/or text features; background features may include background color and/or background graphics, and text features may include fonts and/or font sizes.
- the second region is presented according to background features.
- the target content is displayed in the second area according to the text features, so that the target content displayed in the second area has a higher matching degree with the display content in the second area, and the accuracy of the target content in the second area can be improved. display effect.
- step S14 includes:
- the second prompt information includes the application control and/or change the language control
- the second prompt information can be output through a dialog box, etc.
- step S12 In response to the first operation corresponding to the application control, output the target content in the second area, so that the target content is displayed in the second area to ensure the display efficiency of the target content; and/or, in response to the second operation corresponding to the language control, update the After the target language, return to step S12 to translate the displayed content in the updated target language, obtain new target content for display, and ensure that the language used in the display matches the current needs of the user.
- the smart terminal and/or the application program can turn on the smart translation function at startup, when generating the first prompt message for turning on the smart translation function, and/or at other times when the smart translation function needs to be turned on.
- the process of enabling the intelligent translation function includes steps S111 and S112.
- the content of the configuration information may be determined according to features such as the object using the smart translation function and/or the function of the object. If the corresponding data processing method is applied to a smart terminal, the configuration information may include the type of program that uses the smart translation function, the input method of the second display command, and/or the step settings for enabling the smart translation function according to the relevant first prompt information. If the corresponding data processing method is applied to the application program, the configuration information may include the timing of enabling the smart translation function, the input method of the second display command, and/or the step setting for enabling the smart translation function according to the relevant first prompt information.
- the configuration information can also configure the language type currently required, so that the user can select the target language from the provided multiple languages; optionally , each language provided in the configuration information has a corresponding content translation model, so that the displayed content is input into the content translation model corresponding to the target language for text recognition and/or translation, so as to ensure the accuracy of the obtained target content.
- the intelligent translation function of the smart terminal and/or the application program may also be called a language master or other names that can characterize the text recognition and/or translation function.
- the smart translation function is represented by the language master, and the configuration interface corresponding to the configuration information can refer to Figure 6a.
- the configuration interface can include the switch control of the language master, the reading program (such as the news program and/or Programs, etc.) corresponding switch controls and required translation language settings, social programs (such as QQ and/or WeChat, etc.) corresponding switch controls and required translation language settings.
- the configuration information may also include other settings.
- the corresponding configuration interface may also include other setting information such as how to use and/or experience feedback.
- the configuration information may also include function triggering modes (such as the second display instruction) corresponding to various programs (such as reading programs and/or social programs); as shown in Figure 6b, the function triggering modes of the reading programs include dual Swipe down the selected area to translate, and the function trigger method of the social program includes clicking the translation control to translate.
- the first user after entering the configuration interface shown in Figure 6a and/or Figure 6b, the first user can enable at least one type of program shown; if the configuration interface does not show all associated applications, the first user triggers the language master
- the smart terminal can enter an interface including more application programs for the first user to select the program to be enabled; the above-mentioned interface including more application programs can be referred to as shown in FIG.
- the interface includes selection boxes corresponding to reading program, social program, type A program, type B program, type C program, type D program and various programs; the first user can select the corresponding selection box to include more application programs in the interface to select at least one type of program; in the interface shown in Figure 6d, the first user has selected the reading program, type A program, and type C program, so that when these three types of programs are working, after the first user inputs the second display instruction Then the first display command can be obtained directly, the display content can be quickly obtained, and corresponding translation and display can be performed.
- the interface including more application programs may also show buttons such as direct use and/or how to use, for the first user to operate according to needs, for example, if you click direct use, then You can start the language master according to the current configuration content. If you click on how to use, you can enter the relevant operation guidance interface and so on.
- the first user After the first user performs the configuration operation according to the configuration information, he can click the controls such as direct use and/or the relevant confirmation button to enable the smart translation function, so that the smart terminal and/or the corresponding application program can enable the smart translation function, and translate and translate accurately and efficiently.
- the display content selected by the first user is displayed.
- the first opening instruction includes: an opening operation received by the second control.
- the second control includes at least one of the following items:
- the function control (such as the expansion control) set in the setting item; the smart translation function option set in the smart terminal setting program as shown in Figure 7a, if the expansion control of the smart translation function option receives a trigger operation, it can enter the corresponding Configuration interface; as shown in Figure 7b, the smart translation function option set in the subroutine of an application program, if the expansion control of the smart translation function option receives a trigger operation, the corresponding configuration interface can be entered.
- the trigger control set on the pull-down menu on the screen such as the pull-up menu, pull-down menu, left pull-down menu and/or right pull-down menu of the smart terminal screen, etc.
- the trigger control shown in FIG. 7c is set in the drop-down menu.
- the trigger control suspended on the display interface can be moved on the display interface; optionally, the trigger control suspended on the display interface can represent the enabled state of the smart translation function through features such as color and/or brightness , for example, the first color and/or first brightness indicates that the smart translation function is turned on, and the second color and/or second brightness indicates that the smart translation function is turned off.
- the shortcut control set on the display desktop as shown in Figure 7e, the shortcut control can be arranged on the display desktop of the smart terminal together with other desktop icons, and by clicking the shortcut control, the operation of opening the smart translation function can be input.
- the trigger controls and/or shortcut controls corresponding to the smart translation function are represented by the letter "S". In other examples, other letters and/or symbols may also be used, which are not limited here.
- the second control may also include other forms of controls such as a voice wake-up control and/or a physical control for enabling the smart translation function, so as to improve the convenience of inputting a corresponding activation operation.
- the corresponding configuration interface is displayed to output configuration information, so that the first user can configure according to the needs, so that the opened smart
- the translation function matches user needs to improve user experience.
- step S151 and step S152 are further included after step S14.
- Entities may include information with specified meanings such as name, organization, time, location, communication account (such as mobile phone number, etc.) and/or network link.
- Associated information refers to information such as the content, processing method and/or function associated with the corresponding entity of the smart terminal, and/or information associated with the corresponding entity on each network platform, such as the profile corresponding to the person's name, communication account number, dialing path and /or short message paths, time-corresponding record paths, etc., are used to provide further introductions of corresponding entities and/or related function paths.
- algorithms such as entity extraction and/or intention recognition may be used to analyze each sentence of the target content to obtain at least some entities, and the associated information of each entity may be acquired on the smart terminal and/or each network platform.
- each entity can be marked in the displayed target content by underlining, specifying brightness and/or specifying color, etc., so that the first user can input a second trigger instruction to the marked entity by clicking on the entity, etc. , so that the smart terminal and/or the application program outputs the associated information of the corresponding entity.
- the associated information can be output in the form of dialog boxes and/or voice playback.
- the display position of the dialog box providing associated information may be determined according to the display position of the corresponding entity, for example, on the top, bottom, left or right side of the corresponding entity.
- the smart terminal stores Zhang San’s phone number and email address
- the communication interface can display the associated information shown in Figure 8b, and when the first user clicks the dial button, the corresponding phone dialing interface can be entered , when the first user clicks the SMS button, the corresponding SMS sending interface can be entered, and when the first user clicks the sending email button, the corresponding email sending interface can be entered.
- the communication interface can display the related information shown in Figure 8c, which can show the personal introduction provided by sources such as Baidu Encyclopedia .
- the communication interface can display the associated information shown in Figure 8d, which provides each processing path of this string of numbers, and the first user can click each processing path to enter the corresponding processing interface, such as clicking to dial , you can enter the dial interface corresponding to 123456789 and so on.
- This embodiment can obtain the entity of the target content and the corresponding associated information, so that when the first user needs to obtain the associated information of the entity, he can directly click to obtain it, which improves the convenience for the first user to obtain the associated information, and can further improve the corresponding user information. experience.
- the method further includes: when the third control receives the third trigger instruction, responding to the third trigger instruction.
- the third control can be other controls that are always suspended on the display interface and/or display desktop, such as the floating control used to set the specified function of the smart terminal, etc. If the second area needs to cover the third control, it can be in the third control The corresponding content is displayed on the control to ensure the integrity of the displayed content. If the first user needs to input a third trigger instruction to the third control, the first user can click and operate the position of the third control at this time, and the third control can obtain the corresponding third trigger instruction to make an effective response, so as to The display of content does not affect the operation of other functions of the smart terminal.
- the above data processing method can respond to the first display command in the target language, obtain the display content in the first area, translate the display content in the target language, output the target content in the second area, and display and/or play the target content, which has a relatively high performance.
- High accuracy and processing efficiency Directly inputting the displayed content into the content translation model to obtain the required target content can simplify the process of obtaining the target content and contribute to improving the display efficiency.
- the corresponding smart translation function When the corresponding smart translation function is turned on, it can be configured according to specific user needs, which can improve the matching degree between the smart translation function and user needs, thereby improving the corresponding user experience.
- entities in the target content and corresponding related information can also be obtained, so that users can more conveniently obtain related information and/or processing paths provided by related information, and can further simplify the information acquisition process related to entities and/or function realization process to further optimize the user experience brought by the data processing method.
- the second embodiment of the present application provides a data processing system, including:
- the first acquisition module is used to acquire the display content of the first area in response to the first display instruction in the target language
- a first translation module configured to translate display content in a target language, and determine or generate target content
- the display module is used to output the target content in the second area.
- Each module in the data processing system can be fully or partially realized by software, hardware and a combination thereof.
- Each module can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of the above modules.
- each module in the data processing system is only for illustration. In other embodiments, the data processing system may be divided into different modules as required to complete all or part of the functions of the data processing system.
- the present application provides a data processing method, which may include a method for sending target content, and can be applied to smart terminals and/or applications such as social programs running on smart terminals;
- the programs may include instant messaging programs such as WeChat, email communication programs such as Foxmail, or other types of communication programs.
- the data processing method includes steps S22, S23 and S24.
- the input content comes from an input window.
- the target language is the language adopted by at least one first user currently using the smart terminal, and/or the language adopted by at least one second user communicating with the social program currently running on the smart terminal.
- the input window may include an information collection area of a corresponding social program, and may collect input content such as text, voice and/or pictures input by the first user.
- the communication window may include an area for displaying communication content, and generally may display content sent by the first user and content sent by the second user to the first user. Referring to FIG. 10a, the first user can input text, voice and/or pictures into the input window to inform the second user, and send these input contents to the communication window to synchronize to the communication window corresponding to the second user.
- the smart terminal and/or the application monitors the translation operation corresponding to the target language, it can directly determine or generate the translation instruction to ensure the efficiency of determining or generating the translation instruction; it is also possible to further identify the current Whether to enable the smart translation function, generate translation instructions according to the current enabled status of the smart translation function, so that the translation instructions match the user settings.
- the process of obtaining translation instructions includes: responding to translation operations corresponding to the target language; if the smart translation function is enabled, determining or generating translation instructions in the target language to respond to the user's current smart translation needs in a timely manner.
- the smart translation function if the smart translation function is not enabled, output the first prompt message to enable the smart translation function, and generate or determine the translation command in the target language after responding to the second enable command corresponding to the first prompt message.
- the first prompt information can be output through pop-up window display and/or voice playback.
- the first user receives the first prompt information. If the smart translation function does not need to be turned on, the confirmation information for not turning on the smart translation function can be input. to close the first prompt message, and/or, if you need to enable the smart translation function, you can enter the confirmation information for enabling the smart translation function, so that the smart terminal and/or application program jumps to the interface for enabling the smart translation function or directly opens the The smart translation function ensures that the first user can successfully open the smart translation function.
- the first user may input a second activation instruction for enabling the smart translation function into the relevant control according to the first prompt information, and after the smart terminal and/or application program responds to the second activation instruction corresponding to the first prompt information, it may Generate translation instructions for the target language.
- the translation operation includes an operation received by the first control.
- the first controls include virtual controls and/or physical controls.
- the virtual control is set at a preset position of the communication window, for example, as shown in FIG.
- the first control enters the translation action to send the translated target content to the communication window.
- the virtual control is suspended on the communication interface, as shown in FIG. 10b , the suspended first control can be moved on the communication interface to be dragged to a proper position by the first user.
- the symbol "MOL" is used to represent the first control, and in other examples, other letters and/or symbols may also be used to represent the first control.
- a translation tool may be selected for translation according to characteristics such as the representation form of the input content and/or the language involved.
- the input content if the input content is characterized by text and/or voice, the input content can be input into a translation program that can recognize the text and/or voice of each language involved, and the translation program is used to translate the input content into target content, so as to Guaranteed translation efficiency.
- the input content includes picture representations, a large number of pictures can be used to pre-train a translation model that can recognize various texts in the pictures and translate various texts into the target language, and use this translation model to translate the input content, so as to improve translation efficiency. , to ensure the accuracy of the translation results.
- the target content matches the representation form of the input content; if the input content is text, the target content is text; if the input content is voice, the target content is voice; if the input content is a picture, the target content is a picture.
- the step S23 includes: inputting the input content into a translation tool associated with the target language, and determining or generating the target content according to the output content of the translation tool.
- the translation tool may include a translation program capable of translating text and/or speech in at least one language into target content, and/or a translation model capable of translating pictures in at least one language into target content.
- translation tools are used to translate input content, which can ensure the stability and accuracy of the translation process.
- the translation tool can be pre-configured and/or trained according to the characteristics of the input content.
- the training process may include steps S231 and S232.
- at least one picture to be translated may be collected, and a class of pictures corresponding to each picture may be collected from various network platforms through a web crawler to obtain a large number of sample pictures.
- this step can also preprocess the collected pictures in terms of format, text and/or language form, for example, replace part of the content in the pictures with content represented by a certain language, etc., so that after preprocessing
- the pictures of are more comprehensive and standardized, which can further improve the accuracy of the resulting translation model.
- the initial network can be an end-to-end network model, such as Pgnet (a single-step text detection recognizer for multi-task learning) and the like.
- the translation model has the function of recognizing characters in various languages in the input image, and it can also be called an ocr (optical character recognition) model.
- the step S232 can obtain model evaluation parameters such as the loss function of the initial network during the training process. The model parameters determine the translation model to ensure the accuracy of the determined translation model.
- Step S24 sends the target content to the communication window, so that the communication window can display corresponding text and/or pictures in the target language, and/or, use the target language to play the corresponding voice, so that the second user or other first users using the target language Users can receive target content expressed in the target language, which can improve the smoothness of the communication process, thereby improving communication efficiency and corresponding user experience.
- step S24 includes step S241 and step S242.
- output second prompt information the second prompt information includes application controls and/or language replacement controls, as shown in Figure 11a, the second prompt information can be output through a dialog box, etc., if the first user clicks on the application control, he can input For the first operation corresponding to the application control, if the first user clicks to change the language control, he can input the second operation corresponding to the change of the language control.
- step S242 in response to the first operation corresponding to the application control, send the target content to the communication window, so as to realize the communication function; and/or, in response to the second operation corresponding to changing the language control, return to execute step S22 after updating the target language, to adopt Updated target language translation input.
- the first user enters the input content "good morning” into the input window, and clicks the first control to make the smart terminal and/or the application program use English Translate "good morning", and after obtaining the corresponding target content, output the second prompt message.
- the smart terminal and/or the application program will send the target content to the communication window, as shown in Figure 10d, and communicate with The second user communicates.
- the smart terminal and/or the application program can also output a relevant input box for the first user to input the target language to be updated, and read the updated target language of the first user.
- translation instructions can be directly generated to retrieve the input content, translate the input content in the new target language, get the new target content, and send the new target content to the communication window to adopt the new target in the communication window Linguistic representation of input content.
- the target content output by the communication window can refer to Figure 10e.
- the smart terminal and/or the application program can turn on the smart translation function at startup, when generating the first prompt message for turning on the smart translation function, and/or at other times when the smart translation function needs to be turned on.
- the process of enabling the smart translation function includes: responding to a first activation instruction of the smart translation function, outputting configuration information; responding to a configuration operation corresponding to the configuration information, enabling the smart translation function.
- the content of the configuration information may be determined according to features such as the object using the smart translation function and/or the function of the object. If the corresponding data processing method is applied to a smart terminal, the configuration information may include a specified program for using the smart translation function and/or a step setting for enabling the smart translation function according to the relevant first prompt information.
- the configuration information may include the timing of enabling the smart translation function, the input method of the translation instruction, and/or the step setting for enabling the smart translation function according to the relevant first prompt information.
- the configuration information can also configure the current required language type, so that the user can select the target language from the provided multiple languages; optionally , each language provided in the configuration information has a corresponding translation tool, so that the input content can be input into the translation tool corresponding to the target language for translation to ensure the accuracy of the obtained target content.
- the first user after the first user performs the configuration operation according to the configuration information, he can click the exit control and/or the relevant confirmation button to enable the smart translation function, so that the smart terminal and/or the corresponding application program can enable the smart translation function.
- the first opening instruction includes: an opening operation received by the second control.
- the second control includes at least one of the following items:
- the function control (such as the expansion control) set in the setting item; the smart translation function option set in the smart terminal setting program as shown in Figure 7a, if the expansion control of the smart translation function option receives a trigger operation, it can enter the corresponding Configuration interface; as shown in Figure 7b, the smart translation function option set in the subroutine of an application program, if the expansion control of the smart translation function option receives a trigger operation, the corresponding configuration interface can be entered.
- the trigger control set on the pull-down menu on the screen such as the pull-up menu, pull-down menu, left-pull menu and/or right-pull menu, etc. of the smart terminal screen, the trigger control shown in FIG. 7c is set in the pull-down menu.
- the trigger control suspended on the display interface can be moved on the display interface; optionally, the trigger control suspended on the display interface can represent the enabled state of the smart translation function through features such as color and/or brightness , for example, the first color and/or first brightness indicates that the smart translation function is turned on, and the second color and/or second brightness indicates that the smart translation function is turned off.
- the shortcut control set on the display desktop as shown in Figure 7e, the shortcut control can be arranged on the display desktop of the smart terminal together with other desktop icons, and by clicking the shortcut control, the operation of opening the smart translation function can be input.
- the trigger controls and/or shortcut controls corresponding to the smart translation function are represented by the letter "S". In other examples, other letters and/or symbols may also be used, which are not limited here.
- the second control may also include other forms of controls such as a voice wake-up control and/or a physical control for enabling the smart translation function, so as to improve the convenience of inputting a corresponding activation operation.
- the corresponding configuration interface is displayed to output configuration information, so that the first user can configure according to the needs, so that the opened smart
- the translation function matches user needs to improve user experience.
- the above data processing method can respond to the translation command of the target language, obtain the input content, translate the input content in the target language, and send the obtained target content to the communication window, so that relevant communication users can directly obtain the target language in the communication window
- Characterized input content can improve communication efficiency and communication experience.
- the second prompt information can also be input for the user to choose between directly adopting the target content or changing the language.
- the user is also provided with the opportunity to change the language , which can improve the flexibility of the corresponding data processing method and further enhance the user experience.
- the corresponding smart translation function When the corresponding smart translation function is turned on, it can be configured according to specific user needs, which can improve the matching degree between the smart translation function and user needs.
- the fourth embodiment of the present application provides a data processing system, including:
- the second obtaining module is used to respond to the translation instruction of the target language and obtain the input content
- the second translation module is used for translating the input content in the target language, and determining or generating the target content
- the sending module is used to send the target content to the communication window.
- Each module in the data processing system can be fully or partially realized by software, hardware and a combination thereof.
- Each module can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of the above modules.
- each module in the data processing system is only for illustration. In other embodiments, the data processing system may be divided into different modules as required to complete all or part of the functions of the data processing system.
- the embodiment of the present application also provides a smart terminal, the smart terminal includes a memory and a processor, and a data processing program is stored in the memory, and when the data processing program is executed by the processor, the steps of the data processing method described in any of the above embodiments are implemented.
- the data processing program includes a display program and/or a sending program.
- the display program is executed by the processor, the steps of the method for displaying the target content in any of the above-mentioned embodiments are realized, and/or when the sending program is executed by the processor, the steps of the method for displaying the target content are realized.
- the steps of the method for sending target content in any of the above-mentioned embodiments.
- An embodiment of the present application further provides a computer-readable storage medium, on which a data processing program is stored, and when the data processing program is executed by a processor, the steps of the data processing method described in any of the foregoing embodiments are implemented.
- the data processing program includes a display program and/or a sending program.
- the display program is executed by the processor, the steps of the method for displaying the target content in any of the above-mentioned embodiments are realized, and/or when the sending program is executed by the processor, the steps of the method for displaying the target content are realized.
- the steps of the method for sending target content in any of the above-mentioned embodiments.
- An embodiment of the present application further provides a computer program, the computer program includes computer program code, and when the computer program code is run on the computer, the computer is made to execute the methods in the above various possible implementation manners.
- the embodiment of the present application also provides a chip, including a memory and a processor.
- the memory is used to store a computer program
- the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
- Units in the device in the embodiment of the present application may be combined, divided and deleted according to actual needs.
- the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) execute the method of each embodiment of the present application.
- all or part of them may be implemented by software, hardware, firmware or any combination thereof.
- software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
- a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
- the computer can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus.
- Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media.
- Usable media may be magnetic media, (eg, floppy disk, memory disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Provided in the present application are a data processing method, an intelligent terminal, and a storage medium. The data processing method comprises the following steps: S12, in response to a first display instruction in a target language, acquiring displayed content in a first area; S13, translating the displayed content in the target language, so as to determine or generate target content; and S14, outputting the target content in a second area. By means of the present application, the content displayed by an intelligent terminal can be translated and displayed in real time with a relatively high processing efficiency.
Description
本申请涉及智能终端技术领域,具体涉及一种数据处理方法、智能终端及存储介质。The present application relates to the technical field of smart terminals, and in particular to a data processing method, a smart terminal and a storage medium.
目前,手机、平板电脑和/或计算机等智能终端已深入到应用到各类领域,在人们的生活和工作中具有重要作用。使用这些智能终端的群体往往具有不同的语言背景,若这些智能终端采用一种语言同时响应语言背景不同的多个用户的使用需求,容易影响到所提供的用户体验。At present, smart terminals such as mobile phones, tablet PCs and/or computers have been deeply applied to various fields and play an important role in people's life and work. Groups using these smart terminals often have different language backgrounds. If these smart terminals use one language to respond to the needs of multiple users with different language backgrounds at the same time, it will easily affect the user experience provided.
在构思及实现本申请过程中,发明人发现至少存在如下问题:智能终端在提供显示界面对应的翻译界面时,存在效率低的问题。During the process of conceiving and implementing the present application, the inventors found at least the following problems: when the smart terminal provides the translation interface corresponding to the display interface, there is a problem of low efficiency.
前面的叙述在于提供一般的背景信息,并不一定构成现有技术。The foregoing description is provided to provide general background information and does not necessarily constitute prior art.
发明内容Contents of the invention
针对上述技术问题,本申请提供一种数据处理方法、智能终端及存储介质,能够对智能终端显示的内容进行实时翻译和显示,具有较高的显示效率。In view of the above technical problems, the present application provides a data processing method, a smart terminal and a storage medium, capable of real-time translation and display of the content displayed by the smart terminal, with high display efficiency.
为解决上述技术问题,本申请提供一种数据处理方法,可以应用于手机等智能终端,包括如下步骤:In order to solve the above technical problems, this application provides a data processing method, which can be applied to smart terminals such as mobile phones, including the following steps:
S12,响应目标语言的第一显示指令,获取第一区域的显示内容;S12. Responding to the first display instruction in the target language, acquire the display content of the first area;
S13,采用目标语言翻译显示内容,确定或生成目标内容;S13, using the target language to translate the displayed content, and determine or generate the target content;
S14,在第二区域输出目标内容。S14. Output the target content in the second area.
可选地,第一显示指令的获取过程包括:Optionally, the obtaining process of the first display instruction includes:
响应目标语言的第二显示指令;responding to a second display command in the target language;
若开启智慧翻译功能,确定或生成目标语言的第一显示指令;If the smart translation function is turned on, determine or generate the first display instruction in the target language;
可选地,若未开启智慧翻译功能,则输出开启智慧翻译功能的第一提示信息。Optionally, if the smart translation function is not turned on, output a first prompt message for turning on the smart translation function.
可选地,第二显示指令包括以下各项的至少一项:Optionally, the second display instruction includes at least one of the following:
显示界面对应的区域识别指令;Display the area identification command corresponding to the interface;
第一控件接收的第一触发指令。The first trigger instruction received by the first control.
可选地,S13步骤包括:Optionally, step S13 includes:
将显示内容输入预设的内容翻译模型,内容翻译模型输出目标内容;内容翻译模型用于采用目标语言翻译指定内容,指定内容通过至少一种语言表征。The displayed content is input into a preset content translation model, and the content translation model outputs target content; the content translation model is used to translate specified content in a target language, and the specified content is represented by at least one language.
可选地,内容翻译模型用于翻译通过至少一种语言表征的图片;内容翻译模型的获取过程包括:Optionally, the content translation model is used to translate pictures represented by at least one language; the acquisition process of the content translation model includes:
获取至少一个通过至少一种语言表征的样本图片,以及至少一个样本图片对应的翻译结果;Obtaining at least one sample picture represented by at least one language, and a translation result corresponding to at least one sample picture;
采用样本图片和翻译结果训练初始网络,得到内容翻译模型。Use sample images and translation results to train the initial network to obtain a content translation model.
可选地,S14步骤包括:Optionally, step S14 includes:
获取显示内容在第一区域的显示特征;Obtain the display characteristics of the display content in the first area;
根据显示特征在第二区域输出目标内容。The target content is output in the second area according to the display characteristics.
可选地,智慧翻译功能的开启过程包括:Optionally, the process of enabling the smart translation function includes:
响应智慧翻译功能的第一开启指令,输出配置信息;Output configuration information in response to the first activation command of the smart translation function;
响应配置信息对应的配置操作,开启智慧翻译功能。Respond to the configuration operation corresponding to the configuration information, and enable the smart translation function.
可选地,第一开启指令包括:第二控件接收的开启操作。Optionally, the first opening instruction includes: an opening operation received by the second control.
可选地,第二控件包括如下各项中的至少一项:Optionally, the second control includes at least one of the following items:
设于设置项内的功能控件;The function control set in the setting item;
设于屏幕拉动菜单的触发控件;Trigger controls located on screen pull menus;
悬浮在显示界面的触发控件;Trigger controls suspended on the display interface;
设于显示桌面的快捷控件;Shortcut controls located on the display desktop;
语音唤醒控件;Voice wake-up control;
以及用于开启智慧翻译功能的实体控件。And physical controls for turning on the smart translation function.
可选地,S14步骤之后,所述方法还包括:Optionally, after step S14, the method further includes:
获取目标内容中的实体和实体的关联信息;Obtain the entity and the associated information of the entity in the target content;
响应实体对应的第二触发指令,输出关联信息。In response to the second trigger instruction corresponding to the entity, the associated information is output.
可选地,若第二区域覆盖至少一个第三控件,S14步骤之后,所述方法还包括:Optionally, if the second area covers at least one third control, after step S14, the method further includes:
第三控件接收第三触发指令,响应第三触发指令。The third control receives the third trigger instruction and responds to the third trigger instruction.
本申请还提供一种数据处理方法,可以应用于手机等智能终端,包括如下步骤:The present application also provides a data processing method, which can be applied to smart terminals such as mobile phones, including the following steps:
S22,响应目标语言的翻译指令,获取输入内容;S22, responding to the translation instruction of the target language, and obtaining the input content;
S23,采用目标语言翻译输入内容,确定或生成目标内容;S23, using the target language to translate the input content, and determine or generate the target content;
S24,将目标内容发送至通信窗口。S24, sending the target content to the communication window.
可选地,所述输入内容来自输入窗口。Optionally, the input content comes from an input window.
可选地,S23步骤包括:Optionally, step S23 includes:
将输入内容输入目标语言关联的翻译工具,根据翻译工具输出的内容确定或生成目标内容。Input the input content into the translation tool associated with the target language, and determine or generate the target content according to the output content of the translation tool.
可选地,S24步骤包括:Optionally, step S24 includes:
S241,输出第二提示信息,第二提示信息包括应用控件和/或更换语言控件;S241. Output second prompt information, where the second prompt information includes application controls and/or language replacement controls;
S241,响应应用控件对应的第一操作,将目标内容发送至通信窗口。S241. Send the target content to the communication window in response to the first operation corresponding to the application control.
可选地,响应更换语言控件对应的第二操作,在更新目标语言之后返回执行S22步骤。Optionally, in response to the second operation corresponding to changing the language control, return to step S22 after updating the target language.
本申请还提供一种智能终端,包括:存储器、处理器,其中,所述存储器上存储有数据处理程序,所述数据处理程序被所述处理器执行时实现如上任一所述方法的步骤。The present application also provides an intelligent terminal, including: a memory and a processor, wherein a data processing program is stored in the memory, and when the data processing program is executed by the processor, the steps of any one of the methods described above are implemented.
本申请还提供一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上任一所述方法的步骤。The present application also provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods described above are implemented.
如本文所述,本申请的数据处理方法,可以响应目标语言的第一显示指令,获取第一区域的显示内容,采用目标语言翻译显示内容,以在第二区域输出得到的目标内容,使目标内容在第二区域显示和/或播放,具有较高的准确性和显示效率。采用内容翻译模型直接翻译通过图片等形式表征的显示内容,获得所 需的目标内容,可以简化目标内容的获取过程,为提高显示效率做贡献。在开启对应智慧翻译功能时,可以依据具体的用户需求进行配置,能够提升该智慧翻译功能与用户需求的匹配度,从而提升对应的用户体验。As described herein, the data processing method of the present application can respond to the first display command in the target language, obtain the display content in the first area, translate the display content in the target language, and output the obtained target content in the second area, so that the target The content is displayed and/or played in the second area, which has high accuracy and display efficiency. Using the content translation model to directly translate the display content represented by pictures and other forms to obtain the required target content can simplify the acquisition process of the target content and contribute to the improvement of display efficiency. When the corresponding smart translation function is turned on, it can be configured according to specific user needs, which can improve the matching degree between the smart translation function and user needs, thereby improving the corresponding user experience.
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, the Under the premise, other drawings can also be obtained based on these drawings.
图1为实现本申请各个实施例的一种智能终端的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of an intelligent terminal implementing various embodiments of the present application;
图2为本申请一实施例提供的一种通信网络系统架构图;FIG. 2 is a system architecture diagram of a communication network provided by an embodiment of the present application;
图3是根据一实施例示出的数据处理方法的流程示意图;Fig. 3 is a schematic flowchart of a data processing method according to an embodiment;
图4a、图4b、图4c、图4d和图4e是根据本申请一实施例示出的显示界面示意图;Fig. 4a, Fig. 4b, Fig. 4c, Fig. 4d and Fig. 4e are schematic diagrams of display interfaces shown according to an embodiment of the present application;
图5a、图5b、图5c、图5d和图5e是根据本申请一实施例示出的显示界面示意图;Fig. 5a, Fig. 5b, Fig. 5c, Fig. 5d and Fig. 5e are schematic diagrams of display interfaces shown according to an embodiment of the present application;
图6a、图6b、图6c和图6d是根据本申请一实施例示出的配置界面示意图;Fig. 6a, Fig. 6b, Fig. 6c and Fig. 6d are schematic configuration interface diagrams shown according to an embodiment of the present application;
图7a、图7b、图7c、图7d和图7e是根据本申请一实施例示出的第二控件示意图;Fig. 7a, Fig. 7b, Fig. 7c, Fig. 7d and Fig. 7e are schematic diagrams of the second control according to an embodiment of the present application;
图8a、图8b、图8c和图8d是根据本申请一实施例示出的通信界面示意图;Fig. 8a, Fig. 8b, Fig. 8c and Fig. 8d are schematic diagrams of communication interfaces shown according to an embodiment of the present application;
图9是根据本申请一实施例示出的数据处理方法的流程示意图;FIG. 9 is a schematic flowchart of a data processing method according to an embodiment of the present application;
图10a、图10b、图10c、图10d和图10e是根据本申请一实施例示出的通信界面示意图。Fig. 10a, Fig. 10b, Fig. 10c, Fig. 10d and Fig. 10e are schematic diagrams of communication interfaces shown according to an embodiment of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.
下文将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确 定。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the statement "comprising a..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element. In addition, different implementations of the present application Components, features, and elements with the same name in the example may have the same meaning, or may have different meanings, and the specific meaning shall be determined based on the explanation in the specific embodiment or further combined with the context in the specific embodiment.
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。本申请使用的术语“或”、“和/或”、“包括以下至少一个”等可被解释为包括性的,或意味着任一个或任何组合。例如,“包括以下至少一个:A、B、C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”,再如,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination". Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not exclude one or more other features, steps, operations, The existence, occurrence or addition of an element, component, item, species, and/or group. The terms "or", "and/or", "comprising at least one of" and the like used in this application may be interpreted as inclusive, or mean any one or any combination. For example, "including at least one of the following: A, B, C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C", another example, " A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C". Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart in the embodiment of the present application are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential Instead, it may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrases "if determined" or "if detected (the stated condition or event)" could be interpreted as "when determined" or "in response to the determination" or "when detected (the stated condition or event) )" or "in response to detection of (a stated condition or event)".
需要说明的是,在本文中,采用了诸如S12、S13等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S13后执行S12等,但这些均应在本申请的保护范围之内。It should be noted that, in this article, step codes such as S12 and S13 are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order. Those skilled in the art may, during specific implementation, S13 will be executed first, followed by S12, etc., but these should be within the scope of protection of this application.
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或者“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或者“单元”可以混合地使用。In the following description, the use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating the description of the present application and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be mixedly used.
智能终端可以以各种形式来实施。例如,本申请中描述的智能终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。Smart terminals can be implemented in various forms. For example, the smart terminals described in this application may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Mobile terminals such as wearable devices, smart bracelets, and pedometers, and fixed terminals such as digital TVs and desktop computers.
后续描述中将以智能终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本申请的实施方式的构造也能够应用于 固定类型的终端。In the subsequent description, a smart terminal will be taken as an example for illustration, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to fixed-type terminals.
请参阅图1,其为实现本申请各个实施例的一种智能终端的硬件结构示意图,该智能终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的智能终端结构并不构成对智能终端的限定,智能终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1, which is a schematic diagram of the hardware structure of a smart terminal implementing various embodiments of the present application. The smart terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, an /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that the smart terminal structure shown in Figure 1 does not constitute a limitation on the smart terminal, and the smart terminal may include more or less components than shown in the figure, or combine certain components, or different components layout.
下面结合图1对智能终端的各个部件进行具体的介绍:The following is a specific introduction to each component of the smart terminal in conjunction with Figure 1:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(Code Division Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,时分同步码分多址)、FDD-LTE(Frequency Division Duplexing-Long Term Evolution,频分双工长期演进)、TDD-LTE(Time Division Duplexing-Long Term Evolution,分时双工长期演进)和5G等。The radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time-division duplex long-term evolution) and 5G, etc.
WiFi属于短距离无线传输技术,智能终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于智能终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. Through the WiFi module 102, the smart terminal can help users send and receive emails, browse web pages, and access streaming media, etc., and it provides users with wireless broadband Internet access. Although Fig. 1 shows the WiFi module 102, it can be understood that it is not an essential component of the smart terminal, and can be completely omitted as required without changing the essence of the invention.
音频输出单元103可以在智能终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与智能终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。The audio output unit 103 can store the information received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 when the smart terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like. The audio data is converted into an audio signal and output as sound. Moreover, the audio output unit 103 may also provide audio output related to specific functions performed by the smart terminal 100 (for example, call signal receiving sound, message receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 104 is used to receive audio or video signals. The A/V input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 . The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data. The processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
智能终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。可选地,光传感器包括环境光传感器及接近传感器,可选地,环 境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在智能终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The smart terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display when the smart terminal 100 moves to the ear. panel 1061 and/or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the posture of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示区(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display area (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与智能终端的用户设置以及功能控制有关的键信号输入。可选地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。可选地,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。可选地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the smart terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates , and then sent to the processor 110, and can receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Optionally, other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not specifically described here. limited.
可选地,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现智能终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现智能终端的输入和输出功能,具体此处不做限定。Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the touch event according to the touch event. The corresponding visual output is provided on the display panel 1061 . Although in FIG. 1, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated. The implementation of the input and output functions of the smart terminal is not specifically limited here.
接口单元108用作至少一个外部装置与智能终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到智能终端100内的一个或多个元件或者可以用于在智能终端100和外部装置之间传输数据。The interface unit 108 is used as an interface through which at least one external device can be connected with the smart terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,可选地,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a storage program area and a storage data area. Optionally, the storage program area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.; the storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器110是智能终端的控制中心,利用各种接口和线路连接整个智能终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行智能终端的各种功能和处理数据,从而对智能终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,可选地,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the smart terminal, and uses various interfaces and lines to connect various parts of the whole smart terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the smart terminal and process data, so as to monitor the smart terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes operating systems, user interfaces, and application programs, etc. The demodulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
智能终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The smart terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
尽管图1未示出,智能终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the smart terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
为了便于理解本申请实施例,下面对本申请的智能终端所基于的通信网络系统进行描述。In order to facilitate understanding of the embodiments of the present application, the following describes the communication network system on which the smart terminal of the present application is based.
请参阅图2,图2为本申请实施例提供的一种通信网络系统架构图,该通信网络系统为通用移动通信技术的LTE系统,该LTE系统包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。Please refer to FIG. 2. FIG. 2 is a structure diagram of a communication network system provided by an embodiment of the present application. The communication network system is an LTE system of general mobile communication technology. ) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
可选地,UE201可以是上述终端100,此处不再赘述。Optionally, the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。可选地,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。 E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on. Optionally, the eNodeB 2021 can be connected to other eNodeB 2022 through a backhaul (for example, X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS(Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy and Charging Rules Function,政策和资费功能实体)2036等。可选地,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc. Optionally, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide UE 201 IP address allocation and other functions, PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体子系统)或其它IP业务等。The IP service 204 may include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
虽然上述以LTE系统为例进行了介绍,但本领域技术人员应当知晓,本申请不仅仅适用于LTE系统,也可以适用于其他无线通信系统,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络系统(如5G)等,此处不做限定。Although the LTE system is used as an example above, those skilled in the art should know that this application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new wireless communication systems. The network system (such as 5G), etc., is not limited here.
基于上述智能终端硬件结构以及通信网络系统,提出本申请各个实施例。Based on the above hardware structure of the smart terminal and the communication network system, various embodiments of the present application are proposed.
在第一实施例中,本申请提供一种数据处理方法,该数据处理方法可以包括目标内容的显示方法,能够应用于手机等智能终端和/或智能终端上运行的应 用程序;参考图3所示,该数据处理方法包括S12步骤、S13步骤和S14步骤。In the first embodiment, the present application provides a data processing method, which may include a method for displaying target content, and can be applied to smart terminals such as mobile phones and/or applications running on smart terminals; refer to FIG. 3 As shown, the data processing method includes step S12, step S13 and step S14.
S12,响应目标语言的第一显示指令,获取第一区域的显示内容。S12. Obtain display content in the first area in response to the first display instruction in the target language.
可选地,目标语言为当前使用智能终端的至少一个第一用户采用的语言,和/或,智能终端关联的至少一个第二用户采用的语言。第二用户为需要获知智能终端当前显示的内容的用户,如远程学习智能终端当前显示内容的用户,远程参加智能终端所开展会议的用户,和/或,事后需要获知智能终端当前显示内容的用户等等。Optionally, the target language is the language adopted by at least one first user currently using the smart terminal, and/or the language adopted by at least one second user associated with the smart terminal. The second user is a user who needs to know the content currently displayed by the smart terminal, such as a user who learns the content currently displayed by the smart terminal remotely, a user who remotely participates in a meeting held by the smart terminal, and/or, a user who needs to know the content currently displayed by the smart terminal afterwards etc.
可选地,第一区域为第一用户在目标语言对应的智能显示指令(如第二显示指令)时选中和/或采集的区域,包括智能终端的拍摄模块当前采集的至少部分区域、当前所选择图片中的至少部分区域、智能终端当前显示界面对应的整个显示区域、部分显示区域或者包括整个显示区域的滚动显示区域等等。显示内容包括第一区域对应的截图和/或文字等内容。当前显示界面对应的整个显示区域可以参考图4a所示,可以通过全屏截图等方式确定;图4a所示整个显示区域的部分显示区域可以参考图4b所示,如图4c所示,该部分显示区域可以在当前显示界面通过相关选择框选定,选择框可以通过鼠标、用户手指和/或触屏书写笔等输入当前显示界面;滚动显示区域可以通过滚动截屏等滚动获取操作获取。Optionally, the first area is the area selected and/or collected by the first user when an intelligent display instruction (such as a second display instruction) corresponding to the target language is selected, including at least part of the area currently collected by the camera module of the smart terminal, the currently selected Select at least a partial area in the picture, the entire display area corresponding to the current display interface of the smart terminal, a partial display area, or a scrolling display area including the entire display area, and the like. The displayed content includes content such as screenshots and/or texts corresponding to the first area. The entire display area corresponding to the current display interface can refer to Figure 4a, and can be determined by means of full-screen screenshots; the partial display area of the entire display area shown in Figure 4a can be referred to as shown in Figure 4b, as shown in Figure 4c, this part shows The area can be selected through the relevant selection box on the current display interface, and the selection box can be input into the current display interface through the mouse, user's finger and/or touch screen writing pen, etc.; the scrolling display area can be acquired through scrolling acquisition operations such as scrolling screenshots.
智能终端和/或应用程序监听到目标语言对应的智能显示指令后,可以直接生成或确定第一显示指令,保证第一显示指令的生成效率;也可以进一步识别智能终端和/或应用程序当前是否开启智慧翻译功能,依据当前智慧翻译功能的启用状态生成或确定第一显示指令,使第一显示指令与用户设置相匹配。After the smart terminal and/or application monitors the smart display instruction corresponding to the target language, it can directly generate or determine the first display instruction to ensure the generation efficiency of the first display instruction; it can also further identify whether the smart terminal and/or application is currently The smart translation function is turned on, and the first display instruction is generated or determined according to the current enabled state of the smart translation function, so that the first display instruction matches the user setting.
在一种实施方式中,第一显示指令的获取过程包括:响应目标语言的第二显示指令;若智能终端和/或应用程序开启智慧翻译功能,确定或生成目标语言的第一显示指令,以及时响应用户当前的智慧翻译需求。In one embodiment, the process of acquiring the first display instruction includes: responding to the second display instruction in the target language; if the smart terminal and/or the application program enables the smart translation function, determining or generating the first display instruction in the target language to Respond to users' current smart translation needs in a timely manner.
可选地,若未开启智慧翻译功能,则输出开启智慧翻译功能的第一提示信息。该第一提示信息可以通过弹窗显示和/或语音播放等方式输出,第一用户收到该第一提示信息,若不需要开启智慧翻译功能,则可以输入不开启智慧翻译功能的确认信息,以关闭该第一提示信息。和/或,Optionally, if the smart translation function is not turned on, output a first prompt message for turning on the smart translation function. The first prompt information can be output through pop-up window display and/or voice playback. The first user receives the first prompt information. If the smart translation function does not need to be turned on, the confirmation information for not turning on the smart translation function can be input. to close the first prompt message. and / or,
若需要开启智慧翻译功能,则可以输入开启智慧翻译功能的确认信息,使智能终端和/或应用程序跳转至开启智慧翻译功能的界面或者直接开启智慧翻译功能,保证第一用户能够顺利开启该智慧翻译功能。可选地,第一用户可以依据第一提示信息,向相关控件输入开启智慧翻译功能的第二开启指令,智能终端和/或应用程序在响应第一提示信息对应的第二开启指令后,可以生成目标语言的第一显示指令,以及时获取第一区域的显示内容,采用目标语言进行相应显示。If you need to enable the smart translation function, you can enter the confirmation information for enabling the smart translation function, so that the smart terminal and/or application program jumps to the interface for enabling the smart translation function or directly enables the smart translation function to ensure that the first user can successfully open the smart translation function. Smart translation function. Optionally, the first user may input a second activation instruction for enabling the smart translation function into the relevant control according to the first prompt information, and after the smart terminal and/or application program responds to the second activation instruction corresponding to the first prompt information, it may A first display instruction in the target language is generated, so as to acquire the display content of the first area in time and display it in the target language accordingly.
在一个示例中,第二显示指令包括以下各项的至少一项:In one example, the second display instructions include at least one of the following:
显示界面对应的区域识别指令;如识别显示界面当前整个显示区域的指令,识别显示界面部分区域的指令,和/或显示界面对应的滚动识别指令等等;这些识别指令(如区域识别指令和/或滚动识别指令)可以通过点击、敲击、手势选择和/或拖动等操作输入智能终端,以使智能终端接收。可选地,智能终端和/或应用程序在开启智慧翻译功能之后可以在对应的显示界面设置区域选择控件,如图4a所示,该区域选择控件悬浮与显示界面,第一用户可以拖到该区域选择控件以向显示界面输入区域识别指令。可选地,智能终端和/或应用程序依据上述区域选择控件的轨迹形成的封闭图形确定第一区域,如图4c所示,若区域选 择控件轨迹形成的封闭图形如选择框所示,则可以向显示界面输入该选择框。The area identification instruction corresponding to the display interface; such as the instruction to identify the entire current display area of the display interface, the instruction to identify the partial area of the display interface, and/or the scrolling identification instruction corresponding to the display interface, etc.; these identification instructions (such as the area identification instruction and/or or scroll recognition instruction) can be input to the smart terminal through operations such as clicking, tapping, gesture selection and/or dragging, so that the smart terminal can receive it. Optionally, after the intelligent translation function is enabled on the smart terminal and/or the application program, an area selection control can be set on the corresponding display interface, as shown in Figure 4a, the area selection control is suspended on the display interface, and the first user can drag it to the The area selection control is used to input an area identification command to the display interface. Optionally, the smart terminal and/or the application determine the first region according to the closed figure formed by the track of the area selection control, as shown in Figure 4c, if the closed figure formed by the track of the area selection control is as shown in the selection box, then you can Enter the selection box to the display interface.
第一控件接收的第一触发指令;第一控件包括虚拟控件和/或实体控件。可选地,虚拟控件设于显示屏的拉动菜单,如上拉菜单、左拉菜单和/或下拉菜单等等,图4d示出的为图4a所示显示界面对应下拉菜单中设置的第一控件。可选地,虚拟控件悬浮在显示界面,此时悬浮在显示界面的第一控件可以为用于供第一用户输入区域识别指令的区域选择控件;图4e示出的为悬浮在图4a所示显示界面的第一控件。图4d和图4e中,采用字母“T”表示第一控件,在其他示例中,也可以采用其他字母和/或符号表示第一控件。可选地,上述第一控件接收第一触发指令之后,可以弹出选择框,以供第一用户选择第一区域,使智能终端和/或应用程序能够获取第一区域内的显示内容。The first trigger instruction received by the first control; the first control includes a virtual control and/or a physical control. Optionally, the virtual control is set on the pull-down menu of the display screen, such as a pull-up menu, a left-hand pull-down menu and/or a drop-down menu, etc., and Fig. 4d shows the first control set in the corresponding drop-down menu of the display interface shown in Fig. 4a . Optionally, the virtual control is suspended on the display interface. At this time, the first control suspended on the display interface can be an area selection control for the first user to input an area identification instruction; Displays the first control of the interface. In Fig. 4d and Fig. 4e, the letter "T" is used to represent the first control, and in other examples, other letters and/or symbols may also be used to represent the first control. Optionally, after the first control receives the first trigger instruction, a selection box may pop up for the first user to select the first area, so that the smart terminal and/or the application program can acquire the display content in the first area.
S13,采用目标语言翻译显示内容,确定或生成目标内容。S13, using the target language to translate the displayed content, and determine or generate the target content.
S13步骤可以依据显示内容的表征形式和/或涉及的语种等特征选取翻译工具进行翻译。可选地,若显示内容通过文字表征,则可以将显示内容输入能够识别显示内容所涉及的各语种文字的翻译程序,采用该翻译程序将显示内容翻译为目标内容,以保证翻译效率。若显示内容通过图片表征,则可以采用大量图片预先训练能够识别图片内各类文字,且将各类文字翻译为目标语言的图片翻译模型,采用该翻译模型翻译显示内容,以在提升翻译效率的基础上,保证翻译结果的准确性。In step S13, a translation tool may be selected for translation according to features such as the representation form of the displayed content and/or the language involved. Optionally, if the display content is represented by text, the display content can be input into a translation program capable of recognizing the languages involved in the display content, and the translation program is used to translate the display content into target content to ensure translation efficiency. If the display content is represented by pictures, a large number of pictures can be used to pre-train a picture translation model that can recognize all kinds of text in the picture and translate all kinds of text into the target language. This translation model can be used to translate the display content to improve translation efficiency. On this basis, the accuracy of translation results is guaranteed.
发明人在研究过程中发现,传统方案针对采用图片等形式表征的显示内容进行翻译时,往往在文本检测和文本识别等过程分别训练模型,依次采用各个模型对显示内容进行处理,以获得采用目标语言表征的目标内容,这一过程资源消耗大,翻译效率低,较大程序影响智能终端提供的用户体验。During the research process, the inventor found that when the traditional solution translates the display content represented by pictures and other forms, the models are often trained separately in the process of text detection and text recognition, and each model is used to process the display content in order to obtain the target The target content of language representation, this process consumes a lot of resources, the translation efficiency is low, and the large program affects the user experience provided by the smart terminal.
针对上述问题,在一种实施方式中,S13步骤包括:将显示内容输入预设的内容翻译模型,获取内容翻译模型输出的目标内容;内容翻译模型用于采用目标语言翻译指定内容,指定内容通过至少一种语言表征。本实施方式将显示内容输入内容翻译模型,便可以获得所需的目标内容,具有较高的翻译效率,能够降低翻译过程占用的智能终端资源,从而可以提升智能终端的运行速率等性能。内容翻译模型还用于识别显示内容中的各种文字,分别将所识别的各种文字翻译为目标语言,以保证所得目标内容的准确性和全面性。In view of the above problems, in one embodiment, step S13 includes: inputting the display content into a preset content translation model, and obtaining the target content output by the content translation model; the content translation model is used to translate the specified content in the target language, and the specified content is passed At least one language representation. In this embodiment, the display content is input into the content translation model to obtain the required target content, which has high translation efficiency and can reduce the smart terminal resources occupied by the translation process, thereby improving the performance of the smart terminal such as the operating speed. The content translation model is also used to identify various characters in the displayed content, and translate the recognized characters into the target language respectively, so as to ensure the accuracy and comprehensiveness of the obtained target content.
在一个示例中,内容翻译模型用于翻译通过至少一种语言表征的图片;内容翻译模型的获取过程包括S131步骤和S132步骤。In one example, the content translation model is used to translate pictures represented by at least one language; the process of obtaining the content translation model includes steps S131 and S132.
S131,获取至少一个通过至少一种语言表征的样本图片,以及各个样本图片对应的翻译结果,该翻译结果采用目标语言表征。该步骤可以采集需要翻译的至少一个图片,通过网络爬虫等形式从各类网络平台搜集各个图片对应的一类图片,以得到大量样本图片。可选地,该步骤还可以对搜集的图片进行格式、文字和/或语言形式等方面的预处理,比如,将图片中部分内容替换为采用某语种表征的内容等等,以使预处理后的图片更为全面规范,可以进一步提升所得内容翻译模型的准确性。S131. Acquire at least one sample picture represented by at least one language, and a translation result corresponding to each sample picture, where the translation result is represented by a target language. In this step, at least one picture to be translated may be collected, and a class of pictures corresponding to each picture may be collected from various network platforms through a web crawler to obtain a large number of sample pictures. Optionally, this step can also preprocess the collected pictures in terms of format, text and/or language form, for example, replace part of the content in the pictures with content represented by a certain language, etc., so that after preprocessing The images of are more comprehensive and standardized, which can further improve the accuracy of the resulting content translation model.
S132,采用所述样本图片和所述翻译结果训练初始网络,得到所述内容翻译模型。初始网络可以为端到端的网络模型,如Pgnet(多任务学习的单步文本检测识别器)等等。内容翻译模型具有识别输入图片中各语种文字的功能,也可以称为ocr(光学字符识别)模型。可选地,S132步骤可以获取初始网络在训练过程中的损失函数等模型评价参数,在模型评价参数达到设定要求(如收敛和/或处于最优状态等)时,依据达到设定要求时的模型参数确定内容翻译模型, 以保证所确定的内容翻译模型的准确性。S132. Train an initial network by using the sample picture and the translation result to obtain the content translation model. The initial network can be an end-to-end network model, such as Pgnet (a single-step text detection recognizer for multi-task learning) and the like. The content translation model has the function of recognizing characters in various languages in the input image, and it can also be called an ocr (optical character recognition) model. Optionally, step S132 can obtain model evaluation parameters such as the loss function of the initial network during the training process, and when the model evaluation parameters meet the set requirements (such as convergence and/or in an optimal state, etc.), according to when the set requirements are reached The model parameters determine the content translation model, so as to ensure the accuracy of the determined content translation model.
本示例提供的内容翻译模型可以直接翻译通过至少一种语言表征的图片,具有较高的翻译效率和准确性,能够提高所得目标内容的准确性,对优化智能终端的各类性能具有重要作用。The content translation model provided in this example can directly translate pictures represented by at least one language, has high translation efficiency and accuracy, can improve the accuracy of the obtained target content, and plays an important role in optimizing various performances of smart terminals.
可选地,S13步骤还可以包括采用目标语言翻译显示内容,识别翻译结果中的各个单元内容,合并相同的单元内容,以确定目标内容,使所确定的目标内容更为精简。可选地,单元内容可以包括短句、长句和/或其他能够表征独立事件的内容。Optionally, step S13 may also include translating the displayed content in the target language, identifying each unit content in the translation result, and merging the same unit content to determine the target content and make the determined target content more concise. Optionally, unit content may include short sentences, long sentences and/or other content capable of representing independent events.
S14,在第二区域输出目标内容,以使目标内容在第二区域显示和/或播放。S14. Output the target content in the second area, so that the target content is displayed and/or played in the second area.
第二区域可以与第一区域位置相同,即将目标内容覆盖在原来的显示内容上,例如参考图5a至图5d所示,第二区域与第一区域的位置相同,图5b是针对图5a所示显示界面的整个显示区域进行翻译后,各部分内容分别在原位置进行显示,图5d是针对图5c所示显示界面的部分区域(图示第一区域)进行翻译后,第一区域的各部分内容分别在原位置进行显示。第二区域也可以为不同于第一区域的其他区域,如悬浮在第一区域附近的区域,聊天界面中待发送信息对应的显示区域等等;参考图5e示所示的聊天界面,第一区域包括采用第一语言表征的显示内容1,采用第二语言表征的显示内容2和采用第三语言表征的显示内容3,对应第二区域可以悬浮于第一区域附近,包括显示内容1对应的目标内容1,显示内容2对应的目标内容2和显示内容3对应的目标内容3,这里各个目标内容采用目标语言表征。The second area can be in the same position as the first area, that is, the target content is overlaid on the original display content. For example, referring to FIG. 5a to FIG. 5d, the second area is in the same position as the first area, and FIG. After translating the entire display area of the display interface, each part of the content is displayed in its original position. Fig. 5d is for the partial area of the display interface shown in Fig. 5c (the first area in the diagram) after translation, each part of the first area The content is displayed in the original position respectively. The second area can also be other areas different from the first area, such as the area suspended near the first area, the display area corresponding to the information to be sent in the chat interface, etc.; referring to the chat interface shown in Figure 5e, the first The area includes the display content 1 represented by the first language, the display content 2 represented by the second language and the display content 3 represented by the third language. The corresponding second area can be suspended near the first area, including the corresponding display content 1 The target content 1, the target content 2 corresponding to the display content 2, and the target content 3 corresponding to the display content 3, where each target content is represented by the target language.
在一种实施方式中,S14步骤包括:In one embodiment, step S14 includes:
获取显示内容在所在第一区域的显示特征;Obtain the display characteristics of the display content in the first area;
根据显示特征在第二区域输出目标内容。The target content is output in the second area according to the display characteristics.
上述显示特征可以包括背景特征和/或文字特征等特征;背景特征可以包括背景颜色和/或背景图形等特征,文字特征可以包括字体和/或字号等特征。可选地,本实施方式根据背景特征呈现第二区域。可选地,本实施方式根据文字特征在第二区域显示目标内容,以使第二区域显示的目标内容与第二区域中的显示内容的匹配度更高,能够提高目标内容在第二区域的显示效果。The above display features may include background features and/or text features; background features may include background color and/or background graphics, and text features may include fonts and/or font sizes. Optionally, in this implementation manner, the second region is presented according to background features. Optionally, in this embodiment, the target content is displayed in the second area according to the text features, so that the target content displayed in the second area has a higher matching degree with the display content in the second area, and the accuracy of the target content in the second area can be improved. display effect.
在一种实施方式中,S14步骤包括:In one embodiment, step S14 includes:
输出第二提示信息,第二提示信息包括应用控件和/或更换语言控件,第二提示信息可以通过对话框等形式输出,若第一用户点击应用控件,可以输入应用控件对应的第一操作,若第一用户点击更换语言控件,可以输入更换语言控件对应的第二操作;output the second prompt information, the second prompt information includes the application control and/or change the language control, the second prompt information can be output through a dialog box, etc., if the first user clicks the application control, the first operation corresponding to the application control can be input, If the first user clicks to change the language control, the second operation corresponding to the change of language control can be input;
响应应用控件对应的第一操作,在第二区域输出目标内容,以使目标内容在第二区域显示,保证目标内容的显示效率;和/或,响应更换语言控件对应的第二操作,在更新目标语言之后返回执行S12步骤,以采用更新后的目标语言翻译显示内容,获得新的目标内容进行显示,保证显示采用的语言与用户当前需求的吻合程度。In response to the first operation corresponding to the application control, output the target content in the second area, so that the target content is displayed in the second area to ensure the display efficiency of the target content; and/or, in response to the second operation corresponding to the language control, update the After the target language, return to step S12 to translate the displayed content in the updated target language, obtain new target content for display, and ensure that the language used in the display matches the current needs of the user.
智能终端和/或应用程序可以在启动时、生成开启智慧翻译功能的第一提示信息时和/或其他需要开启智慧翻译功能时时机开启智慧翻译功能。在一种实施方式中,智慧翻译功能的开启过程包括S111步骤和S112步骤。The smart terminal and/or the application program can turn on the smart translation function at startup, when generating the first prompt message for turning on the smart translation function, and/or at other times when the smart translation function needs to be turned on. In one embodiment, the process of enabling the intelligent translation function includes steps S111 and S112.
S111,响应智慧翻译功能的第一开启指令,输出配置信息。S111 , output configuration information in response to the first enabling instruction of the smart translation function.
配置信息的内容可以依据使用智慧翻译功能的对象和/或该对象的功能等特征确定。若对应的数据处理方法应用于智能终端,配置信息可以包括使用智慧 翻译功能的程序类型、第二显示指令的输入方式和/或依据相关第一提示信息启用智慧翻译功能的步骤设置等内容。若对应的数据处理方法应用于应用程序,配置信息可以包括智慧翻译功能的启用时机、第二显示指令的输入方式和/或依据相关第一提示信息启用智慧翻译功能的步骤设置等内容。可选地,若智慧翻译功能能够分别采用至少一种语言翻译显示内容,配置信息还可以对当前需求的语言类型进行配置,以使用户在所提供的多类语言中选择目标语言;可选地,配置信息中提供的各类语言均具有对应的内容翻译模型,以将显示内容输入目标语言对应的内容翻译模型进行文本识别和/或翻译,保证所得目标内容的准确性。The content of the configuration information may be determined according to features such as the object using the smart translation function and/or the function of the object. If the corresponding data processing method is applied to a smart terminal, the configuration information may include the type of program that uses the smart translation function, the input method of the second display command, and/or the step settings for enabling the smart translation function according to the relevant first prompt information. If the corresponding data processing method is applied to the application program, the configuration information may include the timing of enabling the smart translation function, the input method of the second display command, and/or the step setting for enabling the smart translation function according to the relevant first prompt information. Optionally, if the smart translation function can use at least one language to translate the display content, the configuration information can also configure the language type currently required, so that the user can select the target language from the provided multiple languages; optionally , each language provided in the configuration information has a corresponding content translation model, so that the displayed content is input into the content translation model corresponding to the target language for text recognition and/or translation, so as to ensure the accuracy of the obtained target content.
智能终端和/或应用程序的智慧翻译功能也可以称为语言大师或者能够表征文本识别和/或翻译功能的其他名称。若数据处理方法应用于智能终端,智慧翻译功能通过语言大师表征,配置信息对应的配置界面可以参考图6a所示,配置界面可以包括语言大师的开关控件,阅读程序(如新闻程序和/或浏览程序等)对应的开关控件及所需翻译语言设置,社交程序(如QQ和/或微信等)对应的开关控件及所需翻译语言设置。可选地,配置信息还可以包括其他设置,如图6a所示,对应的配置界面还可以包括如何使用和/或体验反馈等其他设置信息。可选地,配置信息还可以包括各类程序(如阅读程序和/或社交程序)分别对应的功能触发方式(如第二显示指令);如图6b所示,阅读程序的功能触发方式包括双指下滑选中区域进行翻译,社交程序的功能触发方式包括点中翻译控件进行翻译。可选地,进入图6a和/或图6b所示配置界面之后,第一用户可以启用示出的至少一类程序;若配置界面未示出关联的全部应用程序,在第一用户触发语言大师对应的开关控件之后,智能终端可以进入包括更多应用程序的界面,以供第一用户选择所需启用的程序;上述包括更多应用程序的界面可以参考图6c所示,图6c示出的界面包括阅读程序、社交程序、A类程序、B类程序、C类程序、D类程序以及各类程序对应的选择框;第一用户可以通过选择对应的选择框以在该包括更多应用程序的界面选择至少一类程序;图6d示出的界面中,第一用户选中了阅读程序、A类程序和C类程序,这样在这三类程序工作时,第一用户输入第二显示指令之后便能直接获得第一显示指令,快捷获取显示内容,进行相应的翻译和显示。可选地,参考图6c和图6d所示,包括更多应用程序的界面还可以示出直接使用和/或如何使用等按钮,以供第一用户依据需求操作,比如若点击直接使用,则可以依据当前的配置内容开启语言大师,若点击如何使用,则可以进入相关操作指引界面等等。The intelligent translation function of the smart terminal and/or the application program may also be called a language master or other names that can characterize the text recognition and/or translation function. If the data processing method is applied to the smart terminal, the smart translation function is represented by the language master, and the configuration interface corresponding to the configuration information can refer to Figure 6a. The configuration interface can include the switch control of the language master, the reading program (such as the news program and/or Programs, etc.) corresponding switch controls and required translation language settings, social programs (such as QQ and/or WeChat, etc.) corresponding switch controls and required translation language settings. Optionally, the configuration information may also include other settings. As shown in FIG. 6a, the corresponding configuration interface may also include other setting information such as how to use and/or experience feedback. Optionally, the configuration information may also include function triggering modes (such as the second display instruction) corresponding to various programs (such as reading programs and/or social programs); as shown in Figure 6b, the function triggering modes of the reading programs include dual Swipe down the selected area to translate, and the function trigger method of the social program includes clicking the translation control to translate. Optionally, after entering the configuration interface shown in Figure 6a and/or Figure 6b, the first user can enable at least one type of program shown; if the configuration interface does not show all associated applications, the first user triggers the language master After the corresponding switch control, the smart terminal can enter an interface including more application programs for the first user to select the program to be enabled; the above-mentioned interface including more application programs can be referred to as shown in FIG. The interface includes selection boxes corresponding to reading program, social program, type A program, type B program, type C program, type D program and various programs; the first user can select the corresponding selection box to include more application programs in the interface to select at least one type of program; in the interface shown in Figure 6d, the first user has selected the reading program, type A program, and type C program, so that when these three types of programs are working, after the first user inputs the second display instruction Then the first display command can be obtained directly, the display content can be quickly obtained, and corresponding translation and display can be performed. Optionally, as shown in FIG. 6c and FIG. 6d, the interface including more application programs may also show buttons such as direct use and/or how to use, for the first user to operate according to needs, for example, if you click direct use, then You can start the language master according to the current configuration content. If you click on how to use, you can enter the relevant operation guidance interface and so on.
S112,响应配置信息对应的配置操作,开启智慧翻译功能。S112, responding to the configuration operation corresponding to the configuration information, enabling the smart translation function.
第一用户依据配置信息进行配置操作后,可以点击直接使用和/或相关确认按钮等控件开启智慧翻译功能,以使智能终端和/或对应的应用程序开启该智慧翻译功能,准确高效地翻译并显示第一用户选中的显示内容。After the first user performs the configuration operation according to the configuration information, he can click the controls such as direct use and/or the relevant confirmation button to enable the smart translation function, so that the smart terminal and/or the corresponding application program can enable the smart translation function, and translate and translate accurately and efficiently. The display content selected by the first user is displayed.
在一个示例中,第一开启指令包括:第二控件接收的开启操作。In an example, the first opening instruction includes: an opening operation received by the second control.
可选地,第二控件包括如下各项中的至少一项:Optionally, the second control includes at least one of the following items:
设于设置项内的功能控件(如展开控件);如图7a所示智能终端设置程序内设置的智慧翻译功能选项,若该智慧翻译功能选项的展开控件收到触发操作,便可以进入对应的配置界面;又如图7b所示某应用程序内设置子程序内设置的智慧翻译功能选项,若该智慧翻译功能选项的展开控件收到触发操作,便可以进入对应的配置界面。The function control (such as the expansion control) set in the setting item; the smart translation function option set in the smart terminal setting program as shown in Figure 7a, if the expansion control of the smart translation function option receives a trigger operation, it can enter the corresponding Configuration interface; as shown in Figure 7b, the smart translation function option set in the subroutine of an application program, if the expansion control of the smart translation function option receives a trigger operation, the corresponding configuration interface can be entered.
设于屏幕拉动菜单的触发控件,如智能终端屏幕的上拉菜单、下拉菜单、 左拉菜单和/或右拉菜单等等,图7c所示的触发控件设于下拉菜单中。The trigger control set on the pull-down menu on the screen, such as the pull-up menu, pull-down menu, left pull-down menu and/or right pull-down menu of the smart terminal screen, etc., the trigger control shown in FIG. 7c is set in the drop-down menu.
悬浮在显示界面的触发控件,如图7d所示,该触发控件可以在显示界面移动;可选地,悬浮在显示界面的触发控件可以通过颜色和/或亮度等特征表征智慧翻译功能的开启状态,比如第一颜色和/或第一亮度表征智慧翻译功能开启,第二颜色和/或第二亮度表征智慧翻译功能关闭。The trigger control suspended on the display interface, as shown in Figure 7d, the trigger control can be moved on the display interface; optionally, the trigger control suspended on the display interface can represent the enabled state of the smart translation function through features such as color and/or brightness , for example, the first color and/or first brightness indicates that the smart translation function is turned on, and the second color and/or second brightness indicates that the smart translation function is turned off.
设于显示桌面的快捷控件,如图7e所示,该快捷控件可以和其他桌面图标一起排列在智能终端的显示桌面,通过点击该快捷控件,便可以输入智慧翻译功能的开启操作。图7c至7e中,智慧翻译功能对应的各触发控件和/或快捷控件均采用字母“S”表示,在其他示例中,也可以采用其他字母和/或符号表示,在此不作限定。The shortcut control set on the display desktop, as shown in Figure 7e, the shortcut control can be arranged on the display desktop of the smart terminal together with other desktop icons, and by clicking the shortcut control, the operation of opening the smart translation function can be input. In Figures 7c to 7e, the trigger controls and/or shortcut controls corresponding to the smart translation function are represented by the letter "S". In other examples, other letters and/or symbols may also be used, which are not limited here.
可选地,第二控件还可以包括语音唤醒控件和/或用于开启智慧翻译功能的实体控件等其他形式的控件,以提高输入对应开启操作的便利性。Optionally, the second control may also include other forms of controls such as a voice wake-up control and/or a physical control for enabling the smart translation function, so as to improve the convenience of inputting a corresponding activation operation.
可选地,智能终端和/或应用程序的各类第二控件接收对应的开启操作之后,显示对应的配置界面,以输出配置信息,使第一用户依据需求进行配置,以使所开启的智慧翻译功能与用户需求相匹配,提升用户体验。Optionally, after the smart terminal and/or various second controls of the application program receive the corresponding opening operation, the corresponding configuration interface is displayed to output configuration information, so that the first user can configure according to the needs, so that the opened smart The translation function matches user needs to improve user experience.
在一种实施方式中,S14步骤之后还包括S151步骤和S152步骤。In one embodiment, step S151 and step S152 are further included after step S14.
S151,获取目标内容中的实体和实体的关联信息。实体可以包括人名、机构、时间、地点、通信账号(如手机号等)和/或网络链接等具有指定含义的信息。关联信息指智能终端与相应实体关联的内容、处理方式和/或功能等信息,和/或,各网络平台上与相应实体关联的信息等等,如人名对应的简介、通信账号、拨号路径和/或短信路径,时间对应的记录路径等等,用于提供对应实体的进一步介绍和/或相关功能路径。S151步骤可以采用实体抽取和/或意图识别等算上算法,对目标内容的每个句子进行解析,以获得至少部分实体,在智能终端和/或各网络平台获取各个实体的关联信息。S151. Acquire entities in the target content and associated information of the entities. Entities may include information with specified meanings such as name, organization, time, location, communication account (such as mobile phone number, etc.) and/or network link. Associated information refers to information such as the content, processing method and/or function associated with the corresponding entity of the smart terminal, and/or information associated with the corresponding entity on each network platform, such as the profile corresponding to the person's name, communication account number, dialing path and /or short message paths, time-corresponding record paths, etc., are used to provide further introductions of corresponding entities and/or related function paths. In step S151, algorithms such as entity extraction and/or intention recognition may be used to analyze each sentence of the target content to obtain at least some entities, and the associated information of each entity may be acquired on the smart terminal and/or each network platform.
S152,响应实体对应的第二触发指令,输出关联信息。S152. Output associated information in response to the second trigger instruction corresponding to the entity.
S151步骤获取实体之后可以在所显示的目标内容中通过下划线、指定亮度和/或指定颜色等形式标注各个实体,以使第一用户可以通过点击实体等方式向所标注的实体输入第二触发指令,以使智能终端和/或应用程序输出对应实体的关联信息。可选地,关联信息可以以对话框和/或语音播放等方式输出。提供关联信息的对话框的显示位置可以依据对应实体的显示位置确定,比如在对应实体的上、下、左或者右侧等位置。Step S151 After the entity is acquired, each entity can be marked in the displayed target content by underlining, specifying brightness and/or specifying color, etc., so that the first user can input a second trigger instruction to the marked entity by clicking on the entity, etc. , so that the smart terminal and/or the application program outputs the associated information of the corresponding entity. Optionally, the associated information can be output in the form of dialog boxes and/or voice playback. The display position of the dialog box providing associated information may be determined according to the display position of the corresponding entity, for example, on the top, bottom, left or right side of the corresponding entity.
可选地,对图8a所示通信界面的目标内容“刚刚我方通过邮件解答您的各个问题,若还有其他疑问,请联系张三,也可以拨打电话123456789”获得“张三”和“123456789”两个实体,图8a采用下划线对这两个实体进行标注。若智能终端存有张三的电话号码和邮箱地址,在第一用户点击张三时,通信界面可以显示图8b所示关联信息,在第一用户点击拨打按钮时,可以进入对应的电话拨打界面,在第一用户点击短信按钮时,可以进入对应的短信发送界面,第一用户点击发送邮件按钮时,可以进入对应的邮件发送界面。若能够在百度等网络平台搜到张三对应的个人介绍,在第一用户点击张三时,通信界面可以显示图8c所示关联信息,该关联信息可以示出百度百科等来源提供的个人介绍。在第一用户点击123456789时,通信界面可以显示图8d所示关联信息,该关联信息提供了这串数字的各个处理路径,第一用户可以点击各个处理路径,进入对应的处理界面,比如点击拨打,可以进入123456789对应的拨号界面等等。Optionally, for the target content of the communication interface shown in Figure 8a, "We have just answered your various questions by email. If you have any other questions, please contact Zhang San, or you can call 123456789" to obtain "Zhang San" and " 123456789", the two entities are underlined in Figure 8a. If the smart terminal stores Zhang San’s phone number and email address, when the first user clicks Zhang San, the communication interface can display the associated information shown in Figure 8b, and when the first user clicks the dial button, the corresponding phone dialing interface can be entered , when the first user clicks the SMS button, the corresponding SMS sending interface can be entered, and when the first user clicks the sending email button, the corresponding email sending interface can be entered. If the personal introduction corresponding to Zhang San can be found on Baidu and other network platforms, when the first user clicks on Zhang San, the communication interface can display the related information shown in Figure 8c, which can show the personal introduction provided by sources such as Baidu Encyclopedia . When the first user clicks 123456789, the communication interface can display the associated information shown in Figure 8d, which provides each processing path of this string of numbers, and the first user can click each processing path to enter the corresponding processing interface, such as clicking to dial , you can enter the dial interface corresponding to 123456789 and so on.
本实施方式可以获取目标内容的实体和对应关联信息,以在第一用户需要获取实体的关联信息时,可以直接点击获取,提高了第一用户获知关联信息的便利性,能够进一步提升对应的用户体验。This embodiment can obtain the entity of the target content and the corresponding associated information, so that when the first user needs to obtain the associated information of the entity, he can directly click to obtain it, which improves the convenience for the first user to obtain the associated information, and can further improve the corresponding user information. experience.
在一种实施方式中,若第二区域覆盖至少一个第三控件,S14步骤之后还包括:在第三控件接收第三触发指令时,响应第三触发指令。第三控件可以为一直悬浮在显示界面和/或显示桌面的其他控件,如用于设置智能终端指定功能的悬浮控件等等,若第二区域需要覆盖到第三控件,便可以在该第三控件上显示对应的内容,以保证所显示内容的完整性。若第一用户需要向第三控件输入第三触发指令,此时第一用户可以点击操作第三控件的位置,此时第三控件可以获取对应的第三触发指令,进行有效响应,以在目标内容的显示过程中不影响智能终端的其他功能运行。In an implementation manner, if the second area covers at least one third control, after step S14, the method further includes: when the third control receives the third trigger instruction, responding to the third trigger instruction. The third control can be other controls that are always suspended on the display interface and/or display desktop, such as the floating control used to set the specified function of the smart terminal, etc. If the second area needs to cover the third control, it can be in the third control The corresponding content is displayed on the control to ensure the integrity of the displayed content. If the first user needs to input a third trigger instruction to the third control, the first user can click and operate the position of the third control at this time, and the third control can obtain the corresponding third trigger instruction to make an effective response, so as to The display of content does not affect the operation of other functions of the smart terminal.
以上数据处理方法,可以响应目标语言的第一显示指令,获取第一区域的显示内容,采用目标语言翻译显示内容,以在第二区域输出目标内容,显示和/或播放该目标内容,具有较高的准确性和处理效率。直接将显示内容输入内容翻译模型获得所需的目标内容,可以简化目标内容的获取过程,为提高显示效率做贡献。在开启对应智慧翻译功能时,可以依据具体的用户需求进行配置,能够提升该智慧翻译功能与用户需求的匹配度,从而提升对应的用户体验。此外,在目标内容之后,还可以获取目标内容中的实体和对应的关联信息,使用户可以更为便利的获取关联信息和/或关联信息提供的处理路径,能够进一步简化实体关联的信息获取过程和/或功能实现过程,进一步优化数据处理方法带来的用户体验。The above data processing method can respond to the first display command in the target language, obtain the display content in the first area, translate the display content in the target language, output the target content in the second area, and display and/or play the target content, which has a relatively high performance. High accuracy and processing efficiency. Directly inputting the displayed content into the content translation model to obtain the required target content can simplify the process of obtaining the target content and contribute to improving the display efficiency. When the corresponding smart translation function is turned on, it can be configured according to specific user needs, which can improve the matching degree between the smart translation function and user needs, thereby improving the corresponding user experience. In addition, after the target content, entities in the target content and corresponding related information can also be obtained, so that users can more conveniently obtain related information and/or processing paths provided by related information, and can further simplify the information acquisition process related to entities and/or function realization process to further optimize the user experience brought by the data processing method.
在以上实施例的基础上,本申请的第二实施例提供一种数据处理系统,包括:On the basis of the above embodiments, the second embodiment of the present application provides a data processing system, including:
第一获取模块,用于响应目标语言的第一显示指令,获取第一区域的显示内容;The first acquisition module is used to acquire the display content of the first area in response to the first display instruction in the target language;
第一翻译模块,用于采用目标语言翻译显示内容,确定或生成目标内容;a first translation module, configured to translate display content in a target language, and determine or generate target content;
显示模块,用于在第二区域输出目标内容。The display module is used to output the target content in the second area.
关于数据处理系统的具体限定可以参见上文中对于数据处理方法的限定,在此不再赘述。数据处理系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the data processing system, refer to the above-mentioned limitations on the data processing method, which will not be repeated here. Each module in the data processing system can be fully or partially realized by software, hardware and a combination thereof. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of the above modules.
所述数据处理系统中各个模块的划分仅用于举例说明,在其他实施例中,可将数据处理系统按照需要划分为不同的模块,以完成数据处理系统的全部或部分功能。The division of each module in the data processing system is only for illustration. In other embodiments, the data processing system may be divided into different modules as required to complete all or part of the functions of the data processing system.
在第三实施例的基础上,本申请提供一种数据处理方法,该数据处理方法可以包括目标内容的发送方法,能够应用于智能终端和/或智能终端上运行的社交程序等应用程序;社交程序可以包括微信等即时通信程序,也可以包括Foxmail等邮箱通信程序,还可以包括其他类型的通信程序。参考图9所示,该数据处理方法包括S22步骤、S23步骤和S24步骤。On the basis of the third embodiment, the present application provides a data processing method, which may include a method for sending target content, and can be applied to smart terminals and/or applications such as social programs running on smart terminals; The programs may include instant messaging programs such as WeChat, email communication programs such as Foxmail, or other types of communication programs. Referring to Fig. 9, the data processing method includes steps S22, S23 and S24.
S22,响应目标语言的翻译指令,获取输入内容。S22. Obtain input content in response to a translation instruction in the target language.
可选地,所述输入内容来自输入窗口。Optionally, the input content comes from an input window.
可选地,目标语言为当前使用智能终端的至少一个第一用户采用的语言,和/或,与智能终端当前运行的社交程序通信的至少一个第二用户采用的语言。输入窗口可以包括相应社交程序的信息采集区,可以采集第一用户输入的文字、语音和/或图片等输入内容。通信窗口可以包括显示通信内容的区域,通常可以显示第一用户发送后的内容,以及第二用户发往第一用户的内容。参考图10a所示,第一用户可以向输入窗口输入文字、语音和/或图片等需要告知第二用户的内容,将这些输入内容发送至通信窗口,以同步至第二用户对应的通信窗口。Optionally, the target language is the language adopted by at least one first user currently using the smart terminal, and/or the language adopted by at least one second user communicating with the social program currently running on the smart terminal. The input window may include an information collection area of a corresponding social program, and may collect input content such as text, voice and/or pictures input by the first user. The communication window may include an area for displaying communication content, and generally may display content sent by the first user and content sent by the second user to the first user. Referring to FIG. 10a, the first user can input text, voice and/or pictures into the input window to inform the second user, and send these input contents to the communication window to synchronize to the communication window corresponding to the second user.
可选地,智能终端和/或应用程序监听到目标语言对应的翻译操作后,可以直接确定或生成翻译指令,保证翻译指令的确定或生成效率;也可以进一步识别智能终端和/或应用程序当前是否开启智慧翻译功能,依据当前智慧翻译功能的启用状态生成翻译指令,使翻译指令与用户设置相匹配。Optionally, after the smart terminal and/or the application monitors the translation operation corresponding to the target language, it can directly determine or generate the translation instruction to ensure the efficiency of determining or generating the translation instruction; it is also possible to further identify the current Whether to enable the smart translation function, generate translation instructions according to the current enabled status of the smart translation function, so that the translation instructions match the user settings.
在一种实施方式中,翻译指令的获取过程包括:响应目标语言对应的翻译操作;若开启智慧翻译功能,确定或生成目标语言的翻译指令,以及时响应用户当前的智慧翻译需求。In one embodiment, the process of obtaining translation instructions includes: responding to translation operations corresponding to the target language; if the smart translation function is enabled, determining or generating translation instructions in the target language to respond to the user's current smart translation needs in a timely manner.
可选地,若未开启智慧翻译功能,则输出开启智慧翻译功能的第一提示信息,在响应第一提示信息对应的第二开启指令后,生成或确定目标语言的翻译指令。该第一提示信息可以通过弹窗显示和/或语音播放等方式输出,第一用户收到该第一提示信息,若不需要开启智慧翻译功能,则可以输入不开启智慧翻译功能的确认信息,以关闭该第一提示信息,和/或,若需要开启智慧翻译功能,则可以输入开启智慧翻译功能的确认信息,使智能终端和/或应用程序跳转至开启智慧翻译功能的界面或者直接开启智慧翻译功能,保证第一用户能够顺利开启该智慧翻译功能。可选地,第一用户可以依据第一提示信息,向相关控件输入开启智慧翻译功能的第二开启指令,智能终端和/或应用程序在响应第一提示信息对应的第二开启指令后,可以生成目标语言的翻译指令。Optionally, if the smart translation function is not enabled, output the first prompt message to enable the smart translation function, and generate or determine the translation command in the target language after responding to the second enable command corresponding to the first prompt message. The first prompt information can be output through pop-up window display and/or voice playback. The first user receives the first prompt information. If the smart translation function does not need to be turned on, the confirmation information for not turning on the smart translation function can be input. to close the first prompt message, and/or, if you need to enable the smart translation function, you can enter the confirmation information for enabling the smart translation function, so that the smart terminal and/or application program jumps to the interface for enabling the smart translation function or directly opens the The smart translation function ensures that the first user can successfully open the smart translation function. Optionally, the first user may input a second activation instruction for enabling the smart translation function into the relevant control according to the first prompt information, and after the smart terminal and/or application program responds to the second activation instruction corresponding to the first prompt information, it may Generate translation instructions for the target language.
可选地,翻译操作包括第一控件接收的操作。第一控件包括虚拟控件和/或实体控件。可选地,虚拟控件设于通信窗口的预设位置,比如参考图10a所示,设置在发送按钮下方,这样若第一用户在需要将输入内容翻译后,发送对应的目标内容,则可以点击第一控件,输入翻译操作,以将翻译后的目标内容发送至通信窗口。可选地,虚拟控件悬浮在通信界面,如图10b所示,该悬浮的第一控件可以在通信界面移动,以被第一用户拖至合适的位置。图10a和图10b中,采用符号“MOL”表示第一控件,在其他示例中,也可以采用其他字母和/或符号表示第一控件。Optionally, the translation operation includes an operation received by the first control. The first controls include virtual controls and/or physical controls. Optionally, the virtual control is set at a preset position of the communication window, for example, as shown in FIG. The first control, enters the translation action to send the translated target content to the communication window. Optionally, the virtual control is suspended on the communication interface, as shown in FIG. 10b , the suspended first control can be moved on the communication interface to be dragged to a proper position by the first user. In Fig. 10a and Fig. 10b, the symbol "MOL" is used to represent the first control, and in other examples, other letters and/or symbols may also be used to represent the first control.
S23,采用目标语言翻译输入内容,确定或生成目标内容。S23, using the target language to translate the input content to determine or generate the target content.
S23步骤可以依据输入内容的表征形式和/或涉及的语种等特征选取翻译工具进行翻译。可选地,若输入内容通过文字和/或语音表征,则可以将输入内容输入能够识别所涉及的各语种文字和/或语音的翻译程序,采用该翻译程序将输入内容翻译为目标内容,以保证翻译效率。若输入内容包括图片表征,则可以采用大量图片预先训练能够识别图片内各类文字,将各类文字翻译为目标语言的翻译模型,采用该翻译模型翻译输入内容,以在提升翻译效率的基础上,保证翻译结果的准确性。可选地,目标内容与输入内容的表征形式匹配;若输入内容为文字,则目标内容为文字;若输入内容为语音,则目标内容为语音;若输入内容为图片,则目标内容为图片。In step S23, a translation tool may be selected for translation according to characteristics such as the representation form of the input content and/or the language involved. Optionally, if the input content is characterized by text and/or voice, the input content can be input into a translation program that can recognize the text and/or voice of each language involved, and the translation program is used to translate the input content into target content, so as to Guaranteed translation efficiency. If the input content includes picture representations, a large number of pictures can be used to pre-train a translation model that can recognize various texts in the pictures and translate various texts into the target language, and use this translation model to translate the input content, so as to improve translation efficiency. , to ensure the accuracy of the translation results. Optionally, the target content matches the representation form of the input content; if the input content is text, the target content is text; if the input content is voice, the target content is voice; if the input content is a picture, the target content is a picture.
在一种实施方式中,S23步骤包括:将输入内容输入目标语言关联的翻译工具,根据翻译工具输出的内容确定或生成目标内容。翻译工具可以包括能够将 涉及至少一种语言的文字和/或语音翻译为目标内容的翻译程序,和/或能够将涉及至少一种语言的图片翻译为目标内容的翻译模型。本实施方式采用翻译工具翻译输入内容,可以保证翻译过程的稳定性和准确性。In one embodiment, the step S23 includes: inputting the input content into a translation tool associated with the target language, and determining or generating the target content according to the output content of the translation tool. The translation tool may include a translation program capable of translating text and/or speech in at least one language into target content, and/or a translation model capable of translating pictures in at least one language into target content. In this embodiment, translation tools are used to translate input content, which can ensure the stability and accuracy of the translation process.
可选地,翻译工具可以依据输入内容的特征预先设置和/或训练。以图片对应的翻译模型为例,训练过程可以包括:S231步骤和S232步骤。Optionally, the translation tool can be pre-configured and/or trained according to the characteristics of the input content. Taking the translation model corresponding to the picture as an example, the training process may include steps S231 and S232.
S231,获取至少一个通过至少一种语言表征的样本图片,以及各个样本图片对应的翻译结果,该翻译结果采用目标语言表征。该步骤可以采集需要翻译的至少一个图片,通过网络爬虫等形式从各类网络平台搜集各个图片对应的一类图片,以得到大量样本图片。可选地,该步骤还可以对搜集的图片进行格式、文字和/或语言形式等方面的预处理,比如,将图片中部分内容替换为采用某语种表征的内容等等,以使预处理后的图片更为全面规范,可以进一步提升所得翻译模型的准确性。S231. Acquire at least one sample picture represented by at least one language, and a translation result corresponding to each sample picture, where the translation result is represented by a target language. In this step, at least one picture to be translated may be collected, and a class of pictures corresponding to each picture may be collected from various network platforms through a web crawler to obtain a large number of sample pictures. Optionally, this step can also preprocess the collected pictures in terms of format, text and/or language form, for example, replace part of the content in the pictures with content represented by a certain language, etc., so that after preprocessing The pictures of are more comprehensive and standardized, which can further improve the accuracy of the resulting translation model.
S232,以样本图片为输入,翻译结果为输出,训练初始网络,以得到所需的翻译模型。初始网络可以为端到端的网络模型,如Pgnet(多任务学习的单步文本检测识别器)等等。翻译模型具有识别输入图片中各语种文字的功能,也可以称为ocr(光学字符识别)模型。可选地,S232步骤可以获取初始网络在训练过程中的损失函数等模型评价参数,在模型评价参数达到设定要求(如收敛和/或处于最优状态等)时,依据达到设定要求时的模型参数确定翻译模型,以保证所确定的翻译模型的准确性。S232. Using the sample picture as input and the translation result as output, train the initial network to obtain the required translation model. The initial network can be an end-to-end network model, such as Pgnet (a single-step text detection recognizer for multi-task learning) and the like. The translation model has the function of recognizing characters in various languages in the input image, and it can also be called an ocr (optical character recognition) model. Optionally, the step S232 can obtain model evaluation parameters such as the loss function of the initial network during the training process. The model parameters determine the translation model to ensure the accuracy of the determined translation model.
S24,将目标内容发送至通信窗口。S24, sending the target content to the communication window.
S24步骤将目标内容发送至通信窗口,使通信窗口可以采用目标语言显示对应的文字和/或图片,和/或,采用目标语言播放对应的语音,这样第二用户或者其他使用目标语言的第一用户可以收到采用目标语言表征的目标内容,可以提高通信过程的顺畅性,从而提高通信效率和对应的用户体验。Step S24 sends the target content to the communication window, so that the communication window can display corresponding text and/or pictures in the target language, and/or, use the target language to play the corresponding voice, so that the second user or other first users using the target language Users can receive target content expressed in the target language, which can improve the smoothness of the communication process, thereby improving communication efficiency and corresponding user experience.
在一种实施方式中,S24步骤包括S241步骤和S242步骤。In one embodiment, step S24 includes step S241 and step S242.
S241,输出第二提示信息,第二提示信息包括应用控件和/或更换语言控件,如图11a所示,第二提示信息可以通过对话框等形式输出,若第一用户点击应用控件,可以输入应用控件对应的第一操作,若第一用户点击更换语言控件,可以输入更换语言控件对应的第二操作。S241, output second prompt information, the second prompt information includes application controls and/or language replacement controls, as shown in Figure 11a, the second prompt information can be output through a dialog box, etc., if the first user clicks on the application control, he can input For the first operation corresponding to the application control, if the first user clicks to change the language control, he can input the second operation corresponding to the change of the language control.
S242,响应应用控件对应的第一操作,将目标内容发送至通信窗口,以实现通信功能;和/或,响应更换语言控件对应的第二操作,在更新目标语言之后返回执行S22步骤,以采用更新后的目标语言翻译输入内容。S242, in response to the first operation corresponding to the application control, send the target content to the communication window, so as to realize the communication function; and/or, in response to the second operation corresponding to changing the language control, return to execute step S22 after updating the target language, to adopt Updated target language translation input.
可选地,参考图10c所示,若当前的目标语言为英语,第一用户向输入窗口,输入“早上好”这一输入内容,点击第一控件,使智能终端和/或应用程序采用英语翻译“早上好”,得到对应的目标内容后,输出第二提示信息,若第一用户点击应用控件,智能终端和/或应用程序将目标内容发送至通信窗口,如图10d所示,及时与第二用户进行通信。可选地,若第一用户点击更换语言控件,智能终端和/或应用程序还可以输出相关输入框,以供第一用户输入需要更新的目标语言,并在读取第一用户更新后的目标语言之后,可以直接生成翻译指令,以重新获取输入内容,采用新的目标语言翻译该输入内容,得到新的目标内容,并将新的目标内容发送至通信窗口,以在通信窗口采用新的目标语言表征输入内容。例如,针对图10c所示的第二提示信息,若第一用户点击更换语言控件,将目标语言更换为法语,则智能终端和/或应用程序可以以法语为新的目标语言,重新获得新的目标内容,再将新目标内容发送至通信窗口,此时,通信窗口输 出的目标内容可以参考图10e所示。Optionally, as shown in FIG. 10c, if the current target language is English, the first user enters the input content "good morning" into the input window, and clicks the first control to make the smart terminal and/or the application program use English Translate "good morning", and after obtaining the corresponding target content, output the second prompt message. If the first user clicks on the application control, the smart terminal and/or the application program will send the target content to the communication window, as shown in Figure 10d, and communicate with The second user communicates. Optionally, if the first user clicks the change language control, the smart terminal and/or the application program can also output a relevant input box for the first user to input the target language to be updated, and read the updated target language of the first user. After the language, translation instructions can be directly generated to retrieve the input content, translate the input content in the new target language, get the new target content, and send the new target content to the communication window to adopt the new target in the communication window Linguistic representation of input content. For example, for the second prompt message shown in Figure 10c, if the first user clicks the change language control to change the target language to French, the smart terminal and/or the application program can use French as the new target language to regain a new The target content, and then send the new target content to the communication window. At this time, the target content output by the communication window can refer to Figure 10e.
智能终端和/或应用程序可以在启动时、生成开启智慧翻译功能的第一提示信息时和/或其他需要开启智慧翻译功能时时机开启智慧翻译功能。在一种实施方式中,智慧翻译功能的开启过程包括:响应智慧翻译功能的第一开启指令,输出配置信息;响应配置信息对应的配置操作,开启智慧翻译功能。配置信息的内容可以依据使用智慧翻译功能的对象和/或该对象的功能等特征确定。若对应的数据处理方法应用于智能终端,配置信息可以包括使用智慧翻译功能的指定程序和/或依据相关第一提示信息启用智慧翻译功能的步骤设置等内容。若对应的数据处理方法应用于应用程序,配置信息可以包括智慧翻译功能的启用时机、翻译指令的输入方式和/或依据相关第一提示信息启用智慧翻译功能的步骤设置等内容。可选地,若智慧翻译功能能够分别采用至少一种语言翻译输入内容,配置信息还可以对当前需求的语言类型进行配置,以使用户在所提供的多类语言中选择目标语言;可选地,配置信息中提供的各类语言均具有对应的翻译工具,以将输入内容输入目标语言对应的翻译工具进行翻译,保证所得目标内容的准确性。可选地,第一用户依据配置信息进行配置操作后,可以点击退出控件和/或相关确认按钮等控件开启智慧翻译功能,以使智能终端和/或对应的应用程序开启该智慧翻译功能。The smart terminal and/or the application program can turn on the smart translation function at startup, when generating the first prompt message for turning on the smart translation function, and/or at other times when the smart translation function needs to be turned on. In one embodiment, the process of enabling the smart translation function includes: responding to a first activation instruction of the smart translation function, outputting configuration information; responding to a configuration operation corresponding to the configuration information, enabling the smart translation function. The content of the configuration information may be determined according to features such as the object using the smart translation function and/or the function of the object. If the corresponding data processing method is applied to a smart terminal, the configuration information may include a specified program for using the smart translation function and/or a step setting for enabling the smart translation function according to the relevant first prompt information. If the corresponding data processing method is applied to the application program, the configuration information may include the timing of enabling the smart translation function, the input method of the translation instruction, and/or the step setting for enabling the smart translation function according to the relevant first prompt information. Optionally, if the intelligent translation function can use at least one language to translate the input content, the configuration information can also configure the current required language type, so that the user can select the target language from the provided multiple languages; optionally , each language provided in the configuration information has a corresponding translation tool, so that the input content can be input into the translation tool corresponding to the target language for translation to ensure the accuracy of the obtained target content. Optionally, after the first user performs the configuration operation according to the configuration information, he can click the exit control and/or the relevant confirmation button to enable the smart translation function, so that the smart terminal and/or the corresponding application program can enable the smart translation function.
在一个示例中,第一开启指令包括:第二控件接收的开启操作。可选地,第二控件包括如下各项中的至少一项:In an example, the first opening instruction includes: an opening operation received by the second control. Optionally, the second control includes at least one of the following items:
设于设置项内的功能控件(如展开控件);如图7a所示智能终端设置程序内设置的智慧翻译功能选项,若该智慧翻译功能选项的展开控件收到触发操作,便可以进入对应的配置界面;又如图7b所示某应用程序内设置子程序内设置的智慧翻译功能选项,若该智慧翻译功能选项的展开控件收到触发操作,便可以进入对应的配置界面。The function control (such as the expansion control) set in the setting item; the smart translation function option set in the smart terminal setting program as shown in Figure 7a, if the expansion control of the smart translation function option receives a trigger operation, it can enter the corresponding Configuration interface; as shown in Figure 7b, the smart translation function option set in the subroutine of an application program, if the expansion control of the smart translation function option receives a trigger operation, the corresponding configuration interface can be entered.
设于屏幕拉动菜单的触发控件,如智能终端屏幕的上拉菜单、下拉菜单、左拉菜单和/或右拉菜单等等,图7c所示的触发控件设于下拉菜单中。The trigger control set on the pull-down menu on the screen, such as the pull-up menu, pull-down menu, left-pull menu and/or right-pull menu, etc. of the smart terminal screen, the trigger control shown in FIG. 7c is set in the pull-down menu.
悬浮在显示界面的触发控件,如图7d所示,该触发控件可以在显示界面移动;可选地,悬浮在显示界面的触发控件可以通过颜色和/或亮度等特征表征智慧翻译功能的开启状态,比如第一颜色和/或第一亮度表征智慧翻译功能开启,第二颜色和/或第二亮度表征智慧翻译功能关闭。The trigger control suspended on the display interface, as shown in Figure 7d, the trigger control can be moved on the display interface; optionally, the trigger control suspended on the display interface can represent the enabled state of the smart translation function through features such as color and/or brightness , for example, the first color and/or first brightness indicates that the smart translation function is turned on, and the second color and/or second brightness indicates that the smart translation function is turned off.
设于显示桌面的快捷控件,如图7e所示,该快捷控件可以和其他桌面图标一起排列在智能终端的显示桌面,通过点击该快捷控件,便可以输入智慧翻译功能的开启操作。图7c至7e中,智慧翻译功能对应的各触发控件和/或快捷控件均采用字母“S”表示,在其他示例中,也可以采用其他字母和/或符号表示,在此不作限定。The shortcut control set on the display desktop, as shown in Figure 7e, the shortcut control can be arranged on the display desktop of the smart terminal together with other desktop icons, and by clicking the shortcut control, the operation of opening the smart translation function can be input. In Figures 7c to 7e, the trigger controls and/or shortcut controls corresponding to the smart translation function are represented by the letter "S". In other examples, other letters and/or symbols may also be used, which are not limited here.
可选地,第二控件还可以包括语音唤醒控件和/或用于开启智慧翻译功能的实体控件等其他形式的控件,以提高输入对应开启操作的便利性。Optionally, the second control may also include other forms of controls such as a voice wake-up control and/or a physical control for enabling the smart translation function, so as to improve the convenience of inputting a corresponding activation operation.
可选地,智能终端和/或应用程序的各类第二控件接收对应的开启操作之后,显示对应的配置界面,以输出配置信息,使第一用户依据需求进行配置,以使所开启的智慧翻译功能与用户需求相匹配,提升用户体验。Optionally, after the smart terminal and/or various second controls of the application program receive the corresponding opening operation, the corresponding configuration interface is displayed to output configuration information, so that the first user can configure according to the needs, so that the opened smart The translation function matches user needs to improve user experience.
以上数据处理方法,可以响应响应目标语言的翻译指令,获取输入内容,采用目标语言翻译输入内容,以将得到的目标内容发送至通信窗口,这样相关通信用户便可以在通信窗口直接获取采用目标语言表征的输入内容,可以提高通信效率和通信体验。在确定或生成目标内容之后,还可以输入第二提示信息, 以供用户在直接采用目标内容和更换语言之间进行选择,在保证通信内容发送效率的基础上,还为用户提供更换语言的机会,可以提高相应数据处理方法的灵活性,进一步提升用户体验。在开启对应智慧翻译功能时,可以依据具体的用户需求进行配置,能够提升该智慧翻译功能与用户需求的匹配度。The above data processing method can respond to the translation command of the target language, obtain the input content, translate the input content in the target language, and send the obtained target content to the communication window, so that relevant communication users can directly obtain the target language in the communication window Characterized input content can improve communication efficiency and communication experience. After the target content is determined or generated, the second prompt information can also be input for the user to choose between directly adopting the target content or changing the language. On the basis of ensuring the transmission efficiency of the communication content, the user is also provided with the opportunity to change the language , which can improve the flexibility of the corresponding data processing method and further enhance the user experience. When the corresponding smart translation function is turned on, it can be configured according to specific user needs, which can improve the matching degree between the smart translation function and user needs.
在以上实施例的基础上,本申请的第四实施例提供一种数据处理系统,包括:On the basis of the above embodiments, the fourth embodiment of the present application provides a data processing system, including:
第二获取模块,用于响应目标语言的翻译指令,获取输入内容;The second obtaining module is used to respond to the translation instruction of the target language and obtain the input content;
第二翻译模块,用于采用目标语言翻译输入内容,确定或生成目标内容;The second translation module is used for translating the input content in the target language, and determining or generating the target content;
发送模块,用于将目标内容发送至通信窗口。The sending module is used to send the target content to the communication window.
关于数据处理系统的具体限定可以参见上文中对于数据处理方法的限定,在此不再赘述。数据处理系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the data processing system, refer to the above-mentioned limitations on the data processing method, which will not be repeated here. Each module in the data processing system can be fully or partially realized by software, hardware and a combination thereof. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of the above modules.
所述数据处理系统中各个模块的划分仅用于举例说明,在其他实施例中,可将数据处理系统按照需要划分为不同的模块,以完成数据处理系统的全部或部分功能。The division of each module in the data processing system is only for illustration. In other embodiments, the data processing system may be divided into different modules as required to complete all or part of the functions of the data processing system.
本申请实施例还提供一种智能终端,智能终端包括存储器、处理器,存储器上存储有数据处理程序,数据处理程序被处理器执行时实现上述任一实施例所述的数据处理方法的步骤。The embodiment of the present application also provides a smart terminal, the smart terminal includes a memory and a processor, and a data processing program is stored in the memory, and when the data processing program is executed by the processor, the steps of the data processing method described in any of the above embodiments are implemented.
可选地,该数据处理程序包括显示程序和/或发送程序,显示程序被处理器执行时实现上述任一实施例中目标内容的显示方法的步骤,和/或发送程序被处理器执行时实现上述任一实施例中目标内容的发送方法的步骤。Optionally, the data processing program includes a display program and/or a sending program. When the display program is executed by the processor, the steps of the method for displaying the target content in any of the above-mentioned embodiments are realized, and/or when the sending program is executed by the processor, the steps of the method for displaying the target content are realized. The steps of the method for sending target content in any of the above-mentioned embodiments.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有数据处理程序,数据处理程序被处理器执行时实现上述任一实施例所述的数据处理方法的步骤。An embodiment of the present application further provides a computer-readable storage medium, on which a data processing program is stored, and when the data processing program is executed by a processor, the steps of the data processing method described in any of the foregoing embodiments are implemented.
可选地,该数据处理程序包括显示程序和/或发送程序,显示程序被处理器执行时实现上述任一实施例中目标内容的显示方法的步骤,和/或发送程序被处理器执行时实现上述任一实施例中目标内容的发送方法的步骤。Optionally, the data processing program includes a display program and/or a sending program. When the display program is executed by the processor, the steps of the method for displaying the target content in any of the above-mentioned embodiments are realized, and/or when the sending program is executed by the processor, the steps of the method for displaying the target content are realized. The steps of the method for sending target content in any of the above-mentioned embodiments.
在本申请提供的智能终端和计算机可读存储介质的实施例中,可以包含任一上述数据处理方法实施例的全部技术特征,说明书拓展和解释内容与上述方法的各实施例基本相同,在此不做再赘述。In the embodiments of the smart terminal and the computer-readable storage medium provided in this application, all the technical features of any of the above-mentioned data processing method embodiments may be included. Do not repeat them.
本申请实施例还提供一种计算机程序,计算机程序包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行如上各种可能的实施方式中的方法。An embodiment of the present application further provides a computer program, the computer program includes computer program code, and when the computer program code is run on the computer, the computer is made to execute the methods in the above various possible implementation manners.
本申请实施例还提供一种芯片,包括存储器和处理器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行如上各种可能的实施方式中的方法。The embodiment of the present application also provides a chip, including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
可以理解,上述场景仅是作为示例,并不构成对于本申请实施例提供的技术方案的应用场景的限定,本申请的技术方案还可应用于其他场景。例如,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It can be understood that the above scenario is only an example, and does not constitute a limitation on the application scenario of the technical solution provided by the embodiment of the present application, and the technical solution of the present application can also be applied to other scenarios. For example, those skilled in the art know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present application can be adjusted, combined and deleted according to actual needs.
本申请实施例设备中的单元可以根据实际需要进行合并、划分和删减。Units in the device in the embodiment of the present application may be combined, divided and deleted according to actual needs.
在本申请中,对于相同或相似的术语概念、技术方案和/或应用场景描述,一般只在第一次出现时进行详细描述,后面再重复出现时,为了简洁,一般未再重复阐述,在理解本申请技术方案等内容时,对于在后未详细描述的相同或相似的术语概念、技术方案和/或应用场景描述等,可以参考其之前的相关详细描述。In this application, descriptions of the same or similar terms, concepts, technical solutions and/or application scenarios are generally only described in detail when they appear for the first time, and when they appear repeatedly later, for the sake of brevity, they are generally not repeated. When understanding the technical solutions and other contents of the present application, for the same or similar term concepts, technical solutions and/or application scenario descriptions that are not described in detail later, you can refer to the previous relevant detailed descriptions.
在本申请中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In this application, the description of each embodiment has its own emphasis. For the parts that are not detailed or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
本申请技术方案的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本申请记载的范围。The various technical features of the technical solution of the present application can be combined arbitrarily. For the sake of concise description, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, all It should be regarded as the scope described in this application.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,被控终端,或者网络设备等)执行本申请每个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) execute the method of each embodiment of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络,或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、存储盘、磁带)、光介质(例如,DVD),或者半导体介质(例如固态存储盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Usable media may be magnetic media, (eg, floppy disk, memory disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent protection scope of the present application in the same way.
Claims (15)
- 一种数据处理方法,其特征在于,包括以下步骤:A data processing method is characterized in that, comprising the following steps:S12,响应目标语言的第一显示指令,获取第一区域的显示内容;S12. Responding to the first display instruction in the target language, acquire the display content of the first area;S13,采用所述目标语言翻译所述显示内容,确定或生成目标内容;S13, using the target language to translate the display content, and determine or generate target content;S14,在第二区域输出所述目标内容。S14. Output the target content in the second area.
- 根据权利要求1所述的方法,其特征在于,所述第一显示指令的获取过程包括:The method according to claim 1, wherein the acquiring process of the first display instruction comprises:响应所述目标语言的第二显示指令;responding to a second display command in the target language;开启智慧翻译功能,确定或生成所述目标语言的第一显示指令;Turn on the smart translation function, determine or generate the first display instruction in the target language;和/或,未开启智慧翻译功能,输出开启智慧翻译功能的第一提示信息。And/or, if the smart translation function is not turned on, the first prompt message for turning on the smart translation function is output.
- 根据权利要求2所述的方法,其特征在于,所述第二显示指令包括以下至少一项:The method according to claim 2, wherein the second display instruction includes at least one of the following:显示界面对应的区域识别指令;Display the area identification command corresponding to the interface;第一控件接收的第一触发指令。The first trigger instruction received by the first control.
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述S13步骤,包括:The method according to any one of claims 1 to 3, wherein the step S13 includes:将所述显示内容输入预设的内容翻译模型,所述内容翻译模型输出所述目标内容;所述内容翻译模型用于采用目标语言翻译指定内容,所述指定内容通过至少一种语言表征。The display content is input into a preset content translation model, and the content translation model outputs the target content; the content translation model is used to translate specified content in a target language, and the specified content is represented by at least one language.
- 根据权利要求4所述的方法,其特征在于,所述内容翻译模型用于翻译通过至少一种语言表征的图片;所述内容翻译模型的获取过程包括:The method according to claim 4, wherein the content translation model is used to translate pictures represented by at least one language; the acquisition process of the content translation model includes:获取至少一个通过至少一种语言表征的样本图片,以及至少一个样本图片对应的翻译结果;Obtaining at least one sample picture represented by at least one language, and a translation result corresponding to at least one sample picture;采用所述样本图片和所述翻译结果训练初始网络,得到所述内容翻译模型。The initial network is trained by using the sample picture and the translation result to obtain the content translation model.
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述S14步骤,包括:The method according to any one of claims 1 to 3, wherein the step S14 includes:获取所述显示内容在所述第一区域的显示特征;acquiring display features of the display content in the first area;根据所述显示特征在所述第二区域输出所述目标内容。Outputting the target content in the second area according to the display characteristics.
- 根据权利要求1至3中任一项所述的方法,其特征在于,智慧翻译功能的开启过程包括:The method according to any one of claims 1 to 3, wherein the opening process of the intelligent translation function includes:响应所述智慧翻译功能的第一开启指令,输出配置信息;Responding to the first start instruction of the smart translation function, outputting configuration information;响应所述配置信息对应的配置操作,开启所述智慧翻译功能。In response to the configuration operation corresponding to the configuration information, enable the intelligent translation function.
- 根据权利要求7所述的方法,其特征在于,所述第一开启指令包括:第二控件接收的开启操作;和/或,所述第二控件包括如下各项中的至少一项:The method according to claim 7, wherein the first opening instruction includes: an opening operation received by the second control; and/or, the second control includes at least one of the following items:设于设置项内的功能控件;The function control set in the setting item;设于屏幕拉动菜单的触发控件;Trigger controls located on screen pull menus;悬浮在显示界面的触发控件;Trigger controls suspended on the display interface;设于显示桌面的快捷控件;Shortcut controls located on the display desktop;语音唤醒控件;Voice wake-up control;以及用于开启所述智慧翻译功能的实体控件。And a physical control for enabling the intelligent translation function.
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述S14步骤之后,所述方法还包括:The method according to any one of claims 1 to 3, characterized in that, after the step S14, the method further comprises:获取所述目标内容中的实体和所述实体的关联信息;Acquiring entities in the target content and associated information of the entities;响应所述实体对应的第二触发指令,输出所述关联信息。Outputting the association information in response to a second trigger instruction corresponding to the entity.
- 根据权利要求1至3中任一项所述的方法,其特征在于,若所述第二区域覆盖至少一个第三控件,所述S14步骤之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein if the second area covers at least one third control, after step S14, the method further includes:所述第三控件接收第三触发指令,响应所述第三触发指令。The third control receives a third trigger instruction and responds to the third trigger instruction.
- 一种数据处理方法,其特征在于,包括以下步骤:A data processing method is characterized in that, comprising the following steps:S22,响应目标语言的翻译指令,获取输入内容;S22, responding to the translation instruction of the target language, and obtaining the input content;S23,采用所述目标语言翻译所述输入内容,确定或生成目标内容;S23, using the target language to translate the input content to determine or generate target content;S24,将所述目标内容发送至通信窗口。S24. Send the target content to the communication window.
- 根据权利要求11所述的方法,其特征在于,所述S23步骤,包括:The method according to claim 11, wherein the step S23 includes:将所述输入内容输入所述目标语言关联的翻译工具,根据所述翻译工具输出的内容确定或生成所述目标内容。The input content is input into a translation tool associated with the target language, and the target content is determined or generated according to the output content of the translation tool.
- 根据权利要求11或12所述的方法,其特征在于,所述S24步骤,包括:The method according to claim 11 or 12, wherein the step S24 includes:S241,输出第二提示信息,所述第二提示信息包括应用控件和/或更换语言控件;S241. Output second prompt information, where the second prompt information includes an application control and/or a language replacement control;S241,响应所述应用控件对应的第一操作,将所述目标内容发送至所述通信窗口,和/或响应所述更换语言控件对应的第二操作,在更新目标语言之后返回执行S22步骤。S241. In response to the first operation corresponding to the application control, send the target content to the communication window, and/or in response to the second operation corresponding to the change language control, return to step S22 after updating the target language.
- 一种智能终端,其特征在于,所述智能终端包括:存储器、处理器,其中,所述存储器上存储有数据处理程序,所述数据处理程序被所述处理器执行时实现如权利要求1至13中任一项所述的数据处理方法的步骤。An intelligent terminal, characterized in that the intelligent terminal comprises: a memory and a processor, wherein a data processing program is stored in the memory, and when the data processing program is executed by the processor, the following claims 1 to 1 are implemented. Steps of the data processing method described in any one of 13.
- 一种计算机可读存储介质,其特征在于,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至13中任一项所述的数据处理方法的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 13 are implemented .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202180103535.XA CN118202362A (en) | 2021-11-12 | 2021-11-12 | Data processing method, intelligent terminal and storage medium |
PCT/CN2021/130435 WO2023082198A1 (en) | 2021-11-12 | 2021-11-12 | Data processing method, intelligent terminal, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/130435 WO2023082198A1 (en) | 2021-11-12 | 2021-11-12 | Data processing method, intelligent terminal, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023082198A1 true WO2023082198A1 (en) | 2023-05-19 |
Family
ID=86334864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/130435 WO2023082198A1 (en) | 2021-11-12 | 2021-11-12 | Data processing method, intelligent terminal, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN118202362A (en) |
WO (1) | WO2023082198A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104714943A (en) * | 2015-03-26 | 2015-06-17 | 百度在线网络技术(北京)有限公司 | Translation method and system |
CN107943796A (en) * | 2017-11-17 | 2018-04-20 | 珠海市魅族科技有限公司 | A kind of interpretation method and device, terminal, readable storage medium storing program for executing |
CN111814496A (en) * | 2020-08-04 | 2020-10-23 | 腾讯科技(深圳)有限公司 | Text processing method, device, equipment and storage medium |
WO2021141576A1 (en) * | 2020-01-08 | 2021-07-15 | Google, Llc | Translation of text depicted in images |
-
2021
- 2021-11-12 WO PCT/CN2021/130435 patent/WO2023082198A1/en active Application Filing
- 2021-11-12 CN CN202180103535.XA patent/CN118202362A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104714943A (en) * | 2015-03-26 | 2015-06-17 | 百度在线网络技术(北京)有限公司 | Translation method and system |
CN107943796A (en) * | 2017-11-17 | 2018-04-20 | 珠海市魅族科技有限公司 | A kind of interpretation method and device, terminal, readable storage medium storing program for executing |
WO2021141576A1 (en) * | 2020-01-08 | 2021-07-15 | Google, Llc | Translation of text depicted in images |
CN111814496A (en) * | 2020-08-04 | 2020-10-23 | 腾讯科技(深圳)有限公司 | Text processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN118202362A (en) | 2024-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019120191A1 (en) | Method for copying multiple text segments and mobile terminal | |
WO2020151516A1 (en) | Message sending method and mobile terminal | |
WO2019228294A1 (en) | Object sharing method and mobile terminal | |
CN110798397B (en) | File sending method and device and electronic equipment | |
WO2021129772A1 (en) | Display method for virtual keyboard, and electronic device | |
WO2019184666A1 (en) | Method for displaying content and terminal | |
WO2015127825A1 (en) | Expression input method and apparatus and electronic device | |
CN106201491B (en) | Mobile terminal and method and device for controlling remote assistance process of mobile terminal | |
CN111274777B (en) | Thinking guide display method and electronic equipment | |
WO2021136159A1 (en) | Screenshot method and electronic device | |
WO2021233293A1 (en) | Note recording method and electronic device | |
WO2020199934A1 (en) | Information processing method and terminal device | |
WO2020238938A1 (en) | Information input method and mobile terminal | |
CN108289244A (en) | Video caption processing method, mobile terminal and computer readable storage medium | |
WO2019120192A1 (en) | Method for editing text, and mobile device | |
WO2021004426A1 (en) | Content selection method, and terminal | |
WO2020199988A1 (en) | Content copying method and terminal | |
US9921735B2 (en) | Apparatuses and methods for inputting a uniform resource locator | |
WO2020020213A1 (en) | Information input method and terminal | |
WO2020024788A1 (en) | Text input method and terminal | |
US20230087022A1 (en) | Text language type switching method and apparatus, device, and storage medium | |
CN112363648A (en) | Shortcut display method, terminal and computer storage medium | |
CN111273827B (en) | Text processing method and electronic equipment | |
CN112199141A (en) | Message processing method, terminal and computer readable storage medium | |
CN111897916A (en) | Voice instruction recognition method and device, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21963646 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202180103535.X Country of ref document: CN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |