CN113650623B - Vehicle control method, device, terminal equipment and medium - Google Patents

Vehicle control method, device, terminal equipment and medium Download PDF

Info

Publication number
CN113650623B
CN113650623B CN202110808976.1A CN202110808976A CN113650623B CN 113650623 B CN113650623 B CN 113650623B CN 202110808976 A CN202110808976 A CN 202110808976A CN 113650623 B CN113650623 B CN 113650623B
Authority
CN
China
Prior art keywords
function
gesture
controlled
information
contact
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
CN202110808976.1A
Other languages
Chinese (zh)
Other versions
CN113650623A (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.)
Varitronix Heyuan Display Technology Co Ltd
Original Assignee
Varitronix Heyuan Display 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 Varitronix Heyuan Display Technology Co Ltd filed Critical Varitronix Heyuan Display Technology Co Ltd
Priority to CN202110808976.1A priority Critical patent/CN113650623B/en
Publication of CN113650623A publication Critical patent/CN113650623A/en
Application granted granted Critical
Publication of CN113650623B publication Critical patent/CN113650623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/08Interaction between the driver and the control system
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • 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/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Transportation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a vehicle control method, a device, terminal equipment and a medium, wherein the method comprises the following steps: in response to detection of gesture touch information for a vehicle to be controlled, determining a function to be controlled for the vehicle to be controlled according to a gesture type corresponding to the gesture touch information; performing false touch prevention detection on the gesture touch information, and determining function adjustment information according to the track direction indicated by the gesture touch information when the false touch prevention detection of the gesture touch information is qualified; and carrying out function regulation control on the function to be controlled according to the function regulation information. According to the gesture control method and device, the function adjusting information is determined according to the track direction of the gesture touch information, the function adjusting control can be effectively carried out on the function to be controlled based on the function adjusting information, so that a user does not need to adopt a touch control key to carry out the function adjusting control on the function to be controlled, the operation of the user is facilitated, and the control experience of the user is improved.

Description

Vehicle control method, device, terminal equipment and medium
Technical Field
The present disclosure relates to the field of vehicle control technologies, and in particular, to a vehicle control method, a device, a terminal device, and a medium.
Background
With the rapid development of the domestic automobile industry, automobile demands are also increasing year by year. Automobiles are no longer a luxury for a few people, and more people choose self-driving automobiles as a daily walk-substituting tool. Automobiles are also becoming part of the family life. The vehicle is not limited to a simple driving function any more, and all entertainment configuration functions of the whole vehicle gradually become powerful attraction points for prompting customers to purchase.
In the existing vehicle control process, corresponding touch keys are arranged for different vehicle functions, and a user adjusts the effect of the corresponding vehicle functions in a manual touch mode, but when the functions of the vehicle are more, the user is more complicated in operation of vehicle function control, and the control experience of the user is reduced.
Disclosure of Invention
In view of this, the embodiments of the present application provide a vehicle control method, apparatus, terminal device, and medium, so as to solve the problem in the prior art that the user control experience is low due to the complicated vehicle function control operation.
A first aspect of an embodiment of the present application provides a vehicle control method, including:
in response to detection of gesture touch information for a vehicle to be controlled, determining a function to be controlled for the vehicle to be controlled according to a gesture type corresponding to the gesture touch information;
Performing false touch prevention detection on the gesture touch information, and determining function adjustment information according to the track direction indicated by the gesture touch information when the false touch prevention detection of the gesture touch information is qualified;
and carrying out function regulation control on the function to be controlled according to the function regulation information.
Further, the determining the function to be controlled for the vehicle to be controlled according to the gesture type corresponding to the gesture touch information includes:
matching the gesture type corresponding to the gesture touch information with a pre-stored function lookup table to obtain the function to be controlled;
the gesture type corresponding to the gesture touch information is determined by a touch identifier, and the touch identifier comprises at least one of the following: the number of touch points, the touch area and the touch coordinates, and the corresponding relations between different gesture types and corresponding functions to be controlled are stored in the function lookup table.
Further, the performing false touch prevention detection on the gesture touch information includes:
acquiring coordinates of an initial contact in the gesture touch information, and sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts;
Determining the farthest point contact and the next farthest point contact between the sampling contacts and the initial contact according to the coordinates of the sampling contacts;
and carrying out false touch prevention detection on the gesture touch information according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact.
Further, the performing anti-false touch detection on the gesture touch information according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact includes:
determining a looping radius corresponding to the gesture touch information according to the initial contact, the farthest point contact and the next farthest point contact, wherein the looping radius is the radius of a circle formed by the initial contact, the farthest point contact and the next farthest point contact, and determining the distance between the initial contact and the farthest point contact to obtain a start-end distance;
generating a first vector according to the initial contact and the farthest point contact, and generating a second vector according to the initial contact and the next farthest point contact;
and if the looping radius and the start-end distance are both larger than the preset distance, and the included angle between the first vector and the second vector is larger than the preset included angle, judging that the false touch prevention detection of the gesture touch information is qualified.
Further, the determining the function adjustment information according to the track direction of the gesture touch information includes:
continuously sampling the contacts in the non-sampled gesture touch information according to the preset sampling number and the touch time to obtain at least two sampling contacts;
determining a contact adjusting direction according to the coordinates of each current sampling contact, and determining a contact initial direction according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact;
and determining the function adjusting information according to the contact adjusting direction, the contact initial direction and a preset function adjusting value.
Further, after determining the function to be controlled for the vehicle to be controlled according to the gesture type corresponding to the gesture touch information, the method further includes:
determining first prompt information according to the function to be controlled, and carrying out function prompt on the function to be controlled according to the first prompt information, wherein the first prompt information is used for prompting the function type of the function to be controlled.
Further, after the function adjustment control is performed on the function to be controlled according to the function adjustment information, the method further includes:
Acquiring functional parameters of the function to be controlled after function adjustment control, and determining second prompt information according to the functional parameters;
and carrying out function prompt on the function to be controlled after the function is regulated and controlled according to the second prompt information, wherein the second prompt information is used for prompting the function effect of the function to be controlled after the function is regulated and controlled.
A second aspect of the embodiments of the present application provides a vehicle control apparatus, including:
the system comprises a to-be-controlled function determining module, a to-be-controlled function determining module and a control module, wherein the to-be-controlled function determining module is used for determining to-be-controlled functions of a to-be-controlled vehicle according to gesture touch information corresponding to gesture touch information in response to detection of gesture touch information of the to-be-controlled vehicle;
the anti-false touch detection module is used for carrying out anti-false touch detection on the gesture touch information, and determining function adjustment information according to the track direction indicated by the gesture touch information when the anti-false touch detection of the gesture touch information is qualified;
and the function control module is used for carrying out function adjustment control on the function to be controlled according to the function adjustment information.
A third aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the terminal device, the processor implementing the steps of the vehicle control method provided in the first aspect when the computer program is executed.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the vehicle control method provided in the first aspect.
According to the vehicle control method, device, terminal equipment and medium, through the gesture type corresponding to the gesture touch information, the function to be controlled required by a user can be effectively determined, different functions to be controlled can be obtained based on the gesture type corresponding to the corresponding gesture touch information, different touch keys are not required to be set for different functions to be controlled, the user can conveniently control the function to be controlled, the error touch prevention operation of the user can be effectively eliminated through error touch prevention detection of the gesture touch information, the accuracy of vehicle control is improved, the function adjustment information is determined according to the track direction of the gesture touch information, the function adjustment control can be effectively performed on the function to be controlled based on the function adjustment information, the user does not need to adopt the mode of the touch control keys to perform the function adjustment control on the function to be controlled, the user is further facilitated, and the control experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an implementation of a vehicle control method provided in an embodiment of the present application;
FIG. 2 is a flow chart illustrating an implementation of a vehicle control method according to another embodiment of the present application;
fig. 3 and fig. 6 to fig. 8 are schematic structural diagrams of sampling contacts during false touch detection according to the embodiment of fig. 2 of the present application;
fig. 4 to 5 are schematic structural diagrams formed by sampling contacts after sampling contacts in the non-sampled gesture touch information in the embodiment of fig. 2;
fig. 9 is a block diagram of a vehicle control apparatus provided in an embodiment of the present application;
fig. 10 is a block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The vehicle control method according to the embodiment of the present application may be executed by a control apparatus or a terminal (hereinafter referred to as "terminal apparatus"). When the vehicle control method is executed by the terminal device, the execution subject is the terminal device.
Referring to fig. 1, fig. 1 shows a flowchart of an implementation of a vehicle control method provided in an embodiment of the present application, where the vehicle control method is applied to any terminal device, and the terminal device may be a server, a mobile phone, a vehicle-mounted device, or a smart device, and the vehicle control method includes:
step S10, responding to detection of gesture touch information aiming at a vehicle to be controlled, and determining a function to be controlled aiming at the vehicle to be controlled according to a gesture type corresponding to the gesture touch information;
the vehicle to be controlled is provided with a touch information acquisition device, the touch information acquisition device comprises a touch screen or a device for remote sensing of touch, the touch information acquisition device in the embodiment is a touch screen, in the step, touch operation of a finger or a palm of a user on the touch screen is received to obtain gesture touch information, and the gesture touch information comprises coordinates of each touch point formed by the finger or the palm of the user on the touch screen.
In this step, the function to be controlled may be any vehicle function on the vehicle to be controlled, for example, the function to be controlled may be an air conditioning function, a sound box function, a vehicle start-stop function, a radio or a glass-frame lifter function, and the like, and different gesture types correspond to one function to be controlled.
Optionally, in this step, the determining, according to the gesture type corresponding to the gesture touch information, a function to be controlled for the vehicle to be controlled includes:
matching the gesture type corresponding to the gesture touch information with a pre-stored function lookup table to obtain the function to be controlled;
the function lookup table stores corresponding relations between different gesture types and corresponding functions to be controlled, the gesture types corresponding to the gesture touch information are determined by touch identifications, and the touch identifications comprise at least one of the following: the number of touch points, the touch area and the touch coordinates.
For example, when the number of the corresponding touch points of the gesture touch information is 1, that is, when the user slides on the touch screen by means of 1 finger, the gesture type corresponding to the gesture touch information is determined to be a first type finger type, when the number of the corresponding touch points of the gesture touch information is 2, that is, when the user slides on the touch screen by means of 2 fingers, the gesture type corresponding to the gesture touch information is determined to be a second type finger type, and when the number of the corresponding touch points of the gesture touch information is 3, that is, when the user slides on the touch screen by means of 3 fingers, the gesture type corresponding to the gesture touch information is determined to be a third type finger type.
And when the corresponding touch area of the gesture touch information is in the first area range, judging that the gesture type corresponding to the gesture touch information is the first area type, and when the corresponding touch area of the gesture touch information is in the second area range, judging that the gesture type corresponding to the gesture touch information is the second area type.
When the touch coordinate of the initial contact corresponding to the gesture touch information is in a first preset area of the touch screen, judging that the gesture type corresponding to the gesture touch information is a type first type area type, and when the touch coordinate of the initial contact corresponding to the gesture touch information is in a second preset area of the touch screen, judging that the gesture type corresponding to the gesture touch information is a type second type area type.
Further, in this step, after determining the function to be controlled for the vehicle to be controlled according to the gesture type corresponding to the gesture touch information, the method further includes:
determining first prompt information according to the function to be controlled, and carrying out function prompt on the function to be controlled according to the first prompt information;
the first prompt information is used for prompting the function type of the function to be controlled, so that the user can be effectively and conveniently confirmed of the function to be controlled, and the first prompt information can prompt the user in a voice broadcasting, vibration or acousto-optic prompting mode, for example, when the function to be controlled is an air conditioner function, the user can be directly prompted in a voice broadcasting mode, namely, the user is prompted to confirm that the function to be controlled is the air conditioner currently. Further, when the first prompt information is prompted in a vibration manner, the vibration source may be set according to the requirement of the user, for example, the vibration source may be set as a steering wheel, a driving seat, or a touch screen
Optionally, in this step, the first prompt information corresponding to the different functions to be controlled may be different, for example, when the first prompt information is reminded in a vibration manner, the number of vibration times, the frequency of vibration or the amplitude of vibration between the different functions to be controlled may be different, so as to facilitate the user to distinguish the different functions to be controlled.
For example, when the number of the touch points corresponding to the gesture touch information is 1, the determined function to be controlled is an air conditioning function, the first prompt information determined based on the air conditioning function is a touch screen, a driver seat or a steering wheel to vibrate once, when the number of the touch points corresponding to the gesture touch information is 2, the determined function to be controlled is a sound box function, the first prompt information determined based on the sound box function is a touch screen, a driver seat or a steering wheel to vibrate twice, when the number of the touch points corresponding to the gesture touch information is 3, the determined function to be controlled is a radio function, and the first prompt information determined based on the radio function is a touch screen, a seat or a steering wheel to vibrate three times.
Step S20, false touch prevention detection is carried out on the gesture touch information, and when the false touch prevention detection of the gesture touch information is qualified, function adjustment information is determined according to the track direction indicated by the gesture touch information;
The gesture touch information is detected by preventing false touch, so that false touch operation of a user can be effectively eliminated, accuracy of vehicle control is improved, different track directions indicated by the gesture touch information correspond to different function adjusting information, and the function adjusting information is used for adjusting a function effect of a function to be controlled, for example, the function adjusting information comprises increasing air conditioning temperature, reducing air conditioning temperature, increasing sound box sound, reducing sound box sound, increasing channels of a radio, reducing channels of the radio, starting an engine or closing the engine and the like.
In the step, if the false touch prevention detection of the gesture touch information is not qualified, judging that the gesture touch information is the false touch operation of the user, and ending the step of the vehicle control method.
And step S30, performing function adjustment control on the function to be controlled according to the function adjustment information.
The function adjusting information is used for adjusting and controlling the function to be controlled based on the function adjusting information, so that a user does not need to adopt a touch control key to perform function adjusting and controlling on the function to be controlled, the operation of the user is facilitated, and the control experience of the user is improved. Optionally, after performing the function adjustment control on the function to be controlled according to the function adjustment information, the method further includes:
Acquiring functional parameters of the function to be controlled after function adjustment control, and determining second prompt information according to the functional parameters;
performing function prompt on the function to be controlled after function adjustment control according to the second prompt information;
the second prompt information is used for prompting the function effect of the function to be controlled after the function is regulated and controlled, and optionally, the second prompt information is the same as the first prompt information, and can prompt the user in a voice broadcasting, vibration or acousto-optic prompting mode.
For example, when the second prompt information is prompted by adopting a vibration mode, the higher the air conditioner temperature is, the larger the vibration amplitude or the faster the vibration frequency of the vibration source is, the lower the air conditioner temperature is, the smaller the vibration amplitude or the slower the vibration frequency of the vibration source is, when the second prompt information is prompted by adopting a pure voice mode, and the content of the voice prompt is designed to be "pyridazin" sound, when the air conditioner temperature is higher, the higher the frequency of the "pyridazin" sound is, the denser the sound is, the lower the air conditioner temperature is, the lower the frequency of the "pyridazin" sound is, and the more sparse the sound is.
Further, in the step, a function upper limit value and a function lower limit value are set for the function to be controlled, and when the function to be controlled reaches the function upper limit value or the function lower limit value under the function regulation control of the function regulation information, the reminding of the second prompting information is stopped to prompt the user that the current function to be controlled is regulated to the function upper limit value or the function lower limit value, so that invalid regulation control operation of the user is prevented.
According to the method and the device, the function to be controlled which is required to be controlled by the user can be effectively determined through the gesture type corresponding to the gesture touch information, different functions to be controlled can be obtained based on the gesture type corresponding to the corresponding gesture touch information, different touch keys are not required to be set for different functions to be controlled, adjustment control of the functions to be controlled by the user is facilitated, false touch prevention operation of the user can be effectively eliminated through false touch prevention detection on the gesture touch information, accuracy of vehicle control is improved, function adjustment information is determined through the track direction of the gesture touch information, function adjustment control can be effectively carried out on the functions to be controlled based on the function adjustment information, the user does not need to adopt a touch control key to carry out function adjustment control on the functions to be controlled, operation of the user is further facilitated, and control experience of the user is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating an implementation of a vehicle control method according to another embodiment of the present application. With respect to the embodiment of fig. 1, the vehicle control method provided in this embodiment is used for further refining step S20 in the embodiment of fig. 1, and includes:
Step S21, acquiring coordinates of an initial contact in the gesture touch information, and sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts;
referring to fig. 3, the coordinates of the initial contact Q1 are (x 0 ,y 0 ) The preset samplingThe sample number can be set according to the requirement, for example, the preset sample number can be set to 7, 8 or 9, etc., and the preset sample number in this embodiment is set to 8, that is, in this step, coordinates of 8 contacts except the initial contact in the gesture touch information are sequentially acquired, so as to obtain the sampling contact.
Step S22, determining the farthest point contact and the next farthest point contact between the sampling contacts and the initial contact according to the coordinates of the sampling contacts;
wherein the sampling contacts include points 1 to 8 in fig. 3, the contact distance between each sampling contact and the initial contact is calculated according to the coordinates of each sampling contact and the coordinates of the initial contact Q1, and the sampling contact corresponding to the maximum contact distance is determined as the farthest point contact and the next farthest point contact according to the calculated contact distance, and the farthest point contact Q2 (x 1 ,y 1 ) And a second far point contact Q3 (x 2 ,y 2 )。
And S23, carrying out false touch prevention detection on the gesture touch information according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact.
Optionally, in this step, the performing anti-false touch detection on the gesture touch information according to coordinates of the initial contact, the farthest point contact and the next farthest point contact includes:
determining a looping radius corresponding to the gesture touch information according to the initial contact, the farthest point contact and the next farthest point contact, and determining a distance between the initial contact and the farthest point contact to obtain a start-end distance;
wherein the looping radius R is the radius of a circle formed by the initial contact point, the farthest point contact point and the next farthest point contact point, and is determined according to the coordinate (x 0 ,y 0 ) And the coordinates (x) of the farthest point contact point Q2 1 ,y 1 ) Calculating to obtain the start-end distance L 10
Generating a first vector according to the initial contact and the farthest point contact, and generating a second vector according to the initial contact and the next farthest point contact;
wherein the first vector is
Figure BDA0003167448770000101
The second vector is->
Figure BDA0003167448770000102
The first vector and the second vector are dashed lines in fig. 3;
if the looping radius and the start-end distance are both larger than the preset distance, and the included angle between the first vector and the second vector is larger than the preset included angle, judging that the false touch prevention detection of the gesture touch information is qualified;
Wherein the preset distance can be set according to the requirement or the length of the touch screen, and in this embodiment, the preset distance is equal to half of the short side distance of the touch screen, that is, the preset distance is L s And/2, the preset included angle can be set according to the requirement, the preset included angle in the step is set to be 22.5 DEG, namely, in the step, when the looping radius R and the start-end distance are both larger than L s /2, and a first vector
Figure BDA0003167448770000103
And (2) second vector->
Figure BDA0003167448770000104
And if the included angle is larger than 22.5 degrees, judging that the false touch prevention detection of the gesture touch information is qualified.
Optionally, in this step, if the looping radius and the start-end distance are both smaller than or equal to a preset distance, determining that the false touch prevention detection of the gesture touch information is not qualified; and if the included angle between the first vector and the second vector is smaller than or equal to a preset included angle, judging that the false touch prevention detection of the gesture touch information is not qualified.
Step S24, continuing to sample the contacts in the non-sampled gesture touch information according to the preset sampling number and the touch time to obtain at least two sampling contacts;
referring to fig. 4 or fig. 5, an image schematic diagram is formed by the sampling contacts corresponding to the current sampling run, and the sampling contacts sampled by the current sampling run are from point 0 to point 7 in fig. 4 or fig. 5.
Step S25, determining a contact adjusting direction according to the coordinates of each current sampling contact, and determining a contact initial direction according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact;
the connection between the contacts is sequentially performed according to the coordinates and touch time of each current sampling contact in fig. 4 or fig. 5, so as to determine the contact adjustment direction between each current sampling contact, and the connection between the contacts is performed according to the initial contact, the farthest point contact and the next farthest point contact in fig. 3, so as to determine the contact initial direction, wherein the contact initial direction is clockwise, the contact adjustment direction in fig. 4 is clockwise, and the contact adjustment direction in fig. 5 is counterclockwise.
Step S26, determining the function adjustment information according to the contact adjustment direction, the contact initial direction and a preset function adjustment value;
when the contact adjusting direction is different from the contact initial direction, the function to be controlled is reduced according to the preset function adjusting value, and the function adjusting information is generated, and when the contact adjusting direction is different from the contact initial direction, the function to be controlled is reduced according to the preset function adjusting value, the function adjusting value can be set according to requirements, for example, when the function to be adjusted is an air conditioning function, the preset function adjusting value can be set to be 1 ℃, and when the function to be adjusted is a sound box function, the preset function adjusting value can be set to be 1 db.
In the step, if the function to be regulated is a vehicle start-stop function, starting the engine when the contact regulating direction is the same as the contact initial direction, and closing the engine when the contact regulating direction is different from the contact initial direction.
Optionally, referring to fig. 6, in this embodiment, for anti-false touch detection of gesture touch information, whether the gesture touch information is a false touch operation may also be determined by detecting whether a gesture operation corresponding to the gesture touch information is a preset first type of scribing operation:
acquiring coordinates of initial contacts in gesture touch information, sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts, determining the farthest point contact between the sampling contacts and the initial contact according to the coordinates of each sampling contact, and judging whether the distance between the farthest point contact and the initial contact is larger than a preset distance;
wherein Q1 in FIG. 6 is the initial contact point, Q2 is the furthest point contact point, i.e., the distance l between the initial contact point Q1 and the furthest point contact point Q2 is determined 10 Whether or not it is greater than L s 2, when l 10 Is greater than L s And/2, determining that the gesture touch information is not a false touch operation, when l 10 Is less than or equal to L s And/2, judging that the gesture touch information is a false touch operation.
Further, referring to fig. 7, in the embodiment, for the anti-false touch detection of the gesture touch information, whether the gesture touch information is a false touch operation may also be determined by detecting whether the gesture operation corresponding to the gesture touch information is a preset second type of scribing operation:
acquiring coordinates of an initial contact in the gesture touch information, and sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts;
determining a farthest point contact and a secondarily distant point contact between the sampling contacts and the initial contact according to coordinates of the sampling contacts, generating a first vector according to the initial contact and the farthest point contact, and generating a second vector according to the initial contact and the secondarily distant point contact;
judging whether the included angle between the first vector and the second vector is smaller than a preset included angle or not;
wherein Q1 in FIG. 7 is the initial contact, Q2 is the furthest point contact, Q3 is the next furthest point contact, and the first vector is
Figure BDA0003167448770000121
The second vector is->
Figure BDA0003167448770000122
That is, the first vector is judged +.>
Figure BDA0003167448770000123
And (2) second vector->
Figure BDA0003167448770000124
Whether the included angle is larger than a preset included angle;
When a first vector
Figure BDA0003167448770000125
And (2) second vector->
Figure BDA0003167448770000126
If the included angle is larger than the preset included angle, judging that the gesture touch information is not a false touch operation, and when the first vector is +>
Figure BDA0003167448770000127
And (2) second vector->
Figure BDA0003167448770000128
And if the included angle is smaller than or equal to the preset included angle, judging that the gesture touch information is a false touch operation.
Still further, referring to fig. 8, in the embodiment, for the anti-false touch detection of the gesture touch information, it is also possible to determine whether the gesture touch information is a false touch operation by detecting whether the gesture operation corresponding to the gesture touch information is a preset third type of scribing operation:
acquiring coordinates of an initial contact in the gesture touch information, and sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts;
determining the farthest point contact and the next farthest point contact between the sampling contacts and the initial contact according to the coordinates of the sampling contacts;
determining a looping radius corresponding to the gesture touch information according to the initial contact, the farthest point contact and the next farthest point contact;
judging whether the looping radius is larger than a preset distance;
in fig. 8, Q1 is a start contact, Q2 is a farthest point contact, Q3 is a secondarily distant point contact, a circle radius R of a circle corresponding to gesture touch information is calculated according to coordinates of the start contact, the farthest point contact and the secondarily distant point contact, when the circle radius R is greater than a preset distance, it is determined that the gesture touch information is not a false touch operation, and when the circle radius R is less than or equal to the preset distance, it is determined that the gesture touch information is a false touch operation.
In this embodiment, through the coordinates of the initial contact, the farthest point contact and the next farthest point contact, it can be effectively detected whether the gesture operation corresponding to the first round of contact sampling in the gesture touch information is a looping operation, when the operation corresponding to the first round of contact sampling in the gesture touch information is a looping operation, it is determined that the gesture touch information is not a false touch operation, and vehicle control accuracy is improved
Referring to fig. 9, fig. 9 is a block diagram of a vehicle control apparatus 100 according to an embodiment of the present application. The vehicle control device 100 in this embodiment includes units for executing the steps in the embodiments corresponding to fig. 1 and 2. Refer specifically to fig. 1 and fig. 2, and the related descriptions in the embodiments corresponding to fig. 1 and fig. 2. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 9, the vehicle control apparatus 100 includes: a function determination module to be controlled 10, an anti-false touch detection module 11 and a function control module 12, wherein:
The to-be-controlled function determining module 10 is configured to determine, in response to detecting gesture touch information for a to-be-controlled vehicle, a to-be-controlled function for the to-be-controlled vehicle according to a gesture type corresponding to the gesture touch information.
Wherein the control function determination module 10 is further configured to: matching the gesture type corresponding to the gesture touch information with a pre-stored function lookup table to obtain the function to be controlled;
the gesture type corresponding to the gesture touch information is determined by a touch identifier, and the touch identifier comprises at least one of the following: the number of touch points, the touch area and the touch coordinates, and the corresponding relations between different gesture types and corresponding functions to be controlled are stored in the function lookup table.
The anti-false touch detection module 11 is configured to perform anti-false touch detection on the gesture touch information, and determine function adjustment information according to a track direction indicated by the gesture touch information when the anti-false touch detection of the gesture touch information is qualified.
The anti-false touch detection module 11 is further configured to: acquiring coordinates of an initial contact in the gesture touch information, and sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts;
Determining the farthest point contact and the next farthest point contact between the sampling contacts and the initial contact according to the coordinates of the sampling contacts;
and carrying out false touch prevention detection on the gesture touch information according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact.
Optionally, the anti-false touch detection module 11 is further configured to: determining a looping radius corresponding to the gesture touch information according to the initial contact, the farthest point contact and the next farthest point contact, wherein the looping radius is the radius of a circle formed by the initial contact, the farthest point contact and the next farthest point contact, and determining the distance between the initial contact and the farthest point contact to obtain a start-end distance;
generating a first vector according to the initial contact and the farthest point contact, and generating a second vector according to the initial contact and the next farthest point contact;
and if the looping radius and the start-end distance are both larger than the preset distance, and the included angle between the first vector and the second vector is larger than the preset included angle, judging that the false touch prevention detection of the gesture touch information is qualified.
Further, the false touch preventing detection module 11 is further configured to: continuously sampling the contacts in the non-sampled gesture touch information according to the preset sampling number and the touch time to obtain at least two sampling contacts;
Determining a contact adjusting direction according to the coordinates of each current sampling contact, and determining a contact initial direction according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact;
and determining the function adjusting information according to the contact adjusting direction, the contact initial direction and a preset function adjusting value.
And the function control module 12 is used for performing function adjustment control on the function to be controlled according to the function adjustment information.
Optionally, the vehicle control device 100 further includes:
the function prompting module 13 is configured to determine first prompting information according to the function to be controlled, and perform function prompting on the function to be controlled according to the first prompting information, where the first prompting information is used for prompting a function type of the function to be controlled.
Wherein, the function prompt module 13 is further used for: acquiring functional parameters of the function to be controlled after function adjustment control, and determining second prompt information according to the functional parameters;
and carrying out function prompt on the function to be controlled after the function is regulated and controlled according to the second prompt information, wherein the second prompt information is used for prompting the function effect of the function to be controlled after the function is regulated and controlled.
According to the method and the device, the function to be controlled which is required to be controlled by the user can be effectively determined through the gesture type corresponding to the gesture touch information, different functions to be controlled can be obtained based on the gesture type corresponding to the corresponding gesture touch information, different touch keys are not required to be set for different functions to be controlled, adjustment control of the functions to be controlled by the user is facilitated, false touch prevention operation of the user can be effectively eliminated through false touch prevention detection on the gesture touch information, accuracy of vehicle control is improved, function adjustment information is determined through the track direction of the gesture touch information, function adjustment control can be effectively carried out on the functions to be controlled based on the function adjustment information, the user does not need to adopt a touch control key to carry out function adjustment control on the functions to be controlled, operation of the user is further facilitated, and control experience of the user is improved.
Fig. 10 is a block diagram of a terminal device 2 according to another embodiment of the present application. As shown in fig. 10, the terminal device 2 of this embodiment includes: a processor 20, a memory 21 and a computer program 22, such as a program of a vehicle control method, stored in said memory 21 and executable on said processor 20. The steps in the respective embodiments of the above-described vehicle control methods are implemented when the processor 20 executes the computer program 23, for example, S10 to S30 shown in fig. 1 or S21 to S26 shown in fig. 2. Alternatively, the processor 20 may implement the functions of each unit in the embodiment corresponding to fig. 9, for example, the functions of the units 10 to 13 shown in fig. 9, when executing the computer program 22, and the detailed description of the embodiment corresponding to fig. 3 will be referred to herein, which is omitted.
Illustratively, the computer program 22 may be partitioned into one or more units that are stored in the memory 21 and executed by the processor 20 to complete the present application. The one or more units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 22 in the terminal device 2. For example, the computer program 22 may be divided into a function determining module 10 to be controlled, a false touch preventing detecting module 11, a function controlling module 12 and a function prompting module 13, each unit having a specific function as described above.
The terminal device may include, but is not limited to, a processor 20, a memory 21. It will be appreciated by those skilled in the art that fig. 10 is merely an example of the terminal device 2 and does not constitute a limitation of the terminal device 2, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 20 may be a central processing unit (Centralprocessing Unit, CPU), other general purpose processors, digital signal processors (Digital Signalprocessor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 21 may be an internal storage unit of the terminal device 2, such as a hard disk or a memory of the terminal device 2. The memory 21 may also be an external storage device of the terminal device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 2. Further, the memory 21 may also include both an internal storage unit and an external storage device of the terminal device 2. The memory 21 is used for storing the computer program as well as other programs and data required by the terminal device. The memory 21 may also be used for temporarily storing data that has been output or is to be output.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Wherein the computer readable storage medium may be nonvolatile or volatile. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each method embodiment described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable storage medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable storage medium may be appropriately scaled according to the requirements of jurisdictions in which such computer readable storage medium does not include electrical carrier signals and telecommunication signals, for example, according to jurisdictions and patent practices.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. A vehicle control method characterized by comprising:
in response to detection of gesture touch information for a vehicle to be controlled, determining a function to be controlled for the vehicle to be controlled according to a gesture type corresponding to the gesture touch information;
performing false touch prevention detection on the gesture touch information, and determining function adjustment information according to the track direction indicated by the gesture touch information when the false touch prevention detection of the gesture touch information is qualified;
performing function adjustment control on the function to be controlled according to the function adjustment information;
the performing false touch prevention detection on the gesture touch information includes:
Acquiring coordinates of an initial contact in the gesture touch information, and sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts;
determining the farthest point contact and the next farthest point contact between the sampling contacts and the initial contact according to the coordinates of the sampling contacts;
performing anti-false touch detection on the gesture touch information according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact;
the performing anti-false touch detection on the gesture touch information according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact includes:
determining a looping radius corresponding to the gesture touch information according to the initial contact, the farthest point contact and the next farthest point contact, wherein the looping radius is the radius of a circle formed by the initial contact, the farthest point contact and the next farthest point contact, and determining the distance between the initial contact and the farthest point contact to obtain a start-end distance;
generating a first vector according to the initial contact and the farthest point contact, and generating a second vector according to the initial contact and the next farthest point contact;
And if the looping radius and the start-end distance are both larger than the preset distance, and the included angle between the first vector and the second vector is larger than the preset included angle, judging that the false touch prevention detection of the gesture touch information is qualified.
2. The vehicle control method according to claim 1, wherein the determining the function to be controlled for the vehicle to be controlled according to the gesture type corresponding to the gesture touch information includes:
matching the gesture type corresponding to the gesture touch information with a pre-stored function lookup table to obtain the function to be controlled;
the gesture type corresponding to the gesture touch information is determined by a touch identifier, and the touch identifier comprises at least one of the following: the number of touch points, the touch area and the touch coordinates, and the corresponding relations between different gesture types and corresponding functions to be controlled are stored in the function lookup table.
3. The vehicle control method according to claim 1, characterized in that the determining function adjustment information according to the trajectory direction of the gesture touch information includes:
continuously sampling the contacts in the non-sampled gesture touch information according to the preset sampling number and the touch time to obtain at least two sampling contacts;
Determining a contact adjusting direction according to the coordinates of each current sampling contact, and determining a contact initial direction according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact;
and determining the function adjusting information according to the contact adjusting direction, the contact initial direction and a preset function adjusting value.
4. The vehicle control method according to claim 1, wherein after determining the function to be controlled for the vehicle to be controlled according to the gesture type corresponding to the gesture touch information, further comprises:
determining first prompt information according to the function to be controlled, and carrying out function prompt on the function to be controlled according to the first prompt information, wherein the first prompt information is used for prompting the function type of the function to be controlled.
5. The vehicle control method according to any one of claims 1 to 4, characterized by further comprising, after the function adjustment control of the function to be controlled according to the function adjustment information:
acquiring functional parameters of the function to be controlled after function adjustment control, and determining second prompt information according to the functional parameters;
and carrying out function prompt on the function to be controlled after the function is regulated and controlled according to the second prompt information, wherein the second prompt information is used for prompting the function effect of the function to be controlled after the function is regulated and controlled.
6. A vehicle control apparatus characterized by comprising:
the system comprises a to-be-controlled function determining module, a to-be-controlled function determining module and a control module, wherein the to-be-controlled function determining module is used for determining to-be-controlled functions of a to-be-controlled vehicle according to gesture touch information corresponding to gesture touch information in response to detection of gesture touch information of the to-be-controlled vehicle;
the anti-false touch detection module is used for carrying out anti-false touch detection on the gesture touch information, and determining function adjustment information according to the track direction indicated by the gesture touch information when the anti-false touch detection of the gesture touch information is qualified;
the function control module is used for carrying out function adjustment control on the function to be controlled according to the function adjustment information;
the anti-false touch detection module is also used for:
acquiring coordinates of an initial contact in the gesture touch information, and sequentially sampling the contacts in the gesture touch information according to a preset sampling number and touch time to obtain at least two sampling contacts;
determining the farthest point contact and the next farthest point contact between the sampling contacts and the initial contact according to the coordinates of the sampling contacts;
performing anti-false touch detection on the gesture touch information according to the coordinates of the initial contact, the farthest point contact and the next farthest point contact;
The anti-false touch detection module is also used for:
determining a looping radius corresponding to the gesture touch information according to the initial contact, the farthest point contact and the next farthest point contact, wherein the looping radius is the radius of a circle formed by the initial contact, the farthest point contact and the next farthest point contact, and determining the distance between the initial contact and the farthest point contact to obtain a start-end distance;
generating a first vector according to the initial contact and the farthest point contact, and generating a second vector according to the initial contact and the next farthest point contact;
and if the looping radius and the start-end distance are both larger than the preset distance, and the included angle between the first vector and the second vector is larger than the preset included angle, judging that the false touch prevention detection of the gesture touch information is qualified.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 5.
CN202110808976.1A 2021-07-16 2021-07-16 Vehicle control method, device, terminal equipment and medium Active CN113650623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110808976.1A CN113650623B (en) 2021-07-16 2021-07-16 Vehicle control method, device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110808976.1A CN113650623B (en) 2021-07-16 2021-07-16 Vehicle control method, device, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN113650623A CN113650623A (en) 2021-11-16
CN113650623B true CN113650623B (en) 2023-07-04

Family

ID=78489524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110808976.1A Active CN113650623B (en) 2021-07-16 2021-07-16 Vehicle control method, device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN113650623B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106155543A (en) * 2015-04-14 2016-11-23 鸿富锦精密工业(深圳)有限公司 Vehicle control system and operational approach thereof
US10053110B2 (en) * 2016-05-06 2018-08-21 Toyota Motor Engineering & Manufacturing North America, Inc. Systems and methodologies for controlling an autonomous vehicle
CN108845747A (en) * 2018-04-23 2018-11-20 普联技术有限公司 A kind of Touch-control error prevention method, apparatus and terminal device
WO2020166736A1 (en) * 2019-02-13 2020-08-20 엘지전자 주식회사 Mobile device and method for controlling same

Also Published As

Publication number Publication date
CN113650623A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN108510963B (en) Screen brightness adjusting method and device, storage medium and intelligent terminal
CN107544272B (en) Terminal control method, device and storage medium
US11341362B2 (en) Methods and devices for updating fingerprint template
US20190080691A1 (en) System and method for language selection
US20170287476A1 (en) Vehicle aware speech recognition systems and methods
KR20200072196A (en) Electronic device audio enhancement and method thereof
CN113650623B (en) Vehicle control method, device, terminal equipment and medium
CN110626303A (en) Child riding safety protection method and system based on vehicle-mounted terminal and vehicle-mounted terminal
US20180103318A1 (en) Responding to hvac-induced vehicle microphone buffeting
WO2018161961A1 (en) Method and system for providing vibration notification based on fingerprint similarity
CN111552420A (en) Touch interaction method and device, terminal equipment and storage medium
CN115831077A (en) Vehicle-mounted screen brightness control method and device and related equipment
CN114973268A (en) Text recognition method and device, storage medium and electronic equipment
KR20160121920A (en) Calibration device of electronic control unit and operating method thereof
US11341189B2 (en) Multi-character string search engine for in-vehicle information system
JP7252862B2 (en) Control device, control system and control method
CN108806682B (en) Method and device for acquiring weather information
CN109962895B (en) Method and system for updating automobile instrument interface, server and storage medium
KR20180032436A (en) Apparatu and method for executing a plurality of instructionsin and method for storaging thereof
KR102474806B1 (en) Apparatus and method for recognizing speech, vehicle system
CN107195298B (en) Root cause analysis and correction system and method
CN116016578B (en) Intelligent voice guiding method based on equipment state and user behavior
WO2022000505A1 (en) Double-finger tactile interaction method, terminal, and medium
CN113241066B (en) Voice interaction method and system and voice interaction equipment
US11393246B2 (en) Method, apparatus, and computer-readable storage medium for acquiring fingerprint image

Legal Events

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