CN116560778A - Input method calling method, device, equipment and storage medium - Google Patents

Input method calling method, device, equipment and storage medium Download PDF

Info

Publication number
CN116560778A
CN116560778A CN202310547628.2A CN202310547628A CN116560778A CN 116560778 A CN116560778 A CN 116560778A CN 202310547628 A CN202310547628 A CN 202310547628A CN 116560778 A CN116560778 A CN 116560778A
Authority
CN
China
Prior art keywords
input method
interface
function
display interface
keyboard display
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
CN202310547628.2A
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.)
Huizhou Desay SV Automotive Co Ltd
Original Assignee
Huizhou Desay SV Automotive 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 Huizhou Desay SV Automotive Co Ltd filed Critical Huizhou Desay SV Automotive Co Ltd
Priority to CN202310547628.2A priority Critical patent/CN116560778A/en
Publication of CN116560778A publication Critical patent/CN116560778A/en
Pending legal-status Critical Current

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
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • 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)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses a calling method, a device, equipment and a storage medium of an input method, wherein the method comprises the following steps: responding to the keyboard display interface setting operation, and determining a keyboard display interface corresponding to the keyboard display interface setting operation; responding to a function triggering operation on a keyboard display interface, and calling a function interface corresponding to the function triggering operation; the function interface is connected with at least one alternative input method; and determining a target input method from at least one alternative input method, and enabling the target input method to provide corresponding functions for a keyboard display interface through a function interface. The calling method of the input method disclosed by the invention establishes an interface standard, can enable different input methods to be uniformly connected to the function interface on the keyboard display interface, then can call the input method in an interface mode, can conveniently and newly add the input methods, integrates the input methods and provides functions for the keyboard display interface, and maintains the customized keyboard display interface unchanged when the input method functions are called and the input methods are switched.

Description

Input method calling method, device, equipment and storage medium
Technical Field
The present invention relates to the field of intelligent automobiles, and in particular, to a method, an apparatus, a device, and a storage medium for calling an input method.
Background
In the Android operating system, the input method framework (Input Method Framework, IMF) is distributed in three parts:
1. the Client (Client) application, which contains an edit box, represents a common application process using an input method. For example, when the user clicks the edit box, the application switches the currently selected input method; when the user inputs characters in the input method, the application submission candidate word is updated into the edit box. To accomplish these actions, clients need to interact with the following two input method related services.
2. An Input Method (IME) service is a specific input method process. It generally provides an input window that can be opened or closed according to the user's requirements, and can update the characters entered by the user and the candidate words submitted to clients, etc., which is a user-level service.
3. Input method manager (Input method manager, IMM) service, an Android system level service, is used to manage multiple input methods and interact with other system services (e.g., window manager service).
In the field of intelligent automobiles, a user can interact with an automobile machine system through a text input mode on an operation interface of the automobile, and an input method is needed when text input is carried out. In the prior art, various input methods exist in the market, the input method interfaces set by different factories are different, the integrated functions have various differences, and after the input methods are switched, the keyboard display interface faced by a user is changed into a corresponding input method interface. However, the car machine interface and the keyboard display interface are customizable for the user, so that there is a need to keep the customized interface unchanged.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for calling an input method, so as to keep a keyboard display interface unchanged when the input method function is called and the input method is switched.
According to an aspect of the present invention, there is provided a calling method of an input method, including:
responding to a keyboard display interface setting operation, and determining a keyboard display interface corresponding to the keyboard display interface setting operation;
responding to a function triggering operation on the keyboard display interface, and calling a function interface corresponding to the function triggering operation; wherein the functional interface is accessed to at least one alternative input method;
and determining a target input method from the at least one alternative input method, and enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface.
Further, in response to a keyboard display interface setting operation, determining a keyboard display interface corresponding to the keyboard display interface setting operation, including:
switching to a keyboard setting interface and receiving the keyboard display interface setting operation; wherein the keyboard setting interface comprises a keyboard setting tab;
and determining a selection result of the keyboard setting tab according to the keyboard display interface setting operation, and determining the keyboard display interface according to the selection result.
Further characterized in that said at least one alternative input method accesses said functional interface through a standardized interface.
Further, determining a target input method from the at least one alternative input method includes:
acquiring a preset sequence of the at least one alternative input method;
and according to the preset sequence, determining an alternative input method of which the sequence is first in the preset sequence as the target input method.
Further, determining a target input method from the at least one alternative input method includes:
responding to the input method selection operation on the keyboard display interface;
and determining an alternative input method corresponding to the input method selection operation as the target input method.
Further, after the target input method provides the corresponding function for the keyboard display interface through the function interface, the method further includes:
if the target input method does not have the function corresponding to the function interface, determining a new target input method, and enabling the new target input method to provide the corresponding function to the keyboard display interface through the function interface.
Further, determining a new target input method includes:
determining a first input method with a function corresponding to the function interface in the at least one alternative input method according to the function interface;
and determining the first input method as the new target input method.
According to another aspect of the present invention, there is provided an input method calling device, including:
the keyboard display interface determining module is used for responding to the keyboard display interface setting operation and determining a keyboard display interface corresponding to the keyboard display interface setting operation;
the function interface calling module is used for responding to the function triggering operation on the keyboard display interface and calling a function interface corresponding to the function triggering operation; wherein the functional interface is accessed to at least one alternative input method;
and the target input method determining module is used for determining a target input method from the at least one alternative input method and enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface.
Optionally, the keyboard display interface determining module is further configured to:
switching to a keyboard setting interface and receiving the keyboard display interface setting operation; wherein the keyboard setting interface comprises a keyboard setting tab;
and determining a selection result of the keyboard setting tab according to the keyboard display interface setting operation, and determining the keyboard display interface according to the selection result.
Optionally, the at least one alternative input method accesses the functional interface through a standardized interface.
Optionally, the target input method determining module is further configured to:
acquiring a preset sequence of the at least one alternative input method;
and according to the preset sequence, determining an alternative input method of which the sequence is first in the preset sequence as the target input method.
Optionally, the target input method determining module is further configured to:
responding to the input method selection operation on the keyboard display interface;
and determining an alternative input method corresponding to the input method selection operation as the target input method.
Optionally, the input method calling device further includes a new target input method determining module, configured to determine a new target input method if the target input method does not have a function corresponding to the function interface, and enable the new target input method to provide a corresponding function to the keyboard display interface through the function interface.
Optionally, the new target input method determining module is further configured to:
determining a first input method with a function corresponding to the function interface in the at least one alternative input method according to the function interface;
and determining the first input method as the new target input method.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of invoking the input method according to any of the embodiments of the invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a calling method of an input method according to any embodiment of the present invention when executed.
The invention discloses a calling method of an input method, which comprises the steps of firstly, responding to keyboard display interface setting operation, determining a keyboard display interface corresponding to the keyboard display interface setting operation, then responding to function triggering operation on the keyboard display interface, calling a function interface corresponding to the function triggering operation, wherein the function interface is connected with at least one alternative input method, finally, determining a target input method from the at least one alternative input method, and enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface. The calling method of the input method disclosed by the invention establishes an interface standard, can enable different input methods to be uniformly connected to the function interface on the keyboard display interface, then calls the input method in an interface mode, can conveniently and newly add the input methods, integrates the functions of each input method and provides the functions for the keyboard display interface, and maintains the customized keyboard display interface unchanged when the input method functions are called and the input methods are switched. In addition, a new function area or keys can be reserved on the keyboard display interface, and when the input method is used for completing new function development, the new function can be directly acquired through the function interface without reinstalling a software development kit of the input method.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for calling an input method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for calling an input method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a calling device of an input method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing a calling method of an input method according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for calling an input method according to a first embodiment of the present invention, where the method may be executed by a calling device of the input method, the calling device of the input method may be implemented in hardware and/or software, and the calling device of the input method may be configured in an electronic device. As shown in fig. 1, the method includes:
s110, responding to the keyboard display interface setting operation, and determining a keyboard display interface corresponding to the keyboard display interface setting operation.
The keyboard display Interface is a User Interface (UI), and a User of the input method performs interaction and information exchange through the keyboard display Interface, and can obtain various functions provided by the input method by operating on the keyboard display Interface. Because the use habits of different users are different, the keyboard display interfaces hoped by different users are different, and in order to meet the user demands, the keyboard display interfaces can be personalized customized according to the user customization demands. The keyboard display interface setting operation may be an operation of setting the keyboard display interface according to a user demand, and taking the intelligent automobile as an example, the keyboard display interface setting operation may be an operation of setting the keyboard display interface of the intelligent automobile before the vehicle leaves the factory.
In this embodiment, the input method in this embodiment may be an input method applied to an intelligent automobile, and when the intelligent automobile is started, after the main operation interface of the automobile is activated, the user may call the keyboard setting interface on the main operation interface by touching, clicking or a voice command, and then operate on the keyboard setting interface, thereby setting the keyboard display interface.
Optionally, the setting of the keyboard display interface can be split into the setting of the interface background, size, font and the like, and the setting of each aspect is provided for the user in the form of tabs, so that the user can select according to the options provided by each tab, and the setting operation of the keyboard display interface is the selection operation of each tab. Or, a plurality of preset templates of the keyboard display interfaces can be provided for the user, and the keyboard display interface setting operation is the selection operation of each preset module. The keyboard display interface setting operation may have various forms, and the embodiment is not limited to the above, and the user may determine the customized keyboard display interface desired by the user in response to the above-mentioned keyboard display interface setting operation.
S120, responding to function triggering operation on the keyboard display interface, and calling a function interface corresponding to the function triggering operation; wherein the functional interface is connected to at least one alternative input method.
The function triggering operation may be based on a keyboard display interface, and the operation of calling the input method function by means of touching, clicking or voice command, for example, may be Chinese/English switching, candidate word obtaining, association word obtaining, etc. The function interface may be a reference type that defines a communication agreement between the keyboard display interface and the input method corresponding to each input method specific function.
In this embodiment, after the keyboard display interface is determined, when the user needs to use the function of the input method, the user may perform an operation on the set keyboard display interface. Different operations of a user on the keyboard display interface can trigger corresponding functions, each function on the keyboard display interface corresponds to at least one function interface, and when the function triggering operation on the keyboard display interface is received, the corresponding function interface or the combination of the function interfaces can be called according to the operation. For example, when a user inputs characters through pinyin, a function of acquiring candidate words can be triggered along with the pinyin input, and a function interface for acquiring the candidate words is called; when the candidate word is selected, the function of acquiring the associated word can be triggered, and the function of acquiring the associated word is called.
Further, at least one alternative input method accesses the functional interface through the standardized interface.
In this embodiment, the functional interface is equivalent to "channels" between the keyboard display interface and the input methods, and each "channel" is connected to at least one alternative input method. In order to realize the access of each alternative input method, an interface standard can be formulated, so that each alternative input method is accessed to the functional interface provided by the embodiment through a standardized interface.
Specifically, because development platforms and manufacturers of different input methods are different, original interfaces of the input methods may not be uniform, interface standards may be formulated in order to enable the input methods to be uniformly connected to function interfaces on the keyboard display interface provided in this embodiment, that is, each input method platform uses the same function to realize a single function, and when the function interfaces on the keyboard display interface are called, the function triggered on the keyboard display interface may be realized through the corresponding input method function or the combination of the function functions. Taking a car machine system of an intelligent car as an example, through the realization of a standardized interface, the function provided by the intelligent car can be obtained without installing an input method in the car machine system, and meanwhile, the rapid switching among different input methods can be realized.
Preferably, the functional form of the standardized interface corresponding to the functions of several input methods provided in this embodiment is as follows:
1. setting basic phonetic/English parameters of input method
void keyboardCoreFlow(String sysDictPath,String userDictPath);
2. Setting basic handwriting parameters
void handwritingFlow(String sysDict,String userDict);
3. Obtaining associative results
List<String>imGetPredictList(int inputMode,String keyInput,int predictsStart,int predictsNum);
4. Obtaining candidate results
List<String>imGetComposeList(int inputMode,String keyInputText,int composeStart,int composeNum);
5. Obtaining handwriting results
List<String>imGetHandWriteList(int leng,int sumNum);
6. Actively storing user dictionary, word frequency advance function
void imSaveChoiceToDict();
7. Selecting a candidate, feeding back an index position of sdk candidate in the result list
boolean imChooseCandidate(int index);
8. Adding user words
int imAddUserWord(String phonetic,String word,int mode);
9. Obtaining a list of Chinese candidate words
List<String>imChooseChineseCandidate(int index);
10. Obtaining a conversion string, obtaining a key-in (with separator)
String imGetInputTrans();
11. Whether the candidate selection of the current input is finished or not, for example: we yiqi, i.e. not selected
boolean imGetIsFinished(int index);
12. Setting an input mode
void imSelectToSetCn();
13. Obtaining candidate results
List<String>imGetComposeList_Cn(int keyInput,int composeStart,int composeNum)。
S130, determining a target input method from at least one alternative input method, and enabling the target input method to provide corresponding functions for a keyboard display interface through a function interface.
In this embodiment, after a function interface corresponding to a function triggering operation is invoked, an input method may be determined as a target input method in at least one alternative input method accessed to the function interface, so that the target input method is used as a function providing body to provide a corresponding function to a keyboard display interface.
Further, after the target input method provides the corresponding function for the keyboard display interface through the function interface, if the target input method does not have the function corresponding to the function interface, a new target input method is determined, and the new target input method provides the corresponding function for the keyboard display interface through the function interface.
In this embodiment, after determining the target input method, when the target input method cannot provide the function corresponding to the function interface, the input method needs to be switched, that is, a new target input method is determined again, and the function of the new target input method is acquired through the function interface.
Optionally, the manner of determining the new target input method may be: determining a first input method with a function corresponding to the function interface in at least one alternative input method according to the function interface; the first input method is determined to be a new target input method.
Specifically, the keyboard display interface is set according to the setting operation of the keyboard display interface, and is highly customized by a user, when the interface layout of the keyboard display interface is kept unchanged and a new input method function is added, the original target input method may not meet the new requirement, and at the moment, other input method engines can be switched through the function interface. When switching, for at least one alternative input method accessed by the functional interface, a first input method which can meet the functional requirement can be determined as a new target input method. Further, if the first input method is multiple, the multiple first input methods can be ranked, the first input method in the ranking is used as a new target input method, and each first input method can be provided for a user to select and is determined according to a selection result of the user. Alternatively, the first input method may be ordered in alphabetical order, stroke order, frequency of use by the user, and so forth.
The invention discloses a calling method of an input method, which comprises the steps of firstly, responding to keyboard display interface setting operation, determining a keyboard display interface corresponding to the keyboard display interface setting operation, then responding to function triggering operation on the keyboard display interface, calling a function interface corresponding to the function triggering operation, wherein the function interface is connected with at least one alternative input method, finally, determining a target input method from the at least one alternative input method, and enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface. The calling method of the input method disclosed by the invention establishes an interface standard, can enable different input methods to be uniformly connected to the function interface on the keyboard display interface, then calls the input method in an interface mode, can conveniently and newly add the input methods, integrates the functions of each input method and provides the functions for the keyboard display interface, and maintains the customized keyboard display interface unchanged when the input method functions are called and the input methods are switched. In addition, a new function area or keys can be reserved on the keyboard display interface, and when the input method is used for completing new function development, the new function can be directly acquired through the function interface without reinstalling a software development kit of the input method.
Example two
Fig. 2 is a flowchart of a calling method of an input method according to a second embodiment of the present invention, and this embodiment is a refinement of the foregoing embodiment. As shown in fig. 2, the method includes:
s210, switching to a keyboard setting interface and receiving a keyboard display interface setting operation; wherein the keyboard setup interface includes a keyboard setup tab.
In this embodiment, when the keyboard display interface is determined in response to the keyboard display interface setting operation, keyboard setting tabs may be provided to the user at the keyboard setting interface, each tab may correspond to a different item set by the keyboard display interface, for example, an interface background, a size, a font, etc., and each tab may provide a plurality of options for selection. Accordingly, the keyboard display interface setup operation may include a selection operation of a keyboard setup tab.
For example, for an intelligent automobile, after the main operation interface of the automobile machine is activated, a user can switch the main operation interface to a keyboard setting interface by touching, clicking or voice instructions on the main operation interface, and the interface displays tabs corresponding to various items such as interface background, size, fonts and the like, so that the user can select options provided in the tabs according to personal preference or habit.
S220, determining a selection result of the keyboard setting tab according to the keyboard display interface setting operation, and determining a keyboard display interface according to the selection result.
The selection result of the keyboard setting tab may be the content of the option determined after each option in the tab is selected.
In this embodiment, after the user selects the tab provided by the keyboard setting interface, the user may obtain the result of selecting the keyboard setting tab according to the user's operation of selecting the keyboard setting tab, that is, the operation of setting the keyboard display interface, so that the keyboard display interface may be determined according to the result of selecting.
For example, for an interface background tab in the keyboard setting interface, if the options provided by the tab are white, blue and red, the user selects the option to be white, and then the background color of the keyboard display interface can be determined to be white. Similarly, for tabs of other items such as size and font, the options selected by the user may be obtained, so as to set the keyboard display interface.
S230, responding to function triggering operation on the keyboard display interface, and calling a function interface corresponding to the function triggering operation; wherein the functional interface is connected to at least one alternative input method.
In this embodiment, after the keyboard display interface is determined, when the user needs to use the function of the input method, the user may perform an operation on the set keyboard display interface. Different operations of a user on the keyboard display interface can trigger corresponding functions, each function on the keyboard display interface corresponds to at least one function interface, and when the function triggering operation on the keyboard display interface is received, the corresponding function interface or the combination of the function interfaces can be called according to the operation. For example, when a user inputs characters through pinyin, a function of acquiring candidate words can be triggered along with the pinyin input, and a function interface for acquiring the candidate words is called; when the candidate word is selected, the function of acquiring the associated word can be triggered, and the function of acquiring the associated word is called.
Wherein at least one alternative input method accesses the functional interface through the standardized interface.
Specifically, the functional interface is equivalent to a "channel" between the keyboard display interface and the input methods, and each "channel" is connected with at least one alternative input method. In order to realize the access of each alternative input method, an interface standard can be formulated, so that each alternative input method is accessed to the functional interface provided by the embodiment through a standardized interface. Because development platforms and manufacturers of different input methods are different, original interfaces of the input methods may not be uniform, interface standards can be formulated for enabling the input methods to be uniformly connected to function interfaces on the keyboard display interface provided by the embodiment, namely, each input method platform can achieve a single function by using the same function, and when the function interfaces on the keyboard display interface are called, the function triggered on the keyboard display interface can be achieved through the corresponding input method function or the combination of the function functions.
S240, acquiring preset sequences of at least one alternative input method, and determining the first alternative input method in the preset sequences as a target input method according to the preset sequences.
The preset sequence may be the sequence of the alternative input methods preset in the system.
In this embodiment, the target input method may be determined according to a preset order of at least one candidate input method, where the preset order may be arranged according to the alphabetical order, the stroke order, the frequency order of use, and the like.
Further, if the first alternative input method in the preset sequence cannot provide the function corresponding to the function interface, the next alternative input method can be determined as the target input method according to the sequence.
Optionally, the manner of determining the target input method from the at least one alternative input method may be: responding to the input method selection operation on the keyboard display interface; and determining an alternative input method corresponding to the input method selection operation as a target input method.
In this embodiment, the manner of determining the target input method may be determined according to a preset order, or may directly accept a user selection operation of the input method, and use the input method selected by the user as the target input method.
S250, enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface.
In this embodiment, after a function interface corresponding to a function triggering operation is invoked, an input method may be determined as a target input method in at least one alternative input method accessed to the function interface, so that the target input method is used as a function providing body to provide a corresponding function to a keyboard display interface.
Further, a new function area or keys can be reserved on the keyboard display interface, and when the input method is developed, the new function can be directly obtained through the function interface without reinstalling a software development kit of the input method.
The invention discloses a calling method of an input method, which comprises the steps of firstly switching to a keyboard setting interface and receiving keyboard display interface setting operation, wherein the keyboard setting interface comprises a keyboard setting tab, then determining a selection result of the keyboard setting tab according to the keyboard display interface setting operation, determining the keyboard display interface according to the selection result, then responding to function triggering operation on the keyboard display interface, calling a function interface corresponding to the function triggering operation, wherein the function interface is connected with at least one alternative input method, acquiring preset sequence of the at least one alternative input method, determining the first alternative input method in the preset sequence as a target input method according to the preset sequence, and finally enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface. According to the input method calling method disclosed by the invention, after the customized keyboard display interface is determined, the input method is called through the function interface on the keyboard display interface, so that the input methods can be conveniently and newly added, the functions of the input methods are integrated and provided for the keyboard display interface, and the customized keyboard display interface is maintained unchanged when the input method functions are called and the input methods are switched. In addition, a new function area or keys can be reserved on the keyboard display interface, and when the input method is used for completing new function development, the new function can be directly acquired through the function interface without reinstalling a software development kit of the input method.
Example III
Fig. 3 is a schematic structural diagram of a calling device for an input method according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a keyboard display interface determination module 310, a function interface call module 320 and a target input method determination module 330.
The keyboard display interface determining module 310 is configured to determine, in response to a keyboard display interface setting operation, a keyboard display interface corresponding to the keyboard display interface setting operation.
A function interface calling module 320, configured to respond to a function triggering operation on the keyboard display interface, and call a function interface corresponding to the function triggering operation; wherein the functional interface is connected to at least one alternative input method.
The target input method determining module 330 is configured to determine a target input method from at least one candidate input method, and enable the target input method to provide a corresponding function to the keyboard display interface through the function interface.
Optionally, the keyboard display interface determining module 310 is further configured to:
switching to a keyboard setting interface and receiving a keyboard display interface setting operation; wherein the keyboard setting interface comprises a keyboard setting tab; and determining a selection result of the keyboard setting tab according to the keyboard display interface setting operation, and determining a keyboard display interface according to the selection result.
Optionally, at least one alternative input method accesses the functional interface through a standardized interface.
Optionally, the target input method determining module 330 is further configured to:
acquiring a preset sequence of at least one alternative input method; and according to the preset sequence, determining the first alternative input method in the preset sequence as the target input method.
Optionally, the target input method determining module 330 is further configured to:
responding to the input method selection operation on the keyboard display interface; and determining an alternative input method corresponding to the input method selection operation as a target input method.
Optionally, the input method calling device further includes a new target input method determining module 340, configured to determine a new target input method if the target input method does not have a function corresponding to the function interface, and enable the new target input method to provide a corresponding function to the keyboard display interface through the function interface.
Optionally, the new target input method determining module 340 is further configured to:
determining a first input method with a function corresponding to the function interface in at least one alternative input method according to the function interface; the first input method is determined to be a new target input method.
The calling device of the input method provided by the embodiment of the invention can execute the calling method of the input method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, such as a calling method of an input method.
In some embodiments, the method of invoking an input method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the input method call described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the calling method of the input method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for invoking an input method, comprising:
responding to a keyboard display interface setting operation, and determining a keyboard display interface corresponding to the keyboard display interface setting operation;
responding to a function triggering operation on the keyboard display interface, and calling a function interface corresponding to the function triggering operation; wherein the functional interface is accessed to at least one alternative input method;
and determining a target input method from the at least one alternative input method, and enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface.
2. The method of claim 1, wherein responsive to a keyboard display interface setup operation, determining a keyboard display interface corresponding to the keyboard display interface setup operation comprises:
switching to a keyboard setting interface and receiving the keyboard display interface setting operation; wherein the keyboard setting interface comprises a keyboard setting tab;
and determining a selection result of the keyboard setting tab according to the keyboard display interface setting operation, and determining the keyboard display interface according to the selection result.
3. The method of claim 1, wherein the at least one alternative input method accesses the functional interface through a standardized interface.
4. The method of claim 1, wherein determining a target input method from the at least one candidate input method comprises:
acquiring a preset sequence of the at least one alternative input method;
and according to the preset sequence, determining an alternative input method of which the sequence is first in the preset sequence as the target input method.
5. The method of claim 1, wherein determining a target input method from the at least one candidate input method comprises:
responding to the input method selection operation on the keyboard display interface;
and determining an alternative input method corresponding to the input method selection operation as the target input method.
6. The method of claim 1, wherein after the target input method provides the corresponding function to the keyboard display interface through the function interface, further comprising:
if the target input method does not have the function corresponding to the function interface, determining a new target input method, and enabling the new target input method to provide the corresponding function to the keyboard display interface through the function interface.
7. The method of claim 6, wherein determining a new target input method comprises:
determining a first input method with a function corresponding to the function interface in the at least one alternative input method according to the function interface;
and determining the first input method as the new target input method.
8. An input method calling device, comprising:
the keyboard display interface determining module is used for responding to the keyboard display interface setting operation and determining a keyboard display interface corresponding to the keyboard display interface setting operation;
the function interface calling module is used for responding to the function triggering operation on the keyboard display interface and calling a function interface corresponding to the function triggering operation; wherein the functional interface is accessed to at least one alternative input method;
and the target input method determining module is used for determining a target input method from the at least one alternative input method and enabling the target input method to provide corresponding functions for the keyboard display interface through the function interface.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of invoking the input method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement a method of invoking the input method of any of claims 1-7 when executed.
CN202310547628.2A 2023-05-15 2023-05-15 Input method calling method, device, equipment and storage medium Pending CN116560778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310547628.2A CN116560778A (en) 2023-05-15 2023-05-15 Input method calling method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310547628.2A CN116560778A (en) 2023-05-15 2023-05-15 Input method calling method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116560778A true CN116560778A (en) 2023-08-08

Family

ID=87485785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310547628.2A Pending CN116560778A (en) 2023-05-15 2023-05-15 Input method calling method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116560778A (en)

Similar Documents

Publication Publication Date Title
EP2149837A1 (en) Method and system for emphasizing objects
KR102249054B1 (en) Quick tasks for on-screen keyboards
WO2022083750A1 (en) Text display method and apparatus and electronic device
CN115552365A (en) Fulfilling an executable request before a user selects a particular auto-suggestion to complete a current user input
CN115309470B (en) Method, device, equipment and storage medium for loading widget
CN112163432A (en) Translation method, translation device and electronic equipment
CN114035865B (en) Method, device and equipment for starting small program and storage medium
CN114428902A (en) Information searching method and device, electronic equipment and storage medium
CN116560778A (en) Input method calling method, device, equipment and storage medium
CN113448668B (en) Method and device for skipping popup window and electronic equipment
CN113934501B (en) Translation method, translation device, storage medium and electronic equipment
CN115798469A (en) Voice control method and device, electronic equipment and computer readable storage medium
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN114817474A (en) Function information query method and device, electronic equipment and storage medium
CN113391870A (en) Page jump method and device, electronic equipment and readable storage medium
CN113496703A (en) Method, device and program product for controlling program in voice mode
CN112527126B (en) Information acquisition method and device and electronic equipment
CN113342413B (en) Method, apparatus, device, medium, and article for processing components
CN114371889B (en) Event configuration method, device, electronic equipment and storage medium
CN114116095B (en) Input method, input device, electronic equipment, medium and product
US20220358931A1 (en) Task information management
CN118627497A (en) Theme generation method and device, electronic equipment and storage medium
CN114510189B (en) Label switching method and device, electronic equipment and storage medium
CN114428646B (en) Data processing method and device, electronic equipment and storage medium
CN115857828A (en) Customized system implementation method and device, electronic 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