CN111666031B - Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal - Google Patents

Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal Download PDF

Info

Publication number
CN111666031B
CN111666031B CN202010507454.3A CN202010507454A CN111666031B CN 111666031 B CN111666031 B CN 111666031B CN 202010507454 A CN202010507454 A CN 202010507454A CN 111666031 B CN111666031 B CN 111666031B
Authority
CN
China
Prior art keywords
key
screen
area
virtual
vehicle
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.)
Active
Application number
CN202010507454.3A
Other languages
Chinese (zh)
Other versions
CN111666031A (en
Inventor
张威平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing 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 Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN202010507454.3A priority Critical patent/CN111666031B/en
Publication of CN111666031A publication Critical patent/CN111666031A/en
Application granted granted Critical
Publication of CN111666031B publication Critical patent/CN111666031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Landscapes

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

Abstract

The application discloses a virtual key control method, device, equipment and storage medium for a vehicle-mounted terminal, and relates to the technical field of vehicle networking, in particular to a vehicle-mounted terminal touch technology. The virtual key control method for the vehicle-mounted terminal comprises the following steps: when the vehicle-mounted terminal is in a first working mode, responding to a first touch operation on a screen of the vehicle-mounted terminal, and providing a first virtual key on the screen, wherein the first position corresponds to the position of the first touch operation; responding to a second touch operation on the screen, and if the time interval between the trigger time of the second touch operation and the trigger time of the first touch operation is smaller than or equal to a preset threshold value, providing at least four virtual dividing lines around the direction key. By the aid of the method and the device, the vehicle-mounted terminal can be quickly touched.

Description

Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal
Technical Field
The application relates to the technical field of Internet of vehicles, in particular to a touch screen technology, and particularly relates to a virtual key control method, device, equipment and storage medium for a vehicle-mounted terminal.
Background
With the introduction and development of the car networking technology, touch operation of a user on a large-screen display device in a vehicle-mounted environment becomes important. At present, similar to touch operation on a common terminal such as a mobile phone screen, a driver triggers corresponding operation by clicking an icon or a button at a fixed position on a vehicle-mounted central control large screen.
However, due to the particularity of the vehicle-mounted environment, for the driver, if the driver concentrates on operating the large screen, the driving safety is affected, and if the driver cannot concentrate on operating or the vehicle runs unstably, the misoperation of the large screen icon is easy to occur.
Disclosure of Invention
The application provides a virtual key control method, device, equipment and storage medium for a vehicle-mounted terminal.
According to a first aspect of the present application, there is provided a virtual key control method for a vehicle-mounted terminal, including:
when the vehicle-mounted terminal is in a first working mode, responding to a first touch operation on a screen of the vehicle-mounted terminal, and providing a first virtual key on the screen, wherein the first virtual key comprises a direction key positioned at a first position, the direction key comprises a determination key, an upper key, a lower key, a left key and a right key, and the first position corresponds to the position of the first touch operation;
in response to a second touch operation on the screen, if a time interval between a trigger time of the second touch operation and a trigger time of the first touch operation is less than or equal to a preset threshold, providing at least four virtual dividing lines around the direction key to divide a surrounding area of the direction key into at least four areas, a first area of the at least four areas corresponding to an up key, a second area of the at least four areas corresponding to a down key, a third area of the at least four areas corresponding to a left key, and a fourth area of the at least four areas corresponding to a right key;
and responding to a second touch operation on the screen, and if the time interval between the trigger time of the second touch operation and the trigger time of the first touch operation is greater than a preset threshold value, providing a second virtual key on the screen.
According to a first aspect of the present application, there is provided a virtual key control apparatus for a vehicle-mounted terminal, comprising:
the system comprises a virtual key providing module, a first touch control module and a second touch control module, wherein the virtual key providing module is used for responding to a first touch control operation on a screen of the vehicle-mounted terminal when the vehicle-mounted terminal is in a first working mode, providing a first virtual key on the screen, the first virtual key comprises a direction key positioned at a first position, the direction key comprises a determination key, an upper key, a lower key, a left key and a right key, and the first position corresponds to the position of the first touch control operation;
the virtual area dividing module is used for responding to a second touch operation on the screen, and the time interval between the triggering time of the second touch operation and the triggering time of the first touch operation is smaller than or equal to a preset threshold value, providing at least four virtual dividing lines around the direction key so as to divide the surrounding area of the direction key into at least four areas, wherein the first area of the at least four areas corresponds to an upper key, the second area of the at least four areas corresponds to a lower key, the third area of the at least four areas corresponds to a left key, and the fourth area of the at least four areas corresponds to a right key;
the virtual key providing module is further used for responding to a second touch operation on the screen, and providing a second virtual key on the screen when a time interval between the triggering time of the second touch operation and the triggering time of the first touch operation is larger than a preset threshold value.
According to a third aspect of the present application, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to a fourth aspect of the present application, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method as described above.
According to a fifth aspect of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method as described above.
By utilizing the virtual keys and the control mode of the virtual keys, the convenience of screen operation can be provided for users to the maximum extent, and the diversified requirements of different users are met.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flowchart of a virtual key control method for a vehicle-mounted terminal according to an embodiment of the present application;
FIG. 2 is a diagram illustrating the effect of clicking any position of the screen according to the embodiment of the present application;
FIG. 3 is an effect diagram of a directional keypad and screen corner keys on a screen according to an embodiment of the present application;
FIG. 4 is an effect diagram of a virtual dividing line on a screen according to an embodiment of the present application;
FIG. 5 is a block diagram of a virtual key control device for a vehicle-mounted terminal according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device implementing a virtual key control method for a vehicle-mounted terminal according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 shows a flow chart of a virtual key control method for a vehicle-mounted terminal according to an embodiment of the present application, where the method includes:
s101, when the vehicle-mounted terminal is in a first working mode, responding to a first touch operation on a screen of the vehicle-mounted terminal, and providing a first virtual key on the screen, wherein the first virtual key comprises a direction key positioned at a first position, the direction key comprises a determination key, an upper key, a lower key, a left key and a right key, and the first position corresponds to the position of the first touch operation;
s102, responding to a second touch operation on the screen, if a time interval between the triggering time of the second touch operation and the triggering time of the first touch operation is smaller than or equal to a preset threshold value, providing at least four virtual dividing lines around the direction key to divide the surrounding area of the direction key into at least four areas, wherein a first area of the at least four areas corresponds to an upper key, a second area of the at least four areas corresponds to a lower key, a third area of the at least four areas corresponds to a left key, and a fourth area of the at least four areas corresponds to a right key;
and S103, responding to a second touch operation on the screen, and if the time interval between the trigger time of the second touch operation and the trigger time of the first touch operation is greater than a preset threshold value, providing a second virtual key on the screen.
According to the embodiment of the application, when the vehicle-mounted terminal is in a first working mode, for example, in a mode of 'virtual key function activation', if a user performs touch operation on a screen, the user responds to the touch operation, a virtual key appears on the screen, the position of the virtual key is located at a position where the user lightly touches and clicks, the user does not need to specially see the screen with eyes to confirm the position of the key, but can directly confirm that the key is located at the clicking position, and can conveniently and directly click to perform the next operation;
wherein, this virtual button includes at least one direction button, is provided with on the direction button: determining a key, an up key, a down key, a left key and a right key, if the user clicks the screen again within a short time (e.g., 1 second, 1.6 seconds, 2.2 seconds, longer or shorter time), in response to the touch operation, at least four virtual division lines appear on the screen, an area of a 360-degree range around the direction key is divided into at least four areas, and the four areas correspond to the up key, the down key, the left key and the right key on the direction key, respectively. Here, taking a first area among the divided areas as an example, the first area corresponds to the up key, which means that the screen range of the first area corresponds to the function of the up key, and if the position where the user clicks the screen falls within the first area range, the terminal will perform the function of clicking the up key, for example, turning up the terminal's outgoing volume. Other areas, for example, the third area corresponds to the left key, and the contact point falling on the third area is equivalent to hitting the left key, so that the function of "playing the last song" can be realized. Here, since the divided control area is large and much larger than the area of one "up key", the function operation of the corresponding direction key can be realized without looking and confirming whether the click is accurate.
Moreover, if the user does not click the screen again in a short time, but clicks the screen again after a certain time (for example, more than 1 second, 1.6 seconds, 2.2 seconds, etc.), the virtual dividing line does not appear on the screen, but the virtual key, for example, the direction key, appears again at the position where the user clicks the screen again, the user can directly click on the basis of the virtual key appearing again to perform the next operation, for example, clicking a confirmation key to call, and the whole process of clicking many times does not need to use eyes to specially see the screen to confirm the key position. By analogy, a user can click the terminal screen at any time intermittently and repeatedly when needed, for example, in the driving process, the user can conveniently and directly enter the interface operation, and the user does not need to specially observe whether each key on the screen is displayed and where the key is displayed by eyes.
Therefore, by using the virtual keys and the control method of the virtual keys provided by the embodiment of the application, the virtual keys and the virtual dividing line can be called out by only touching any position of the screen with a light touch without observing the screen of the vehicle-mounted terminal with eyes when a user such as a vehicle driver or a passenger is driving, and a small distance moving finger can touch each large-area control area divided by the virtual dividing line with a light touch to directly and quickly trigger key events to control the current application degree of the terminal, so that blind touch control of the vehicle-mounted terminal by the driver or the passenger is realized to a great extent, the user can concentrate on observing road conditions in front of the vehicle, the user does not need to look at various functional keys (possibly changed along with dynamic apps of an application program) on the screen with a low head, and under the premise of improving driving safety of the user, the screen operation convenience is provided for the user to the maximum extent, and the diversified requirements of different users are met.
In some embodiments of the present application, the first virtual keys include at least one screen corner key located at a position of at least one of four corners of the screen in addition to the direction keys. The screen corner key is arranged on four corners of the screen, so that a user can conveniently position the screen corner key by touching the terminal edge with hands, and the user does not need to observe the screen corner key specially by eyes. The four corners of the screen can be quickly found out through the difference between the edge of the terminal and the screen, for example, the edge of the terminal and the screen are different in material and surface structure outline, and the corners of the screen are substantially right angles (for example, smooth right angles), so that the positions of the corner keys of the screen can be easily determined through hand touch, and the blind touch control of the vehicle-mounted terminal is more beneficial to realization of comprehensive blind touch control of the vehicle-mounted terminal.
The principle and thought of the virtual key and the control method designed by the embodiment of the application are described above, the "direction key" in the virtual key can be considered to form a direction key area, and a plurality of "screen corner keys" form a function key area. The virtual keys and their uses and benefits mentioned in the embodiments of the present application are described in detail below by way of a number of specific examples.
Fig. 2, fig. 3 and fig. 4 schematically show the effect of the in-vehicle terminal screen in different states according to the embodiment of the present application. The boxes in the drawing represent screens of the in-vehicle terminals.
Fig. 2 is an effect diagram of a user finger touching any position on the click screen, the click position is mostly in the range from the middle to the periphery of the large screen, and the fingerprint pattern on the screen in fig. 2 represents the touch position. According to the control method of the virtual key in the embodiment of the application, the virtual key is provided on the screen in response to the touch operation described in fig. 2.
Referring to fig. 3, virtual keys appear on the screen as an oval directional keypad, whose positions correspond to the fingerprint positions shown in fig. 2. In the embodiment shown in fig. 3, the direction keys are oval-shaped keyboards, and in other embodiments, the direction keys may also be round, square, rectangular, or irregular. It can be seen that the center of the direction key is an "OK" key, i.e. a confirmation key, and four triangular direction keys, i.e. an up key, a down key, a left key and a right key, are arranged around the direction key.
Note that four corner keys are also present at four corners of the screen shown in fig. 3, and they are all virtual keys, and the functions performed by the corner keys may be set according to requirements, for example:
the function of the upper left key is "show home screen",
the function of the button in the lower left corner is "go back to previous page",
the function of the key in the upper right corner is "set",
the function of the key in the lower right corner is "exit virtual key mode".
In other embodiments of the present application, the functions of the four screen corner keys can be set by the user in a user-defined manner, so as to provide convenience for the user in operation habits.
In other embodiments of the present application, the number of the screen corner keys may be less than four, and the positions may be selectable, for example, 2 screen corner keys appear only on the left side, or screen corner keys appear only on the upper left corner and the lower right corner, so that on the premise of providing certain convenience, the number of the keys is reduced, and the screen interface is kept simple.
In the embodiment of the application, a user may trigger the directional keyboard and/or the screen corner key by clicking the screen, and when the user clicks the screen again within a preset time interval (e.g., 1s), that is, a time interval between trigger times of two touch operations is less than or equal to a preset threshold (e.g., 1s), four virtual dividing lines with the directional keyboard as a center may appear on the screen as shown in fig. 4, and four quadrants obtained by the division correspond to the upper key, the lower key, the left key, and the right key, respectively.
As an example, the directional keyboard is associated with four quadrants around it, and the touch logic is as follows:
taking the center of the keyboard as a reference, judging that the distance between the touch position and the central point is within the radius of a confirmation key, and judging as a confirmation key;
secondly, taking the center of the keyboard as a reference, determining that the touch position is within a 45-degree area from the upper left to the upper right of the central point and is outside a confirmation key;
taking the center of the keyboard as a reference, determining that the touch position is in a region from 45 degrees at the left lower part to 45 degrees at the right lower part of the central point, and determining that the key is down when the touch position is beyond the confirmation key;
taking the center of the keyboard as a reference, determining that the touch position is in a region from the upper left 45 degrees to the lower left 45 degrees of the central point, and determining that the touch position is a left key when the touch position is not beyond the confirmation key;
and fifthly, taking the center of the keyboard as a reference, determining that the touch position is in a 45-degree area from the upper right to the lower right of the central point, and determining that the touch position is a right key when the touch position is not beyond the confirmation key.
Therefore, the user can easily click the screen again by slightly moving the finger, and the blind touch operation on the direction key can be completed as long as the contact point falls into the quadrant range, so that the time and the labor are saved.
In some embodiments of the application, the virtual dividing line can be displayed together when the user clicks the screen to trigger the virtual key for the first time, so that a complete virtual operation interface can be presented at the first time to prompt and guide the user to master various functions of blind touch operation as soon as possible.
In an embodiment of the application, in response to a second touch operation on the screen, if a time interval between a trigger time of the second touch operation and a trigger time of the first touch operation is greater than a preset threshold (for example, 1s), providing a second virtual key on the screen, and optionally, the function of the second virtual key is the same as that of the first virtual key; the direction key of the second virtual key is located at a second position, and the second position corresponds to the position of the second touch operation.
For example, after the user triggers the screen for the first time to call the virtual key, if the user does not trigger the screen for a long time, the virtual key is hidden or disappears; then, when a new touch operation is received, the virtual key is triggered again; the circulation is carried out, the user does not need to remember where the previous touch position is, but can directly start a new touch process at a new position, the user is helped to realize a friendly and convenient blind touch function, and the user experience is improved.
For another example, after the first touch operation, the second touch operation is not performed for more than 1 second, or after the virtual key is activated by the first touch operation, the second touch operation is not performed for more than 1 second, and the virtual key is automatically hidden or disappeared; until the user clicks the screen again within 1 second after clicking once, the corresponding key event is triggered, and a smooth blind touch control process is formed.
In addition, if the touch operation of the user is determined to be an erroneous operation, such as an undefined touch operation type (e.g., dragging), the virtual key disappears, and the user waits for the next touch operation.
In the embodiment of the application, optionally, the positions of the screen corner keys of the second virtual key and the positions of the screen corner keys of the first virtual key may be the same or different.
For example, for a virtual key triggered by a multi-touch instruction with a time interval between two adjacent touches greater than 1s at different times, the positions of the screen corner keys triggered each time may be the same (or the same group of) corners, for example, the screen corner keys triggered each time are all present in the lower left corner (or the lower left corner and the lower right corner, etc.); in other embodiments, the screen corner keys triggered for multiple times can also appear at different corners, or be dragged to different corners by the user, so that the people at different positions in the cab can conveniently control the keys nearby.
In the embodiment of the present application, optionally, in a case where the virtual key is hidden, if a touch operation is received at a position of a first corner of four corners of the screen, the screen corner key is provided at the position of the first corner.
Taking the first corner as the lower right corner of the screen as an example, under the condition that the virtual key working mode is activated and the virtual key is hidden, if the user only clicks (for example, continuously clicks twice) the lower right corner of the screen, the screen corner key appears at the lower right corner of the screen in response to the touch instruction, namely the function of the function key area is triggered, the function can be set to be a common key function, for example, a main screen 'home' key function, a simple and quick blind touch instruction can be sent out under the condition that a large screen interface is not affected, and the operation is easy.
In the embodiment of the application, the virtual keys, the virtual partition lines and the like on the screen can be provided in a form of one-layer suspension layer or a superposition of multiple layers of suspension layers, and when the vehicle-mounted terminal is in a common working mode, the suspension layer cannot be activated by the touch behavior of a user.
Optionally, the first operating mode of the vehicle-mounted terminal, such as the "virtual key function active" mode, may be activated by at least one of the following:
a) triggering a physical key of the vehicle-mounted terminal, such as continuously and briefly pressing a physical key for volume adjustment on a center console, and the like;
b) a button triggering an application interface of the vehicle-mounted terminal, such as a button in a home screen interface or a button in app;
c) voice wake-up, e.g., issuing a voice activation command;
d) the method is activated by an application program in the vehicle-mounted terminal, for example, the method is actively activated when video APP is used.
In the embodiment of the present application, the specific setting contents of the directional keypad and the functional keypad may be set by a program or according to user configuration according to different application scenarios and usage scenarios.
Based on the above, the virtual key capable of automatically tracking the finger position of the user is designed, and the detailed operation method is designed, so that the method can be applied to touch operation of various types of terminal equipment, and is particularly suitable for being used in a vehicle-mounted environment.
The specific arrangement and implementation of the embodiments of the present application are described above from different perspectives by way of a plurality of embodiments. In correspondence with the processing method of at least one embodiment described above, the present embodiment further provides a virtual key control device 100 for an in-vehicle terminal, and with reference to fig. 5, the virtual key control device includes:
the virtual key providing module 110 is configured to provide a first virtual key on a screen in response to a first touch operation on the screen of the vehicle-mounted terminal when the vehicle-mounted terminal is in a first operating mode, where the first virtual key includes a direction key located at a first position, the direction key includes a determination key, an up key, a down key, a left key, and a right key, and the first position corresponds to a position of the first touch operation;
a virtual area dividing module 120, configured to provide at least four virtual dividing lines around the direction key in response to a second touch operation on the screen, where a time interval between a trigger time of the second touch operation and a trigger time of the first touch operation is less than or equal to a preset threshold, so as to divide a surrounding area of the direction key into at least four areas, a first area of the at least four areas corresponds to an up key, a second area of the at least four areas corresponds to a down key, a third area of the at least four areas corresponds to a left key, and a fourth area of the at least four areas corresponds to a right key;
the virtual key providing module 110 is further configured to provide a second virtual key on the screen in response to a second touch operation on the screen, where a time interval between a trigger time of the second touch operation and a trigger time of the first touch operation is greater than a preset threshold.
Optionally, in this embodiment of the application, the first virtual key further includes at least one screen corner key, and the at least one screen corner key is located at a position of at least one of four corners of the screen.
Optionally, in this embodiment of the application, the function of the second virtual key is the same as that of the first virtual key, the direction key of the second virtual key is located at a second position, and the second position corresponds to the position of the second touch operation; the position of the screen corner key of the second virtual key is the same as that of the screen corner key of the first virtual key.
Optionally, in this embodiment of the application, after the first virtual key appears, if the second touch operation is not received after exceeding a preset time range, the virtual key on the screen is hidden; the device still includes: the screen corner key providing module 130 is configured to, in a case where the virtual key is hidden, provide the screen corner key at a first corner position of four corners of the screen if a touch operation is received at the first corner position.
Optionally, in this embodiment of the present application, the first operating mode of the vehicle-mounted terminal is activated by at least one of the following modes: triggering a physical key of the vehicle-mounted terminal, triggering a key of an application program interface of the vehicle-mounted terminal, voice awakening and activating by an application program in the vehicle-mounted terminal.
The functions of each module in each apparatus in the embodiment of the present application may refer to the processing correspondingly described in the foregoing method embodiment, and are not described herein again.
By using the embodiment of the application, the user only needs to touch the position of the screen, the direction key can be drawn by taking the finger contact as the center, and the user moves the finger again to click, so that the key click in the corresponding direction can be completed. The user does not need to accurately confirm the key position, can know which relative position the direction key is in, and the user can directly operate and click without looking over the screen to carry out blind operation. When the device is used on a moving non-stationary platform such as an automobile and the like, and a user cannot keep the screen relatively stable, the operation method can provide great convenience, because the user needs to ensure that the user can complete positioning by touching the screen with fingers.
There is also provided, in accordance with an embodiment of the present application, an electronic device, a readable storage medium, and a computer program product. As shown in fig. 6, the present disclosure is a block diagram of an electronic device for controlling a virtual key of an in-vehicle terminal according to an embodiment of the present disclosure. 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. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 1001, memory 1002, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display Graphical information for a Graphical User Interface (GUI) on an external input/output device, such as a display device coupled to the Interface. In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 6 illustrates an example of a processor 1001.
The memory 1002 is a non-transitory computer readable storage medium provided herein. The memory stores instructions executable by the at least one processor, so that the at least one processor executes the virtual key control method for the vehicle-mounted terminal provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the virtual key control method for a vehicle-mounted terminal provided by the present application.
The memory 1002, as a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the virtual key control method for the in-vehicle terminal in the embodiment of the present application (for example, the virtual key providing module 110 and the virtual area dividing module 120 shown in fig. 6). The processor 1001 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 1002, that is, implements the virtual key control method for the in-vehicle terminal in the above-described method embodiment.
The memory 1002 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from analysis of the search result processing use of the electronic device, and the like. Further, the memory 1002 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1002 may optionally include memory located remotely from the processor 1001, which may be connected to the analysis processing electronics of the search results over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device corresponding to the virtual key control method for the vehicle-mounted terminal in the embodiment of the application may further include: an input device 1003 and an output device 1004. The processor 1001, the memory 1002, the input device 1003 and the output device 1004 may be connected by a bus or other means, and the embodiment of fig. 6 in the present application is exemplified by the bus connection.
The input device 1003 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device for analysis processing of search results, such as an input device like a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer, one or more mouse buttons, a track ball, a joystick, etc. The output devices 1004 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The Display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) Display, and a plasma Display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, Integrated circuitry, Application Specific Integrated Circuits (ASICs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer 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) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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), and the internet.
The computer system may include clients and servers. A client and server are generally 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.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. A virtual key control method for a vehicle-mounted terminal comprises the following steps:
when the vehicle-mounted terminal is in a first working mode, responding to a first touch operation on a screen of the vehicle-mounted terminal, and providing a first virtual key on the screen, wherein the first virtual key comprises a direction key positioned at a first position, the direction key comprises a determination key, an upper key, a lower key, a left key and a right key, and the first position corresponds to the position of the first touch operation;
in response to a second touch operation on the screen, if a time interval between a trigger time of the second touch operation and a trigger time of the first touch operation is less than or equal to a preset threshold, providing at least four virtual dividing lines around the direction key to divide a surrounding area of the direction key into at least four areas, a first area of the at least four areas corresponding to the up key, an area of the first area being greater than an area of the up key, a screen range of the first area corresponding to a function of the up key, a second area of the at least four areas corresponding to the down key, an area of the second area being greater than an area of the down key, a screen range of the second area corresponding to a function of the down key, a third area of the at least four areas corresponding to the left key, an area of the third area being greater than an area of the left key, the screen range of the third area corresponds to the function of the left key, a fourth area of the at least four areas corresponds to the right key, the area of the fourth area is larger than that of the right key, and the screen range of the fourth area corresponds to the function of the right key;
responding to the second touch operation on the screen, and if the time interval between the trigger time of the second touch operation and the trigger time of the first touch operation is larger than the preset threshold value, providing a second virtual key on the screen.
2. The method of claim 1, wherein:
the first virtual key further comprises at least one screen corner key, and the at least one screen corner key is positioned at the position of at least one of the four corners of the screen.
3. The method of claim 2, wherein:
the function of the second virtual key is the same as the function of the first virtual key,
the direction key of the second virtual key is located at a second position, and the second position corresponds to the position of the second touch operation;
and the position of the screen corner key of the second virtual key is the same as that of the screen corner key of the first virtual key.
4. The method of claim 2, wherein,
after the first virtual key appears, if the second touch operation is not received after the preset time range is exceeded, hiding the virtual key on the screen;
the method further comprises the following steps:
under the condition that the virtual key is hidden, if a touch operation is received at the position of a first corner of four corners of a screen, providing the screen corner key at the position of the first corner.
5. The method of claim 1, wherein,
activating the first working mode of the vehicle-mounted terminal by at least one of the following modes:
triggering a physical key of the vehicle-mounted terminal, triggering a key of an application program interface of the vehicle-mounted terminal, waking up by voice, and activating by an application program in the vehicle-mounted terminal.
6. The method of any one of claims 1 to 5,
the screen of the vehicle-mounted terminal comprises a screen installed on a center console in the vehicle.
7. A virtual key control apparatus for a vehicle-mounted terminal, comprising:
the system comprises a virtual key providing module, a first touch control module and a second touch control module, wherein the virtual key providing module is used for responding to a first touch control operation on a screen of the vehicle-mounted terminal when the vehicle-mounted terminal is in a first working mode, providing a first virtual key on the screen, the first virtual key comprises a direction key positioned at a first position, the direction key comprises a determination key, an upper key, a lower key, a left key and a right key, and the first position corresponds to the position of the first touch control operation;
a virtual area dividing module, configured to provide at least four virtual dividing lines around the direction key in response to a second touch operation on the screen, where a time interval between a trigger time of the second touch operation and a trigger time of the first touch operation is less than or equal to a preset threshold, so as to divide a surrounding area of the direction key into at least four areas, a first area of the at least four areas corresponds to the upper key, an area of the first area is greater than an area of the upper key, a screen range of the first area corresponds to a function of the upper key, a second area of the at least four areas corresponds to the lower key, an area of the second area is greater than an area of the lower key, a screen range of the second area corresponds to a function of the lower key, and a third area of the at least four areas corresponds to the left key, the area of the third area is larger than that of the left key, the screen range of the third area corresponds to the function of the left key, a fourth area of the at least four areas corresponds to the right key, the area of the fourth area is larger than that of the right key, and the screen range of the fourth area corresponds to the function of the right key;
the virtual key providing module is further configured to provide a second virtual key on the screen in response to the second touch operation on the screen, where a time interval between a trigger time of the second touch operation and a trigger time of the first touch operation is greater than the preset threshold.
8. The apparatus of claim 7, further comprising:
the first virtual key further comprises at least one screen corner key, and the at least one screen corner key is positioned at the position of at least one of the four corners of the screen.
9. The apparatus of claim 8, wherein,
the function of the second virtual key is the same as the function of the first virtual key,
the direction key of the second virtual key is located at a second position, and the second position corresponds to the position of the second touch operation;
and the position of the screen corner key of the second virtual key is the same as that of the screen corner key of the first virtual key.
10. The apparatus of claim 8, wherein,
after the first virtual key appears, if the second touch operation is not received after the preset time range is exceeded, hiding the virtual key on the screen;
the device further comprises: the device comprises a screen corner key providing module and a touch control module, wherein the screen corner key providing module is used for providing a screen corner key at a first corner position of four corners of a screen if touch control operation is received at the first corner position under the condition that a virtual key is hidden.
11. The apparatus of claim 7, wherein the first and second electrodes are disposed on opposite sides of the substrate,
activating the first working mode of the vehicle-mounted terminal by at least one of the following modes:
triggering a physical key of the vehicle-mounted terminal, triggering a key of an application program interface of the vehicle-mounted terminal, waking up by voice, and activating by an application program in the vehicle-mounted terminal.
12. The apparatus of any one of claims 7 to 11,
the screen of the vehicle-mounted terminal comprises a screen installed on a center console in the vehicle.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-6.
CN202010507454.3A 2020-06-05 2020-06-05 Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal Active CN111666031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010507454.3A CN111666031B (en) 2020-06-05 2020-06-05 Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010507454.3A CN111666031B (en) 2020-06-05 2020-06-05 Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal

Publications (2)

Publication Number Publication Date
CN111666031A CN111666031A (en) 2020-09-15
CN111666031B true CN111666031B (en) 2022-03-04

Family

ID=72386957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010507454.3A Active CN111666031B (en) 2020-06-05 2020-06-05 Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal

Country Status (1)

Country Link
CN (1) CN111666031B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114527920A (en) * 2020-10-30 2022-05-24 华为终端有限公司 Man-machine interaction method and electronic equipment
CN114368288B (en) * 2022-01-05 2023-09-12 一汽解放汽车有限公司 Display control method and device of vehicle-mounted terminal, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109963A (en) * 2011-03-25 2011-06-29 威盛电子股份有限公司 Method for cursor positioning on screen
CN102150114A (en) * 2009-02-06 2011-08-10 松下电器产业株式会社 Image display device
CN102426495A (en) * 2011-09-22 2012-04-25 深圳市同洲电子股份有限公司 Mobile terminal and method for remotely controlling digital television receiving terminal by same
CN105045498A (en) * 2015-04-09 2015-11-11 长春工程学院 Touch generating method for virtual button position of mobile terminal
CN107450823A (en) * 2016-06-01 2017-12-08 宇龙计算机通信科技(深圳)有限公司 The display methods and device of a kind of virtual key

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101978687B1 (en) * 2011-11-15 2019-05-16 삼성전자주식회사 Method for inputting a character in touch screen terminal and apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102150114A (en) * 2009-02-06 2011-08-10 松下电器产业株式会社 Image display device
CN102109963A (en) * 2011-03-25 2011-06-29 威盛电子股份有限公司 Method for cursor positioning on screen
CN102426495A (en) * 2011-09-22 2012-04-25 深圳市同洲电子股份有限公司 Mobile terminal and method for remotely controlling digital television receiving terminal by same
CN105045498A (en) * 2015-04-09 2015-11-11 长春工程学院 Touch generating method for virtual button position of mobile terminal
CN107450823A (en) * 2016-06-01 2017-12-08 宇龙计算机通信科技(深圳)有限公司 The display methods and device of a kind of virtual key

Also Published As

Publication number Publication date
CN111666031A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
US10318149B2 (en) Method and apparatus for performing touch operation in a mobile device
EP3336678B1 (en) Method and electronic device for preventing touch button from being false triggered
US11893235B2 (en) Application display method and terminal
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
US9733752B2 (en) Mobile terminal and control method thereof
KR101534282B1 (en) User input method of portable device and the portable device enabling the method
US8854325B2 (en) Two-factor rotation input on a touchscreen device
KR20120046059A (en) Method and apparatus for gesture recognition
US9870144B2 (en) Graph display apparatus, graph display method and storage medium
EP2752749A1 (en) Processing method of touch screen device user interface and touch screen device
WO2020010911A1 (en) Split-screen display processing method and apparatus, storage medium, and electronic device
CN111666031B (en) Virtual key control method, device, equipment and storage medium for vehicle-mounted terminal
CN112162665B (en) Operation method and device
CN112639714A (en) Method, device and system for executing gesture instruction and storage medium
CN105824531A (en) Method and device for adjusting numbers
CN105630350A (en) Virtual role control method and apparatus
JP2014241030A (en) Graph display device, program, and server device
CN103577079A (en) Method for achieving interaction between user and application in electronic device and electronic device
CN111684402B (en) Haptic effects on touch input surfaces
CN112987986A (en) Method, device, storage medium and electronic equipment for realizing game application
CN109032732B (en) Notification display method and device, storage medium and electronic equipment
GB2482206A (en) An apparatus and methods for position adjustment of widget presentations
CN112783408A (en) Gesture navigation method and device of electronic equipment, equipment and readable storage medium
CN116483246A (en) Input control method and device, electronic equipment and storage medium
KR20190091327A (en) Dynamic space bar

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211019

Address after: 100176 Room 101, 1st floor, building 1, yard 7, Ruihe West 2nd Road, economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Zhilian (Beijing) Technology Co.,Ltd.

Address before: 2 / F, baidu building, 10 Shangdi 10th Street, Haidian District, Beijing 100085

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant