CN109240785A - A kind of method, terminal and storage medium that language is set - Google Patents

A kind of method, terminal and storage medium that language is set Download PDF

Info

Publication number
CN109240785A
CN109240785A CN201811014015.8A CN201811014015A CN109240785A CN 109240785 A CN109240785 A CN 109240785A CN 201811014015 A CN201811014015 A CN 201811014015A CN 109240785 A CN109240785 A CN 109240785A
Authority
CN
China
Prior art keywords
language
terminal
input
user
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811014015.8A
Other languages
Chinese (zh)
Other versions
CN109240785B (en
Inventor
俞丹凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811014015.8A priority Critical patent/CN109240785B/en
Publication of CN109240785A publication Critical patent/CN109240785A/en
Application granted granted Critical
Publication of CN109240785B publication Critical patent/CN109240785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method, terminal and storage mediums that language is arranged, and are related to field of terminal, to solve the problems, such as to be difficult to switch to language in the unacquainted language environment of user the language that user is recognized.The resource transfers method can include: obtain input relevant to language;According to the input, object language is determined;The display language used in the terminal is switched to the object language.Scheme provided by the invention does not need the entrance that user finds setting language in the terminal under unacquainted voice environment, reduces the operation difficulty of language setting.

Description

A kind of method, terminal and storage medium that language is set
Technical field
The present embodiments relate to field of terminal more particularly to a kind of method, terminal and storage mediums that language is arranged.
Background technique
Currently with the internationalization of manufacturer terminal, often built-in a variety of language in terminal.In this way, the use of country variant Family can select the language of oneself country as language used in terminal operating system from this multilingual.
However, completely unacquainted language used in terminal is switched to user due to such as user misoperation In the case where language, user is difficult to that language is switched to the language that user is recognized in unacquainted language environment.Thus, such as It is a technical issues that need to address that language is switched to the language that user is recognized by what.
Summary of the invention
The embodiment of the present invention provides a kind of method, terminal and storage medium that language is arranged, to solve not recognize in user Language environment in the problem of being difficult to switch to language the language that user is recognized.
In a first aspect, a kind of method that language is arranged, is applied to terminal, comprising:
Obtain input relevant to language;
According to the input, object language is determined;
The display language used in the terminal is switched to the object language.
Second aspect provides a kind of terminal, comprising:
Module is obtained, for obtaining input relevant to language;
Determining module, the input for being obtained according to the acquisition module, determines object language;
Setup module, the display language for will use in the terminal are switched to the mesh that the determining module determines Poster speech.
The third aspect provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, the computer program is performed the step of realizing method as described in relation to the first aspect.
In embodiments of the present invention, by obtaining input relevant to language, and based on this input, object language is determined, After object language determines, the display language used in terminal can be switched to object language.The side of such setting language Formula determines object language by being then based on input relevant to language, thus even in the unacquainted language environment of user Under, by allowing terminal to obtain relevant to language input (for example, voice or text), the switching to language also may be implemented, from And it solves the problems, such as to be difficult to show that language switches to the language that user is recognized in the unacquainted language environment of user.Together When, such language set-up mode does not need the entrance that user finds setting language in the terminal under unacquainted voice environment, Reduce the operation difficulty of language setting.
Detailed description of the invention
Fig. 1 is a kind of flow chart of method that language is arranged provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of method that language is arranged based on voice input provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of method that language is arranged based on image input provided in an embodiment of the present invention;
Fig. 4 is the structural block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is to realize a kind of hardware structural diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
A kind of method that language is arranged provided in an embodiment of the present invention can be executed by terminal, in embodiments of the present invention, Terminal can be for such as mobile phone, tablet computer, personal digital assistant.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
Fig. 1 is a kind of flow chart of method that language is arranged provided in an embodiment of the present invention.Referring to Fig.1, the present invention is implemented The method for the setting language that example provides can be applied to terminal, and can include:
Step 110, input relevant to language is obtained.
In embodiments of the present invention, input relevant to language can cover various types of input, such as text Input, voice input etc..Obtaining input relevant to language may include obtaining the image comprising text, alternatively, obtaining voice Input.Wherein, the text that the text for including in image can be familiar with or be recognized by user.Voice may come from user and use certainly What is said or talked about for the language that body is familiar with or is recognized, and can be from the language be familiar with or recognized with user in audio or video file Say the voice issued.
When obtaining the image comprising text, the image comprising text can be chosen from terminal local, or outside terminal Such as the image comprising text is obtained by scanning or shooting.
When obtaining voice input, can be obtained by being recorded to user or audio-video document word to speak to oneself Sound input.
In embodiments of the present invention, a special program can be developed by application developer, set for carrying out language It sets.When the user clicks when this program, language setting function can be enabled.After function enabling is arranged in language, step 110 can be performed, open Begin to obtain input relevant to language.In embodiments of the present invention, this program can be indicated with a specific icon, icon On can show element relevant to language setting, in order to which user can recognize that this icon when seeing this special icon It is for carrying out language setting.
Step 120, according to the input, object language is determined.
In embodiments of the present invention, object language is that user wants the language for being switched to the current language used in terminal Speech.Generally, the language that object language can be familiar with or be recognized by user.For example, the current used language in terminal For Japanese, user is Chinese, Japanese of failing to understand, it is desirable to language is switched to simplified form of Chinese Character, then object language is in simplified Text.
When terminal gets the image comprising text, terminal can be analyzed the image of acquisition (for example, image is known Not), identify that the corresponding language of the text for including in image, the language identified are object language.
When terminal gets voice input, terminal can input the voice of acquisition and be analyzed (for example, speech recognition), And object language is determined by analyzing.
Step 130, the display language used in the terminal is switched to the object language.
In embodiments of the present invention, display language can indicate the language that text importing is carried out in terminal.It is used in terminal Display language can indicate the language that text importing is currently being used in terminal.At a time, it generally only will use in terminal A kind of language progress text importing.
In embodiments of the present invention, the display language used in terminal can not recognize for user or unfamiliar language. The language that object language can be familiar with or be recognized by user.By being carried out to the display language used in terminal in step 130 It resets, it is ensured that user user can carry out further operating using terminal based on object language.
For example, if display language currently used in terminal is Japanese, and user fails to understand Japanese, passes through step 110 and step 120 determine object language be Chinese after, then currently used display language (i.e. Japanese) in terminal can be cut It is changed to Chinese.In other words, in embodiments of the present invention, the display language used in the terminal is switched to the object language The object language as is set by the current display language of the terminal, regardless of which kind of display language used before terminal Speech.By after step 130, the unified text using object language is shown or presentation content to user in terminal.
In embodiments of the present invention, by obtaining input relevant to language, and based on this input, object language is determined, After object language determines, display language used in terminal can be switched to object language.Such setting language Mode determines object language by being then based on input relevant to language, thus even in the unacquainted language ring of user Under border, by allowing terminal to obtain relevant to language input (for example, voice or text), the switching to language also may be implemented, To solve the problems, such as to be difficult to switch to language the language that user is recognized in the unacquainted language environment of user.Meanwhile Such language set-up mode does not need the entrance that user finds setting language in the terminal under unacquainted voice environment, drop The operation difficulty of low language setting.
The mode that language is arranged to the mode that language is arranged based on speech recognition and based on image recognition below is distinguished It is introduced.
Fig. 2 is a kind of flow chart of method that language is arranged provided in an embodiment of the present invention.Referring to Fig. 2, the present invention is implemented The method for the setting language that example provides can be executed by terminal, and can include:
Step 210, the function that language setting is carried out based on voice is enabled.
In embodiments of the present invention, a special program can be developed by application developer, set for carrying out language It sets.When the user clicks when this program, language setting function can be enabled.For example, this program can be recorded program, when this record Interval sequence be triggered (for example, being clicked) when, can enable based on voice and carry out the function of language setting.
In embodiments of the present invention, the icon of this recorded program can have with the icon of the common recorder shown in terminal Institute is different.For example, text relevant to language setting and/or graphic element can be shown on the icon of this recorded program, in order to User identifies that this recorded program icon is for carrying out language setting based on voice.
In embodiments of the present invention, it can use the icon that specific operation finds out this recorded program.Such as user is in terminal Desktop carries out sliding operation, and desktop icons integrally move up, and vacant position can show the icon of this recorded program.When the user clicks this When the icon of recorded program, it can enable based on voice and carry out the function of language setting.At this point, wave can be shown in terminal, Prompt user has started to receive voice input.
Step 220, voice input from the user is received, and the voice is inputted and carries out speech recognition.
User says one section with certain language against terminal, then the recorded program in terminal will typing this section audio, and (such as speech recognition) can be analyzed to this section audio in local.Recorded program in the case where terminal networking, in terminal After this section audio of typing, also this section audio can be uploaded to cloud, speech recognition be carried out to this section audio by cloud, and will The result of speech recognition feeds back to terminal.
In embodiments of the present invention, the audio that terminal can be directed at typing while inputting audio is analyzed, can also be with After audio whole typing, then audio is analyzed.Similarly, terminal can upload to cloud after getting all audio frequency Speech recognition is carried out, cloud can also be uploaded to after getting a part of audio and carries out speech recognition.
Step 230, obtain speech recognition as a result, the result includes the corresponding object language of voice.
The result of speech recognition be, for example, "(Korean) ".The result of speech recognition is in another example be " simplified form of Chinese Character " " Chinese-traditional ", etc..
Step 240, based on speech recognition as a result, determining whether object language is a kind of language.If it is determined that target Language is one kind, then can directly execute step 260;If it is determined that object language be at least two, then can be performed step 250.
It certainly, can also be corresponding with this language it is to be understood that in the case where determining object language is a kind of Text importing choice of language, and receive selection of the user to this choice of language, in turn, terminal is aobvious by what is used in the terminal Show that language is switched to the determining corresponding language of the choice of language of selection input.The embodiment of the present invention is one kind in object language In the case where language, it may not need user's selection, the display language used in the terminal be directly switched to object language, such as The speed of language setting can be improved in this, reduces the waiting time of user.
Step 250, at least two choice of language are shown respectively with the corresponding text of at least two language.
Since there are similar or even phases for the pronunciations of certain language (such as TaiWan, China " national language " and China's Mainland mandarin) Same situation further discriminate between so can show multilingual option in the vacant position of terminal desktop at this time for user.Citing For, if object language is bilingual, such as " simplified form of Chinese Character " and " Chinese-traditional ", the vacant position of terminal desktop can be with It is shown " simplified form of Chinese Character " with a kind of choice of language, another choice of language is shown in " Chinese-traditional (Taiwan) ", waits user to this Bilingual option is selected.Wherein, " simplified form of Chinese Character " is the corresponding text of China's Mainland mandarin, " Chinese-traditional (platform Gulf) " it is Taiwan traditional font, that is, the corresponding text of so-called TaiWan, China " national language ".
Step 252, the selection to one of at least two choice of language choice of language is received to input.
Specifically, for example, if user is the people from China's Mainland, more get used to then may be used using simplified form of Chinese Character Select the option of " simplified form of Chinese Character ";If user is the people from Hong-Kong or TaiWan, China, more get used to using in traditional font The option of " Chinese-traditional " then may be selected in text.
Step 254, the display language used in the terminal is switched to the determining choice of language pair of selection input The language answered.
It specifically, for example, can will be described if user has for example selected the option of " simplified form of Chinese Character " by clicking Used display language (for example, by the unacquainted Japanese of user before) is switched to simplified form of Chinese Character in terminal.If user's example Such as selected the option of " Chinese-traditional " by clicking, then can will in the terminal used display language (for example, by The unacquainted Japanese of user before) it is switched to Chinese-traditional.
Step 260, the display language used in the terminal is switched to the object language.
Step 260 can be executed in the case where object language is a kind of, can carry out speech selection without user at this time, and straight It connects and display language used in the terminal is switched to the object language.It certainly, is a kind of language in object language In the case of, it can also be with the text importing choice of language of this language, to facilitate user to know.For example, when terminal recognition goes out to use Language used in family is Korean, then the vacant position of desktop can show " Korean " corresponding Korean
In embodiments of the present invention, the function that carries out language setting is first enabled based on voice, and to the voice received Input carries out speech recognition, and then available user understanding or known object language, and can will use in the terminal Display language is switched to the object language.The mode of such setting language, determines target language by being then based on voice input Speech, thus even under the unacquainted language environment of user, as long as user can speak, user still is able to by issuing voice It realizes the switching to language, is recognized to solve to be difficult in the unacquainted language environment of user language is switched to user Language the problem of.Meanwhile such language set-up mode, it does not need user and is found in the terminal under unacquainted voice environment The entrance of language is set, the operation difficulty of language setting is reduced.
Fig. 3 is a kind of flow chart of method that language is arranged provided in an embodiment of the present invention.Referring to Fig. 3, the present invention is implemented The method for the setting language that example provides can be executed by terminal, and can include:
Step 310, the function that language setting is carried out based on text is enabled.
In embodiments of the present invention, a special program can be developed by application developer, set for carrying out language It sets.When the user clicks when this program, language setting function can be enabled.For example, this program can be image scanning program, when This for image scanning program be triggered (for example, being clicked) when, can enable based on text and carry out the function of language setting.
In embodiments of the present invention, the icon of this image scanning program can be with the normal image scanning pass that shows in terminal The icon of sequence (if any) is different.For example, can be shown on the icon of this image scanning program related to language setting Text and/or graphic element, in order to which user identifies that the icon of this image scanning program is for carrying out based on text Language setting.
In embodiments of the present invention, it can use the icon that specific operation finds out this image scanning program.Such as user exists Terminal desktop carries out sliding operation, and desktop icons integrally move up, and vacant position can show the icon of this image scanning program.When with When the icon of this image scanning program is clicked at family, it can enable based on text and carry out the function of language setting.At this point, can in terminal It shows barcode scanning frame, user is prompted to start scan image.
Step 320, the image comprising text is obtained, and text included in described image is identified.
In embodiments of the present invention, text included in image can it is expected the text that the language used is write by user Word.It, can be from terminal sheet if being stored with the image for the text that the language used comprising user's expectation is write in terminal local Ground obtains the image for the text that the language used comprising expectation is write.
Certainly, in embodiments of the present invention, in addition to obtaining the text that the language used comprising expectation is write from terminal local The image of word can also obtain the image for the text that the language used comprising expectation is write from outside by scanning or shooting. For example, user has found the text on self-contained article (for example, food pack) with understanding, then can scan on this article Text, with obtain include text image.When user at one's side without article have understanding text when, user also it is writable out The text of understanding, and the text write out is scanned, to obtain the image comprising writing out text.
If terminal can prompt scanning to fail, and can restart to scan not comprising text in obtained image.
In embodiments of the present invention, during scanning, if including text in the image that terminal scans, terminal can The image scanned is analyzed, to identify the text in image.Certainly, in the case where terminal networking, terminal can also The image scanned is uploaded to cloud, the identification to the text in image is completed by cloud, and by the knot of Text region Fruit returns to terminal.
Step 330, obtain Text region as a result, the result includes the corresponding object language of text in image.
The result of speech recognition be, for example, "(Korean) ".The result of speech recognition is in another example be " simplified form of Chinese Character " " Chinese-traditional ", etc..
Step 340, based on Text region as a result, determining whether object language is a kind of language.If it is determined that target Language is one kind, then can directly execute step 360;If it is determined that object language be at least two, then can be performed step 350.
It certainly, can also be corresponding with this language it is to be understood that in the case where determining object language is a kind of Text importing choice of language, and receive user and the selection of this choice of language is inputted, in turn, terminal will make in the terminal Display language is switched to the determining corresponding language of the choice of language of selection input.The embodiment of the present invention is in object language In the case where for a kind of language, it may not need user's selection, the display language used in the terminal be directly switched to target Language so can be improved the speed of language setting, reduce the waiting time of user.
Step 350, at least two choice of language are shown respectively with the corresponding text of at least two language.
Because there is similar or even identical, institute in the text of certain language (such as English of country variant and area) Multilingual option can be shown with the vacant position of terminal desktop, further discriminated between for user.For example, if object language For three kinds of language, such as " English (USA) ", " English (UK) " and " English (Canada) ", terminal desktop it is vacant Position can show " English (USA) " that another choice of language shows " English (UK) " with a kind of choice of language, be left A kind of choice of language is shown " English (Canada) ", and user is waited to select these three choice of language.Wherein, English (USA) can indicate that English used in the U.S., English (UK) can indicate English used in Britain, English (Canada) can indicate English used in Canada.
Step 352, the selection to one of at least two choice of language choice of language is received to input.
Specifically, for example, if user is the people from the U.S., more get used to then may be selected using Amerenglish The option of " English (USA) ";If user is the people from Britain, more get used to then may be selected using British English The option of " English (UK) ";If user is more to get used to then may be selected using Canadian English from Canadian people The option of " English (Canada) ".
Step 354, the display language used in the terminal is switched to the determining choice of language pair of selection input The language answered.
Specifically, for example, it if user has for example selected the option of " English (USA) " by clicking, can incite somebody to action Used display language (for example, by the unacquainted Japanese of user before) is switched to " English in the terminal (USA)".If user has for example selected the option of " English (UK) " by clicking, can will be made in the terminal Display language (for example, by the unacquainted Japanese of user before) is switched to " English (UK) ".If user for example passes through Click has selected the option of " English (Canada) ", then can will in the terminal used display language (for example, By the unacquainted Japanese of user before) it is switched to " English (Canada) ".
Step 360, the display language used in the terminal is switched to the object language.
Step 360 can be executed in the case where object language is a kind of, can carry out speech selection without user at this time, and straight It connects and display language used in the terminal is switched to the object language.It certainly, is a kind of language in object language In the case of, it can also be with the text importing choice of language of this language, to facilitate user to know.For example, when terminal recognition goes out to use Language used in family is Korean, then the vacant position of desktop can show " Korean " corresponding Korean
In embodiments of the present invention, the function that carries out language setting is first enabled based on text, and to the image got In include text identified that and then available user understanding or known object language and can will make in the terminal Display language is switched to the object language.The mode of such setting language, determines target language by being then based on text Speech, thus even under the unacquainted language environment of user, as long as user can write or user's current environment in There is text, user still is able to realize the switching to language for example, by shooting or scan text, to solve not recognize in user The problem of being difficult to switch to language the language that user is recognized in the language environment of knowledge.Meanwhile such language set-up mode, no User is needed to find the entrance of setting language in the terminal under unacquainted voice environment, the operation for reducing language setting is difficult Degree.
Fig. 4 is a kind of structural block diagram of terminal provided in an embodiment of the present invention.It is provided in an embodiment of the present invention referring to Fig. 4 Terminal 400 may include obtaining module 410, determining module 420 and setup module 430.Wherein:
Module 410 is obtained, for obtaining input relevant to language;
Determining module 420, the input for being obtained according to the acquisition module 410, determines object language;
Setup module 430 is determined for the display language used in the terminal to be switched to the determining module 420 The object language
Terminal provided in an embodiment of the present invention determines target by obtaining input relevant to language, and based on this input Language used in terminal can be switched to object language after object language determines by language.Such setting language Mode determines object language by being then based on input relevant to language, thus even in the unacquainted language ring of user Under border, by allowing terminal to obtain relevant to language input (for example, voice or text), the switching to language also may be implemented, To solve the problems, such as to be difficult to switch to language the language that user is recognized in the unacquainted language environment of user.Meanwhile Such language set-up mode does not need the entrance that user finds setting language in the terminal under unacquainted voice environment, drop The operation difficulty of low language setting.
Optionally, in one embodiment of the invention, the acquisition module 410 can be specifically used for:
Receive voice input;
The determining module 420 can be specifically used for: carrying out speech recognition by inputting to the voice, determine target language Speech.
Optionally, in another embodiment of the present invention, the acquisition module 410 can be specifically used for:
Obtain the image comprising text;
The determining module 420 can be specifically used for: by identifying to text included in described image, determine mesh Poster speech.
Optionally, in one embodiment of the invention, the object language includes at least one language, and the terminal is also It include: display module, for showing at least one choice of language respectively with the corresponding text of at least one language.Accordingly Ground, the acquisition module 410 can also be used in, and receive defeated to the selection of one of at least one choice of language choice of language Enter.The setup module 430 can be specifically used for: the display language used in the terminal being switched to the selection input and is determined The corresponding language of the choice of language.
Optionally, in one embodiment of the invention, the terminal further include: display module, in the acquisition Before module obtains input relevant to language, icon is arranged in display language.Correspondingly, the acquisition module 410 can be used specifically In: when language setting icon is triggered, obtain input relevant to language.
It is to be understood that terminal herein can be the terminal hereinafter mentioned.
A kind of hardware structural diagram of Fig. 5 terminal of each embodiment to realize the present invention.
The terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input are single Member 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, And the equal components of power supply 511.It will be understood by those skilled in the art that the not structure paired terminal of terminal structure shown in Fig. 5 It limits, terminal may include perhaps combining certain components or different component layouts than illustrating more or fewer components. In embodiments of the present invention, terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC etc..
Wherein, processor 510 can be used for obtaining input relevant to language;According to the input, object language is determined; The display language used in the terminal is switched to the object language.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 500 executes.Sound Frequency output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 capture mould in video The image data of the static images or video that are obtained in formula or image capture mode by image capture apparatus (such as camera) carries out Processing.Treated, and picture frame may be displayed on display unit 506.It can be with through treated the picture frame of graphics processor 5041 It is stored in memory 509 (or other storage mediums) or is sent via radio frequency unit 501 or network module 502.Wheat Gram wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be with The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Terminal 500 may also include at least one sensor 505, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment light The light and shade of line adjusts the brightness of display panel 5061, and proximity sensor can close display surface when terminal 500 is moved in one's ear Plate 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) The size of acceleration can detect that size and the direction of gravity when static, can be used to identify terminal posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 505 is also It may include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature Meter, infrared sensor etc., details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can Including display panel 5061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 507 include touch panel 5071 and other Input equipment 5072.Touch panel 5071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 5071 or near touch panel 5071 Operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receives processor 510 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072. Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 5071 and display panel 5061 is integrated, is not limited herein specifically It is fixed.
Interface unit 508 is the interface that external device (ED) is connect with terminal 500.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 500 or can be used for terminal 500 and external device (ED) it Between transmit data.
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 509, and call and be stored in memory 509 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 510 may include one Or multiple processing units;Preferably, processor 510 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 510.
Terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 can be with It is logically contiguous by power-supply management system and processor 510, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 510, and memory 509 is stored in storage It is real when which is executed by processor 510 on device 509 and the computer program that can be run on the processor 510 Step in the method for existing any setting language mentioned hereinabove, and identical technical effect can be reached, to avoid repeating, Which is not described herein again.
In embodiments of the present invention, by obtaining input relevant to language, and based on this input, object language is determined, After object language determines, language used in terminal can be switched to object language.The mode of such setting language, Object language is determined by being then based on input relevant to language, thus even under the unacquainted language environment of user, By allowing terminal to obtain input (for example, voice or text) relevant to language, the switching to language also may be implemented, to solve The problem of being certainly difficult to switch to language the language that user is recognized in the unacquainted language environment of user.Meanwhile Ci Zhongyu It says set-up mode, does not need the entrance that user finds setting language in the terminal under unacquainted voice environment, reduce language Say the operation difficulty of setting.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize the step in the method for any setting language described above when being executed by processor Suddenly, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, apparatus or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer include, but are not limited to phase change memory (PRAM), static random access memory (SRAM), Dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable Except programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD- ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetism are deposited Equipment or any other non-transmission medium are stored up, can be used for storage can be accessed by a computing device information.According to boundary herein Fixed, computer-readable medium does not include temporary computer readable media (transitory media), such as the data-signal of modulation and Carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above description is only an embodiment of the present invention, is not intended to restrict the invention.For those skilled in the art For, the invention may be variously modified and varied.All any modifications made within the spirit and principles of the present invention are equal Replacement, improvement etc., should be included within scope of the presently claimed invention.

Claims (12)

1. a kind of method that language is arranged, is applied to terminal characterized by comprising
Obtain input relevant to language;
According to the input, object language is determined;
The display language used in the terminal is switched to the object language.
2. the method according to claim 1, wherein acquisition input relevant to language includes:
Receive voice input;
It is described according to the input, determine that object language includes:
Speech recognition is carried out by inputting to the voice, determines object language.
3. the method according to claim 1, wherein acquisition input relevant to language includes:
Obtain the image comprising text;
It is described according to the input, determine that object language includes:
By identifying to text included in described image, object language is determined.
4. the method according to claim 1, wherein the object language includes at least one language, in determination After the object language, the method also includes:
At least one choice of language is shown respectively with the corresponding text of at least one language;
The selection to one of at least one choice of language choice of language is received to input;
It is described the display language used in the terminal is switched to the object language to include:
The display language used in the terminal is switched to the determining corresponding language of the choice of language of the selection input.
5. the method according to claim 1, wherein it is described obtain relevant to language input before, it is described Method further include:
Show that icon is arranged in language;
When language setting icon is triggered, input relevant to language is obtained.
6. a kind of terminal characterized by comprising
Module is obtained, for obtaining input relevant to language;
Determining module, the input for being obtained according to the acquisition module, determines object language;
Setup module, the display language for will use in the terminal are switched to the target language that the determining module determines Speech.
7. terminal according to claim 6, which is characterized in that the acquisition module is specifically used for:
Receive voice input;
The determining module is specifically used for: carrying out speech recognition by inputting to the voice, determines object language.
8. terminal according to claim 6, which is characterized in that the acquisition module is specifically used for:
Obtain the image comprising text;
The determining module is specifically used for: by identifying to text included in described image, determining object language.
9. terminal according to claim 6, which is characterized in that the object language includes at least one language, the end End further include:
Display module, for showing at least one choice of language respectively with the corresponding text of at least one language;
The acquisition module is also used to, and is received the selection to one of at least one choice of language choice of language and is inputted;
The setup module is specifically used for: the display language used in the terminal is switched to the determining institute of the selection input State the corresponding language of choice of language.
10. terminal according to claim 6, which is characterized in that the terminal further include:
Display module, for before the acquisition module obtains input relevant to language, icon to be arranged in display language;
The acquisition module is specifically used for: when language setting icon is triggered, obtaining input relevant to language.
11. a kind of terminal, including processor and memory, computer program is stored on the memory, when the computer journey When sequence is run by the processor, the step in -5 any methods according to claim 1 is realized.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the step in the method as described in any one of claims 1 to 5 when the computer program is executed by processor.
CN201811014015.8A 2018-08-31 2018-08-31 Method, terminal and storage medium for setting language Active CN109240785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811014015.8A CN109240785B (en) 2018-08-31 2018-08-31 Method, terminal and storage medium for setting language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811014015.8A CN109240785B (en) 2018-08-31 2018-08-31 Method, terminal and storage medium for setting language

Publications (2)

Publication Number Publication Date
CN109240785A true CN109240785A (en) 2019-01-18
CN109240785B CN109240785B (en) 2021-01-22

Family

ID=65059879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811014015.8A Active CN109240785B (en) 2018-08-31 2018-08-31 Method, terminal and storage medium for setting language

Country Status (1)

Country Link
CN (1) CN109240785B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399954A (en) * 2020-03-10 2020-07-10 北京字节跳动网络技术有限公司 Interface interaction method and device, storage medium and electronic equipment
CN111399728A (en) * 2020-03-04 2020-07-10 维沃移动通信有限公司 Setting method, electronic device, and storage medium
CN111651068A (en) * 2020-05-28 2020-09-11 维沃移动通信有限公司 Method, device and equipment for switching character language types and storage medium
CN111722892A (en) * 2019-03-19 2020-09-29 奇酷互联网络科技(深圳)有限公司 System language switching method, electronic equipment and storage device
CN112068912A (en) * 2020-08-18 2020-12-11 深圳传音控股股份有限公司 System language type switching method, terminal and computer storage medium
CN113641440A (en) * 2021-08-25 2021-11-12 中国银行股份有限公司 Front-end multi-language display method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856142A (en) * 2005-04-25 2006-11-01 三星电子株式会社 Method for setting main language in mobile terminal and mobile terminal implementing the same
CN103246520A (en) * 2013-05-24 2013-08-14 北京小米科技有限责任公司 Method and device for replacing language used by program
CN105389162A (en) * 2014-09-09 2016-03-09 北京金山安全软件有限公司 Method and device for changing terminal system language and terminal
CN105511857A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 System language setting method and device
CN106648575A (en) * 2015-12-29 2017-05-10 北京小米移动软件有限公司 Language setting method and apparatus
CN106681709A (en) * 2016-11-24 2017-05-17 宇龙计算机通信科技(深圳)有限公司 System language switching method and device
JP2017151578A (en) * 2016-02-23 2017-08-31 アイシン・エィ・ダブリュ株式会社 Language setting system and language setting program
CN108255555A (en) * 2017-12-26 2018-07-06 平安科技(深圳)有限公司 A kind of system language switching method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856142A (en) * 2005-04-25 2006-11-01 三星电子株式会社 Method for setting main language in mobile terminal and mobile terminal implementing the same
CN103246520A (en) * 2013-05-24 2013-08-14 北京小米科技有限责任公司 Method and device for replacing language used by program
CN105389162A (en) * 2014-09-09 2016-03-09 北京金山安全软件有限公司 Method and device for changing terminal system language and terminal
CN105511857A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 System language setting method and device
CN106648575A (en) * 2015-12-29 2017-05-10 北京小米移动软件有限公司 Language setting method and apparatus
JP2017151578A (en) * 2016-02-23 2017-08-31 アイシン・エィ・ダブリュ株式会社 Language setting system and language setting program
CN106681709A (en) * 2016-11-24 2017-05-17 宇龙计算机通信科技(深圳)有限公司 System language switching method and device
CN108255555A (en) * 2017-12-26 2018-07-06 平安科技(深圳)有限公司 A kind of system language switching method and terminal device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111722892A (en) * 2019-03-19 2020-09-29 奇酷互联网络科技(深圳)有限公司 System language switching method, electronic equipment and storage device
CN111399728A (en) * 2020-03-04 2020-07-10 维沃移动通信有限公司 Setting method, electronic device, and storage medium
CN111399954A (en) * 2020-03-10 2020-07-10 北京字节跳动网络技术有限公司 Interface interaction method and device, storage medium and electronic equipment
CN111651068A (en) * 2020-05-28 2020-09-11 维沃移动通信有限公司 Method, device and equipment for switching character language types and storage medium
WO2021239019A1 (en) * 2020-05-28 2021-12-02 维沃移动通信有限公司 Method, device, and equipment for switching text language types, and storage medium
CN111651068B (en) * 2020-05-28 2023-04-18 维沃移动通信有限公司 Method, device and equipment for switching character language types and storage medium
CN112068912A (en) * 2020-08-18 2020-12-11 深圳传音控股股份有限公司 System language type switching method, terminal and computer storage medium
CN113641440A (en) * 2021-08-25 2021-11-12 中国银行股份有限公司 Front-end multi-language display method and device

Also Published As

Publication number Publication date
CN109240785B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN109240785A (en) A kind of method, terminal and storage medium that language is set
KR102064952B1 (en) Electronic device for operating application using received data
WO2019227281A1 (en) Capture method and electronic device
CN110471858B (en) Application program testing method, device and storage medium
CN108496150A (en) A kind of method and terminal of screenshot capture and reading
JP7098757B2 (en) How to implement application functions and electronic devices
CN111564152B (en) Voice conversion method and device, electronic equipment and storage medium
US20230129384A1 (en) Method for Browsing Application Folder and Electronic Device
CN107908330B (en) The management method and mobile terminal of application icon
CN110221885A (en) A kind of interface display method and terminal device
WO2022057435A1 (en) Search-based question answering method, and storage medium
CN112068762A (en) Interface display method, device, equipment and medium of application program
JP2023554519A (en) Electronic document editing method and device, computer equipment and program
US20210165953A1 (en) Email Translation Method and Electronic Device
CN109189298A (en) A kind of language switching method and terminal
CN110798327B (en) Message processing method, device and storage medium
CN108920054A (en) A kind of application recommended method and terminal
CN108510266A (en) A kind of Digital Object Unique Identifier recognition methods and mobile terminal
WO2019223484A1 (en) Information display method and apparatus, and mobile terminal and storage medium
CN110308769A (en) A kind of information display method and terminal
CN109739758A (en) Test case conversion method and device
CN110166621A (en) A kind of literal processing method and terminal device
CN110069774A (en) Text handling method, device and terminal
CN109343782A (en) A kind of display methods and terminal
CN114360494A (en) Rhythm labeling method and device, computer equipment and storage medium

Legal Events

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