CN114530001A - Vehicle control method and system - Google Patents
Vehicle control method and system Download PDFInfo
- Publication number
- CN114530001A CN114530001A CN202011215972.4A CN202011215972A CN114530001A CN 114530001 A CN114530001 A CN 114530001A CN 202011215972 A CN202011215972 A CN 202011215972A CN 114530001 A CN114530001 A CN 114530001A
- Authority
- CN
- China
- Prior art keywords
- ith
- key
- vehicle
- keys
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000004044 response Effects 0.000 claims abstract description 268
- 238000012790 confirmation Methods 0.000 claims abstract description 58
- 238000012163 sequencing technique Methods 0.000 claims abstract description 36
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000007474 system interaction Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00182—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional data transmission between data carrier and locks
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R25/00—Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
- B60R25/20—Means to switch the anti-theft system on or off
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Selective Calling Equipment (AREA)
- Lock And Its Accessories (AREA)
Abstract
The embodiment of the application discloses a vehicle control method and a vehicle control system, wherein an ith control request sent by a switch is received, wherein i is a positive integer greater than or equal to 2; obtaining ith preset ordering information, and determining ith preset response sequence according to the ith preset ordering information; the ith preset sequencing information is determined according to the ith-1 actual response sequence of the vehicle key; sending an ith confirmation instruction to the vehicle key, wherein the ith confirmation instruction comprises an ith preset response sequence and an ith control request; sequentially receiving ith response information sent by the vehicle key according to an ith preset response sequence; and controlling the switch according to the ith response message. The vehicle key response sequence is sequenced according to the actual response sequence of the last vehicle key, the response sequence of the vehicle key can be flexibly adjusted, the response information of the vehicle key can be quickly acquired, and the vehicle control speed is increased.
Description
Technical Field
The application relates to the field of vehicle control, in particular to a vehicle control method and system.
Background
A Passive Entry Passive Start (PEPS) system for a vehicle is a system that does not require a key to be inserted and performs information interaction with a vehicle key through a controller to realize vehicle control. In the PEPS, when the switch control is required, the controller transmits relevant information to the vehicle key and receives response information of the vehicle key, and the controller controls the switch by using the response information of the key.
At present, the PEPS controller has long time to receive the response information of the vehicle key, and cannot control the vehicle quickly.
Disclosure of Invention
In view of this, embodiments of the present application provide a vehicle control method and system, which enable a controller to quickly control a vehicle.
In order to solve the above problem, the technical solution provided by the embodiment of the present application is as follows:
in a first aspect, the present application provides a vehicle control method, applied to a controller, the method comprising:
receiving an ith control request sent by a switch, wherein i is a positive integer greater than or equal to 2;
obtaining ith preset ordering information, and determining an ith preset response sequence according to the ith preset ordering information; the ith preset sequencing information is determined according to the ith-1 actual response sequence of the vehicle key;
sending an ith confirmation instruction to the vehicle key, wherein the ith confirmation instruction comprises the ith preset response sequence and the ith control request;
sequentially receiving ith response information sent by the vehicle key according to the ith preset response sequence;
and controlling the switch according to the ith response information.
Optionally, the method further includes:
receiving a1 st control request sent by the switch;
acquiring default sorting information, and determining a1 st preset response sequence according to the default sorting information; the default ranking information is determined according to the number identification of the vehicle key.
Optionally, the i-1 th actual response sequence is generated by the following method:
determining the vehicle key in a working state according to the i-1 th response information sent by the vehicle key; taking the vehicle key in the working state as a first key and taking the vehicle keys except the first key as second keys;
acquiring the number of the first keys, and if the number of the first keys is equal to the total number of the vehicle keys, determining the i-1 th preset response sequence as the i-1 th actual response sequence;
if the number of the first keys is less than the total number of the vehicle keys, sequencing the first keys and the second keys so that the serial number of the first keys is less than the serial number of the second keys; and obtaining the (i-1) th actual response sequence according to the sequencing result.
Optionally, if the number of the first keys is smaller than the total number of the vehicle keys, sorting the first keys and the second keys includes:
acquiring a serial number identifier of the first key, and sequencing the first key according to the serial number identifier of the first key to obtain a first serial number corresponding to the first key;
acquiring a serial number identifier of the second key, and sequencing the second key according to the serial number identifier of the second key to obtain a second serial number corresponding to the second key;
adding a second serial number corresponding to the second key to the number of the first keys to obtain a third serial number corresponding to the second key;
the obtaining of the i-1 th actual response sequence according to the sorting result includes: and determining the actual response sequence of the (i-1) th time according to the first serial number corresponding to the first key and the third serial number corresponding to the second key.
Optionally, the sequentially receiving the ith response information sent by the vehicle key according to the ith preset response sequence includes:
determining a receiving time window of a receiver according to the total number of the vehicle keys, wherein the receiving time window comprises N time periods, and N is the total number of the vehicle keys;
and controlling the receiver to be opened according to the receiving time window, and receiving the ith response information sent by the mth vehicle key in the mth time period, wherein m is a positive integer less than or equal to N.
In a second aspect, the present application provides a vehicle control method, which is applied to a vehicle key, the method comprising:
receiving an ith confirmation instruction sent by a controller, and acquiring an ith preset response sequence and an ith control request in the ith confirmation instruction; wherein i is a positive integer greater than or equal to 2;
generating ith response information according to the ith control request;
and sending the ith response information according to the ith preset response sequence, so that the controller can control the switch by using the ith response information.
Optionally, the method further includes:
receiving a1 st confirmation instruction sent by a controller, and acquiring a1 st preset response sequence and a1 st control request in the 1 st confirmation instruction;
generating 1 st response information according to the 1 st control request;
and sending the 1 st response information according to the 1 st preset response sequence, so that the controller can control the switch by using the 1 st response information.
In a third aspect, the present application provides a vehicle control system comprising a controller, a switch, and a vehicle key;
the switch is used for sending an ith control request to the controller, wherein i is a positive integer greater than or equal to 2;
the controller is used for receiving the ith control request sent by the switch; obtaining ith preset ordering information, and determining an ith preset response sequence according to the ith preset ordering information; the ith preset sequencing information is determined according to the ith-1 actual response sequence of the vehicle key; sending an ith confirmation instruction to the vehicle key, wherein the ith confirmation instruction comprises the ith preset response sequence and the ith control request;
the vehicle key is used for receiving the ith confirmation command sent by the controller and acquiring the ith preset response sequence and the ith control request in the ith confirmation command; generating ith response information according to the ith control request; sending the ith response information according to the ith preset response sequence, so that the controller can control the switch by using the ith response information;
the controller is further configured to sequentially receive the ith response message sent by the vehicle key according to the ith preset response sequence; and controlling the switch according to the ith response information.
Optionally, the controller is further configured to receive a1 st control request sent by the switch; acquiring default sorting information, and determining a1 st preset response sequence according to the default sorting information; the default ranking information is determined according to the number identification of the vehicle key.
Optionally, the vehicle key is further configured to receive a1 st confirmation instruction sent by the controller, and obtain a1 st preset response sequence and a1 st control request in the 1 st confirmation instruction; generating 1 st response information according to the 1 st control request; and sending the 1 st response information according to the 1 st preset response sequence, so that the controller can control the switch by using the 1 st response information.
Optionally, the controller is specifically configured to determine a receiving time window of the receiver according to the total number of the vehicle keys, where the receiving time window includes N time periods, and N is the total number of the vehicle keys; and controlling the receiver to be opened according to the receiving time window, and receiving the ith response message sent by the mth vehicle key in the mth time period, wherein m is a positive integer less than or equal to N.
Optionally, the i-1 th actual response sequence is generated by the following method:
determining the vehicle key in a working state according to the i-1 th response information sent by the vehicle key; taking the vehicle key in the working state as a first key and taking the vehicle keys except the first key as second keys;
acquiring the number of the first keys, and if the number of the first keys is equal to the total number of the vehicle keys, determining the i-1 th preset response sequence as the i-1 th actual response sequence;
if the number of the first keys is smaller than the total number of the vehicle keys, sequencing the first keys and the second keys so that the serial numbers of the first keys are smaller than the serial numbers of the second keys; and obtaining the (i-1) th actual response sequence according to the sequencing result.
Optionally, if the number of the first keys is smaller than the total number of the vehicle keys, sorting the first keys and the second keys includes:
acquiring a serial number identifier of the first key, and sequencing the first key according to the serial number identifier of the first key to obtain a first serial number corresponding to the first key;
acquiring a serial number identifier of the second key, and sequencing the second key according to the serial number identifier of the second key to obtain a second serial number corresponding to the second key;
adding a second serial number corresponding to the second key to the number of the first keys to obtain a third serial number corresponding to the second key;
the obtaining of the i-1 th actual response sequence according to the sorting result includes: and determining the actual response sequence of the (i-1) th time according to the first serial number corresponding to the first key and the third serial number corresponding to the second key.
Therefore, the embodiment of the application has the following beneficial effects:
according to the vehicle control method and system provided by the embodiment of the application, an ith control request sent by a switch is received, wherein i is a positive integer greater than or equal to 2; obtaining ith preset ordering information, and determining an ith preset response sequence according to the ith preset ordering information; the ith preset sequencing information is determined according to the ith-1 actual response sequence of the vehicle key; sending an ith confirmation instruction to the vehicle key, wherein the ith confirmation instruction comprises the ith preset response sequence and the ith control request; sequentially receiving ith response information sent by the vehicle key according to the ith preset response sequence; and controlling the switch according to the ith response information. Therefore, the controller can sequence the response sequence of the vehicle key at this time according to the actual response sequence of the vehicle key at the last time by acquiring the preset sequencing information determined according to the actual response sequence of the vehicle key at the last time, flexibly adjust the response sequence of the vehicle key, and arrange the vehicle key which actually responds in the earlier response sequence, so that the response information of the vehicle key is quickly acquired, and the vehicle control speed is increased.
Drawings
FIG. 1 is a flow chart of a vehicle control method provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of a receiver receiving response information of a vehicle key according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of a vehicle control method provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a vehicle control system according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of system interaction provided in an embodiment of the present application.
Detailed Description
In order to facilitate understanding and explaining the technical solutions provided by the embodiments of the present application, the following description will first describe the background art of the present application.
In the conventional PEPS, when the controller receives the request information sent by the switch, the controller sends the relevant request information to all the vehicle keys through the low-frequency data field, and receives the information fed back by the vehicle keys to control the switch. After the inventor conducts analysis and research on the traditional PEPS, the inventor finds that the vehicle key adopts a high-frequency data field when sending response information to the controller, and the vehicle key needs to send the response information sequentially according to the sequence because the same frequency band in the high-frequency data field can generate interference. And the vehicle key that the user used is comparatively fixed, if the key that the user used is not the first order and sends response message, the controller need wait for after other vehicle keys do not feed back, receive the response message of the vehicle key that the user used again. This may cause a delay in the control of the vehicle by the controller and may result in a poor user experience.
Based on this, this application embodiment provides a vehicle control system, characterized by, the system includes controller, switch and vehicle key;
the switch is used for sending an ith control request to the controller, wherein i is a positive integer greater than or equal to 2;
the controller is used for receiving the ith control request sent by the switch; obtaining ith preset ordering information, and determining an ith preset response sequence according to the ith preset ordering information; the ith preset sequencing information is determined according to the ith-1 actual response sequence of the vehicle key; sending an ith confirmation instruction to the vehicle key, wherein the ith confirmation instruction comprises the ith preset response sequence and the ith control request;
the vehicle key is used for receiving the ith confirmation instruction sent by the controller and acquiring the ith preset response sequence and the ith control request in the ith confirmation instruction; generating ith response information according to the ith control request; sending the ith response information according to the ith preset response sequence, so that the controller can control the switch by using the ith response information;
the controller is further configured to sequentially receive the ith response information sent by the vehicle key according to the ith preset response sequence; and controlling the switch according to the ith response information.
In order to facilitate understanding of the technical solutions provided in the embodiments of the present application, a control method of a controller in a vehicle control system is first described below with reference to the accompanying drawings.
Referring to fig. 1, the figure is a flowchart of a vehicle control method provided by an embodiment of the present application, and the method is applied to a controller, and includes S101-S105.
First, it should be noted that the controller is a controller provided in a vehicle, and the controller may be a general control controller in the vehicle or a specially-provided controller.
S101: and receiving an ith control request sent by the switch, wherein i is a positive integer greater than or equal to 2.
In the working process of the system, a user can trigger a control request through switches arranged on structures such as a vehicle door, a trunk and a starting panel, and the corresponding control request is sent to the controller by the switches so that the controller can control the switches. The control request may specifically comprise an unlock request or a lock request.
The controller receives the ith control request sent by the switch, wherein i is a positive integer greater than or equal to 2, that is, the controller receives the control request which is not sent by the switch for the first time. The embodiment of the application also provides a control method for the controller to receive the 1 st control request sent by the switch, which is specifically referred to as the following.
In a possible implementation manner, the switch may send a control request to the controller through the low-frequency antenna, and the controller correspondingly receives the control request sent by the switch in the low-frequency data field.
S102: obtaining ith preset ordering information, and determining ith preset response sequence according to the ith preset ordering information; the ith preset sequence information is determined according to the ith-1 actual response sequence of the vehicle key.
The controller acquires ith preset sequence information of the vehicle keys, wherein the ith preset sequence information comprises the sequence of the response information of all the vehicle keys received by the controller. Wherein the ith preset ordering information is determined according to the ith-1 actual response sequence. The actual response sequence is determined according to the actual response condition of the vehicle key. Through the (i-1) th time, namely the last actual response sequence, the vehicle key capable of realizing the response can be determined. The controller determines the preset response sequence according to the preset sequencing information, so that the vehicle key which responds last time can be arranged at a front position, the response information of the vehicle key can be acquired quickly, and the delay of switch control is reduced.
The embodiment of the application does not limit the manner in which the controller acquires the ith preset sorting information, and in a possible implementation manner, the ith preset sorting information may be acquired through the storage.
The embodiment of the application provides a method for generating an actual response sequence of the i-1 st vehicle key, please refer to the following.
S103: and sending an ith confirmation command to the vehicle key, wherein the ith confirmation command comprises an ith preset response sequence and an ith control request.
The controller sends an ith confirmation instruction to the vehicle key. The ith confirmation instruction comprises an ith control request, and the ith control request is used for analyzing the ith control request by the vehicle key to determine corresponding ith response information. The ith confirmation instruction further comprises an ith preset response sequence, and the ith preset response sequence is used for determining the sequence of the vehicle key when the vehicle key sends the response information the ith time.
The ith response message contains the analysis result of the control request of the ith vehicle key. In one possible implementation, the vehicle key may perform the verification of the switch identity with the ith control request. If the switch identity is verified, the ith response message sent by the vehicle key contains verification passing information, and the controller can correspondingly control the switch. If the switch identity authentication is not passed, the ith response message sent by the vehicle key contains authentication failure information, and the controller does not correspondingly control the switch.
In one possible implementation, the controller may send an ith confirmation command to the vehicle key via the low frequency antenna. The vehicle key in the low-frequency data field of the low-frequency antenna can receive the ith confirmation instruction sent by the controller and feed back the corresponding ith response information.
S104: and sequentially receiving the ith response information sent by the vehicle key according to the ith preset response sequence.
And after receiving the ith confirmation instruction, the vehicle key sends ith response information to the controller according to the ith preset response sequence. Specifically, the vehicle key may determine an order in which the vehicle key transmits the ith response information according to an ith preset response sequence, and transmit the ith response information to the controller according to a preset time distribution. The controller receives the ith response message sent by the vehicle key in sequence.
In one possible implementation, the controller may control the time that the receiver is turned on to receive the response message in coordination with the vehicle key. The embodiment of the present application provides a specific implementation manner of S104, please refer to the following.
S105: and controlling the switch according to the ith response message.
The controller correspondingly controls the switch according to the ith response information sent by the received vehicle key, and the switch is controlled by keyless entry.
Based on the relevant contents of the above S101 to S105, after the controller receives the control request sent this time by the switch, the preset current ranking information determined according to the last actual response sequence of the vehicle key is obtained, and the sequence in which the vehicle key sends the response information this time can be determined. The sequence of receiving the response information of the vehicle key at this time can be adjusted according to the response condition of the vehicle key at the last time, so that the response information sent by the vehicle key can be received quickly when the vehicle key at the last time is sequenced earlier, and the delay of the on-off control is reduced.
When the switch transmits a control request for the 1 st time, the controller cannot acquire the actual response sequence of the last vehicle key. Correspondingly, the embodiment of the present application provides another vehicle control method, which includes the following steps in addition to the above steps S101 to S105:
receiving a1 st control request sent by a switch;
acquiring default sorting information, and determining a1 st preset response sequence according to the default sorting information; the default ranking information is determined based on the serial number identification of the vehicle key.
And when the controller receives a1 st control request sent by the switch, acquiring default sequencing information. The default ranking information may be predetermined based on the numbered identification of the vehicle keys. The controller determines the 1 st preset response sequence according to the default sorting information.
Further, the embodiment of the application provides a method for generating an actual response sequence of the (i-1) th vehicle key, wherein i is a positive integer greater than or equal to 2, and the method comprises the following three steps:
a1: determining the vehicle key in a working state according to the i-1 th response information sent by the vehicle key; the vehicle key in the operating state is used as a first key, and the vehicle keys except the first key are used as a second key.
It should be noted that the vehicle key may have different states. For example, the operating state of the vehicle key may be activated when the vehicle key is within a reception range of a confirmation command sent by the controller. When the vehicle key is far away from the vehicle, the vehicle key cannot activate the working state and is not in the working state when the vehicle key is not in the receiving range of the confirmation instruction sent by the controller. Or when the vehicle key is damaged and cannot normally receive or send information, the vehicle key is not in a working state.
When the vehicle key is in a working state, after receiving a confirmation instruction sent by the controller, sending corresponding response information to the controller. When the vehicle key is not in the working state, the confirmation instruction sent by the controller cannot be received, or the corresponding response information cannot be fed back normally according to the received confirmation instruction.
The controller may determine the vehicle key in the operating state according to the received i-1 th response message transmitted by the vehicle key.
In one possible implementation manner, the controller can determine the corresponding vehicle key for sending the i-1 th response message according to the time of the received i-1 th response message. For example, there are 5 vehicle keys in the system, numbered A, B, C, D and E, respectively. The controller determines the preset response sequence to be A, B, C, D, E. The controller receives the response message only during the third reception period, and thus can determine that the vehicle key C is in the operative state and the remaining vehicle keys are not in the operative state. Alternatively, the response message sent by the vehicle key may include information related to the corresponding vehicle key, and the controller may determine the vehicle key in the operating state according to the information related to the vehicle key in the received response message.
The vehicle key in the operating state is determined as a first key, and the other vehicle keys except the first key are determined as second keys.
A2: and acquiring the number of first keys, and if the number of the first keys is equal to the total number of the vehicle keys, determining the i-1 st preset response sequence as the i-1 st actual response sequence.
The controller acquires the number of the first keys, and when the number of the first keys is equal to the total number of the vehicle keys, the controller indicates that all the vehicle keys are in the working state and can send response information to the controller. The sequence of the i-1 st response information sent by the vehicle key acquired by the controller is the same as the preset response sequence of the i-1 st time, and the response sequence of the vehicle key does not need to be adjusted particularly. The controller determines the (i-1) th time, namely the preset response sequence determined this time, as the (i-1) th time, namely the actual response sequence determined this time.
It should be noted that, when i is equal to 2, the 1 st preset response sequence is determined as the 1 st actual response sequence, where the 1 st preset response sequence is determined according to the default ordering information. When i is a positive integer greater than 2, the i-1 st preset response sequence is determined according to the i-2 nd actual response sequence.
A3: if the number of the first keys is smaller than the total number of the vehicle keys, sequencing the first keys and the second keys so that the serial number of the first keys is smaller than that of the second keys; and obtaining the (i-1) th actual response sequence according to the sequencing result.
When the number of the first keys is smaller than the total number of the vehicle keys, it is indicated that not all the vehicle keys are in the working state. Considering that the vehicle key used by the user is relatively fixed in actual use and the state of the vehicle key is relatively stable, in order to increase the speed of acquiring the response information, the vehicle key in the operating state needs to be arranged in the front of the response sequence. Therefore, when response information is acquired next time, the vehicle key in the working state is acquired first, so that the vehicle key with higher probability in the working state sends the response information first, and further the control delay is reduced.
When the number of the first keys is smaller than the total number of the vehicle keys, the first keys and the second keys are sequenced, the first keys are sequenced before the second keys, and the serial number of the first keys is smaller than that of the second keys.
The controller determines the response sequence of the i-1 st vehicle key according to the sequencing result of the sequencing of the first key and the second key.
In the embodiment of the application, whether all the vehicle keys are in the working state is determined according to the magnitude relation between the number of the vehicle keys in the working state and the total number of the vehicle keys. If not all the vehicle keys are in the working state, the vehicle keys are reordered, so that the vehicle keys in the working state are ordered earlier, the speed of receiving the response information of the vehicle keys at the next time can be increased, and the delay is reduced.
Further, if the vehicle keys have corresponding serial number identifications, the vehicle keys can be sorted according to the serial number identifications. If the number of the first keys is smaller than the total number of the vehicle keys, the first keys and the second keys are sequenced, and the method can comprise the following three steps:
b1: and acquiring the serial number identification of the first key, and sequencing the first key according to the serial number identification of the first key to obtain a first serial number corresponding to the first key.
And acquiring a serial number identifier corresponding to the first key, and sequencing the first key according to the serial number identifier of the first key. For example, the first keys may be ordered according to a descending order of their numbered identifiers, or ordered according to a descending order of their numbered identifiers. And sequencing the first key to obtain a first serial number corresponding to the first key, wherein the first serial number is used for indicating the sequence of the first key in the sequencing sequence. The first serial number may have a value ranging from 1 to n, where n is the number of the first keys.
B2: and acquiring the serial number identification of the second key, and sequencing the second key according to the serial number identification of the second key to obtain a second serial number corresponding to the second key.
The method for obtaining the second serial number corresponding to the second key is similar to the method for obtaining the first serial number corresponding to the first key, and is not described herein again.
The value range of the second serial number may be a positive integer from n +1 to m, where n is the number of the first keys and m is the total number of the vehicle keys.
B3: and adding the second serial number corresponding to the second key to the number of the first keys to obtain a third serial number corresponding to the second key.
And adding the second serial number corresponding to the second key to the number of the first keys to obtain a third serial number corresponding to the second key. The second key may be ranked after the first key by adding the second serial number to the number of the first key such that the serial number of the second key is greater than the serial number of the first key.
Correspondingly, the step of obtaining the i-1 th actual response sequence according to the sorting result comprises the following steps:
and determining the actual response sequence of the (i-1) th time according to the first serial number corresponding to the first key and the third serial number corresponding to the second key.
According to the determined first serial number corresponding to the first key and the determined third serial number corresponding to the second key, the i-1 actual response sequence of the vehicle key can be determined.
In one possible implementation, the controller needs to control the receiver to receive the response message sent by the vehicle key. The method includes the following steps that the ith response information sent by the vehicle key according to the ith preset response sequence is received in sequence, and the method specifically includes the following steps:
determining a receiving time window of the receiver according to the total number of the vehicle keys, wherein the receiving time window comprises N time periods, and N is the total number of the vehicle keys;
and controlling the receiver to be opened according to the receiving time window, and receiving the ith response information sent by the mth vehicle key in the mth time period, wherein m is a positive integer less than or equal to N.
The receiver is a device for receiving the vehicle key transmission, and specifically, when the vehicle key transmits the response information to the controller through the high-frequency data field, the corresponding receiver is a high-frequency receiver.
It will be appreciated that the receiver is not always on in order to conserve resources. When the controller needs to receive the response information of the vehicle key, a receiving time window of the receiver is set. The receiver receives the response information sent by the vehicle key in the receiving time window.
Since the system may include a plurality of vehicle keys, but not all the vehicle keys can feed back the response information, the controller needs to set a time period for each vehicle key to transmit the response information, and receive the response information of the next vehicle key in sequence if the response information transmitted by the corresponding vehicle key is not received in the time period.
The receiving time window of the receiver is determined according to the total number of the vehicle keys, and the receiving time window is formed by time periods, and the number of the time periods corresponds to the total number of the vehicle keys, so that each time period corresponds to the vehicle keys one by one.
The controller controls the receiver to be opened according to the receiving time window, and the ith response message sent by the corresponding vehicle key is received in each time period.
Referring to fig. 2, the figure is a schematic diagram of a receiver receiving response information of a vehicle key according to an embodiment of the present application. Wherein the reception time window comprises N time periods, N being the total number of vehicle keys. And the vehicle key determines the time for sending the ith response information according to the ith preset response sequence, and sends the ith response information to the controller in a corresponding time period.
If the receiver does not receive the ith response message sent by the mth vehicle key in the mth time period, the situation that the ith response message is not sent by the mth vehicle key is indicated. The receiver receives the ith response message of the next vehicle key in the next time period.
Based on the vehicle control method for the controller provided by the method embodiment, the embodiment of the application also provides a vehicle control method for the vehicle key correspondingly, and the vehicle control method is described with reference to the accompanying drawings.
Referring to fig. 3, which is a flowchart illustrating a vehicle control method applied to a vehicle key according to an embodiment of the present application, the method includes S301-S303.
S301: receiving an ith confirmation instruction sent by the controller, and acquiring an ith preset response sequence and an ith control request in the ith confirmation instruction; wherein i is a positive integer greater than or equal to 2.
And the vehicle key receives an ith confirmation command sent by the controller, wherein the ith confirmation command comprises an ith preset response sequence and an ith control request.
S302: and generating ith response information according to the ith control request.
And the vehicle key generates corresponding ith response information according to the ith control request.
S303: and sending the ith response information according to the ith preset response sequence, so that the controller controls the switch by using the ith response information.
And the vehicle key transmits the ith response message according to the ith preset response sequence.
The embodiment of the present application further provides a processing method for a1 st confirmation instruction by a vehicle key, which specifically includes:
receiving a1 st confirmation instruction sent by the controller, and acquiring a1 st preset response sequence and a1 st control request in the 1 st confirmation instruction;
generating 1 st response information according to the 1 st control request;
and sending the 1 st response information according to the 1 st preset response sequence so that the controller controls the switch by using the 1 st response information.
Based on the vehicle control method provided by the method embodiment, the embodiment of the application also provides a vehicle control system, and the vehicle control system will be described with reference to the accompanying drawings.
Referring to fig. 4, the structure of a vehicle control system provided in the embodiment of the present application is schematically illustrated, where the vehicle control system includes a controller 401, a switch 402, and a vehicle key 403;
a switch 402, configured to send an ith control request to the controller 401, where i is a positive integer greater than or equal to 2;
a controller 401, configured to receive the ith control request sent by the switch 402; obtaining ith preset ordering information, and determining ith preset response sequence according to the ith preset ordering information; the ith preset sort information is determined according to the ith-1 actual response sequence of the vehicle key 403; sending an ith confirmation instruction to the vehicle key 403, wherein the ith confirmation instruction comprises an ith preset response sequence and an ith control request;
the vehicle key 403 is used for receiving the ith confirmation command sent by the controller 401, and acquiring the ith preset response sequence and the ith control request in the ith confirmation command; generating ith response information according to the ith control request; sending the ith response information according to the ith preset response sequence, so that the controller 401 controls the switch 402 by using the ith response information
The controller 401 is further configured to sequentially receive the ith response message sent by the vehicle key 403 according to the ith preset response sequence; the switch 402 is controlled according to the ith response information.
Referring to fig. 5, the figure is a schematic diagram of system interaction provided in the embodiment of the present application. It should be noted that the controller 401, the switch 402 and the vehicle key 403 are used in the system in a manner similar to the vehicle control method described above, and for brevity, are not described again.
Further, the controller 401 is further configured to receive a1 st control request sent by the switch 402; acquiring default sorting information, and determining a1 st preset response sequence according to the default sorting information; the default ranking information is determined based on the numbered identification of the vehicle keys.
Correspondingly, the vehicle key 403 is further configured to receive the 1 st confirmation instruction sent by the controller 401, and obtain the 1 st preset response sequence and the 1 st control request in the 1 st confirmation instruction; generating 1 st response information according to the 1 st control request; the 1 st response information is transmitted in the 1 st preset response sequence so that the controller 401 controls the switch 402 using the 1 st response information.
Further, the controller 401 is specifically configured to determine a receiving time window of the receiver according to the total number of the vehicle keys, where the receiving time window includes N time periods, where N is the total number of the vehicle keys; and the control receiver is opened according to the receiving time window, and receives the ith response message sent by the mth vehicle key 403 in the mth time period, wherein m is a positive integer less than or equal to N.
Optionally, the i-1 th actual response sequence is generated by the following method:
determining the vehicle key in a working state according to the i-1 th response information sent by the vehicle key; the method comprises the steps that a vehicle key in an operating state is used as a first key, and vehicle keys except the first key are used as second keys;
acquiring the number of first keys, and if the number of the first keys is equal to the total number of vehicle keys, determining the i-1 st preset response sequence as the i-1 st actual response sequence;
if the number of the first keys is smaller than the total number of the vehicle keys, sequencing the first keys and the second keys to enable the serial number of the first keys to be smaller than that of the second keys; and obtaining the (i-1) th actual response sequence according to the sequencing result.
Optionally, if the number of the first keys is smaller than the total number of the vehicle keys, the first keys and the second keys are sorted, including:
acquiring a serial number identifier of a first key, and sequencing the first key according to the serial number identifier of the first key to obtain a first serial number corresponding to the first key;
acquiring a serial number identifier of a second key, and sequencing the second key according to the serial number identifier of the second key to obtain a second serial number corresponding to the second key;
adding the second serial number corresponding to the second key to the number of the first keys to obtain a third serial number corresponding to the second key;
obtaining the (i-1) th actual response sequence according to the sequencing result, wherein the sequence comprises the following steps: and determining the actual response sequence of the (i-1) th time according to the first serial number corresponding to the first key and the third serial number corresponding to the second key.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A vehicle control method, characterized in that the method is applied to a controller, the method comprising:
receiving an ith control request sent by a switch, wherein i is a positive integer greater than or equal to 2;
obtaining ith preset ordering information, and determining an ith preset response sequence according to the ith preset ordering information; the ith preset sequencing information is determined according to the ith-1 actual response sequence of the vehicle key;
sending an ith confirmation instruction to the vehicle key, wherein the ith confirmation instruction comprises the ith preset response sequence and the ith control request;
sequentially receiving ith response information sent by the vehicle key according to the ith preset response sequence;
and controlling the switch according to the ith response information.
2. The method of claim 1, further comprising:
receiving a1 st control request sent by the switch;
acquiring default sorting information, and determining a1 st preset response sequence according to the default sorting information; the default ranking information is determined according to the number identification of the vehicle key.
3. The method of claim 2, wherein the i-1 st actual response sequence is generated by:
determining the vehicle key in a working state according to the i-1 th response information sent by the vehicle key; taking the vehicle key in the working state as a first key and taking the vehicle keys except the first key as second keys;
acquiring the number of the first keys, and if the number of the first keys is equal to the total number of the vehicle keys, determining the i-1 th preset response sequence as the i-1 th actual response sequence;
if the number of the first keys is smaller than the total number of the vehicle keys, sequencing the first keys and the second keys so that the serial numbers of the first keys are smaller than the serial numbers of the second keys; and obtaining the (i-1) th actual response sequence according to the sequencing result.
4. The method of claim 3, wherein the sorting the first key and the second key if the number of first keys is less than the total number of vehicle keys comprises:
acquiring a serial number identifier of the first key, and sequencing the first key according to the serial number identifier of the first key to obtain a first serial number corresponding to the first key;
acquiring a serial number identifier of the second key, and sequencing the second key according to the serial number identifier of the second key to obtain a second serial number corresponding to the second key;
adding a second serial number corresponding to the second key to the number of the first keys to obtain a third serial number corresponding to the second key;
the obtaining of the i-1 th actual response sequence according to the sorting result includes: and determining the actual response sequence of the (i-1) th time according to the first serial number corresponding to the first key and the third serial number corresponding to the second key.
5. The method according to claim 1, wherein the sequentially receiving the i-th response messages sent by the vehicle key according to the i-th preset response sequence comprises:
determining a receiving time window of a receiver according to the total number of the vehicle keys, wherein the receiving time window comprises N time periods, and N is the total number of the vehicle keys;
and controlling the receiver to be opened according to the receiving time window, and receiving the ith response message sent by the mth vehicle key in the mth time period, wherein m is a positive integer less than or equal to N.
6. A vehicle control method, characterized in that the method is applied to a vehicle key, the method comprising:
receiving an ith confirmation instruction sent by a controller, and acquiring an ith preset response sequence and an ith control request in the ith confirmation instruction; wherein i is a positive integer greater than or equal to 2;
generating ith response information according to the ith control request;
and sending the ith response information according to the ith preset response sequence, so that the controller can control the switch by using the ith response information.
7. The method of claim 6, further comprising:
receiving a1 st confirmation instruction sent by a controller, and acquiring a1 st preset response sequence and a1 st control request in the 1 st confirmation instruction;
generating 1 st response information according to the 1 st control request;
and sending the 1 st response information according to the 1 st preset response sequence, so that the controller can control the switch by using the 1 st response information.
8. A vehicle control system, characterized in that the system comprises a controller, a switch and a vehicle key;
the switch is used for sending an ith control request to the controller, wherein i is a positive integer greater than or equal to 2;
the controller is used for receiving the ith control request sent by the switch; obtaining ith preset ordering information, and determining an ith preset response sequence according to the ith preset ordering information; the ith preset sequencing information is determined according to the ith-1 actual response sequence of the vehicle key; sending an ith confirmation instruction to the vehicle key, wherein the ith confirmation instruction comprises the ith preset response sequence and the ith control request;
the vehicle key is used for receiving the ith confirmation instruction sent by the controller and acquiring the ith preset response sequence and the ith control request in the ith confirmation instruction; generating ith response information according to the ith control request; sending the ith response information according to the ith preset response sequence, so that the controller can control the switch by using the ith response information;
the controller is further configured to sequentially receive the ith response information sent by the vehicle key according to the ith preset response sequence; and controlling the switch according to the ith response information.
9. The system of claim 8, wherein the controller is further configured to receive a1 st control request sent by the switch; acquiring default sorting information, and determining a1 st preset response sequence according to the default sorting information; the default ranking information is determined according to the number identification of the vehicle key.
10. The system of claim 8, wherein the vehicle key is further configured to receive a1 st confirmation command sent by the controller, and obtain a1 st preset response sequence and a1 st control request in the 1 st confirmation command; generating 1 st response information according to the 1 st control request; and sending the 1 st response information according to the 1 st preset response sequence, so that the controller can control the switch by using the 1 st response information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011215972.4A CN114530001A (en) | 2020-11-04 | 2020-11-04 | Vehicle control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011215972.4A CN114530001A (en) | 2020-11-04 | 2020-11-04 | Vehicle control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114530001A true CN114530001A (en) | 2022-05-24 |
Family
ID=81619627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011215972.4A Pending CN114530001A (en) | 2020-11-04 | 2020-11-04 | Vehicle control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114530001A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118172847A (en) * | 2024-02-23 | 2024-06-11 | 重庆赛力斯凤凰智创科技有限公司 | Intelligent key system and method for requesting intelligent key response |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002188340A (en) * | 2000-12-18 | 2002-07-05 | Yuhshin Co Ltd | Keyless entry device for vehicle |
CN105365773A (en) * | 2014-08-30 | 2016-03-02 | 上海汽车集团股份有限公司 | Vehicle keyless entry method and system |
CN111361526A (en) * | 2018-12-25 | 2020-07-03 | 法雷奥舒适驾驶助手公司 | Keyless entry and start system, communication method thereof, and vehicle comprising keyless entry and start system |
CN111762126A (en) * | 2019-03-30 | 2020-10-13 | 长城汽车股份有限公司 | Vehicle intelligent key management method and vehicle control unit |
-
2020
- 2020-11-04 CN CN202011215972.4A patent/CN114530001A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002188340A (en) * | 2000-12-18 | 2002-07-05 | Yuhshin Co Ltd | Keyless entry device for vehicle |
CN105365773A (en) * | 2014-08-30 | 2016-03-02 | 上海汽车集团股份有限公司 | Vehicle keyless entry method and system |
CN111361526A (en) * | 2018-12-25 | 2020-07-03 | 法雷奥舒适驾驶助手公司 | Keyless entry and start system, communication method thereof, and vehicle comprising keyless entry and start system |
CN111762126A (en) * | 2019-03-30 | 2020-10-13 | 长城汽车股份有限公司 | Vehicle intelligent key management method and vehicle control unit |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118172847A (en) * | 2024-02-23 | 2024-06-11 | 重庆赛力斯凤凰智创科技有限公司 | Intelligent key system and method for requesting intelligent key response |
CN118172847B (en) * | 2024-02-23 | 2024-08-13 | 重庆赛力斯凤凰智创科技有限公司 | Intelligent key system and method for requesting intelligent key response |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7280833B2 (en) | Mobile communication terminal, server, communication system, communication control method, and communication control program | |
EP1853049A1 (en) | Radio communication system and method therefor and portable radio communication unit and method therefor | |
CN107370645B (en) | Smart bracelet, air conditioner, smart bracelet and air conditioner binding method and system | |
AU2018307212A1 (en) | Remote access authentication and authorization | |
CN1713605B (en) | Distributed scheduling in wireless networks according to service differentiation | |
CN102194076A (en) | Method and system for authorizing a vehicle driveaway | |
JPH11314559A (en) | Key code collator | |
CN110011885A (en) | Control authority binding method and device of electric appliance, storage medium and electric appliance | |
CN114530001A (en) | Vehicle control method and system | |
CN101867230B (en) | Information processing device, information processing method, and information processing system | |
CN100583114C (en) | System and method for remote security enablement | |
JP2000509863A (en) | Method and apparatus for assigning an authentication device to a base station | |
JP2016199963A (en) | Communication system, communication method, and controller | |
JP2008078769A (en) | Communicating system | |
JP4218469B2 (en) | Communication device | |
KR101479037B1 (en) | Smart key system and method searching smart key thereof | |
CN111478816A (en) | Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment | |
CN116709264A (en) | Vehicle-mounted terminal interaction method and device, vehicle-mounted terminal and readable storage medium | |
KR102564369B1 (en) | Vehicle user authentication system and vehicle user authentication method by using the system | |
JP2016089340A (en) | Smart key system | |
JP2000509590A (en) | Operation method of remote control device and remote control device | |
JP4915573B2 (en) | Wireless authentication system and sensor | |
CN112333178B (en) | Vehicle sharing method, device, terminal equipment and storage medium | |
CN111917614B (en) | Network distribution method and device and household electrical appliance | |
EP3428821B1 (en) | Authentication device and authentication method |
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 |