WO2025237247A1 - 车载无线控制方法、装置、设备及存储介质 - Google Patents
车载无线控制方法、装置、设备及存储介质Info
- Publication number
- WO2025237247A1 WO2025237247A1 PCT/CN2025/094331 CN2025094331W WO2025237247A1 WO 2025237247 A1 WO2025237247 A1 WO 2025237247A1 CN 2025094331 W CN2025094331 W CN 2025094331W WO 2025237247 A1 WO2025237247 A1 WO 2025237247A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless
- broadcast information
- button
- connection
- vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
- H04W4/48—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/40—Connection management for selective distribution or broadcast
Definitions
- This application relates to the field of wireless control technology, and in particular to a vehicle-mounted wireless control method, apparatus, device, and storage medium.
- buttons can be conveniently located on the main interface of the central control screen for user access.
- some functions have deeply embedded entry points, leading to complex operations.
- external physical buttons that wirelessly connect to the vehicle are typically used to simplify some control operations. These external physical buttons need to maintain a connection with the vehicle to ensure accurate function execution each time they are activated.
- this constant connection increases power consumption for both the external buttons and the vehicle, resulting in reduced battery life.
- the main objective of this application is to provide an in-vehicle wireless control method, device, equipment, and storage medium, aiming to solve the technical problem in the prior art where the external physical button is always connected to the vehicle, which increases the power consumption of the external button and the vehicle, resulting in a decrease in the battery life of the external physical button.
- this application provides an in-vehicle wireless control method, the in-vehicle wireless control method comprising:
- the step of obtaining the control command for the wireless button from the broadcast information includes:
- the MAC address of the wireless button is determined from the broadcast information
- the debounce bit of the broadcast information is checked to determine the control task in the broadcast information
- the control command for the wireless button is determined based on the control task.
- the step of determining the anti-jitter bit of the broadcast information and identifying the control task in the broadcast information includes:
- the broadcast information is subjected to a debounce bit determination to identify the debounce characters in the broadcast information;
- the number of tasks and their execution order in the broadcast information of the wireless button are determined based on the anti-shake character.
- control tasks in the broadcast information are determined sequentially.
- the method further includes:
- MAC address is not bound, a connection is established with the MAC address, and the MAC address is bound to the function to be configured.
- the step of determining whether to connect to the wireless button based on the broadcast information includes:
- connection requirement is to connect, or to establish a connection with the wireless button, then establish a connection with the wireless button.
- the step of determining whether a connection needs to be established with the wireless button based on the broadcast information includes:
- firmware version is not the latest version, a connection is established with the wireless button, and a firmware upgrade is performed.
- the method further includes:
- the button execution command is sent to the wireless button, causing the wireless button to execute the button execution command.
- this application also provides an in-vehicle wireless control device, which includes:
- the broadcast acquisition module is used to acquire broadcast information sent by the wireless button
- the instruction acquisition module is used to acquire the control instruction of the wireless button from the broadcast information, and determine whether it is necessary to connect to the wireless button based on the broadcast information;
- An execution module is used to execute the corresponding function of the control command without connecting to the wireless button if the connection is not maintained.
- this application also proposes an in-vehicle wireless control device, the device comprising: a memory, a processor, and an in-vehicle wireless control program stored in the memory and executable on the processor, the in-vehicle wireless control program being configured to implement the steps of the in-vehicle wireless control method as described above.
- this application also proposes a storage medium storing an in-vehicle wireless control program, which, when executed by a processor, implements the steps of the in-vehicle wireless control method described above.
- This application provides a vehicle-mounted wireless control method, apparatus, device, and storage medium. Compared to existing technologies where external physical buttons are always connected to the vehicle, increasing power consumption and reducing battery life, this application obtains broadcast information sent by the wireless button; extracts control commands from the wireless button within the broadcast information; and determines whether a connection to the wireless button is needed based on the broadcast information. If a disconnected state is maintained, the corresponding function of the control command is executed without connecting to the wireless button. In other words, this application transmits control commands from the wireless button via broadcast information, allowing the broadcast information to be received even when not connected, and enabling the execution of corresponding functions based on the control commands within the broadcast information. This avoids the need to maintain a connection with the wireless button to obtain and execute its control commands, thus reducing power consumption associated with maintaining a connection and improving the wireless button's battery life.
- FIG. 1 is a schematic diagram of the structure of the vehicle-mounted wireless control device in the hardware operating environment involved in the embodiment of this application;
- Figure 2 is a flowchart illustrating the first embodiment of the vehicle-mounted wireless control method of this application
- Figure 3 is an interactive diagram of a frequently used wireless button scenario in the vehicle-mounted wireless control method of this application.
- Figure 4 is a flowchart illustrating the second embodiment of the vehicle-mounted wireless control method of this application.
- Figure 5 is a schematic diagram of the process of initial binding of the wireless button in the vehicle wireless control method of this application.
- Figure 6 is a flowchart illustrating the third embodiment of the vehicle-mounted wireless control method of this application.
- Figure 7 is a schematic diagram of the interaction between the vehicle-mounted wireless control method of this application and the wireless button connection scenario
- Figure 8 is a schematic diagram of the wireless button embedded software state machine in the vehicle-mounted wireless control method of this application.
- Figure 9 is a schematic diagram of the structural configuration of the vehicle-mounted wireless control device of this application.
- FIG. 10 is a flowchart illustrating an embodiment of the vehicle-mounted wireless control method of this application.
- FIG 11 is a flowchart illustrating an embodiment of the vehicle-mounted wireless control method of this application.
- Figure 12 is a schematic flowchart of an embodiment of the vehicle-mounted wireless control method of this application.
- FIG. 13 is a schematic flowchart of an embodiment of the vehicle-mounted wireless control method of this application.
- Figure 14 is a flowchart illustrating an embodiment of the vehicle-mounted wireless control method of this application.
- FIG. 1 is a schematic diagram of the structure of the vehicle-mounted wireless control device in the hardware operating environment of the embodiment of this application.
- the vehicle-mounted wireless control device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
- the communication bus 1002 is used to enable communication between these components.
- the user interface 1003 may include a display screen and an input unit such as a keyboard; the user interface 1003 may also include standard wired and wireless interfaces.
- the network interface 1004 may include standard wired and wireless interfaces (such as a Wi-Fi interface).
- the memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive.
- the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
- FIG. 1 does not constitute a limitation on the vehicle-mounted wireless control device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
- the memory 1005 which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and an in-vehicle wireless control program.
- the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the vehicle-mounted wireless control device of this application can be set in the vehicle-mounted wireless control device.
- the vehicle-mounted wireless control device calls the vehicle-mounted wireless control program stored in the memory 1005 through the processor 1001 and executes the vehicle-mounted wireless control method provided in the embodiment of this application.
- FIG2 is a flowchart of a first embodiment of an in-vehicle wireless control method of this application.
- the execution subject of this embodiment can be the vehicle-mounted wireless control device.
- the vehicle-mounted wireless control device can be a personal computer, smartphone, tablet computer or other electronic device that can install a corresponding vehicle-mounted APP, or other other devices that can achieve the same or similar functions. This embodiment does not limit this.
- the vehicle-mounted wireless control device is used as an example to describe the vehicle-mounted wireless control method of this application.
- the vehicle-mounted wireless control method includes:
- Step S10 Obtain the broadcast information sent by the wireless button.
- the broadcast information is the information sent by the wireless button in the form of a broadcast.
- the wireless button is an external button connected to the vehicle. It can be bound to a single function within the vehicle or to a selected group of functions. For example, a wireless button can be bound to the vehicle's navigation function, or it can be bound to a user-defined group of functions that includes navigation and music playback.
- the wireless button after the wireless button is pressed by the user, it will periodically broadcast information for a period of time, so that the vehicle's in-vehicle APP can still obtain the broadcast information when it is not connected to the wireless button, and also allows the user to use the wireless button to control the vehicle in an emergency.
- the in-vehicle app also periodically receives broadcast information.
- the wireless button after sending broadcast information, the wireless button automatically enters sleep mode after a set time to utilize low-power standby, thereby reducing standby power consumption and improving the wireless button's battery life.
- the user operates the wireless button to transmit periodic broadcast information. Even when the vehicle-mounted APP is not connected to the wireless button, the vehicle-mounted APP can still obtain the broadcast information of the wireless button and perform the corresponding function according to the broadcast information.
- the wireless button enters a low-power sleep state after a set time to reduce power consumption.
- Step S20 Obtain the control command of the wireless button from the broadcast information, and determine whether it is necessary to connect to the wireless button based on the broadcast information.
- the control command can be to execute a specific function or a group of functions in the vehicle.
- the broadcast information may include one control command or multiple control commands. That is, different operations on the wireless button can enable the vehicle to perform different functions, so as to realize the control of multiple vehicle functions by one wireless button and improve the utilization rate of the wireless button.
- a debounce bit can be added to the broadcast information to facilitate the differentiation of each control command, avoid missing or misidentifying control commands, and improve the accuracy of wireless button control.
- the anti-shake position of the broadcast information is determined, and control commands are obtained from the broadcast information according to the anti-shake position, so that the vehicle executes the corresponding functions in the order of the control commands, and it is determined whether it is necessary to connect to the wireless button.
- the wireless button's broadcast information transmission function can be understood as a one-way transmission. That is, it can only receive broadcast information sent by the wireless button and cannot send information to the wireless button.
- the wireless button needs to be adjusted by the in-vehicle APP
- the in-vehicle APP needs to establish a connection with the wireless button in order to send information to the wireless button. Therefore, it is necessary to determine whether the wireless button needs to be adjusted based on the broadcast information, and then determine whether to establish a connection with the wireless button.
- the broadcast information may include connection status data, which is used to determine whether to establish a connection with the wireless button.
- connection status data is obtained from the broadcast information to determine whether a connection with the wireless button is needed. If a connection with the wireless button is needed, a connection is established with the wireless button, and information is transmitted through the connection. If a connection with the wireless button is not needed (the connection remains off), the broadcast information sent by the wireless button is received when the connection with the wireless button is disconnected, and the corresponding function is executed according to the control instructions in the broadcast information.
- Step S30 If the disconnected state is maintained, the corresponding function of the control command is executed without connecting to the wireless button.
- the power consumption required for the wireless button to maintain the connection state can be reduced when transmitting information in one direction, thereby improving the battery life of the wireless button.
- control instructions in the broadcast information are obtained unidirectionally without connecting to the wireless button, and the corresponding function is executed according to the control instructions.
- a common scenario for users frequently using the wireless button is: pressing the button causes the vehicle to execute the corresponding bound function.
- a broadcast-only, non-connection scheme is adopted to optimize power consumption.
- the connection status bit in the broadcast indicates no connection, and the device automatically enters a sleep (low power) state after broadcasting for 3 seconds.
- the device broadcast includes the current device firmware version information.
- the device executes the corresponding function based on the MAC (Media Access Control) address in the broadcast, and simultaneously identifies the firmware version information in the broadcast. If the firmware version is not the latest version, the device connects to the wireless button and performs a firmware upgrade; if the firmware version is the latest version, and the connection status bit in the broadcast indicates no connection, the device does not connect to the wireless button.
- MAC Media Access Control
- the process of frequently establishing connections is avoided.
- the functions that the wireless button is bound to are executed. Since the wireless button cannot transmit information to the vehicle APP during the connection establishment process, the problem of the user not responding when pressing the button during the connection establishment process, i.e., the problem of high latency after pressing the button, can be solved.
- This embodiment provides a vehicle-mounted wireless control method. Compared to existing technologies where external physical buttons are always connected to the vehicle, increasing power consumption and reducing battery life, this application obtains broadcast information sent by the wireless button; extracts control commands from the wireless button within the broadcast information; and determines whether a connection to the wireless button is needed based on the broadcast information. If a disconnected state is maintained, the corresponding function of the control command is executed without connecting to the wireless button. In other words, this application transmits control commands from the wireless button via broadcast information, ensuring that the broadcast information can still be received even when not connected, and that corresponding functions can be executed based on the control commands within the broadcast information. This avoids the need to maintain a connection with the wireless button to obtain and execute its control commands, thus reducing power consumption associated with maintaining a connection and improving the wireless button's battery life.
- the step of obtaining the control command of the wireless button from the broadcast information includes:
- Step S21 Determine the MAC address of the wireless button from the broadcast information
- Step S22 After determining that the MAC address is a bound address, the broadcast information is subjected to debounce bit judgment to determine the control task in the broadcast information;
- Step S23 Determine the control command for the wireless button based on the control task.
- the content of the debounce segment remains unchanged in the multiple broadcasts sent after each user clicks the button; at the same time, when the user clicks the wireless button again, the debounce segment in the new broadcast is immediately updated with the new content.
- broadcast information is continuously sent within a certain period of time, if the wireless button is pressed multiple times within that time, the broadcast information will contain multiple control tasks.
- a judgment is made based on the dejitter bit. If the dejitter bit remains unchanged, the function is executed only once; if the dejitter bit changes, the function is executed again.
- the broadcast information can be judged based on the dejitter bit to identify all control tasks in the broadcast information according to the code corresponding to the dejitter bit.
- the debounce character of the debounce bit in the broadcast information is judged to determine the number and execution order of control tasks in the broadcast information, and then the control command of the wireless button is determined according to the number and execution order of the control tasks.
- MAC is a network protocol used to control communication between multiple devices in a local area network (LAN). It is mainly responsible for resolving conflicts that may occur when multiple devices send data simultaneously on the same network.
- the step of determining the anti-jitter bit of the broadcast information and identifying the control task in the broadcast information includes:
- Step S221 Determine the anti-shake bit in the broadcast information to identify the anti-shake character in the broadcast information
- Step S222 Determine the number of tasks and execution order in the broadcast information of the wireless button based on the anti-shake character
- Step S223 Based on the number of tasks and the execution order, determine the control tasks in the broadcast information in an orderly manner.
- the broadcast information can be debounced to determine the debounce characters in the broadcast information.
- the amount of task data and the execution order in the broadcast information can be confirmed by the debounce characters, so as to ensure that the control of the corresponding function of the control task can be performed in the order of the user's wireless button control.
- the wireless button will continuously send a broadcast signal with the code 01 within those three seconds; if it is pressed twice within three seconds, the broadcast signal containing the code 01 will also include signals containing the code 02, etc.
- the anti-shake character can be located at the end or beginning of the character representing the task. After the anti-shake character is identified, the character representing the task can be compared with the character corresponding to the wireless button binding function to identify the specific control task.
- the control task can be a multimedia control task, seat control task, air conditioning control task, window control task, door control task, etc., and is not specifically limited. For example, if the configuration function bound to the wireless button is a seat adjustment function (pressing the wireless button once adjusts the seat forward, pressing the wireless button twice adjusts the seat backward, etc.), when the user presses the wireless button once, a character representing that the wireless button has been pressed can be generated in the broadcast information.
- the character After receiving the broadcast information, the character is identified from the broadcast information, and the corresponding control task is looked up in the binding correspondence table set when the wireless button binding function is used to determine the control command based on the task.
- Other implementation methods can also be used; for example, characters representing specific tasks can also be used, and is not specifically limited.
- the method further includes:
- Step S01 Determine whether the MAC address is bound
- Step S02 If the MAC address is not bound, establish a connection with the MAC address and bind the MAC address to the function to be configured.
- Step S03 After confirming that the binding is complete, disconnect the connection with the wireless button within a preset time period.
- the wireless button may be a new button without any function
- the vehicle will not perform any function after the wireless button is pressed.
- the vehicle may not take any action after the wireless button is pressed if the wireless button is malfunctioning.
- the MAC address of the wireless button can be detected. If it is a new wireless button, a connection can be established with the wireless button, and the user-selected function can be bound to the wireless button according to the connection.
- connection with the wireless button needs to be disconnected within a preset time.
- the wireless button when initially binding a new wireless button, referring to Figure 5, the wireless button is initially powered off to reduce power consumption after leaving the factory. After purchase, the user can power it on by pressing and holding for 5 seconds. After powering on, the wireless button will send a pairing broadcast. The user simultaneously selects the "Add Wireless Button" function in the APP, starts Bluetooth broadcast listening, and compares the MAC address in the broadcast with the local database. If it is a new wireless button, the function binding process proceeds; if it is a previously bound wireless button, the user is asked whether to adjust the wireless button function. Simultaneously, after establishing a connection with the wireless button, the system subscribes to the wireless button's firmware version number service to obtain the wireless button's version number information.
- the OTA service is initiated to upgrade the firmware of the wireless button.
- the wireless button cannot maintain a constant connection. If no new command is sent to the wireless button within 15 seconds of establishing a connection and/or the user does not press the wireless button again, the wireless button enters a sleep (low power) state to extend standby time.
- the step of determining whether to connect to the wireless button based on the broadcast information includes:
- Step S31 Obtain the connection requirement (whether the connection status bit is active) from the broadcast information
- Step S32 or determine whether a connection needs to be established with the wireless button based on the broadcast information
- Step S33 If the connection requirement is to connect, or to establish a connection with the wireless button, then establish a connection with the wireless button.
- users can customize whether to establish a connection with the wireless button through the wireless button, or determine whether to establish a connection with the wireless button based on the information in the broadcast message.
- the connection will only be established with the wireless button when the user believes that a connection is needed and/or when the broadcast message indicates that a connection is needed, so as to transmit data or commands to the wireless button.
- the wireless button after establishing a connection with the wireless button, information is sent to the wireless button to control it.
- the user can press and hold the wireless button for 3 seconds.
- the connection status bit in the broadcast indicates a connection is needed.
- the wireless button automatically enters a sleep (low power) state.
- the user determines whether the connection status bit in the broadcast indicates a connection is needed.
- the user subscribes to the device's firmware version and battery information. If the firmware version is not the latest version, a firmware upgrade is performed.
- the user presses the wireless button again.
- the wireless button transmits button information through the connection.
- the response function such as the wireless button light remaining on/breathing light. If no connection is established, the button is grayed out.
- the function is displayed as available. After the user selects a function, a corresponding command is sent to the wireless button to make the wireless button execute the corresponding function.
- the step of obtaining the connection request from the broadcast information whether the connection status bit is active includes:
- Step S311 Identify the connection status bit in the broadcast information
- Step S312 If a status character exists in the connection status bit, then identify the status represented by the status character;
- Step S313 If the status character represents a disconnected state, or if the status character is not present in the connection status bit, then the connection requirement is determined to be a disconnected requirement.
- Step S314 If the status character represents a connected state, then the connection requirement is determined to be to establish a connection with the wireless button.
- connection status bit in the broadcast information may exist in the form of code characters, and the code characters representing the connection status bit include identification characters for identification.
- the connection status bit is identified by identifying the identification characters in the code characters. After identifying the connection status bit, it is then determined whether there is a status character in the code characters. If there is no status character, the connection requirement of the connection status bit can be assumed to be a non-connection requirement. If there is a status character, it can be identified whether the status represented by the status character is a non-connection requirement or a requirement to establish a connection with the wireless button.
- the step of determining whether a connection needs to be established with the wireless button based on the broadcast information includes:
- Step S321 Obtain the firmware version of the wireless button from the broadcast information
- Step S322 Determine whether the firmware version is the latest version
- Step S323 If the firmware version is not the latest version, establish a connection with the wireless button and perform a firmware upgrade.
- the firmware version of the wireless button needs to be checked and updated.
- the firmware version of the wireless button is obtained from the broadcast information to determine whether the firmware version is the latest version. If it is the latest version, the control task is obtained from the broadcast information; if it is not the latest version, a connection is established with the wireless button to facilitate sending an upgrade command to the wireless button, thereby upgrading the firmware of the wireless button.
- the step of determining whether a connection needs to be established with the wireless button based on the broadcast information further includes:
- Step A10 Obtain the execution result of the control instruction
- Step A20 Classify the execution results and determine whether the execution results belong to the preset feedback results
- Step A30 If the execution result is the preset feedback result, then establish a connection with the wireless button.
- the preset feedback result can be an execution exception during the control command execution, or it can be a confirmation message generated when the user needs to confirm the execution of subsequent commands during the control command execution process; the specifics are not limited. It should be noted that an execution exception can be a lack of response to the control command, or the corresponding function achieving an effect that exceeds the optimal effect, or falls below the worst effect, etc.; the specifics are not limited.
- the in-vehicle app can receive broadcast information sent by the wireless button within a certain distance, the user cannot know the execution result of the control command in the broadcast information in a timely manner.
- the obtained execution result can be classified after the control command is executed.
- the wireless button is actively established to receive the information from the in-vehicle app. The wireless button can then remind the user to go to the vehicle to check the execution result.
- connection status bit in the broadcast information can be ignored to avoid being blocked by the connection status bit when sending information to the wireless button.
- the method further includes:
- Step S1 Obtain the button execution command that the wireless button needs to execute
- Step S2 Based on the connection, the button execution command is sent to the wireless button, so that the wireless button executes the button execution command.
- executing button commands via the wireless button ensures that the operation on the wireless button is the same as the bound function recorded on the in-vehicle APP, and also ensures that the in-vehicle APP is compatible with the wireless button.
- the button execution commands can include firmware upgrade commands and reminder commands.
- Reminder commands can be light and/or sound commands corresponding to the execution result, as well as battery level commands.
- the firmware upgrade command is sent to the wireless button to execute the firmware upgrade command;
- the battery level command is sent to the wireless button to make the wireless button flash the corresponding light;
- the execution result is a preset pending feedback result, the corresponding light and/or sound command is sent to the wireless button according to the different pending feedback results, causing the wireless button to flash the light corresponding to the light command and/or play the sound corresponding to the sound command.
- a user can power on the wireless button by pressing and holding it for 5 seconds.
- Different user actions trigger the wireless button to broadcast corresponding content and start a countdown.
- Broadcast information is periodically sent within a preset time period. After the countdown ends, broadcasting stops.
- a connection is needed with the wireless button, a connection is established, and the broadcast information sent by the wireless button is obtained through this connection.
- the user also uses this connection to send commands to the wireless button and controls it to start a countdown, for example, 15 seconds. If the wireless button does not receive a command when the countdown ends, the user does not operate the wireless button within the time period, or the connection is accidentally lost within the time period, the wireless button enters a sleep state to save power.
- the wireless button can be reset to change its bound function.
- the in-vehicle wireless control device includes:
- the broadcast acquisition module 901 is used to acquire broadcast information sent by the wireless button;
- the instruction acquisition module 902 is used to acquire the control instruction of the wireless button from the broadcast information, and determine whether it is necessary to connect to the wireless button based on the broadcast information;
- the execution module 903 is used to execute the corresponding function of the control command without connecting to the wireless button if the connection is not maintained.
- the instruction acquisition module 902 is further configured to determine the MAC address of the wireless button from the broadcast information; after determining that the MAC address is a bound address, perform anti-shake bit judgment on the broadcast information to determine the control task in the broadcast information; and determine the control instruction of the wireless button based on the control task.
- the instruction acquisition module 902 is further configured to determine the anti-shake bit in the broadcast information, identify the anti-shake character in the broadcast information; determine the number of tasks and execution order in the broadcast information of the wireless button based on the anti-shake character; and determine the control tasks in the broadcast information in an orderly manner based on the number of tasks and the execution order.
- the instruction acquisition module 902 is further configured to determine whether the MAC address is bound; if the MAC address is not bound, a connection relationship is established with the MAC address, and the MAC address is bound to the function to be configured; after confirming that the binding is completed, the connection with the wireless button is disconnected within a preset time period.
- the instruction acquisition module 902 is further configured to acquire a connection request for a connection status bit from the broadcast information; or determine whether a connection needs to be established with the wireless button based on the broadcast information; if the connection request is a connection request, or a connection needs to be established with the wireless button, then a connection is established with the wireless button.
- the instruction acquisition module 902 is further configured to acquire the firmware version of the wireless button from the broadcast information; determine whether the firmware version is the latest version; if the firmware version is not the latest version, establish a connection with the wireless button and perform a firmware upgrade.
- the instruction acquisition module 902 is further configured to acquire the button execution instruction that the wireless button needs to execute; and send the button execution instruction to the wireless button based on the connection, so that the wireless button executes the button execution instruction.
- vehicle-mounted wireless control device in this application is basically the same as the embodiments of the above-mentioned vehicle-mounted wireless control method, and will not be repeated here.
- This application provides a storage medium that stores one or more programs, which can be executed by one or more processors to implement the steps of the vehicle wireless control method described above.
- sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种车载无线控制方法、装置、设备及存储介质,涉及无线控制技术领域,该方法包括:获取无线按钮发送的广播信息;从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。
Description
相关申请
本申请要求于2024年5月16日申请的、申请号为202410611300.7的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及无线控制技术领域,尤其涉及一种车载无线控制方法、装置、设备及存储介质。
随着汽车智能化水平的不断提升,大多都是减少车内的物理案件,改用中控屏幕的触控来实现对车辆功能的控制,以达到车辆控制的简约化。
目前可以通过将常用的功能按钮调至中控屏幕的主界面以方便用户的使用,一些功能的入口较深,造成操作复杂,目前为了解决该问题通常会配置与车辆无线连接的外接物理按钮,通过外接物理按钮简化对一些控制的操作。常用的外接物理按钮需要与车辆保持连接状态,才能保证每次操作外接物理按钮时,可以准确执行对应功能,但是,外接物理按钮始终与车辆保持连接状态,会增大外接按钮与车辆的功耗,导致外界物理按钮的续航时间下降。
本申请的主要目的在于提供一种车载无线控制方法、装置、设备及存储介质,旨在解决现有技术中外接物理按钮始终与车辆保持连接状态,会增大外接按钮与车辆的功耗,导致外界物理按钮的续航时间下降的技术问题。
为实现上述目的,本申请提供一种车载无线控制方法,所述车载无线控制方法,包括:
获取无线按钮发送的广播信息;
从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;
若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。
在一实施例中,所述从所述广播信息中获取所述无线按钮的控制指令的步骤,包括:
从所述广播信息中确定所述无线按钮的MAC地址;
在确定所述MAC地址为已绑定地址后,对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务;
基于所述控制任务确定所述无线按钮的控制指令。
在一实施例中,所述对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务的步骤,包括:
对所述广播信息进行防抖位判断,确定所述广播信息中的防抖字符;
基于所述防抖字符确定所述无线按钮的所述广播信息中的任务数量与执行顺序;
基于所述任务数量与所述执行顺序,有顺序的确定所述广播信息中的控制任务。
在一实施例中,所述从所述广播信息中确定所述无线按钮的MAC地址的步骤之后,还包括:
判断是否绑定所述MAC地址;
若所述MAC地址未被绑定,则与所述MAC地址建立连接关系,绑定所述MAC地址与需要绑定的待配置功能;
确定完成绑定后在预设时长内断开与所述无线按钮的连接。
在一实施例中,所述基于所述广播信息判断是否需要与所述无线按钮连接的步骤,包括:
从所述广播信息中获取是否连接状态位的连接需求;
或基于所述广播信息判断是否需要与所述无线按钮建立连接;
若所述连接需求为需要连接,或需要与所述无线按钮建立连接,则与所述无线按钮建立连接。
在一实施例中,所述基于所述广播信息判断是否需要与所述无线按钮建立连接的步骤,包括:
从所述广播信息中获取所述无线按钮的固件版本;
判断所述固件版本是否为最新版本;
若所述固件版本不是最新版本,则与所述无线按钮建立连接,并进行固件升级。
在一实施例中,所述若所述连接需求为需要连接,或需要与所述无线按钮建立连接,则与所述无线按钮建立连接的步骤之后,还包括:
获取所述无线按钮需要执行的按钮执行指令;
基于所述连接将所述按钮执行指令发送至所述无线按钮,使所述无线按钮执行所述按钮执行指令。
此外,为实现上述目的,本申请还提供一种车载无线控制装置,车载无线控制装置包括:
广播获取模块,用于获取无线按钮发送的广播信息;
指令获取模块,用于从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;
执行模块,用于若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。
此外,为实现上述目的,本申请还提出一种车载无线控制设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的车载无线控制程序,所述车载无线控制程序配置为实现如上文所述的车载无线控制方法的步骤。
此外,为实现上述目的,本申请还提出一种存储介质,所述存储介质上存储有车载无线控制程序,所述车载无线控制程序被处理器执行时实现如上文所述的车载无线控制方法的步骤。
本申请提供一种车载无线控制方法、装置、设备及存储介质,与现有技术中外接物理按钮始终与车辆保持连接状态,会增大外接按钮与车辆的功耗,导致外界物理按钮的续航时间下降相比,在本申请中,获取无线按钮发送的广播信息;从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。即在本申请中,通过广播信息传递无线按钮的控制指令,使得未与无线按钮连接时仍可以接收到无线按钮的广播信息,并可以根据广播信息中的控制指令执行相应功能,以避免需要与无线按钮保持连接,才可以获取无线按钮的控制指令,并执行,因此,通过减少无线按钮保持连接状态的功耗,提高无线按钮的续航时间。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本申请实施例方案涉及的硬件运行环境的车载无线控制设备结构示意图;
图2为本申请车载无线控制方法第一实施例的流程示意图;
图3为本申请车载无线控制方法中日常高频使用无线按钮场景的交互示意图;
图4为本申请车载无线控制方法第二实施例的流程示意图;
图5为本申请车载无线控制方法中无线按钮进行初次绑定的流程示意图;
图6为本申请车载无线控制方法第三实施例的流程示意图;
图7为本申请车载无线控制方法中与无线按钮连接场景的交互示意图;
图8为本申请车载无线控制方法中无线按钮嵌入式软件状态机示意图;
图9为本申请车载无线控制装置的结构配置示意图;
图10本申请车载无线控制方法一实施例的流程示意图;
图11本申请车载无线控制方法一实施例的流程示意图;
图12本申请车载无线控制方法一实施例的流程示意图;
图13本申请车载无线控制方法一实施例的流程示意图;
图14本申请车载无线控制方法一实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,图1为本申请实施例方案涉及的硬件运行环境的车载无线控制设备结构示意图。
如图1所示,该车载无线控制设备可以包括:处理器1001,例如中央处理器(Central Processing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可以包括标准的有线接口、无线接口(如无线保真(WIreless-FIdelity,WI-FI)接口)。存储器1005可以是高速的随机存取存储器(Random Access Memory,RAM)存储器,也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的结构并不构成对车载无线控制设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及车载无线控制程序。
在图1所示的车载无线控制设备中,网络接口1004主要用于与其他设备进行数据通信;用户接口1003主要用于与用户进行数据交互;本申请车载无线控制设备中的处理器1001、存储器1005可以设置在车载无线控制设备中,所述车载无线控制设备通过处理器1001调用存储器1005中存储的车载无线控制程序,并执行本申请实施例提供的车载无线控制方法。
本申请实施例提供了一种车载无线控制方法,参照图2,图2为本申请一种车载无线控制方法第一实施例的流程示意图。
需要说明的是,本实施例的执行主体可以是所述车载无线控制设备,所述车载无线控制设备可以是可以安装对应车载APP的个人电脑、智能手机、平板电脑等电子设备,还可以是其他可实现相同或相似功能的其他设备,本实施例对此不加以限制,在本实施例及下述各实施例中,以车载无线控制设备为例对本申请车载无线控制方法进行说明。
在本实施例中,所述车载无线控制方法包括:
步骤S10,获取无线按钮发送的广播信息。
其中,广播信息为无线按钮以广播的形式发送的信息。
其中,无线按钮为车辆外接的按钮,无线按钮可以绑定车辆中某一个功能,还可以绑定车辆中选定的一个功能组。例如,一个无线按钮可以绑定车辆的导航功能,还可以是绑定包含导航与音乐播放等用户自定义的功能组。
需要说明的是,无线按钮被用户按下后在一段时间内周期性的发出广播信息,以使车辆的车载APP端在没有与无线按钮连接时仍可以获取到广播信息,还可以在紧急情况下使用户利用无线按钮对车辆进行紧急控制。
其中,车载APP端也是周期性的获取广播信息。
需要说明的是,无线按钮在发送广播信息后经过设定时长,自动进入休眠状态,以利用低功耗状态待机,进而降低待机的功耗,提高无线按钮的续航时间。
在一实施例中,用户操作无线按钮发射周期性的广播信息,在车载APP端与无线按钮未连接的情况下,车载APP仍可以获取到无线按钮的广播信息,以根据该广播信息执行对应功能,且无线按钮在设定时长后进入低功耗的休眠状态,以降低电量消耗。
步骤S20,从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接。
其中,控制指令可以是执行车辆中的某一个功能或某一个功能组。
需要说明的是,广播信息中可以包括一条控制指令,也可以包括多条控制指令,也即,对无线按钮进行不同的操作既可以使车辆执行不同的功能,以实现一个无线按钮控制多个车辆功能,提高无线按钮的利用率。
需要说明的是,若广播信息中包括多条控制指令,为了便于区分广播信息中的控制指令,广播信息中还可以加入防抖位,以通过防抖位区分每一条控制指令,避免遗漏或识别错误控制指令,提高了无线按钮控制的准确率。
在一实施例中,获取到广播信息后,对广播信息进行防抖位判断,并根据防抖位从广播信息中获取到控制指令,以使车辆按照控制指令的顺序执行对应功能,并判断是否需要与无线按钮进行连接。
需要说明的是,未与无线按钮连接的情况,无线按钮利用广播信息传递功能需求可以理解为单向传递,也即,只能获取无线按钮发送的广播信息,不能向无线按钮发送信息,但是,在无线按钮需要被车载APP端调整时,车载APP端需要与无线按钮建立连接,才能向无线按钮发送信息,因此,需要根据广播信息判断是否需要对无线按钮进行调整,进而判断是否与无线按钮建立连接。
需要说明的是,广播信息中可以包括是否连接的数据,以根据该数据判断是否与无线按钮建立连接。
在一实施例中,从广播信息中获取是否连接的数据,以根据该数据判断是否需要与无线按钮进行连接,若需要与无线按钮建立连接,则与无线按钮建立连接,并通过连接传递信息;若不需要与无线按钮建立连接(保持不连接状态),则在与无线按钮断开连接的情况下接收无线按钮发送的广播信息,并根据广播信息中的控制指令执行对应的功能。
步骤S30,若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。
需要说明的是,若需要保持不连接状态,则可以在单向传递信息时减少无线按钮的维持连接状态所需的功耗,进而提高了无线按钮的续航时间。
在一实施例中,若通过广播信息确定不需要与无线按钮建立连接,在不与无线按钮连接的情况下单向获取广播信息中的控制指令,并根据控制指令执行的相应功能。
在一实施例中,参考图3,用户日常高频使用无线按钮场景为:按下按钮,车辆执行绑定的相应功能。基于该场景,采用了仅广播,不连接的方案来优化功耗,用户点按无线按钮后,广播中是否连接的状态位发送信息为不连接,且设备发送3秒广播后,自动进入休眠(低功耗)状态,设备广播中,包含当前设备固件版本信息,获取到设备广播后,基于广播中的MAC(Media Access Control,媒体访问控制)地址,执行相应功能,同时识别广播中的固件版本信息,若固件版本不是最新版,则与无线按钮进行连接,并进行固件升级;若固件版本是最新版,同步识别到的广播中的是否连接的状态位发送信息为不连接,则不与无线按钮进行连接。
需要说明的是,由于在与无线按钮连接过程中不能接收数据,如果此时无线按钮按下第二次,则不会收到用户第二次操作无线按钮对应的控制任务导致丢包,因此,通过广播信息获取无线按钮的控制任务,避免了与无线按钮进行连接,可以持续接收无线按钮发送的数据包,进而避免了丢包的情况。
需要说明的是,通过广播信息,避免了频繁建立连接的过程,通过识别无线按钮,进而执行无线按钮已绑定的功能,由于建立连接过程中,无线按钮无法传递信息至车载APP端,能够解决建联过程中用户按下按钮无法响应的问题,即按下按钮后延迟高的问题。
本实施例提供一种车载无线控制方法,与现有技术中外接物理按钮始终与车辆保持连接状态,会增大外接按钮与车辆的功耗,导致外界物理按钮的续航时间下降相比,在本申请中,获取无线按钮发送的广播信息;从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。即在本申请中,通过广播信息传递无线按钮的控制指令,使得未与无线按钮连接时仍可以接收到无线按钮的广播信息,并可以根据广播信息中的控制指令执行相应功能,以避免需要与无线按钮保持连接,才可以获取无线按钮的控制指令,并执行,因此,通过减少无线按钮保持连接状态的功耗,提高无线按钮的续航时间。
参考图4,图4为本申请车载无线控制方法第二实施例的流程示意图。
基于上述实施例,在本实施例中,所述从所述广播信息中获取所述无线按钮的控制指令的步骤,包括:
步骤S21,从所述广播信息中确定所述无线按钮的MAC地址;
步骤S22,在确定所述MAC地址为已绑定地址后,对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务;
步骤S23,基于所述控制任务确定所述无线按钮的控制指令。
需要说明的是,在广播中加入防抖位,在用户每次点击按钮后发送的若干次广播中,防抖位的内容固定不变;同时,用户再次点击无线按钮后,新广播中防抖位立刻更新为新的内容。
需要说明的是,由于广播信息会在一定时间内持续发送,在该时间内若无线按钮被按下多次,在广播信息中会包含多个控制任务,为了可以识别出全部的控制任务,在收到广播后,基于防抖位做判断,若防抖位不变,则仅执行一次功能;若防抖位变化,则再追加执行一次功能,可以对广播信息进行防抖位判断,以根据防抖位对应代码识别广播信息中的所有的控制任务。
在一实施例中,从广播信息中确定无线按钮的MAC地址,并确定MAC地址绑定有对应的功能时,对广播信息中的防抖位的防抖字符进行判断,以确定广播信息中控制任务的数量与执行顺序,再根据该控制任务的数量与执行顺序确定无线按钮的控制指令。
其中,MAC一种网络协议,用于在局域网(LAN)中控制多个设备之间的通信,主要负责解决多个设备在同一网络中同时发送数据时可能出现的冲突问题。
在一实施例中,参考图10,所述对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务的步骤,包括:
步骤S221,对所述广播信息进行防抖位判断,确定所述广播信息中的防抖字符;
步骤S222,基于所述防抖字符确定所述无线按钮的所述广播信息中的任务数量与执行顺序;
步骤S223,基于所述任务数量与所述执行顺序,有顺序的确定所述广播信息中的控制任务。
需要说明的是,为了满足用户对车辆控制的顺序,可以对广播信息进行防抖位判断,以确定广播信息中的防抖字符,通过防抖字符确认广播信息中的任务数据量与执行顺序,以保证在执行控制任务对应的功能时可以按照用户对无线按钮控制的顺序进行控制。
例如,无线按钮在三秒内被按下1次,则无线按钮在该三秒内会持续发送带有代码为01的广播信号;若在三秒内按下两次,则广播信号内带有01的信号还包括带有02的信号等。
在一实施例中,防抖字符可以位于表征任务的字符的尾端或首端,在识别出防抖字符后,可以根据表征任务的字符与无线按钮绑定功能对应的字符进行对比,以通过字符识别具体的控制任务,其中,控制任务可以是多媒体控制任务、座椅控制任务、空调控制任务、车窗控制任务以及车门控制任务等,具体不做限定。例如,若无线按钮绑定的配置功能为座椅调节功能,按一下无线按钮调节座椅向前,连续按两下无线按钮调节座椅向后等,在用户按一下无线按钮时,在广播信息中可以生成表征无线按钮被按一下的字符,在接收到广播信息后,从广播信息中识别出该字符,通过该字符从无线按钮绑定功能时设置的绑定对应表中查找该字符对应的控制任务,以根据该任务确定控制指令。还可以由其余的实现方式实现,例如,还可以使用表征具体任务的字符等,具体不做限定。
在一实施例中,参考图11,所述从所述广播信息中确定所述无线按钮的MAC地址的步骤之后,还包括:
步骤S01,判断是否绑定所述MAC地址;
步骤S02,若所述MAC地址未被绑定,则与所述MAC地址建立连接关系,绑定所述MAC地址与需要绑定的待配置功能;
步骤S03,确定完成绑定后在预设时长内断开与所述无线按钮的连接。
需要说明的是,由于无线按钮可能是未绑定功能的新按钮,此时无线按钮被按下后,车辆不会执行任何功能,且无线按钮出现故障时也可能被按下后车辆不做任何动作,为了区分无线按钮是否被绑定,可以对无线按钮的MAC地址进行检测,若是新的无线按钮,则可以与该无线按钮建立连接,以根据该连接对无线按钮绑定用户选定的待配置功能。
需要说明的是,为了减少无线按钮在连接上的功耗,在将无线按钮的MAC地址与用户选定的待配置功能绑定后,需要在预设时长内断开与无线按钮的连接关系。
在一实施例中,在对新的无线按钮进行初次绑定时,参考图5,在无线按钮出厂后,为了降低功耗无线按钮为关机状态,用户购买后,可通过长按5秒的方式开机,开机后无线按钮会发送配对广播,用户同步在APP端选择新增无线按钮功能,启动蓝牙广播监听获取到配对广播后,基于广播中的MAC做本地数据库比对,若为新无线按钮,则进行功能绑定流程;若为已绑定过的无线按钮,则询问用户是否调整无线按钮功能,同时在与无线按钮建立连接后,订阅无线按钮的固件版本号服务以获取无线按钮版本号信息,若无线按钮中的固件版本不是最新版,则启动OTA服务,为无线按钮进行固件升级为了降低功耗,无线按钮无法始终保持连接状态。在建立连接后15s内未对无线按钮发送的新指令和/或用户未再次按下无线按钮,则无线按钮进入休眠(低功耗)状态,以延长待机时间。
参考图6,图6为本申请车载无线控制方法第三实施例的流程示意图。
基于上述实施例,在本实施例中,所述基于所述广播信息判断是否需要与所述无线按钮连接的步骤,包括:
步骤S31,从所述广播信息中获取是否连接状态位的连接需求;
步骤S32,或基于所述广播信息判断是否需要与所述无线按钮建立连接;
步骤S33,若所述连接需求为需要连接,或需要与所述无线按钮建立连接,则与所述无线按钮建立连接。
需要说明的是,用户可以通过无线按钮自定义是否与无线按钮建立连接,或者根据广播信息中的信息判断是否需要与无线按钮建立连接,在用户认为需要与无线按钮建立连接和/或根据广播信息判断出需要与无线按钮建立连接时再与无线按钮进行连接,以实现向无线按钮传输数据或指令。
在一实施例中,参考图7,在与无线按钮建立连接后,再向无线按钮发送信息,进而实现对无线按钮的控制在用户需要使用进阶功能时(需要向无线按钮发送信息进行控制),可以长按无线按钮3秒用户长按无线按钮后,广播中是否连接的状态位发送信息为需要连接,在该场景下,设备发送10秒广播后,无线按钮自动进入休眠(低功耗)状态,在获取到设备广播后,判断广播中是否连接的状态位发送信息为需要连接,与无线按钮建立连接后,订阅设备的固件版本、电量信息,若固件版本不是最新版,进行固件升级建立连接后,再次点按无线按钮。无线按钮会通过连接的方式传递按键信息,在到按键信息后,执行响应功能进阶功能(如无线按钮灯光常亮/呼吸灯),在未建立连接时置灰。在与无线按钮建立连接后,功能显示为可用状态,用户选择功能后,向无线按钮发送相应指令,以使无线按钮执行相应功能。
在一实施例中,参考图12,所述从所述广播信息中获取是否连接状态位的连接需求的步骤,包括:
步骤S311,识别所述广播信息中的是否连接状态位;
步骤S312,若所述是否连接状态位存在状态字符,则识别所述状态字符表征的状态;
步骤S313,若所述状态字符表征的状态为不连接,或所述是否连接状态位不存在所述状态字符,则确定所述连接需求为不连接需求;
步骤S314,若所述状态字符表征的状态为连接,则确定所述连接需求为与所述无线按钮建立连接。
在一实施例中,是否连接状态位在广播信息中可以是以代码字符的形式存在的,且表征是否连接状态位的代码字符中包含用于识别的识别字符,通过识别代码字符中的识别字符识别是否连接状态位,在识别出是否连接状态位后,再判断代码字符中是否存在状态字符,若不存在状态字符,则可以默认是否连接状态位的连接需求为不连接需求;若存在状态字符,则可以识别状态字符表征的状态是不连接需求,还是与无线按钮建立连接的需求。
在一实施例中,参考图13,所述基于所述广播信息判断是否需要与所述无线按钮建立连接的步骤,包括:
步骤S321,从所述广播信息中获取所述无线按钮的固件版本;
步骤S322,判断所述固件版本是否为最新版本;
步骤S323,若所述固件版本不是最新版本,则与所述无线按钮建立连接,并进行固件升级。
需要说明的是,为了保证无线按钮的固件版本是最新版本,以兼容策车载APP端,因此需要对无线按钮的固件版本进行检测更新。
在一实施例中,从广播信息中获取无线按钮的固件版本判断固件版本是否为最新版本,若是最新版本,则从广播信息中获取控制任务;若不是最新版本,则与无线按钮建立连接,以方便向无线按钮发送升级指令,进而对无线按钮进行固件升级。
在一实施例中,参考图14,所述基于所述广播信息判断是否需要与所述无线按钮建立连接的步骤,还包括:
步骤A10,获取执行所述控制指令的执行结果;
步骤A20,对所述执行结果进行分类,判断所述执行结果是否属于预设待反馈结果;
步骤A30,若所述执行结果为所述预设待反馈结果,则与所述无线按钮建立连接。
其中,预设待反馈结果可以是控制指令时出现执行异常,还可以是执行控制指令的过程中,需要用户进行确认执行后续指令时生成的待确认信息等,具体不做限定。需要说明的是执行异常可以是对控制指令未反应,或相应功能达到的效果超出最佳效果,或低于最差效果等,具体不做限定。
需要说明的是,由于车载APP端可以在一定距离内接收到无线按钮发送的广播信息,车载APP端在执行广播信息中的控制指令后的执行结果用户不能及时知道,为了可以及时向用户反馈控制指令的执行结果,可以在执行控制指令后,对获得的执行结果进行分类,在执行结果属于预设待反馈结果时,主动无线按钮建立连接,使无线按钮可以接收到车载APP端的信息,以利用无线按钮提醒用户及时前往车辆处查看执行结果。
需要说明的是,需要与无线按钮主动连接时,可以忽视广播信息中是否连接的状态位的状态,以避免需要向无线按钮发送信息时,被是否连接的状态位阻挡。
在一实施例中,所述若所述连接需求为需要连接,或需要与所述无线按钮建立连接,则与所述无线按钮建立连接的步骤之后,还包括:
步骤S1,获取所述无线按钮需要执行的按钮执行指令;
步骤S2,基于所述连接将所述按钮执行指令发送至所述无线按钮,使所述无线按钮执行所述按钮执行指令。
需要说明的是,通过无线按钮执行按钮执行指令可以保证无线按钮中操作与车载APP端记载的绑定功能相同,且还可以保证车载APP端兼容无线按钮。
其中,按钮执行指令可以是固件升级指令以及提醒指令等。提醒指令可以是执行结果对应的灯光指令和/或声音指令的提醒指令以及电量指令等。具体的,在获取到无线按钮需要执行固件升级指令后,将固件升级指令发送至无线按钮,使无线按钮执行固件升级指令;在获取到无线按钮需要充电的电量指令时,将固电量指令发送至无线按钮,使无线按钮根据电量指令闪烁对应的灯光;在执行结果属于预设待反馈结果时,根据不同的待反馈结果将对应的灯光指令和/或声音指令发送至无线按钮,使无线按钮闪烁与灯光指令对应的灯光,和/或使无线按钮播放与声音指令对应的声音。
在一实施例中,参考图8,用户可以通过长按无线按钮5秒,使无线按钮开机,通过用户不同的操作使无线按钮发送对应内容的广播信息,并进行倒计时,以在预设时长内周期性的发送广播信息,在倒计时结束的后,停止发送广播,在需要与无线按钮进行连接时,与无线按钮建立连接,并通过该连接获取无线按钮发送的广播信息,并利用该链接将需要对无线按钮发送的指令向无线按钮发送,并控制无线按钮进行倒计时,例如,15秒倒计时,在倒计时结束时,若无线按钮仍没有接收到指令、用户没有在该时间段内操作无线按钮或在该时间段内意外断开连接,则无线按钮进入睡眠状态,以节省功耗;在用户长按一定时间时,例如,10秒,可以对无线按钮进行重置,以更换无线按钮绑定的功能。
本申请还提供一种车载无线控制装置,参考图9,车载无线控制装置包括:
广播获取模块901,用于获取无线按钮发送的广播信息;
指令获取模块902,用于从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;
执行模块903,用于若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。
在一实施例中,指令获取模块902,还用于从所述广播信息中确定所述无线按钮的MAC地址;在确定所述MAC地址为已绑定地址后,对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务;基于所述控制任务确定所述无线按钮的控制指令。
在一实施例中,指令获取模块902,还用于对所述广播信息进行防抖位判断,确定所述广播信息中的防抖字符;基于所述防抖字符确定所述无线按钮的所述广播信息中的任务数量与执行顺序;基于所述任务数量与所述执行顺序,有顺序的确定所述广播信息中的控制任务。
在一实施例中,指令获取模块902,还用于判断是否绑定所述MAC地址;若所述MAC地址未被绑定,则与所述MAC地址建立连接关系,绑定所述MAC地址与需要绑定的待配置功能;确定完成绑定后在预设时长内断开与所述无线按钮的连接。
在一实施例中,指令获取模块902,还用于从所述广播信息中获取是否连接状态位的连接需求;或基于所述广播信息判断是否需要与所述无线按钮建立连接;若所述连接需求为需要连接,或需要与所述无线按钮建立连接,则与所述无线按钮建立连接。
在一实施例中,指令获取模块902,还用于从所述广播信息中获取所述无线按钮的固件版本;判断所述固件版本是否为最新版本;若所述固件版本不是最新版本,则与所述无线按钮建立连接,并进行固件升级。
在一实施例中,指令获取模块902,还用于获取所述无线按钮需要执行的按钮执行指令;基于所述连接将所述按钮执行指令发送至所述无线按钮,使所述无线按钮执行所述按钮执行指令。
本申请车载无线控制装置的具体实施方式与上述车载无线控制方法各实施例基本相同,在此不再赘述。
本申请实施例提供了一种存储介质,且存储介质存储有一个或者一个以上程序,一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现上述任一项的车载无线控制方法的步骤。
本申请存储介质具体实施方式与上述车载无线控制方法各实施例基本相同,在此不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个等”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。
以上仅为本申请的实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效机构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。
Claims (15)
- 一种车载无线控制方法,其中,所述车载无线控制方法包括:获取无线按钮发送的广播信息;从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。
- 如权利要求1所述的车载无线控制方法,其中,所述从所述广播信息中获取所述无线按钮的控制指令的步骤,包括:从所述广播信息中确定所述无线按钮的MAC地址;在确定所述MAC地址为已绑定地址后,对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务;基于所述控制任务确定所述无线按钮的控制指令。
- 如权利要求2所述的车载无线控制方法,其中,所述对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务的步骤,包括:对所述广播信息进行防抖位判断,确定所述广播信息中的防抖字符;基于所述防抖字符确定所述无线按钮的所述广播信息中的任务数量与执行顺序;基于所述任务数量与所述执行顺序,有顺序的确定所述广播信息中的控制任务。
- 如权利要求2所述的车载无线控制方法,其中,所述从所述广播信息中确定所述无线按钮的MAC地址的步骤之后,还包括:判断是否绑定所述MAC地址;若所述MAC地址未被绑定,则与所述MAC地址建立连接关系,绑定所述MAC地址与需要绑定的待配置功能;确定完成绑定后在预设时长内断开与所述无线按钮的连接。
- 如权利要求1-4任一项所述的车载无线控制方法,其中,所述基于所述广播信息判断是否需要与所述无线按钮连接的步骤,包括:从所述广播信息中获取是否连接状态位的连接需求;或基于所述广播信息判断是否需要与所述无线按钮建立连接;若所述连接需求为需要连接,或需要与所述无线按钮建立连接,则与所述无线按钮建立连接。
- 如权利要求5所述的车载无线控制方法,其中,所述基于所述广播信息判断是否需要与所述无线按钮建立连接的步骤,包括:从所述广播信息中获取所述无线按钮的固件版本;判断所述固件版本是否为最新版本;若所述固件版本不是最新版本,则与所述无线按钮建立连接,并进行固件升级。
- 如权利要求6所述的车载无线控制方法,其中,所述基于所述广播信息判断是否需要与所述无线按钮建立连接的步骤,还包括:获取执行所述控制指令的执行结果;对所述执行结果进行分类,判断所述执行结果是否属于预设待反馈结果;若所述执行结果为所述预设待反馈结果,则与所述无线按钮建立连接。
- 如权利要求5所述的车载无线控制方法,其中,所述若所述连接需求为需要连接,或需要与所述无线按钮建立连接,则与所述无线按钮建立连接的步骤之后,还包括:获取所述无线按钮需要执行的按钮执行指令;基于所述连接将所述按钮执行指令发送至所述无线按钮,使所述无线按钮执行所述按钮执行指令。
- 如权利要求5所述的车载无线控制方法,其中,所述从所述广播信息中获取是否连接状态位的连接需求的步骤,包括:识别所述广播信息中的是否连接状态位;若所述是否连接状态位存在状态字符,则识别所述状态字符表征的状态;若所述状态字符表征的状态为不连接,或所述是否连接状态位不存在所述状态字符,则确定所述连接需求为不连接需求;若所述状态字符表征的状态为连接,则确定所述连接需求为与所述无线按钮建立连接。
- 一种车载无线控制装置,其中,所述车载无线控制装置包括:广播获取模块,用于获取无线按钮发送的广播信息;指令获取模块,用于从所述广播信息中获取所述无线按钮的控制指令,并基于所述广播信息判断是否需要与所述无线按钮连接;执行模块,用于若保持不连接状态,则在不与所述无线按钮连接的情况下执行所述控制指令的相应功能。
- 如权利要求10所述的车载无线控制装置,其中,所述指令获取模块,还用于:从所述广播信息中确定所述无线按钮的MAC地址;在确定所述MAC地址为已绑定地址后,对所述广播信息进行防抖位判断,确定所述广播信息中的控制任务;基于所述控制任务确定所述无线按钮的控制指令。
- 如权利要求10所述的车载无线控制装置,其中,所述指令获取模块,还用于:对所述广播信息进行防抖位判断,确定所述广播信息中的防抖字符;基于所述防抖字符确定所述无线按钮的所述广播信息中的任务数量与执行顺序;基于所述任务数量与所述执行顺序,有顺序的确定所述广播信息中的控制任务。
- 如权利要求10所述的车载无线控制装置,其中,所述指令获取模块,还用于:判断是否绑定所述MAC地址;若所述MAC地址未被绑定,则与所述MAC地址建立连接关系,绑定所述MAC地址与需要绑定的待配置功能;确定完成绑定后在预设时长内断开与所述无线按钮的连接。
- 一种车载无线控制设备,其中,所述车载无线控制设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的车载无线控制程序,所述车载无线控制程序配置为实现如权利要求1至9中任一项所述的车载无线控制方法的步骤。
- 一种存储介质,其中,存储介质上存储有实现车载无线控制方法的程序,实现车载无线控制方法的程序被处理器执行以实现如权利要求1至9中任一项所述车载无线控制方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410611300.7 | 2024-05-16 | ||
| CN202410611300.7A CN118632195A (zh) | 2024-05-16 | 2024-05-16 | 车载无线控制方法、装置、设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025237247A1 true WO2025237247A1 (zh) | 2025-11-20 |
Family
ID=92609330
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/094331 Pending WO2025237247A1 (zh) | 2024-05-16 | 2025-05-12 | 车载无线控制方法、装置、设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118632195A (zh) |
| WO (1) | WO2025237247A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118632195A (zh) * | 2024-05-16 | 2024-09-10 | 浙江极氪智能科技有限公司 | 车载无线控制方法、装置、设备及存储介质 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104318741A (zh) * | 2014-10-20 | 2015-01-28 | 小米科技有限责任公司 | 蓝牙设备控制方法及装置 |
| US20170118580A1 (en) * | 2015-10-21 | 2017-04-27 | Leauto Intelligent Technology (Beijing) Co.Ltd | Processing apparatus, vehicular system and method for processing audio data |
| CN113840243A (zh) * | 2021-09-15 | 2021-12-24 | 青岛海尔多媒体有限公司 | 用于设备遥控启动的方法及装置、家电设备、存储介质 |
| CN115250435A (zh) * | 2022-07-27 | 2022-10-28 | 浙江极氪智能科技有限公司 | 车载无线控制系统、方法、装置、设备及存储介质 |
| CN115643553A (zh) * | 2021-07-19 | 2023-01-24 | 上海登芯微电子科技有限公司 | 一种基于蓝牙广播的多设备的固件升级方法 |
| CN117931226A (zh) * | 2023-11-15 | 2024-04-26 | 小米汽车科技有限公司 | 固件升级方法、装置、系统、车辆、电子设备和介质 |
| CN118632195A (zh) * | 2024-05-16 | 2024-09-10 | 浙江极氪智能科技有限公司 | 车载无线控制方法、装置、设备及存储介质 |
-
2024
- 2024-05-16 CN CN202410611300.7A patent/CN118632195A/zh active Pending
-
2025
- 2025-05-12 WO PCT/CN2025/094331 patent/WO2025237247A1/zh active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104318741A (zh) * | 2014-10-20 | 2015-01-28 | 小米科技有限责任公司 | 蓝牙设备控制方法及装置 |
| US20170118580A1 (en) * | 2015-10-21 | 2017-04-27 | Leauto Intelligent Technology (Beijing) Co.Ltd | Processing apparatus, vehicular system and method for processing audio data |
| CN115643553A (zh) * | 2021-07-19 | 2023-01-24 | 上海登芯微电子科技有限公司 | 一种基于蓝牙广播的多设备的固件升级方法 |
| CN113840243A (zh) * | 2021-09-15 | 2021-12-24 | 青岛海尔多媒体有限公司 | 用于设备遥控启动的方法及装置、家电设备、存储介质 |
| CN115250435A (zh) * | 2022-07-27 | 2022-10-28 | 浙江极氪智能科技有限公司 | 车载无线控制系统、方法、装置、设备及存储介质 |
| CN117931226A (zh) * | 2023-11-15 | 2024-04-26 | 小米汽车科技有限公司 | 固件升级方法、装置、系统、车辆、电子设备和介质 |
| CN118632195A (zh) * | 2024-05-16 | 2024-09-10 | 浙江极氪智能科技有限公司 | 车载无线控制方法、装置、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118632195A (zh) | 2024-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12094462B2 (en) | Communication method, server, and device | |
| KR102509679B1 (ko) | IEEE 802.11 표준에 정의된 TWT(target wake time)를 이용하여 무선 매체에 대한 접근을 지원하는 전자 장치 | |
| CN110996405B (zh) | 耳机连接方法、终端、耳机盒子与计算机可读存储介质 | |
| CN110459221B (zh) | 多设备协同语音交互的方法和装置 | |
| US11375569B2 (en) | Method and device for reconnecting Bluetooth communication | |
| US9762662B2 (en) | Mass re-formation of groups in a peer-to-peer network | |
| US11231899B2 (en) | Screen-projection emitter, screen-projection emission system and screen-projection system | |
| WO2018040063A1 (zh) | 设备控制方法及装置 | |
| US20100134242A1 (en) | In-vehicle system, in-vehicle device, and execution control method of command of the in-vehicle device | |
| WO2025237247A1 (zh) | 车载无线控制方法、装置、设备及存储介质 | |
| US12461703B2 (en) | Electronic device and operation method thereof | |
| CN106856490A (zh) | 一种基于场景提供服务的方法及设备 | |
| CN112436986A (zh) | 配网方法、装置、配网设备及计算机可读存储介质 | |
| US12452476B2 (en) | Display apparatus, terminal device and communication connection method | |
| CN119052758A (zh) | 通信控制方法、装置、设备及存储介质 | |
| WO2026066954A1 (zh) | 基于蓝牙的屏幕设备控制方法、装置、存储介质、车辆控制器及车辆 | |
| CN113038449B (zh) | 设备配对方法、设备、存储介质及装置 | |
| CN114217701B (zh) | 一种电子设备连接方法及电子设备 | |
| CN114095295B (zh) | 智能门铃信息继承方法、智能门铃和计算机可读存储介质 | |
| US8576798B2 (en) | Data communication apparatus and data communication method thereof | |
| CN116233521A (zh) | 一种设备配对方法以及相关装置 | |
| CN103873682B (zh) | 一种信息处理方法及电子设备 | |
| CN116419192A (zh) | 音频管理方法及系统、车载终端及存储介质 | |
| CN116634381B (zh) | 功能设备控制方法、装置、电子设备、系统及介质 | |
| US20250159070A1 (en) | Method of operating bluetooth audio mode of vehicle, vehicle control device supporting same, and vehicle computing system supporting same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 25802895 Country of ref document: EP Kind code of ref document: A1 |