CN115509372A - Text input method and device, electronic equipment and storage medium - Google Patents

Text input method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115509372A
CN115509372A CN202210976347.4A CN202210976347A CN115509372A CN 115509372 A CN115509372 A CN 115509372A CN 202210976347 A CN202210976347 A CN 202210976347A CN 115509372 A CN115509372 A CN 115509372A
Authority
CN
China
Prior art keywords
text input
display screen
target
instruction
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210976347.4A
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.)
Beijing Co Wheels Technology Co Ltd
Original Assignee
Beijing Co Wheels Technology 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 Beijing Co Wheels Technology Co Ltd filed Critical Beijing Co Wheels Technology Co Ltd
Priority to CN202210976347.4A priority Critical patent/CN115509372A/en
Publication of CN115509372A publication Critical patent/CN115509372A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F3/0233Character input methods
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure provides a text input method and device, electronic equipment and a storage medium. The text input method comprises the following steps: in response to the text input instruction being acquired, determining a target display screen indicated by the text input instruction in a plurality of interactive display screens; determining a target text input process associated with the target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset; and calling the target text input process, and displaying a text input interface in the target display screen. By adopting the scheme provided by the embodiment of the disclosure, the associated text input processes can be configured for each interactive display screen respectively, so that the plurality of display screens can call the associated text input processes at the same time, and execute the text input task, thereby meeting the text input requirements of a plurality of users when interacting with different display screens in the multi-display interactive system at the same time.

Description

Text input method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a text input method, apparatus, electronic device, and storage medium.
Background
Under the promotion of requirements, the multi-display screen interaction technology is gradually applied to scenes such as an intelligent cabin. The multi-display screen interaction technology refers to that a plurality of display screens output different display contents under the control of the same operating system so as to realize interaction with a plurality of users. For example, in the case of adopting a center control display screen, a front passenger seat display screen and a rear display screen in an intelligent cabin, the operating system may control the center control display screen to display contents related to vehicle driving navigation for a driver, and simultaneously control the front passenger seat display screen and the rear display screen to display contents selected by a user on a corresponding seat.
In the specific application of the multi-display screen interactive field technology, when a user triggers an input method calling control displayed by an interactive display screen, an operating system calls a text input process, and a character input interface is displayed in the interactive display screen to realize text input. However, the current operating system can only display a text input interface and receive a text input instruction on one display screen in a text input process, and cannot meet the requirement that a plurality of users input interactive information in a text input mode.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present disclosure provide a text input method, a text input device, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a text input method, including:
in response to the text input instruction being acquired, determining a target display screen indicated by the text input instruction in a plurality of interactive display screens;
determining a target text input process associated with the target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset;
and calling the target text input process, and displaying a text input interface in the target display screen.
Optionally, the determining, in the multiple interactive display screens, a target display screen indicated by the text input instruction includes:
analyzing the text input instruction to obtain a display screen identifier in the text input instruction;
and determining the target display screen indicated by the text input instruction in the plurality of display screens according to the display screen identification.
Optionally, before invoking the target text input process, the method further includes:
reading a starting configuration file in response to the completion of the system level program loading of the operating system, wherein the starting configuration file comprises the incidence relation information of the text input process and the interactive display screen;
and loading a text input program according to the starting configuration file to obtain an instantiated text input process, and establishing an association relation between the instantiated text input process and the interactive display screen.
Optionally, before invoking the target text input process, the method further includes:
in response to the obtained display screen lighting instruction, determining a lighted interactive display screen;
and loading a text input program to obtain an instantiated text input process, and establishing an incidence relation between the lighted interactive display screen and the instantiated text input process.
Optionally, the method further includes: determining a dormant display screen in response to acquiring a display screen extinguishing instruction;
destroying a text entry process associated with the dormant display screen.
Optionally, before invoking the target text input process, the method further includes:
and in response to the acquisition of the text input instruction, loading a text input program to obtain an instantiated text input process, and establishing an association relation between the instantiated text input process and the target display screen.
Optionally, the method further includes: after a text input interface is displayed, counting the duration of the text input instruction which is not received or the text input;
and destroying the text input process associated with the target display screen under the condition that the duration is greater than the preset time.
Optionally, after the association relationship is established, the method further includes:
determining an input configuration file according to the incidence relation, wherein the input configuration file stores configuration parameters of a text input process;
and loading the input configuration file to realize the parameter configuration of the text input process.
Optionally, the determining an input configuration file according to the association relationship includes:
querying a configuration folder created by an interactive display screen associated with the instantiated input process;
and taking the input configuration file in the configuration file folder as the input configuration file.
In a second aspect, an embodiment of the present disclosure provides a text input device, including:
the display screen determining unit is used for responding to the acquired text input instruction and determining a target display screen indicated by the text input instruction in the plurality of interactive display screens;
the association process determining unit is used for determining a target text input process associated with the target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset;
and the calling display unit is used for calling the target text input process and displaying a text input interface in the target display screen. In a third aspect, an embodiment of the present disclosure provides an electronic device, including a processor and a memory, the memory being configured to store a computer program; the computer program, when loaded by the processor, causes the processor to perform a text input method as described above.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to implement performing the text input method as described above.
In a fifth aspect, an embodiment of the present disclosure provides a vehicle, including an on-board control chip and a plurality of interactive display screens, where the on-board control chip is configured to execute the text input method described above, and control at least two of the interactive display screens to independently display a text input interface.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
by adopting the scheme provided by the embodiment of the disclosure, a plurality of text input processes are arranged in the electronic equipment, the association relationship between each text input process and the interactive display screen is established, after the target display screen indicated by the text input instruction is determined, the target text input process associated with the target display screen can be called according to the target display screen, and the text input interface is displayed in the target display screen by utilizing the target text input process. That is to say, the scheme provided by the embodiment of the present disclosure may be adopted to configure the associated text input processes for each interactive display screen, so as to implement that the plurality of display screens call the associated text input processes at the same time, and execute the text input task, thereby meeting the text input requirement when a plurality of users interact with different display screens in the multi-display interactive system at the same time.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below. It will be apparent to those skilled in the art that other drawings can be obtained from these drawings without inventive exercise, wherein:
FIG. 1 is a flow chart of a text entry method provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart of a text entry method provided by further embodiments of the present disclosure;
FIG. 3 is a flow diagram of a text entry method provided by further embodiments of the present disclosure;
FIG. 4 is a flow diagram of a text entry method provided by further embodiments of the present disclosure;
FIG. 5 is a schematic structural diagram of a text input device provided in an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device provided in some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description. It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The embodiment of the disclosure provides a text input method, which can realize simultaneous text input on a plurality of display screens in a multi-display screen interaction scheme.
Fig. 1 is a flowchart of a text input method provided by an embodiment of the present disclosure. As shown in fig. 1, the text input method provided by the embodiment of the present disclosure includes S110-S130.
The text input method provided by the embodiment of the disclosure can be executed by various types of electronic equipment which is provided with a set of operating systems and drives a plurality of interactive display screens to carry out interactive operation through the set of operating systems. The electronic device may be a device such as a smart phone, a tablet computer, a notebook computer, etc.
It should be noted that, in practical applications, the electronic device may execute at least one step of the following method through a bottom-layer system-level process, and may also execute at least one step of the following method by using an upper-layer application process, which is not divided in detail hereinafter. In a specific implementation, the electronic device may perform the following steps according to the function implementation of the operating system and the upper layer application program.
S110: and in response to the acquisition of the text input instruction, determining a target display screen indicated by the text input instruction in the plurality of interactive display screens.
In the embodiment of the disclosure, the text input instruction is an instruction generated by user triggering and used for calling the display input method.
Under the condition that the interactive display screen is the touch screen, a user can trigger the interactive display screen to generate a touch signal by touching the area of the interactive display screen for displaying the text interaction control, so that the electronic equipment generates a text input instruction according to the touch signal.
Under the condition that the interactive display screen is a non-touch screen, a user can click the text interaction control in a mouse and keyboard control mode, and then the electronic equipment obtains a text input instruction based on the click of the text interaction control.
After the text input instruction is acquired, the electronic device may acquire a target display screen indicated by the text input instruction. In some embodiments of the present disclosure, when the electronic device generates a text input instruction, an identification of the interactive display screen touched by the user is added to the text input instruction. In this case, S110 determines the target display screen indicated by the text input instruction among the plurality of interactive display screens includes S111-S112.
S111: and analyzing the text input instruction to obtain a display screen identifier in the text input instruction.
After the instruction parsing process of the electronic device obtains the text input instruction, the text input instruction is analyzed according to a preset rule, and the identification of the display screen included in the text input instruction is determined.
S112: and determining a target display screen indicated by the text input instruction in the plurality of display screens according to the display screen identification.
After determining the identifier of the display screen, the electronic device may determine the target display screen indicated by the text input instruction according to the identifier of the display screen and the identifiers of the plurality of display screens.
It should be noted that, in the case that the interactive display screen is a touch interactive display screen, the target display screen may be the interactive display screen touched by the user, or may be another interactive display screen. Under the condition that the interactive display screen is a non-touch interactive display screen, the target display screen may be an interactive display screen displaying the text interactive control, and may also be other interactive display screens. In most cases, the target display screen is the interactive display screen on which the user touches or displays the text interaction space.
Of course, in other embodiments of the present disclosure, the electronic device may also determine the target display screen by using other methods. For example, in some embodiments, the electronic device may determine, according to the cable (i.e., the physical communication interface) receiving the text input command, that the interactive display screen connected to the cable is the target display screen. For another example, in some embodiments, the electronic device may determine the target display screen based on coordinates included in the text input instruction and a range of display coordinates included in each interactive display screen.
After determining the target display screen, the electronic device may then perform S120.
S120: in the plurality of text input processes, a target text input process associated with a target display screen is determined, wherein the association relationship between each interactive display screen and the corresponding text input process is set in advance.
The target text input process is a text input process associated with the target display screen, i.e., a particular input method process of the plurality of text input processes.
In the disclosed embodiment, the electronic device can load at least two text input processes simultaneously and associate the text input processes with one interactive display screen. The electronic equipment is preset with the incidence relation between each interactive display screen and the corresponding text input process. The foregoing association relationship is similar to the following association: the first interactive display screen is associated with a first text input process, the second interactive display screen is associated with a second text input process, … …, and the nth interactive display screen is associated with an nth text input process.
It should be noted that the foregoing preset may be a permanent preset or a temporary preset when the electronic device is started, and the embodiment of the present disclosure is not limited in particular.
It should also be noted that the aforementioned association relationship may be a one-to-one association relationship or a one-to-many association relationship. The one-to-many association relationship may indicate that one text input process may correspond to multiple interactive display screens, or that multiple text input processes may correspond to one interactive display screen.
And under the condition that one text input process corresponds to a plurality of interactive display screens in the one-to-many incidence relation, only one interactive display screen in the plurality of interactive display screens corresponding to one text input process can be triggered to call the target text input process at one moment.
In the case where the one-to-many association is such that the plurality of interactive display screens correspond to one text input process, the electronic device may output prompt interaction information prompting a user to select a target text input process among the plurality of text input processes before invoking the target text input process and displaying the text input interface.
S130: and calling a target text input process, and displaying a text input interface in the target display screen.
After the target text input process is determined, the electronic device can call the target text input process to execute corresponding calculation operation, determine the content of the text input interface to be displayed, and then perform rendering processing based on the content to be displayed, namely, the rendered text input interface can be displayed by adopting the target display screen.
As described above, according to the text input method provided by the embodiment of the present disclosure, a plurality of text input processes are set in the electronic device, and an association relationship between each text input process and the interactive display screen is established, so that after a text input instruction is obtained and a target display screen indicated by the text input instruction is determined, a target text input process associated with the target display screen can be called according to the target display screen, and a text input interface is displayed in the target display screen by using the target text input process. That is to say, with the text input method provided by the embodiment of the present disclosure, the electronic device may configure the associated text input processes for each interactive display screen, so as to implement that a plurality of display screens call the associated text input processes at the same time, and execute a text input task. By adopting the method provided by the embodiment of the disclosure, the text input requirement when a plurality of users interact with different display screens in the multi-display screen interaction system at the same time can be met.
FIG. 2 is a flow diagram of a text entry method according to further embodiments of the present disclosure. As shown in FIG. 2, in some embodiments of the present disclosure, a text input method includes S210-S250.
S210: and responding to the completion of the system level program loading of the operating system, and reading a starting configuration file, wherein the starting configuration file comprises the incidence relation information of the text input process and the interactive display screen.
The startup configuration file is a file used for configuring how the electronic device starts a text input process and how to realize that the starting of the text input process is associated with the interactive display screen. The starting configuration file stores incidence relation information of the text input process and the interactive display screen, and the starting configuration file specifically comprises the following steps: (1) a text input program to be started; (2) Each text input program needs to instantiate several text input processes; (2) What the instantiated text input process is in relation to the interactive display.
In the embodiment of the disclosure, after the electronic device is powered on and started and completes hardware self-test, the boot program and the operating system program stored in the memory are read, and the loading of the system level program, that is, the starting of the operating system is realized.
After the operating system is successfully started, the electronic device can obtain a starting configuration file according to a preset reading path.
S220: and loading a text input program according to the starting configuration file to obtain an instantiated text input process, and establishing an association relation between the instantiated text input process and the interactive display screen.
The instantiated text input process is obtained according to the starting configuration file, and firstly, the text input programs needing to be instantiated and the number of the text input programs needing to be instantiated are determined according to the starting configuration file. And then instantiating the text input program according to the determined text input program and the corresponding number to obtain the corresponding number of text input processes. And finally, establishing the association relationship between the text input process and the interactive display screen.
S230: in response to acquiring the text input instruction, a target display screen indicated by the text input instruction is determined in the plurality of interactive display screens.
S260: among a plurality of text entry processes, a target text entry process associated with a target display screen is determined.
S250: and calling a target text input process, and displaying a text input interface in the target display screen.
S230-S250 are the same as the previous embodiments S110-S130, and are not repeated here, for details, see the previous description.
In the embodiment of the disclosure, the text input process associated with each display screen is instantiated after the electronic device operating system is started, so that the text input process can be called immediately when a text input instruction is received, and the response speed is further improved. In a specific embodiment, the text input method provided by this embodiment can be applied to an electronic device with sufficient memory resources.
Fig. 3 is a flow chart of a text input method provided by further embodiments of the present disclosure. As shown in FIG. 3, in some embodiments of the present disclosure, a text input method includes S310-S350.
S310: and determining the lighted interactive display screen in response to the acquired display screen lighting instruction.
S320: and loading a text input program to obtain an instantiated text input process, and establishing an incidence relation between the lighted interactive display screen and the instantiated text input process.
The display screen lighting instruction is an instruction for instructing lighting of a certain interactive display screen, that is, an instruction for instructing a certain interactive display screen to enter a working state from a sleep state. In the embodiment of the disclosure, a user may send a display screen lighting instruction to an electronic device in various ways to implement lighting of a specific interactive display screen. For example, the user may generate a display illumination instruction by clicking other interactive displays, clicking a particular button, or by voice control to indicate that a particular interactive display is illuminated.
Different from the foregoing embodiment, in the embodiment of the present disclosure, a text input process is not established immediately after an operating system in an electronic device is operated, but a text input program is loaded to obtain an instantiated text input process after it is determined that an interactive display screen is lit, and an association relationship between the text input process and the lit interactive display screen is established.
S330: in response to the text input instruction being acquired, determining a target display screen indicated by the text input instruction in the plurality of interactive display screens;
determining a target text input process associated with a target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset;
and calling a target text input process, and displaying a text input interface in the target display screen.
S330-S350 are the same as the previous embodiments S110-S130, and will not be repeated here, and the details can be referred to the above description.
In the embodiment of the disclosure, the text input process is reloaded under the condition that the interactive display screen is lighted, and the association relationship between the text input process and the lighted interactive display screen is established. By adopting the method provided by the embodiment of the disclosure, the text input process is not loaded under the condition that the interactive display screen is not lighted, that is, the corresponding text input process is not loaded when the interactive display screen is not used, and the memory occupation can be avoided.
The method provided by the embodiment of the disclosure can be applied to some electronic devices with less memory resources and larger memory overhead, so as to avoid invalid memory consumption caused by loading a text input process when unnecessary. The text input method provided by the embodiment of the disclosure can be applied to vehicle terminal equipment which needs to start real-time traffic information processing.
In addition, by adopting the method provided by the embodiment of the disclosure, not only can the invalid consumption of the memory be avoided, but also the quick response after the text input instruction is acquired can be considered, and the user can be ensured to have better use experience.
In some embodiments, the electronic device may also be as follows S360-S370.
S360: and determining the dormant display screen in response to acquiring the display screen extinguishing instruction.
S370: destroying the text entry process associated with the dormant display.
In the embodiment of the present disclosure, the electronic device may acquire the display screen turning-off instruction in the same manner as the manner of acquiring the display screen turning-on instruction, and determine the dormant display screen according to the display screen turning-off instruction. After determining the dormant display, the dormant display may then be controlled to enter a dormant state. After the dormant display screen enters the dormant state, the recovery of the memory resource can be realized by destroying the text input process associated with the dormant display screen, so that the invalid consumption of the memory is avoided.
Fig. 4 is a flow chart of a text input method provided by further embodiments of the present disclosure. As shown in fig. 4, in some embodiments of the present disclosure, a text input method includes S410-S450.
S410: in response to acquiring the text input instruction, a target display screen indicated by the text input instruction is determined in the plurality of interactive display screens.
S420: and loading a text input program to obtain an instantiated text input process, and establishing an incidence relation between the instantiated text input process and the target display screen.
S430: and determining a target display screen indicated by the text input instruction in the plurality of interactive display screens.
S460: determining a target text input process associated with a target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset;
s450: and calling a target text input process, and displaying a text input interface in the target display screen.
According to the text input method provided by the embodiment of the disclosure, the text input program is loaded to obtain the instantiated text input process after the text input instruction is obtained, so that the memory resource can be more effectively utilized, and the text input process is loaded after the text input instruction is obtained. The method provided by the embodiment of the disclosure can be applied to some electronic devices with less memory resources.
In some embodiments of the present disclosure, the text input method may include S460-S470 in addition to S410-S450.
S460: and after the text input interface is displayed, counting the duration of the text input instruction or the text input which is not received.
S470: and destroying the text input process associated with the dormant display screen under the condition that the duration time is longer than the preset time.
The statistics is the duration of receiving a text input instruction or inputting a text, and is that after a text input instruction or inputting a text is received, the duration is subjected to zeroing processing, and the duration of receiving the text input instruction or inputting the text again is counted. If the duration is longer than the preset time, determining that the user does not have the requirement of inputting the text for a long time, and therefore destroying the text input process associated with the dormant display screen to recycle the memory resources.
The aforementioned text input method provides a means for loading the text input process at various times, and in some embodiments, after loading the text input process and establishing the association relationship, the electronic device may further perform steps S510-S520.
S510: and determining an input configuration file according to the incidence relation, wherein the input configuration file stores input configuration parameters.
The input configuration file is a file for configuring parameter configuration of the text input process, and the input configuration file stores configuration parameters of the text input process. The configuration parameters may include a display mode of the input interface, what input method is called (e.g., a pinyin input method or a wubi input method), and what input method is used (e.g., a squared input method or a 26-key input method).
It should be noted that the input configuration parameters stored in the input configuration file may be default parameters of the system, or may be parameters set by the user according to the user's own usage habits.
In particular embodiments, S510 may include S511-S512.
S511: querying a configuration folder created by an interactive display screen associated with the instantiated input process.
In the embodiment of the present disclosure, a configuration folder may be created for each interactive display screen, where the configuration folder is used to store a configuration file related to output of the corresponding interactive display screen, for example, a display configuration file of the interactive display screen, and information such as backlight brightness, contrast, and output resolution of the interactive display screen is stored in the display configuration file. Of course, in the embodiment of the present disclosure, the configuration folder further stores an input configuration file.
S512: and taking the input method configuration file in the configuration folder as an input configuration file.
After determining the configuration folder corresponding to the interactive display screen, the input method in the configuration folder may then be configured with the voronoi key as an input configuration file.
S520: and loading the input configuration file to realize the parameter configuration of the text input process.
After the input configuration file is determined, the electronic equipment loads the input configuration file to realize parameter configuration of the text input process, namely, the input method type, the input mode type and the input interface display information adopted by the text input process are set. By adopting the method provided by the embodiment of the disclosure, the parameter configuration of the text input process is realized by calling the input configuration file, so that the finally displayed text input interface can meet the preset requirements, for example, the use habit of a specific user is met.
In addition to providing the foregoing text input method, embodiments of the present disclosure also provide a text input method for implementing the foregoing text input method.
Fig. 5 is a schematic structural diagram of a text input device provided in an embodiment of the present disclosure. As shown in fig. 5, a text input device 500 provided by the embodiment of the present disclosure includes a display screen determining unit 501, an association progress determining unit 502, and a call display unit 503.
The display screen determining unit 501 is configured to determine, in response to acquiring the text input instruction, a target display screen indicated by the text input instruction in the multiple interactive display screens.
The association process determining unit 502 is configured to determine a target text input process associated with a target display screen among a plurality of text input processes, where an association relationship between each interactive display screen and the corresponding text input process is set in advance.
The call display unit 503 is configured to call a target text input process, and display a text input interface in the target display screen.
In some embodiments of the present disclosure, the display screen determination unit 501 includes an identification acquisition subunit and a display screen determination subunit. The identification obtaining subunit is used for analyzing the text input instruction and obtaining the display screen identification in the text input instruction. And the display screen determining subunit is used for determining a target display screen indicated by the text input instruction in the plurality of display screens according to the display screen identification.
In some embodiments of the present disclosure, the text input device 500 further includes a start-up profile reading unit and a first process creation unit. The starting configuration file reading unit is used for reading a starting configuration file in response to the completion of the system level program loading of the operating system, and the starting configuration file comprises the incidence relation information of the text input process and the interactive display screen. The first process creating unit is used for loading a text input program according to the starting configuration file to obtain an instantiated text input process and establishing the incidence relation between the instantiated text input process and the interactive display screen.
In some embodiments of the present disclosure, the text input device 500 further includes a lighted screen determination unit and a second course creation unit. The lighting screen determining unit is used for responding to the obtained display screen lighting instruction and determining the lighted interactive display screen. The second process creating unit is used for loading the text input program to obtain the instantiated text input process and establishing the incidence relation between the lighted interactive display screen and the instantiated text input process.
In some embodiments of the present disclosure, the text input device 500 further includes a hibernation-screen determining unit and a first course destruction unit. The dormant screen determining unit is used for responding to the acquired display screen extinguishing instruction and determining the dormant display screen. The first process destroying unit is used for destroying the text input process associated with the dormant display screen.
In some embodiments of the present disclosure, the text input device 500 further comprises a third process creation unit. And the third process creating unit loads a text input program to obtain an instantiated text input process in response to the acquired text input instruction, and establishes an association relation between the instantiated text input process and the target display screen.
In some embodiments of the present disclosure, the text input device 500 further comprises a timing unit and a second process destruction unit. The timing unit is used for counting the duration of the text input instruction which is not received or the text is input after the text input interface is displayed. The second process destroying unit is used for destroying the text input process associated with the target display screen under the condition that the duration time is longer than the preset time.
In some embodiments of the present disclosure, the text input device 500 further includes a process profile determination unit and a process parameter configuration unit. The process configuration file determining unit is used for determining an input configuration file according to the association relation, and the input configuration file stores configuration parameters of the text input process. The process parameter configuration unit is used for loading an input configuration file so as to realize the parameter configuration of the text input process.
In some embodiments of the present disclosure, the process profile determination unit includes a folder determination subunit and a profile selection subunit. The folder determination subunit is used for inquiring a configuration folder created by an interactive display screen associated with the instantiated input process; the configuration file selection subunit is used for taking the input configuration file in the configuration file folder as the input configuration file.
The embodiment of the present disclosure further provides an electronic device, which includes a processor and a memory, where the memory stores a computer program, and when the computer program is executed by the processor, the text input method of any of the above embodiments can be implemented.
Fig. 6 is a schematic structural diagram of an electronic device provided in some embodiments of the present disclosure. Referring now specifically to fig. 6, a schematic diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include a processing means 601 (e.g., a central processing unit, a graphics processor, etc.) that may perform various appropriate actions and processes in accordance with a program stored in a read only memory ROM602 or a program loaded from a storage means 608 into a random access memory RAM 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM602, and the RAM603 are connected to each other via a bus 604. An input/output I/O interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the text input instruction being acquired, determining a target display screen indicated by the text input instruction in the plurality of interactive display screens; determining a target text input process associated with a target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset; and calling a target text input process, and displaying a text input interface in the target display screen.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable 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. More specific examples of a machine-readable storage medium would include an electrical connection according to 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the method of any one of the method embodiments may be implemented, where an execution manner and beneficial effects of the method are similar, and are not described herein again.
In addition, in a fifth aspect, the present disclosure provides a vehicle, which includes an on-vehicle control chip and a plurality of interactive display screens, wherein the on-vehicle control chip is configured to execute the text input method as described above, and control at least two of the interactive display screens to independently display a text input interface. The vehicle-mounted control chip may be a central control chip in a vehicle, an entertainment system control chip independent of the central control chip, or other chips, and the embodiment of the present disclosure is not particularly limited; preferably, the vehicle-mounted control chip is a control chip specially used for controlling each interactive display screen in the vehicle intelligent cabin system.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The previous description is only for the purpose of describing particular embodiments of the present disclosure, so as to enable those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A text entry method, comprising:
in response to the acquisition of the text input instruction, determining a target display screen indicated by the text input instruction in a plurality of interactive display screens;
determining a target text input process associated with the target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset;
and calling the target text input process, and displaying a text input interface in the target display screen.
2. The method of claim 1, wherein the determining the target display screen indicated by the text input instruction in the plurality of interactive display screens comprises:
analyzing the text input instruction to obtain a display screen identifier in the text input instruction;
and determining the target display screen indicated by the text input instruction in the plurality of display screens according to the display screen identification.
3. The method of claim 1, wherein prior to invoking the target text entry process, the method further comprises:
reading a starting configuration file in response to the completion of the system level program loading of the operating system, wherein the starting configuration file comprises the incidence relation information of the text input process and the interactive display screen;
and loading a text input program according to the starting configuration file to obtain an instantiated text input process, and establishing an association relation between the instantiated text input process and the interactive display screen.
4. The method of claim 1, wherein prior to invoking the target text entry process, the method further comprises:
in response to the obtained display screen lighting instruction, determining a lighted interactive display screen;
and loading a text input program to obtain an instantiated text input process, and establishing an incidence relation between the lighted interactive display screen and the instantiated text input process.
5. The method of claim 4, further comprising:
determining a dormant display screen in response to the acquired display screen extinguishing instruction;
destroying a text entry process associated with the dormant display screen.
6. The method of claim 1, wherein prior to invoking the target text entry process, the method further comprises:
and responding to the acquired text input instruction, loading a text input program to obtain an instantiated text input process, and establishing an association relation between the instantiated text input process and the target display screen.
7. The method of claim 6, further comprising:
after a text input interface is displayed, counting the duration of the text input instruction which is not received or the text input;
and destroying the text input process associated with the target display screen under the condition that the duration is greater than the preset time.
8. The method according to any one of claims 3-7, wherein after establishing the association relationship, the method further comprises:
determining an input configuration file according to the incidence relation, wherein the input configuration file stores configuration parameters of a text input process;
and loading the input configuration file to realize the parameter configuration of the text input process.
9. The method of claim 8, wherein determining an input profile according to the association comprises:
querying a configuration folder created by an interactive display screen associated with the instantiated input process;
and taking the input configuration file in the configuration file folder as the input configuration file.
10. A text input device, comprising:
the display screen determining unit is used for responding to the acquired text input instruction and determining a target display screen indicated by the text input instruction in the plurality of interactive display screens;
the association process determining unit is used for determining a target text input process associated with the target display screen in a plurality of text input processes, wherein the association relationship between each interactive display screen and the corresponding text input process is preset;
and the calling display unit is used for calling the target text input process and displaying a text input interface in the target display screen.
11. An electronic device comprising a processor and a memory, the memory for storing a computer program;
the computer program, when loaded by the processor, causes the processor to perform a text input method as claimed in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, causes the processor to carry out a text input method according to any one of claims 1-9.
13. A vehicle comprising an in-vehicle control chip and a plurality of interactive display screens, the in-vehicle control chip being configured to perform the text input method of any of claims 1-9, and to control at least two of the plurality of interactive display screens to independently display a text input interface.
CN202210976347.4A 2022-08-15 2022-08-15 Text input method and device, electronic equipment and storage medium Pending CN115509372A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210976347.4A CN115509372A (en) 2022-08-15 2022-08-15 Text input method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210976347.4A CN115509372A (en) 2022-08-15 2022-08-15 Text input method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115509372A true CN115509372A (en) 2022-12-23

Family

ID=84502200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210976347.4A Pending CN115509372A (en) 2022-08-15 2022-08-15 Text input method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115509372A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377220A (en) * 2019-07-18 2019-10-25 Oppo(重庆)智能科技有限公司 A kind of instruction response method, device, storage medium and electronic equipment
CN111976479A (en) * 2019-05-24 2020-11-24 北京车和家信息技术有限公司 Display screen display control system
US20210122242A1 (en) * 2019-10-24 2021-04-29 Ford Global Technologies, Llc Motor Vehicle Human-Machine Interaction System And Method
CN113687748A (en) * 2021-09-01 2021-11-23 腾讯科技(深圳)有限公司 Application control method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111976479A (en) * 2019-05-24 2020-11-24 北京车和家信息技术有限公司 Display screen display control system
CN110377220A (en) * 2019-07-18 2019-10-25 Oppo(重庆)智能科技有限公司 A kind of instruction response method, device, storage medium and electronic equipment
US20210122242A1 (en) * 2019-10-24 2021-04-29 Ford Global Technologies, Llc Motor Vehicle Human-Machine Interaction System And Method
CN113687748A (en) * 2021-09-01 2021-11-23 腾讯科技(深圳)有限公司 Application control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110990105B (en) Interface display method and device, electronic equipment and storage medium
WO2020156199A1 (en) Application login method and device, terminal and storage medium
US20230024650A1 (en) Method and apparatus for selecting menu items, readable medium and electronic device
CN111026491B (en) Interface display method, device, electronic equipment, server and storage medium
CN110990075A (en) Starting method, device and equipment of fast application and storage medium
CN111790148B (en) Information interaction method and device in game scene and computer readable medium
US20150113525A1 (en) Method for a Reader to Provide Service, Reader and Computer-Readable Storage Medium
CN113419452B (en) Vehicle, control method thereof and mobile terminal
US11314391B2 (en) Navigation bar controlling method and terminal
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN110708535A (en) Physical key detection method and device and computer readable storage medium
CN113301157A (en) Cloud mobile phone group control method, equipment and storage medium based on android system
CN113504859A (en) Transmission method and device
CN110865846A (en) Application management method, device, terminal, system and storage medium
CN111766987B (en) Application program management method and device and electronic equipment
CN111046265B (en) Card data display method, device, equipment and storage medium
CN110072148B (en) Method for implementing vehicle-mounted information system based on master-slave mode
CN107463395B (en) Component calling method and device
CN115933936A (en) Task prompting method and device, storage medium and electronic equipment
CN110908629A (en) Electronic equipment operation method and device, electronic equipment and storage medium
CN115509372A (en) Text input method and device, electronic equipment and storage medium
WO2022171058A1 (en) Application program processing method and apparatus, and electronic device
CN113391856B (en) Cross-task-stack page processing method, device, equipment and medium
CN113311986A (en) Business information display method, device, equipment and computer readable medium
WO2018010318A1 (en) Method and device for releasing application function display component

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