CN112776732B - 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
CN112776732B
CN112776732B CN201911090376.5A CN201911090376A CN112776732B CN 112776732 B CN112776732 B CN 112776732B CN 201911090376 A CN201911090376 A CN 201911090376A CN 112776732 B CN112776732 B CN 112776732B
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.)
Active
Application number
CN201911090376.5A
Other languages
Chinese (zh)
Other versions
CN112776732A (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 when the on-off state of the target vehicle is determined to be the powered-on state, executing a power-off operation on the target vehicle, or when the on-off state of the target vehicle is determined to be the powered-off state, executing a power-on operation on the target vehicle. The method and the device solve the problem of high misoperation rate caused by complicated key pressing in the related art.

Description

Vehicle switching method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for switching a vehicle, a storage medium, and an electronic apparatus.
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 key pressing in the related technology, an effective solution is not 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 when the on-off state of the target vehicle is determined to be the powered-on state, executing a power-off operation on the target vehicle, or when the on-off state of the target vehicle is determined to be the powered-off state, executing a power-on operation on the target vehicle.
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 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, when executed, perform the steps of any of the method embodiments described above.
According to yet another embodiment of the present invention, there is also provided an electronic device, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the steps of any of the method embodiments described above.
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 drawings and embodiments. It should be noted that, in the present application, the embodiments and features of the embodiments 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 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 and the bluetooth key are in a bluetooth connection state.
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 a target state that the target vehicle is in when the target signal is received.
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 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:
the method comprises 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 that the target operation corresponding to the target state is on-off switching;
and S3, executing a 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.
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 further provide an electronic device, comprising 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.
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:
the method comprises the following 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 that the target operation corresponding to the target state is on-off switching;
and S3, executing a 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.
Optionally, for a specific example in this embodiment, reference may be made to the examples described in the above embodiment and optional implementation, 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 in 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 memory device and executed by a computing device, and in some cases, the steps shown or described may be executed out of order, or separately as individual integrated circuit modules, or multiple modules or steps thereof may be implemented as 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 shall be included in the protection scope of the present invention.

Claims (7)

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;
executing a shutdown operation on the target vehicle when the startup and shutdown state of the target vehicle is determined to be the started state, or executing a startup operation on the target vehicle when the startup and shutdown state of the target vehicle is determined to be the shutdown state;
wherein the target operations corresponding to different target states are different;
wherein the method further comprises: configuring a correspondence relationship of the target state and the target operation, wherein the correspondence relationship is configured by an application APP pre-installed in a terminal connected with the target vehicle, the correspondence relationship allows an operation of being turned on or off to be performed through the APP, the correspondence relationship allows the APP to be modified, added, or deleted;
determining that the target operation corresponding to the target state is on/off switching 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.
2. The method of claim 1, 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.
3. 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.
4. The method of claim 3, 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.
5. A switch device 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 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;
wherein the target operations corresponding to different target states are different;
wherein the apparatus is further configured to configure a correspondence of the target state with the target operation, wherein the correspondence is configured by an application APP pre-installed in a terminal connected with the target vehicle, the correspondence allows an operation of being turned on or off to be performed through the APP, the correspondence allows the APP to be modified, added, or deleted;
the second determining module includes: 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.
6. 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 4 when executed.
7. An electronic device comprising a memory and a processor, wherein the memory has a computer program stored therein, and the processor is configured to execute the computer program to perform the method of any of claims 1 to 4.
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 CN112776732A (en) 2021-05-11
CN112776732B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN112776732A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
EP2849415A1 (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
US20170277347A1 (en) Method and apparatus for switching key functions of touchscreen terminal
CN109033247B (en) Application program management method and device, storage medium and terminal
TWI540920B (en) Method for managing data traffic of software and portable electronic apparatus using the same
CN106713608B (en) Application function state modification method and device and terminal
CN105824657A (en) Method for displaying application program and mobile terminal
CN108536488A (en) Using starting guide method, apparatus, storage medium and terminal device
CN104836869A (en) Mobile communication terminal and mobile communication terminal power-on method
KR102205935B1 (en) Method and terminal for adjusting screen-on duration of terminal
JP2022048146A5 (en)
CN102360303A (en) Method for upgrading handheld terminal software, and handheld terminal
CN107766218B (en) System optimization method and device, storage medium and terminal equipment
CN113194450A (en) Bluetooth device management method and device
CN112776801B (en) Vehicle speed control method, vehicle speed control device, storage medium and electronic device
CN110795012A (en) Control method of electronic device, and computer-readable storage medium
CN113359499B (en) Method and device for controlling household appliance, household appliance and readable storage medium
CN104427097B (en) Terminal device and changing method
CN105138323A (en) Information processing method and electronic equipment
EP3272139B1 (en) Method and device for integrated usability control
CN112776923B (en) Unlocking method and device for vehicle seat barrel, storage medium and electronic device
CN113205673A (en) Method and apparatus for controlling remote control apparatus, and storage medium
CN110708744B (en) Communication control method, home appliance device, and computer-readable storage medium
JP2015008393A (en) Portable information terminal
CN112083792B (en) Mobile terminal control method and device and mobile terminal

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