CN116301397A - Switching method, intelligent terminal and storage medium - Google Patents

Switching method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN116301397A
CN116301397A CN202310207377.3A CN202310207377A CN116301397A CN 116301397 A CN116301397 A CN 116301397A CN 202310207377 A CN202310207377 A CN 202310207377A CN 116301397 A CN116301397 A CN 116301397A
Authority
CN
China
Prior art keywords
language
target
application
input
application identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310207377.3A
Other languages
Chinese (zh)
Inventor
肖凯
包永强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion 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 Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Priority to CN202310207377.3A priority Critical patent/CN116301397A/en
Publication of CN116301397A publication Critical patent/CN116301397A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a switching method, an intelligent terminal and a storage medium, wherein the switching method can be applied to the intelligent terminal and comprises the following steps: s10: responding to an input instruction, and acquiring language information; s20, determining or generating a first target language matched with the target application based on the language information; s30: and when the current input language of the target application is different from the first target language, switching the current input language to the first target language. Through the scheme of the application, the function of directly inputting the operation by the user can be realized, the problem that the user frequently switches languages is solved, and further the user experience is improved.

Description

Switching method, intelligent terminal and storage medium
Technical Field
The application relates to the technical field of terminals, in particular to a switching method, an intelligent terminal and a storage medium.
Background
With the development of the technical field of terminals, more and more users of intelligent terminals are involved. The input language used by the user in using the smart terminal may be different for different users, and thus the user may be required to switch the current input language when inputting information.
In some implementations, the current input language is the last input language used by the user or a default input language, when the user performs an input operation in the input interface, the input interface displays the current input language, if the current input language is different from the target input language intended to be used by the user, the user is required to perform a switching operation, and after the current input language is switched to the target input language, the input operation is performed again to complete information input.
In the process of designing and implementing the present application, the inventors found that at least the following problems exist: for a multi-language user, because input operations are required to be performed in a plurality of language environments and a plurality of input scenes, the target input language which the user intends to use is different from the current input language, and thus the user needs to frequently switch among different language input methods, so that the user experience is reduced.
The foregoing description is provided for general background information and does not necessarily constitute prior art.
Disclosure of Invention
Aiming at the technical problems, the application provides a switching method, an intelligent terminal and a storage medium, so that a user can directly input operation without frequently switching languages by the user, and the operation is simple and convenient.
The application provides a switching method which can be applied to an intelligent terminal and comprises the following steps:
s10: responding to an input instruction, and acquiring language information;
s20, determining or generating a first target language matched with a target application based on the language information;
s30: and when the current input language of the target application is different from the first target language, switching the current input language to the first target language.
Optionally, the language information includes at least one of setting information, behavior habit information, location information, and a system language.
Optionally, the step S20 includes at least one of:
acquiring a target application identifier of the target application, and determining or generating the first target language based on the target application identifier and the setting information;
acquiring a target application identifier of the target application, and determining or generating the first target language based on the target application identifier and behavior habit information;
determining or generating the first target language from the stored correspondence between the location and the recommended language based on the location information;
a system language is determined or generated as the first target language.
Optionally, the setting information includes a correspondence between an application identifier and a custom language; the determining or generating the first target language based on the target application identifier and the setting information includes: and determining or generating the first target language from the corresponding relation between the application identifier and the custom language based on the target application identifier.
Optionally, the behavior habit information includes a correspondence between application identifiers and a history language; the determining or generating the first target language based on the target application identifier and the behavior habit information includes: and determining or generating the first target language from the corresponding relation between the application identifier and the historical language based on the target application identifier.
Optionally, the behavior habit information comprises a corresponding relation among an application identifier, a page identifier and a history language; the determining or generating the first target language based on the target application identifier and the behavior habit information includes: and determining or generating the first target language from the corresponding relation among the application identifier, the page identifier and the historical language based on the target application identifier.
Optionally, before the step S10, the method further includes:
responding to input operation in any application, and acquiring an input language of an application identifier corresponding to the input operation; and carrying out association storage on the application identifier and the input language to obtain behavior habit information comprising the corresponding relation between the application identifier and the history language.
Optionally, before the step S10, the method further includes:
responding to an input operation in any page of any application, and acquiring an application identifier, a page identifier of the page and an input language corresponding to the input operation; and carrying out association storage on the application identifier, the page identifier and the input language to obtain behavior habit information comprising the corresponding relation among the application identifier, the page identifier and the history language.
Optionally, the method further comprises the steps of:
s40: displaying the language identification of the first target language in an input interface;
s50: and responding to a switching instruction, and switching the first target language into a second target language.
Optionally, a language identification of the second target language is presented in the input interface.
The application also provides a switching device, which is applied to or is an intelligent terminal, and the device comprises:
the acquisition module is used for responding to the input instruction and acquiring language information;
the determining module is used for determining or generating a first target language matched with the target application based on the language information;
and the switching module is used for switching the current input language into the first target language when the current input language of the target application is different from the first target language.
The application also provides an intelligent terminal, including: the switching device comprises a memory and a processor, wherein the memory stores a switching program, and the switching program realizes the steps of any switching method when being executed by the processor.
The present application also provides a storage medium storing a computer program which, when executed by a processor, implements the steps of any of the handover methods described above.
As described above, the switching method of the present application may be applied to an intelligent terminal, and includes the steps of: s10: responding to an input instruction, and acquiring language information; s20, determining or generating a first target language matched with the target application based on the language information; s30: and when the current input language of the target application is different from the first target language, switching the current input language to the first target language. Through the scheme of the application, the function of directly inputting the operation by the user can be realized, the problem that the user frequently switches languages is solved, and further the user experience is improved.
Drawings
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 drawings that are needed in the description of the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic hardware structure diagram of an intelligent terminal implementing various embodiments of the present application;
Fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application;
fig. 3 is a flow chart of a handover method according to the first embodiment;
fig. 4 is a flow chart of another switching method according to the third embodiment;
FIG. 5 is a schematic diagram of a language identification provided according to a third embodiment;
fig. 6 is a schematic structural diagram of a switching device according to a fourth embodiment.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings. Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the present application may have the same meaning or may have different meanings, a particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context. 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 will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups. The terms "or," "and/or," "including at least one of," and the like, as used herein, may be construed as inclusive, or meaning any one or any combination. For example, "including at least one of: A. b, C "means" any one of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C ", again as examples," A, B or C "or" A, B and/or C "means" any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, in this document, step numbers such as S10 and S20 are adopted, and the purpose of the present invention is to more clearly and briefly describe the corresponding content, and not to constitute a substantial limitation on the sequence, and those skilled in the art may execute S20 first and then execute S10 when implementing the present invention, which is within the scope of protection of the present application.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present application, and are not of specific significance per se. Thus, "module," "component," or "unit" may be used in combination.
The intelligent terminal may be implemented in various forms. For example, the smart terminals described in the present application may include smart terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and stationary terminals such as digital TVs, desktop computers, and the like.
In the following description, an intelligent terminal will be described as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for a mobile purpose.
Referring to fig. 1, which is a schematic hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. It will be appreciated by those skilled in the art that the configuration of the intelligent terminal shown in fig. 1 is not limiting of the intelligent terminal, and the intelligent terminal may include more or less components than those illustrated, or may combine certain components, or may have a different arrangement of components.
The following describes the components of the intelligent terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, 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 may also communicate with networks and other devices via wireless communications. The wireless communication may 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 ), CDMA2000 (Code Division Multiple Access, 2000, CDMA 2000), WCDMA (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, among others.
WiFi belongs to a short-distance wireless transmission technology, and the intelligent terminal can help a user to send and receive emails, browse webpages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the essential constitution of the intelligent terminal, and can be omitted entirely as required within the scope of not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the intelligent terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the smart terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. 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 medium) or transmitted 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, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone 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 course of receiving and transmitting the audio signal.
The intelligent 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 may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a 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 (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the intelligent terminal. Alternatively, 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, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects the touch azimuth of the user, detects a signal brought by touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. Alternatively, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Alternatively, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and the processor 110 then provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the smart terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the intelligent terminal 100. For example, the external devices 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 having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, and alternatively, the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the intelligent terminal. 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 optionally handling mainly an operating system, a user interface, an application program, etc., the modem processor handling mainly wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The intelligent terminal 100 may further include a power source 111 (such as a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, etc. through the power management system.
Although not shown in fig. 1, the intelligent terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent terminal of the present application is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system provided in the embodiment of the present application, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Alternatively, the UE201 may be the terminal 100 described above, which is not described here again.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. Alternatively, the eNodeB2021 may connect with other enodebs 2022 over a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access for the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. Optionally, MME2031 is a control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present application is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G, and future new network systems (e.g., 6G), etc.
Based on the intelligent terminal hardware structure and the communication network system, various embodiments of the application are provided.
With the development of the technical field of terminals, more and more users of intelligent terminals are involved. The input language used by the user in using the smart terminal may be different for different users, and thus the user may be required to switch the current input language when inputting information. In some implementations, the current input language is the last input language used by the user or a default input language, when the user performs an input operation in the input interface, the input interface displays the current input language, if the current input language is different from the target input language intended to be used by the user, the user is required to perform a switching operation, and after the current input language is switched to the target input language, the input operation is performed again to complete information input. In the process of designing and implementing the present application, the inventors found that at least the following problems exist: for a multi-language user, because input operations are required to be performed in a plurality of language environments and a plurality of input scenes, the target input language which the user intends to use is different from the current input language, and thus the user needs to frequently switch among different language input methods, so that the user experience is reduced.
For example, in the input scene using the application a, the multilingual user a uses a chinese input method, in the input scene using the application B uses a french input method, and when the user switches the input scene each time, the user needs to switch the language input method corresponding to the input scene, thereby reducing user experience.
In order to solve the above problems, the present application provides a switching method, which responds to an input instruction to acquire language information; determining or generating a first target language matching the target application based on the language information; and when the current input language of the target application is different from the first target language, switching the current input language to the first target language. In the technical scheme, when the user needs to input information, the target input language matched with the target application is determined through the language information of the user, and the input language of each application is automatically switched in the dimension of the user, so that the automatically switched input language can meet the user requirement, and the user does not need to frequently switch the language, thereby improving the user experience.
First embodiment
Fig. 3 is a flow chart of a switching method provided in an embodiment of the present application, as shown in fig. 3, the method includes the steps of:
S10: responding to an input instruction, and acquiring language information;
optionally, the language information includes at least one of setting information, behavior habit information, location information, and a system language.
Alternatively, the user may trigger the input instruction through a preset operation in the input interface. For example, in response to a click operation within an input box, an input instruction is triggered. The user may also trigger an input instruction by launching the target application. For example, the user starts chat application a, triggering an input instruction. It should be noted that the language information acquired includes one or more kinds. The language information includes, for example, setting information and behavior habit information.
And S20, determining or generating a first target language matched with the target application based on the language information.
Alternatively, the language used may be different when the user uses different applications. The step may determine or generate a first target language matching the target application by at least one of setting information, behavior habit information, location information, and system language.
Alternatively, when the language information includes one of the setting information, the behavior habit information, the location information, and the system language, the first target language matching the target application is determined or generated through the single language information. When the language information includes a plurality of the setting information, the behavior habit information, the location information, and the system language, priorities of the plurality of information may be set, and a first target language matching the target application may be determined or generated by the optimal one of the language information. Optionally, the priority is, from high to low, setting information, behavior habit information, location information, and system language. The language information includes setting information and behavior habit information, and if it is determined that the optimal language information is the setting information through the priority, a first target language matched with the target application is determined or generated through the setting information, and the behavior habit information is ignored.
S30: and when the current input language of the target application is different from the first target language, switching the current input language to the first target language.
Optionally, when the current input language of the target application is different from the first target language, the current input language is automatically switched to the first target language without frequent switching of the user, so that the input experience of the user is improved. It should be noted that when the current input language of the target application is the same as the first target language, the terminal may directly set the current input language as the first target language, and no switching is needed at this time, so that the input experience of the user is not affected.
The embodiment of the application provides a switching method, which responds to an input instruction to acquire language information; determining or generating a first target language matching the target application based on the language information; and when the current input language of the target application is different from the first target language, switching the current input language to the first target language. In the embodiment of the application, when the user needs to input information, the target input language matched with the target application is determined through the language information of the user, and the input language of each application is automatically switched by the user dimension, so that the automatically switched input language can meet the user requirement, and the user does not need to frequently switch the language, thereby improving the user experience.
Second embodiment
Based on the embodiment provided in fig. 3, step S20 in fig. 3 is: the specific implementation method for determining or generating the first target language matched with the target application based on the language information is described in detail. In the following, specific steps of determining or generating the first target language matched with the target application will be described in detail from the perspective of four scenes corresponding to the four language information.
First, in a user-defined scenario, the step of determining or generating a first target language that matches a target application based on language information includes: and acquiring a target application identifier of the target application, and determining or generating a first target language based on the target application identifier and the setting information.
Optionally, the setting information includes a correspondence between the application identifier and the custom language; determining or generating a first target language based on the target application identification and the setting information, including: based on the target application identification, a first target language is determined or generated from the correspondence between the application identification and the custom language. Illustratively, the terminal stores setting information, and the setting information is obtained through the following steps: and the user sets different custom languages for different applications respectively, and the terminal performs associated storage on the application identification and the custom language to obtain the corresponding relation between the application identification and the custom language.
Because the first target language matched with the target application is determined or generated through the user-defined language set by the user, the input language capable of being automatically switched can be ensured to meet the user requirement, so that the user does not need to switch the language, and the user experience is improved.
Second, in the user behavior habit scenario, the step of determining or generating a first target language matching the target application based on the language information includes: and acquiring a target application identifier of the target application, and determining or generating a first target language based on the target application identifier and the behavior habit information.
In one possible implementation, the behavior habit information includes a correspondence between application identifications and a history language; determining or generating a first target language based on the target application identification and the behavioral habit information, including: based on the target application identification, a first target language is determined or generated from the correspondence between the application identification and the history language.
Optionally, behavior habit information is stored in the intelligent terminal, and the acquiring process of the behavior habit information is as follows: responding to input operation in any application, and acquiring an input language corresponding to the application identification and the input operation; and carrying out association storage on the application identifier and the input language to obtain behavior habit information comprising the corresponding relation between the application identifier and the history language.
Because the first target language matched with the target application is determined or generated through the behavior habit set by the user, the user does not need to actively perform custom setting on each application, and the user experience is improved; and because the historical language used by the user in any application is the target language which the user intends to select with high probability, the input language which is automatically switched can be ensured to meet the user requirement, and the user experience is further improved.
In another possible implementation, the behavior habit information includes a correspondence between an application identifier, a page identifier, and a history language; determining or generating a first target language based on the target application identification and the behavioral habit information, including: based on the target application identification, a first target language is determined or generated from the correspondence between the application identification, the page identification and the history language.
Optionally, behavior habit information is stored in the terminal, and the acquiring process of the behavior habit information is as follows: responding to the input operation in any page of any application, and acquiring an application identifier, a page identifier of the page and an input language corresponding to the input operation; and carrying out association storage on the application identifier, the page identifier and the input language to obtain behavior habit information comprising the corresponding relation among the application identifier, the page identifier and the history language.
It should be noted that, the pages in the application include a text input page, a verification code input page, a chat page of the contact a, a circle of friends page, and the like. The input language corresponding to the text input page is Chinese, the input language corresponding to the verification code input page is a number, and the input language corresponding to the chat page of the contact A is English.
Since the first target language matched with the target application is determined or generated from the page dimension of each application through the behavior habit set by the user, and the input language used by different pages of each application may be different, the first target language determined or generated through the page dimension is the target language which the user intends to select, thereby improving the user experience.
Third, in the user recommendation scenario, the step of determining or generating a first target language matching the target application based on the language information includes: based on the location information, a first target language is determined or generated from a correspondence between the stored location and the recommended language. Alternatively, the terminal may acquire the correspondence between the location and the language from the target server and store it locally. The target server may be the server to which the input language application corresponds.
For example, when a user uses an application for the first time, there may be no setting information and no history language corresponding to the application in the terminal, and at this time, the terminal may determine or generate the first target language through the location information.
Under the condition that information and historical languages are not set, the method can also determine or generate the first target language through the position information, so that the application range of the switching method is expanded, and optionally, the input language selected by most users is selected according to the recommended language corresponding to the position, and the target language selected by the users is selected with high probability, so that the user experience is improved.
Fourth, in a user default scenario, the step of determining or generating a first target language matching the target application based on the language information comprises: the system language is determined or generated as the first target language.
The first target language matched with the target application is determined or generated through at least one of the setting information, the behavior habit information, the position information and the system language, so that the automatic switching of the input language of each application by the user dimension is realized, the automatic switching of the input language is ensured to meet the user requirement, and the user experience is improved.
Third embodiment
It should be noted that, the intelligent terminal may also display the language identifier of the first target language in the input interface, so that the user can quickly find out whether the input language meets the expectations. Fig. 4 is a flow chart of another switching method provided in the embodiment of the present application, as shown in fig. 4, the method further includes the steps of:
s40: and displaying the language identification of the first target language in the input interface.
Optionally, language identification is used to distinguish between different input languages. Illustratively, as shown in FIG. 5, the language identification "middle" indicates that the input language is Chinese; the language identification "a" indicates that the input language is english.
S50: and responding to the switching instruction, switching the first target language into a second target language, and displaying the language identification of the second target language in the input interface.
In this embodiment of the present application, if the first target language is not the input language required by the user, the user may trigger the switching instruction through a preset operation to switch the first target language to the second target language required by the user. Optionally, the language identification of the second target language is presented in the input interface to ensure that the user is visually able to intuitively determine the current language.
It should be noted that, in the prior art, when a user performs an input operation in an input interface, a current input language is only displayed, and at this time, if the user finds that the corresponding input language is not the target input language, the user needs to switch the input language. In such a case, the user's input thought may be interrupted, causing the user to be unable to concentrate on the input, thus degrading the user experience. In the embodiment of the application, the language identification is displayed in the input interface in real time, so that a user can conveniently and quickly find whether the input language accords with the expectation or not, and the input operation is performed after the switching is finished, so that the condition that the input thought of the user is interrupted is avoided, and the user experience is improved.
Fourth embodiment
Fig. 6 is a schematic structural diagram of a switching device provided in an embodiment of the present application, where the device is applied to or is an intelligent terminal, as shown in fig. 6, and the device includes:
the obtaining module 601 is configured to obtain language information in response to an input instruction.
Optionally, the language information includes at least one of setting information, behavior habit information, location information, and a system language.
A determining module 602, configured to determine or generate a first target language matching the target application based on the language information;
The switching module 603 is configured to switch the current input language to the first target language when the current input language of the target application is different from the first target language.
Optionally, the determining module 602 includes at least one of the following determining units:
the first determining unit is used for obtaining a target application identifier of the target application and determining or generating a first target language based on the target application identifier and the setting information;
the second determining unit is used for obtaining a target application identifier of the target application and determining or generating a first target language based on the target application identifier and behavior habit information;
a third determining unit configured to determine or generate a first target language in a correspondence between the stored position and the recommended language based on the position information;
and a fourth determining unit configured to determine or generate the system language as the first target language.
Optionally, the setting information includes a correspondence between the application identifier and the custom language; the first determining unit determines or generates a first target language based on the target application identification and the setting information, and specifically includes: based on the target application identification, a first target language is determined or generated from the correspondence between the application identification and the custom language.
Optionally, the behavior habit information includes a correspondence between the application identifier and the history language; the second determining unit determines or generates a first target language based on the target application identifier and the behavior habit information, and specifically includes: based on the target application identification, a first target language is determined or generated from the correspondence between the application identification and the history language.
Optionally, the behavior habit information includes a correspondence between an application identifier, a page identifier and a history language; the second determining unit determines or generates a first target language based on the target application identifier and the behavior habit information, and specifically includes: based on the target application identification, a first target language is determined or generated from the correspondence between the application identification, the page identification and the history language.
Optionally, the apparatus further comprises: an associated storage module;
the association storage module is used for responding to the input operation in any application and acquiring an input language corresponding to the application identification and the input operation; and carrying out association storage on the application identifier and the input language to obtain behavior habit information comprising the corresponding relation between the application identifier and the history language.
Optionally, the association storage module is further configured to obtain an application identifier, a page identifier of a page, and an input language corresponding to the input operation in response to the input operation in any page of any application; and carrying out association storage on the application identifier, the page identifier and the input language to obtain behavior habit information comprising the corresponding relation among the application identifier, the page identifier and the history language.
Optionally, the apparatus further comprises: a display module; the display module is used for displaying the language identification of the first target language in the input interface; and the language identification display module is used for responding to the switching instruction, switching the first target language into the second target language and displaying the language identification of the second target language in the input interface.
The embodiment of the application also provides an intelligent terminal, which comprises a memory and a processor, wherein the memory stores a switching program, and the switching program is executed by the processor to realize the steps of the switching method in any embodiment.
The embodiment of the application also provides a storage medium, on which a switching program is stored, which when executed by a processor, implements the steps of the switching method in any of the above embodiments.
The embodiments of the intelligent terminal and the storage medium provided in the present application may include all technical features of any one of the embodiments of the foregoing switching method, and the expansion and explanation contents of the description are substantially the same as those of each embodiment of the foregoing method, which are not repeated herein.
The present embodiments also provide a computer program product comprising computer program code which, when run on a computer, causes the computer to perform the method in the various possible implementations as above.
The embodiments also provide a chip including a memory for storing a computer program and a processor for calling and running the computer program from the memory, so that a device on which the chip is mounted performs the method in the above possible embodiments.
It can be understood that the above scenario is merely an example, and does not constitute a limitation on the application scenario of the technical solution provided in the embodiments of the present application, and the technical solution of the present application may also be applied to other scenarios. For example, as one of ordinary skill in the art can know, with the evolution of the system architecture and the appearance of new service scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and pruned according to actual needs.
In this application, the same or similar term concept, technical solution, and/or application scenario description will generally be described in detail only when first appearing, and when repeated later, for brevity, will not generally be repeated, and when understanding the content of the technical solution of the present application, etc., reference may be made to the previous related detailed description thereof for the same or similar term concept, technical solution, and/or application scenario description, etc., which are not described in detail later.
In this application, the descriptions of the embodiments are focused on, and the details or descriptions of one embodiment may be found in the related descriptions of other embodiments.
The technical features of the technical solutions of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the above embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, storage disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid State Disk (SSD)), among others.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

1. A method of handover comprising the steps of:
s10: responding to an input instruction, and acquiring language information;
s20, determining or generating a first target language matched with a target application based on the language information;
s30: and when the current input language of the target application is different from the first target language, switching the current input language to the first target language.
2. The method according to claim 1, wherein the step S20 comprises at least one of:
acquiring a target application identifier of the target application, and determining or generating the first target language based on the target application identifier and the setting information;
acquiring a target application identifier of the target application, and determining or generating the first target language based on the target application identifier and behavior habit information;
Determining or generating the first target language from the stored correspondence between the location and the recommended language based on the location information;
a system language is determined or generated as the first target language.
3. The method of claim 2, wherein the setting information includes a correspondence between application identifications and a custom language; and/or the number of the groups of groups,
the determining or generating the first target language based on the target application identifier and the setting information includes:
and determining or generating the first target language from the corresponding relation between the application identifier and the custom language based on the target application identifier.
4. The method of claim 2, wherein the behavioral habit information includes a correspondence between application identifications and historical language; and/or the number of the groups of groups,
the determining or generating the first target language based on the target application identifier and the behavior habit information includes:
and determining or generating the first target language from the corresponding relation between the application identifier and the historical language based on the target application identifier.
5. The method of claim 2, wherein the behavioral habit information includes a correspondence between application identifications, page identifications, and historical language; and/or the number of the groups of groups,
The determining or generating the first target language based on the target application identifier and the behavior habit information includes:
and determining or generating the first target language from the corresponding relation among the application identifier, the page identifier and the historical language based on the target application identifier.
6. The method according to any one of claims 1 to 5, further comprising, prior to said step S10:
responding to input operation in any application, and acquiring an input language of an application identifier corresponding to the input operation;
and carrying out association storage on the application identifier and the input language to obtain behavior habit information comprising the corresponding relation between the application identifier and the history language.
7. The method according to any one of claims 1 to 5, further comprising, prior to said step S10:
responding to an input operation in any page of any application, and acquiring an application identifier, a page identifier of the page and an input language corresponding to the input operation;
and carrying out association storage on the application identifier, the page identifier and the input language to obtain behavior habit information comprising the corresponding relation among the application identifier, the page identifier and the history language.
8. The method according to any one of claims 1 to 5, further comprising the step of:
s40: displaying the language identification of the first target language in an input interface;
s50: and responding to a switching instruction, and switching the first target language into a second target language.
9. An intelligent terminal, characterized by comprising: a memory, a processor, wherein the memory has stored thereon a switching program which, when executed by the processor, implements the steps of the switching method according to any of claims 1 to 8.
10. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the handover method according to any of claims 1 to 8.
CN202310207377.3A 2023-02-24 2023-02-24 Switching method, intelligent terminal and storage medium Pending CN116301397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310207377.3A CN116301397A (en) 2023-02-24 2023-02-24 Switching method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310207377.3A CN116301397A (en) 2023-02-24 2023-02-24 Switching method, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN116301397A true CN116301397A (en) 2023-06-23

Family

ID=86791919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310207377.3A Pending CN116301397A (en) 2023-02-24 2023-02-24 Switching method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN116301397A (en)

Similar Documents

Publication Publication Date Title
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN107885448B (en) Control method for application touch operation, mobile terminal and readable storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN109151216B (en) Application starting method, mobile terminal, server and computer readable storage medium
CN109408187B (en) Head portrait setting method and device, mobile terminal and readable storage medium
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN111970738A (en) Network switching control method, equipment and computer readable storage medium
CN109462829B (en) Call transfer method, device and computer readable storage medium
CN109062688B (en) Memory allocation method, server and mobile terminal
CN113805700A (en) Voice control method, mobile terminal and storage medium
CN113867586A (en) Icon display method, intelligent terminal and storage medium
CN109558049B (en) Notification message display processing method, mobile terminal and storage medium
CN113672301A (en) Application processing method, mobile terminal and storage medium
CN113824176A (en) Charging method, earphone, terminal and storage medium
CN110058761B (en) Copy selection method, mobile terminal and computer readable storage medium
CN113419694A (en) Processing method, mobile terminal and storage medium
CN116301397A (en) Switching method, intelligent terminal and storage medium
CN109669594B (en) Interaction control method, equipment and computer readable storage medium
CN114090287A (en) Application processing method, terminal device and storage medium
CN116483502A (en) Switching method, intelligent terminal and storage medium
CN116431045A (en) Screen capturing sharing method, intelligent terminal and storage medium
CN117242425A (en) Control method, mobile terminal and readable storage medium
CN115767777A (en) Sharing method, terminal device and storage medium
CN117130519A (en) Application starting method, intelligent terminal and storage medium
CN117135265A (en) Display method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication