CN112776732A - Vehicle switching method and device, storage medium and electronic device - Google Patents

Vehicle switching method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112776732A
CN112776732A CN201911090376.5A CN201911090376A CN112776732A CN 112776732 A CN112776732 A CN 112776732A CN 201911090376 A CN201911090376 A CN 201911090376A CN 112776732 A CN112776732 A CN 112776732A
Authority
CN
China
Prior art keywords
target
state
vehicle
target vehicle
determining
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.)
Granted
Application number
CN201911090376.5A
Other languages
Chinese (zh)
Other versions
CN112776732B (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.)
Nine Intelligent Changzhou Tech Co Ltd
Original Assignee
Nine Intelligent Changzhou Tech 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 Nine Intelligent Changzhou Tech Co Ltd filed Critical Nine Intelligent Changzhou Tech Co Ltd
Priority to CN201911090376.5A priority Critical patent/CN112776732B/en
Publication of CN112776732A publication Critical patent/CN112776732A/en
Application granted granted Critical
Publication of CN112776732B publication Critical patent/CN112776732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/005Electro-mechanical devices, e.g. switched
    • 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
    • B60R16/023Electric 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 for transmission of signals between vehicle parts or subsystems

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a switching method, a switching device, a storage medium and an electronic device of a vehicle, wherein the method comprises the following steps: determining a target state of a target vehicle when a target signal is received, wherein the target signal is a signal triggered by pressing a target key configured on the target vehicle; determining that the target operation corresponding to the target state is on-off switching; and executing a shutdown operation on the target vehicle when the on-off state of the target vehicle is determined to be the turned-on state, or executing the startup operation on the target vehicle when the on-off state of the target vehicle is determined to be the turned-off state. The invention solves the problem of high misoperation rate caused by complicated keys in the related technology.

Description

Vehicle switching method and device, storage medium and electronic device
Technical Field
The invention relates to the field of communication, in particular to a vehicle switching method, a vehicle switching device, a storage medium and an electronic device.
Background
In the related art, in some vehicles in the market, for example, electric vehicles, there are actually very many keys arranged on the vehicle body, and different keys correspond to different functions, and the use is complicated due to too many keys, so that a user cannot know the function corresponding to each key, and misoperation occurs, which causes inconvenience to consumers;
aiming at the problem of high misoperation rate caused by complicated keys in the related technology, no effective solution is provided at present.
Disclosure of Invention
The embodiment of the invention provides a vehicle switching method, a vehicle switching device, a storage medium and an electronic device, and at least solves the problem of high misoperation rate caused by complicated keys in the related art.
According to an embodiment of the present invention, there is provided a switching method of a vehicle, including: determining a target state of a target vehicle when a target signal is received, wherein the target signal is a signal triggered by pressing a target key configured on the target vehicle; determining that the target operation corresponding to the target state is on-off switching; and executing a shutdown operation on the target vehicle when the on-off state of the target vehicle is determined to be the turned-on state, or executing the startup operation on the target vehicle when the on-off state of the target vehicle is determined to be the turned-off state.
According to another embodiment of the present invention, there is also provided a switching apparatus of a vehicle, including: the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a target state of a target vehicle when a target signal is received, and the target signal is a signal triggered by pressing a target key configured on the target vehicle; the second determination module is used for determining that the target operation corresponding to the target state is on/off switching; the operation module is used for executing the shutdown operation on the target vehicle when the on-off state of the target vehicle is determined to be the powered-on state, or executing the power-on operation on the target vehicle when the on-off state of the target vehicle is determined to be the powered-off state.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, different operations can be triggered by the same key of the target vehicle in different vehicle states, so that the purpose that the same key corresponds to multiple different functions is realized, the complexity of the key is reduced, the purpose of reducing the misoperation rate can be realized, and the problem of high misoperation rate caused by the complexity of the key in the related technology is effectively solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of switching a vehicle according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a target key according to an embodiment of the present invention;
fig. 3 is a block diagram of a switching device of a vehicle according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In the invention, a vehicle (for example, an electric vehicle) provided with a target key is provided, and the target key can be pressed to activate different functions under different scenes, namely, signals generated by pressing the target key can trigger the vehicle to perform different operations under different scenes. For example, an operation of opening the seat tub lock may be performed, an operation of turning on and off the machine may be performed, an operation of cruise at a constant speed may be performed, and the like.
The invention is illustrated below with reference to examples:
in the present embodiment, a switching method of a vehicle is provided, and fig. 1 is a flowchart of the switching method of the vehicle according to the embodiment of the present invention, as shown in fig. 1, the flowchart includes the steps of:
step S102, determining a target state of a target vehicle when a target signal is received, wherein the target signal is a signal triggered by pressing a target key configured on the target vehicle;
step S104, determining that the target operation corresponding to the target state is on-off switching;
step S106, when the power on/off state of the target vehicle is determined to be the power on state, performing a power off operation on the target vehicle, or when the power on/off state of the target vehicle is determined to be the power off state, performing a power on operation on the target vehicle.
The target vehicle may perform the operation, and may be, for example, a device such as a processor provided in the target vehicle. In the above embodiments, the power-on state may refer to a state in which the target vehicle is unlocked and powered on, and the power-off state may refer to a state in which the target vehicle is powered off and locked.
Through the embodiment, different operations can be triggered by the same key of the target vehicle in different vehicle states, so that the purpose that the same key corresponds to multiple different functions is achieved, the complexity of the key is reduced, the purpose of reducing the misoperation rate can be achieved, and the problem that the misoperation rate is high due to the complexity of the key in the related technology is effectively solved.
In an optional embodiment, determining that the target operation corresponding to the target state is the power on/off switching includes: when the target state is determined to include that the target vehicle is in a static state and the target vehicle is in a connection state with a target device, determining that the target operation corresponding to the target state is on-off switching. In the present embodiment, when it is determined that the wheel speed of the vehicle is zero, it is determined that the vehicle is in a stationary state; the target device described above may be a control device for controlling the target vehicle, and the connection state of the target vehicle and the target device may be a wireless connection state, a wired connection state, or the like.
In an optional embodiment, the target vehicle being in a connected state with a target device includes: the target vehicle and the Bluetooth key are in a connection state, wherein the Bluetooth key has a Bluetooth connection function and has the capability of switching the on-off state of the target vehicle. In the present embodiment, the target vehicle is in a bluetooth connection state with the bluetooth key.
In an optional embodiment, prior to determining the target state the target vehicle was in when the target signal was received, the method further comprises: receiving the target signal triggered by pressing the target key. In this embodiment, the target key may be a physical key (as shown in fig. 2) or may be a touch key, and the target signal is a signal triggered by pressing the physical key or touching the touch key. Alternatively, the target key may be provided at any position of the target vehicle, for example, may be provided on the handlebar stem, or the like.
In an alternative embodiment, receiving the target signal triggered by pressing the target key comprises: and receiving the target signal triggered by pressing the target key beyond a preset time threshold. In this embodiment, there may be a case where the target key is pressed by mistake, but the occurrence of the mistake pressing is generally short time, and in order to eliminate the mistake pressing, in this embodiment, the target signal may be triggered after the fact that the pressing exceeds a certain time period is determined.
In an optional embodiment, the method further comprises: and configuring the corresponding relation between the target state and the target operation. In this embodiment, the configuration of the correspondence may be implemented by an APP that is installed in a terminal connected to the target vehicle in advance, and in addition, the APP may modify, add, or delete the configured correspondence, and may perform an operation of opening or closing the configured correspondence, where the correspondence in the opened state is only valid, and then the corresponding operation may be triggered.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a switch device for a vehicle is also provided, and the device is used to implement the above embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a switching device of a vehicle according to an embodiment of the present invention, as shown in fig. 3, the device including:
the first determining module 32 is configured to determine a target state of a target vehicle when a target signal is received, where the target signal is a signal triggered by pressing a target key configured on the target vehicle; a second determining module 34, configured to determine that the target operation corresponding to the target state is on/off switching; the operating module 36 is configured to execute a shutdown operation on the target vehicle when it is determined that the power on/off state of the target vehicle is the powered on state, or execute a power on operation on the target vehicle when it is determined that the power on/off state of the target vehicle is the powered off state.
In an optional embodiment, the second determining module comprises: the determining unit is used for determining that the target operation corresponding to the target state is on-off switching when the target state is determined to comprise that the target vehicle is in a static state and the target vehicle is in a connection state with a target device.
In an optional embodiment, the target vehicle being in a connected state with a target device includes: the target vehicle and the Bluetooth key are in a connection state, wherein the Bluetooth key has a Bluetooth connection function and has the capability of switching the on-off state of the target vehicle.
In an optional embodiment, the apparatus is further configured to receive the target signal triggered by pressing the target key before determining the target state of the target vehicle at the time of receiving the target signal.
In an alternative embodiment, the apparatus may receive the target signal triggered by pressing the target key by: and receiving the target signal triggered by pressing the target key beyond a preset time threshold.
In an optional embodiment, the apparatus is further configured to configure a correspondence between the target state and the target operation.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, determining a target state of a target vehicle when a target signal is received, wherein the target signal is a signal triggered by pressing a target key configured on the target vehicle;
s2, determining the target operation corresponding to the target state as on-off switching;
s3, when it is determined that the on/off state of the target vehicle is the powered-on state, performing a power-off operation on the target vehicle, or when it is determined that the on/off state of the target vehicle is the powered-off state, performing a power-on operation on the target vehicle.
Optionally, in this embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining a target state of a target vehicle when a target signal is received, wherein the target signal is a signal triggered by pressing a target key configured on the target vehicle;
s2, determining the target operation corresponding to the target state as on-off switching;
s3, when it is determined that the on/off state of the target vehicle is the powered-on state, performing a power-off operation on the target vehicle, or when it is determined that the on/off state of the target vehicle is the powered-off state, performing a power-on operation on the target vehicle.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A switching method of a vehicle, characterized by comprising:
determining a target state of a target vehicle when a target signal is received, wherein the target signal is a signal triggered by pressing a target key configured on the target vehicle;
determining that the target operation corresponding to the target state is on-off switching;
and executing a shutdown operation on the target vehicle when the on-off state of the target vehicle is determined to be the turned-on state, or executing the startup operation on the target vehicle when the on-off state of the target vehicle is determined to be the turned-off state.
2. The method of claim 1, wherein determining that the target operation corresponding to the target state is a power on/off switch comprises:
when the target state is determined to include that the target vehicle is in a static state and the target vehicle is in a connection state with a target device, determining that the target operation corresponding to the target state is on-off switching.
3. The method of claim 2, wherein the target vehicle being in a connected state with a target device comprises:
the target vehicle and the Bluetooth key are in a connection state, wherein the Bluetooth key has a Bluetooth connection function and has the capability of switching the on-off state of the target vehicle.
4. The method of claim 1, wherein prior to determining the target state the target vehicle was in when the target signal was received, the method further comprises:
receiving the target signal triggered by pressing the target key.
5. The method of claim 4, wherein receiving the target signal triggered by pressing the target key comprises:
and receiving the target signal triggered by pressing the target key beyond a preset time threshold.
6. The method of claim 1, further comprising:
and configuring the corresponding relation between the target state and the target operation.
7. A switching apparatus of a vehicle, characterized by comprising:
the system comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a target state of a target vehicle when a target signal is received, and the target signal is a signal triggered by pressing a target key configured on the target vehicle;
the second determination module is used for determining that the target operation corresponding to the target state is on/off switching;
the operation module is used for executing the shutdown operation on the target vehicle when the on-off state of the target vehicle is determined to be the powered-on state, or executing the power-on operation on the target vehicle when the on-off state of the target vehicle is determined to be the powered-off state.
8. The apparatus of claim 7, wherein the second determining module comprises:
the determining unit is used for determining that the target operation corresponding to the target state is on-off switching when the target state is determined to comprise that the target vehicle is in a static state and the target vehicle is in a connection state with a target device.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5.
CN201911090376.5A 2019-11-08 2019-11-08 Vehicle switching method and device, storage medium and electronic device Active CN112776732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911090376.5A CN112776732B (en) 2019-11-08 2019-11-08 Vehicle switching method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911090376.5A CN112776732B (en) 2019-11-08 2019-11-08 Vehicle switching method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN112776732A true CN112776732A (en) 2021-05-11
CN112776732B CN112776732B (en) 2022-12-13

Family

ID=75748591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911090376.5A Active CN112776732B (en) 2019-11-08 2019-11-08 Vehicle switching method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112776732B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114089837A (en) * 2021-10-14 2022-02-25 深圳市华曦达科技股份有限公司 Control method and device of equipment and computer readable storage medium
CN115027390A (en) * 2022-06-06 2022-09-09 阿尔特(北京)汽车数字科技有限公司 Vehicle power-off time calculation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202608720U (en) * 2012-04-06 2012-12-19 比亚迪股份有限公司 Vehicle with intelligent key device for vehicle and intelligent key device for vehicle
CN103076867A (en) * 2012-12-28 2013-05-01 广州杰赛科技股份有限公司 Cloud terminal processing method and system with function of identifying action of power key
CN206863937U (en) * 2017-03-31 2018-01-09 南京神易网络科技有限公司 A kind of computer based wireless switching machine equipment
KR20180014512A (en) * 2016-08-01 2018-02-09 현대자동차주식회사 System and method for start power generation of vehicle
CN107867259A (en) * 2016-09-28 2018-04-03 长城汽车股份有限公司 A kind of vehicle solution lock control device and vehicle solution lock control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202608720U (en) * 2012-04-06 2012-12-19 比亚迪股份有限公司 Vehicle with intelligent key device for vehicle and intelligent key device for vehicle
CN103076867A (en) * 2012-12-28 2013-05-01 广州杰赛科技股份有限公司 Cloud terminal processing method and system with function of identifying action of power key
KR20180014512A (en) * 2016-08-01 2018-02-09 현대자동차주식회사 System and method for start power generation of vehicle
CN107867259A (en) * 2016-09-28 2018-04-03 长城汽车股份有限公司 A kind of vehicle solution lock control device and vehicle solution lock control method
CN206863937U (en) * 2017-03-31 2018-01-09 南京神易网络科技有限公司 A kind of computer based wireless switching machine equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114089837A (en) * 2021-10-14 2022-02-25 深圳市华曦达科技股份有限公司 Control method and device of equipment and computer readable storage medium
CN115027390A (en) * 2022-06-06 2022-09-09 阿尔特(北京)汽车数字科技有限公司 Vehicle power-off time calculation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112776732B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
US9565293B2 (en) Method and device for operating mobile terminal based on sensor, and mobile terminal
CN112776732B (en) Vehicle switching method and device, storage medium and electronic device
CN109033247B (en) Application program management method and device, storage medium and terminal
US11086697B2 (en) Broadcast-controlling method in operating system and mobile terminal
CN102833632A (en) Multi-screen interactive master-slave control equipment management method, intelligent television and control equipment
CN103744580A (en) Terminal interface control method and mobile terminal thereof
CN101576777A (en) Method for integrating functions of multiple keys into one key and computer recording medium thereof
CN108536488A (en) Using starting guide method, apparatus, storage medium and terminal device
JP2022048146A5 (en)
CN107766218B (en) System optimization method and device, storage medium and terminal equipment
CN105049936B (en) A kind of method and device of switching on and shutting down
KR102205935B1 (en) Method and terminal for adjusting screen-on duration of terminal
CN105491242B (en) Mobile communication terminal and control method and device thereof
CN108156310A (en) A kind of method and system of finger prints processing, terminal device and computer-readable medium
CN102360303A (en) Method for upgrading handheld terminal software, and handheld terminal
US10863521B1 (en) Broadcast receiver control method and apparatus, and mobile terminal
CN105653304A (en) Method for switching operation mode, device for switching operation mode, and terminal
CN107609429A (en) A kind of touch pad control method and equipment
CN117412088A (en) Terminal control method and device, storage medium and electronic equipment
CN112776801B (en) Vehicle speed control method, vehicle speed control device, storage medium and electronic device
CN104038618A (en) Access control method and electronic equipment
CN113359499B (en) Method and device for controlling household appliance, household appliance and readable storage medium
CN105760791A (en) Electronic terminal and power supply and shutdown method and device thereof
CN109302527A (en) Terminal false-touch prevention method, terminal and computer readable storage medium
CN110825293A (en) Control method, terminal and storage medium

Legal Events

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