Connection state management method of wireless communication device, vehicle and storage medium
By listening to and updating the functional events of wireless communication devices and using identification information to manage the state set, the problem of inaccurate connection state management of wireless communication devices is solved, and the accuracy and consistency of state management are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHERY AUTOMOBILE CO LTD
- Filing Date
- 2026-05-26
- Publication Date
- 2026-07-14
AI Technical Summary
Existing wireless communication devices have poor accuracy in connection status management in smart vehicle systems, leading to inconsistent status management and information pollution.
By monitoring the functional events of wireless communication devices and updating the state set using identification information, the accuracy and consistency of the state set of wireless communication devices are ensured during device switching. This includes the timing synchronization and filtering of functional events to avoid state misalignment and information contamination.
It enables accurate management of the connection status of wireless communication devices, avoids status misalignment and information contamination, and improves the accuracy and consistency of connection status management.
Smart Images

Figure CN122395748A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent vehicle systems, and more specifically, to a method for managing the connection status of a wireless communication device, a vehicle, and a storage medium. Background Technology
[0002] In in-vehicle smart cockpits, wireless communication technology, as the core communication method connecting user mobile terminals and the vehicle's infotainment system, is widely used in various functional scenarios such as audio streaming, hands-free calling, and media control. The connection and status management of wireless communication devices are fundamental to realizing these interactive functions. However, current management strategies suffer from poor accuracy in managing the connection status of wireless communication devices.
[0003] There is currently no good solution to the above problems. Summary of the Invention
[0004] This application provides a method for managing the connection status of a wireless communication device, a vehicle, and a storage medium, to at least solve the technical problem of poor accuracy in managing the connection status of wireless communication devices in related technologies.
[0005] According to one aspect of the embodiments of this application, a connection state management method for a wireless communication device is provided, applied to a smart vehicle system. The method includes: in response to receiving a device switching signal, listening to at least one functional event sent by a first wireless communication device or a second wireless communication device, wherein the device switching signal is used to switch the wireless communication device connected to the smart vehicle system from the first wireless communication device to the second wireless communication device; updating a state set corresponding to the identification information based on the identification information corresponding to the at least one functional event, wherein the state set is used to characterize the occupancy state of different smart vehicle system functions by the wireless communication device corresponding to the identification information; and updating the device connection state displayed by the smart vehicle system when the state set corresponding to the first wireless communication device or the state set corresponding to the second wireless communication device meets a preset update condition.
[0006] Furthermore, when there are multiple functional events, the state set corresponding to the identification information corresponding to the at least one functional event is updated, including: dividing the multiple functional events into at least one functional event set based on the identification information corresponding to the multiple functional events, wherein the functional events in the same functional event set correspond to the same identification information; and updating the state set corresponding to at least one identification information based on the at least one functional event set.
[0007] Furthermore, based on at least one set of functional events, the state set corresponding to at least one identification information is updated, including: when any set of functional events contains multiple events, the multiple events are time-synchronized based on the listening time of the multiple events to obtain multiple synchronized events; the multiple synchronized events are filtered based on the event type of the multiple events and the identification information corresponding to any set of functional events to obtain at least one filtered event; and the state set corresponding to any set of functional events is updated based on at least one filtered event.
[0008] Furthermore, based on at least one filtering event, updating the state set corresponding to any set of functional events includes: when the identification information corresponding to any set of functional events is the first identification information corresponding to the first wireless communication device, determining at least one vehicle-mounted system function to be de-occupied based on at least one filtering event; and unbinding at least one vehicle-mounted system function to be de-occupied from the first identification information in the state set corresponding to the first wireless communication device, so as to update the state set corresponding to the first wireless communication device.
[0009] Furthermore, the method also includes: determining whether at least one vehicle-mounted system function to be de-occupied contains a target vehicle-mounted system function, wherein the target vehicle-mounted system function is used to characterize an intelligent vehicle-mounted system function that maintains a connection state with the first wireless communication device; if the target vehicle-mounted system function is included in at least one vehicle-mounted system function to be de-occupied, unbinding all bound intelligent vehicle-mounted system functions in the state set corresponding to the first wireless communication device from the first identification information, so as to update the state set corresponding to the first wireless communication device.
[0010] Furthermore, based on at least one filtering event, updating the state set corresponding to any set of functional events includes: when the identification information corresponding to any set of functional events is the second identification information corresponding to the second wireless communication device, determining at least one vehicle-mounted function to be occupied based on at least one filtering event; binding the at least one vehicle-mounted function to be occupied with the second identification information to update the state set corresponding to the second wireless communication device.
[0011] Furthermore, the method also includes: generating first identification information corresponding to the first wireless communication device when establishing an initial connection with the first wireless communication device; listening to at least one function occupancy event sent by the first wireless communication device, wherein the at least one function occupancy event is used to occupy at least one intelligent vehicle system function; binding the at least one intelligent vehicle system function and the first identification information to obtain the occupancy status corresponding to the at least one intelligent vehicle system function; and constructing a state set corresponding to the first wireless communication device based on the occupancy status corresponding to the at least one intelligent vehicle system function.
[0012] Furthermore, the method also includes: determining whether the first wireless communication device has successfully de-entered different intelligent vehicle functions based on the state set corresponding to the first wireless communication device; and determining that the state set corresponding to the first wireless communication device satisfies a preset update condition if the first wireless communication device has successfully de-entered different intelligent vehicle functions.
[0013] Preferably, the method further includes: determining whether the second wireless communication device has successfully occupied at least one pending vehicle infotainment function based on the state set corresponding to the second wireless communication device; and determining that the state set corresponding to the second wireless communication device satisfies a preset update condition if the second wireless communication device has successfully occupied at least one pending vehicle infotainment function.
[0014] According to another aspect of the embodiments of this application, a connection status management device for wireless communication devices is also provided, applied to a smart vehicle system. The device includes: a first monitoring module, configured to monitor at least one functional event sent by a first wireless communication device or a second wireless communication device in response to receiving a device switching signal, wherein the device switching signal is used to switch the wireless communication device connected to the smart vehicle system from the first wireless communication device to the second wireless communication device; a set update module, configured to update a state set corresponding to the identification information based on the identification information corresponding to at least one functional event, wherein the state set is used to characterize the occupancy status of different smart vehicle system functions by the wireless communication device corresponding to the identification information; and a status update module, configured to update the device connection status displayed by the smart vehicle system when the state set corresponding to the first wireless communication device or the state set corresponding to the second wireless communication device meets a preset update condition.
[0015] According to another aspect of the embodiments of this application, a vehicle is also provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of this application when it runs.
[0016] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of this application.
[0017] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the methods of various embodiments of this application.
[0018] According to another aspect of the embodiments of this application, a computer program product is also provided, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods in various embodiments of this application.
[0019] According to another aspect of the embodiments of this application, a computer program is also provided, which, when executed by a processor, implements the methods of the various embodiments of this application.
[0020] In this embodiment, in response to receiving a device switching signal, at least one functional event sent by a first or second wireless communication device is monitored; based on the identification information corresponding to the at least one functional event, the state set corresponding to the identification information is updated; and when the state set corresponding to the first or second wireless communication device meets a preset update condition, the device connection status displayed on the intelligent vehicle system is updated. By using the identification information carried by each monitored functional event, these functional events are dynamically associated with the state set of the corresponding wireless communication device, thus accurately tracking the attribution of a functional event even when it arrives asynchronously. Furthermore, the state set corresponding to each wireless communication device can completely record the occupancy of each function of the intelligent vehicle system by that wireless communication device. By judging whether the update result of the state set corresponding to the first or second wireless communication device meets the preset update condition, it can be accurately determined whether to update the device connection status displayed on the intelligent vehicle system. This effectively avoids state misalignment and information pollution between the first and second wireless communication devices, significantly improving the accuracy and consistency of connection status management for wireless communication devices, thereby solving the technical problem of poor accuracy in managing the connection status of wireless communication devices in related technologies. Attached Figure Description
[0021] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0022] Figure 1 This is a flowchart of a connection status management method for a wireless communication device according to an embodiment of this application;
[0023] Figure 2 This is an architecture diagram of an optional connection status management system for a wireless communication device according to an embodiment of this application;
[0024] Figure 3 This is a schematic diagram of an optional connection state management process of a wireless communication device according to an embodiment of this application;
[0025] Figure 4 This is a schematic diagram illustrating the working process of an optional Bluetooth connection management module according to an embodiment of this application;
[0026] Figure 5 This is a schematic diagram illustrating the working process of an optional event centralized processing module according to an embodiment of this application;
[0027] Figure 6 This is a schematic diagram illustrating the working process of an optional event timing alignment module according to an embodiment of this application;
[0028] Figure 7 This is a schematic diagram illustrating the working process of an optional state isolation and anti-contamination module according to an embodiment of this application;
[0029] Figure 8 This is a schematic diagram illustrating the working process of an optional upper-layer display and control module according to an embodiment of this application;
[0030] Figure 9 This is a schematic diagram of a connection status management device for a wireless communication device according to an embodiment of this application. Detailed Implementation
[0031] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0033] According to an embodiment of this application, an embodiment of a connection state management method for a wireless communication device is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0034] This embodiment provides a connection status management method for wireless communication devices, applied to intelligent vehicle systems. Figure 1 This is a flowchart of a connection state management method for a wireless communication device according to an embodiment of this application, such as... Figure 1 As shown, the process includes the following steps:
[0035] Step S102: In response to receiving a device switching signal, listen for at least one functional event sent by the first wireless communication device or the second wireless communication device, wherein the device switching signal is used to switch the wireless communication device connected to the smart vehicle system from the first wireless communication device to the second wireless communication device.
[0036] The aforementioned device switching signal can be a signal used to instruct the intelligent vehicle system to replace the wireless communication device currently connected to the intelligent vehicle system from one device to another. For example, the device switching signal can be generated by user operation (such as manually selecting a new device), system policy (such as access of a higher-priority device), or protocol layer event (such as a new wireless communication device connection request causing the old wireless communication device to be replaced).
[0037] The aforementioned wireless communication device can be an external terminal device with wireless communication capabilities, capable of establishing a connection and exchanging data with the intelligent vehicle system through wireless communication protocols. This can include, but is not limited to, smartphones, tablets, Bluetooth devices, etc. For example, the Bluetooth device can support multiple profiles defined by the Bluetooth standard, such as A2DP (Advanced Audio Distribution Profile), AVRCP (Audio / Video Remote Control Profile), and HFP (Hands-Free Profile), which can be used to implement audio playback, media control, and call functions.
[0038] The aforementioned first wireless communication device may be a wireless communication device that is connected to the intelligent vehicle system and is providing services before the device switching occurs. This first wireless communication device can carry the current audio stream, control commands, and user interaction status, and is the original active device that is about to be replaced.
[0039] The aforementioned second wireless communication device can be a wireless communication device intended to replace the first wireless communication device in establishing a connection with the intelligent vehicle system and take over the service after a device switchover occurs. This second wireless communication device can be a new connection target actively selected by the user or determined by the system based on priority. The access of this second wireless communication device can trigger a connection termination process for the first wireless communication device.
[0040] The aforementioned functional events can be asynchronous notification messages sent to the intelligent vehicle system by various Profile modules in the Bluetooth protocol stack when the connection status changes. These events may include, but are not limited to, media audio connection establishment, media audio disconnection, control command channel connection, control command channel disconnection, call connection establishment, and call connection disconnection. Each functional event can include event type, timestamp, associated device identifier, and Profile type fields, which reflect the connection status changes of different Profiles and serve as the input basis for the intelligent vehicle system to determine the overall connection status of wireless communication devices.
[0041] In one optional embodiment, considering the asynchronous nature of functional event reporting by wireless communication devices, when a device switching signal is triggered, multiple functional events of the first wireless communication device may not have been completely disconnected, while multiple functional events of the second wireless communication device may have already started reporting. This may cause the intelligent vehicle system to update its status prematurely based on some functional events, resulting in the overlap of identification information, playback control, or connection status between the first and second wireless communication devices, thus leading to residual information or misjudgment.
[0042] Based on this, after receiving a device switching signal, the intelligent vehicle system can first listen to at least one functional event sent by the first or second wireless communication device, but does not process each functional event individually. Instead, after receiving a preset number of functional events or after the listening time reaches a preset duration, it processes these functional events centrally and associates them with the wireless communication devices corresponding to these functional events. This ensures that the intelligent vehicle system does not perform upper-level state updates before fully acquiring all functional events associated with the current switching target, thereby preventing state pollution caused by disordered event timing.
[0043] For example, after receiving a device switching signal, the intelligent vehicle system can start an event acquisition thread to continuously listen to the functional events issued by the first and second wireless communication devices. These functional events can be classified and cached according to timestamps and identification information. When the listening time reaches the upper limit required to complete a device switching, these functional events are then processed centrally.
[0044] For example, upon receiving a device switching signal, the intelligent vehicle system can enter an event synchronization waiting state. At this time, the intelligent vehicle system can receive functional events associated with the first or second wireless communication device. Furthermore, the intelligent vehicle system can maintain a functional event counter for each wireless communication device to record the number of functional events sent by different wireless communication devices. When the number of these functional events reaches the upper limit required to complete a device switching, these functional events can be processed centrally, thereby providing data support for subsequent state update decisions.
[0045] In another optional embodiment, upon receiving a device switching signal, the intelligent vehicle system can mark the functional event stream of the first wireless communication device as isolated. Simultaneously, the intelligent vehicle system can activate the functional event listening channel of the second wireless communication device. The intelligent vehicle system can filter functional events using the identification information of the second wireless communication device, allowing only functional events from the second wireless communication device to participate in state update decisions, thereby preventing interference from functional events from the first wireless communication device.
[0046] Step S104: Based on the identification information corresponding to at least one functional event, update the state set corresponding to the identification information, wherein the state set is used to characterize the occupancy status of the wireless communication device corresponding to the identification information for different intelligent vehicle functions.
[0047] The aforementioned identification information can be a character sequence or data field used to uniquely identify a wireless communication device. It can consist of the Bluetooth address of the wireless communication device or a unique logical ID (Identifier) generated by the wireless communication device in the intelligent vehicle system. It can be used by the intelligent vehicle system to distinguish different wireless communication devices, ensure that the binding relationship between functional events and wireless communication devices is accurate, and thus facilitate accurate management of the connection status of different wireless communication devices.
[0048] The aforementioned state set can be a data structure consisting of multiple occupancy states. Each occupancy state can be recorded as a Boolean value, an enumerated value, or a status code to uniformly describe whether any wireless communication device is occupying the intelligent vehicle system function. The occupancy states in this state set can be dynamically updated based on the connection and disconnection events of the wireless communication devices.
[0049] The aforementioned intelligent vehicle infotainment functions can refer to the interactive functions supported by the Bluetooth protocol and defined by the Bluetooth Profile in the intelligent vehicle infotainment system. These functions may include, but are not limited to, the media audio playback function supported by A2DP, the playback control function supported by AVRCP, the voice call function supported by HFP, and the data transmission function supported by SPP (Serial Port Profile). Each intelligent vehicle infotainment function can operate independently, but they share the connection context of the same wireless communication device.
[0050] The aforementioned occupancy status can be a binary or multi-valued status identifier indicating whether any intelligent vehicle infotainment function is currently occupied by a wireless communication device. Each intelligent vehicle infotainment function can correspond to an occupancy status. For example, the value of the occupancy status can be a clear status code such as "connected", "disconnected", "connecting", "preempted", or "isolated" to clearly reflect to the user whether the intelligent vehicle infotainment function is in an active, released, or transitional state at the system level.
[0051] Alternatively, the occupancy status may simply indicate that the wireless communication device is occupying the corresponding intelligent vehicle system function. For example, if the occupancy status corresponding to the intelligent vehicle system function exists in the state set corresponding to the wireless communication device, it indicates that the wireless communication device is occupying the intelligent vehicle system function. This occupancy status, as a basic component of the state set, can be driven by functional events and maintained by the intelligent vehicle system.
[0052] In one optional embodiment, considering that if each functional event is reported independently without an attribution identifier, it will be difficult for the intelligent vehicle to distinguish the source of the functional event when the functional events of the first wireless communication device and the second wireless communication device arrive asynchronously. This may cause the intelligent vehicle system to mistakenly confuse the functional events of the first wireless communication device with the functional events of the second wireless communication device, resulting in abnormal situations such as incorrect recording of the occupancy status of the intelligent vehicle system, misalignment of the interface display information, or mis-sending of control commands.
[0053] Based on this, by carrying the identification information of the wireless communication device that sent the functional event with each functional event, the intelligent vehicle system can locate the state set corresponding to the wireless communication device after receiving the functional event, so that only the occupancy state bound to the identification information can be atomically updated. This ensures that the functional events of the first wireless communication device only affect the state set corresponding to the first wireless communication device, and the functional events of the second wireless communication device only update the state set corresponding to the second wireless communication device. In this way, the isolation and consistency of the occupancy state of each intelligent vehicle system function can be maintained during device switching or preemption.
[0054] For example, if a second wireless communication device initiates a connection request to the vehicle's infotainment system, triggering the first wireless communication device to disconnect, the infotainment system can monitor functional events from multiple wireless communication devices and extract the identification information carried by each functional event. Subsequently, the infotainment system can sort these functional events by monitoring timestamp and group them by identification information.
[0055] To ensure the atomicity of subsequent state updates, the intelligent vehicle system can determine the corresponding intelligent vehicle system function based on the functional events associated with the identification information of the first wireless communication device. Then, the intelligent vehicle system can update the occupancy state corresponding to the intelligent vehicle system function, thereby realizing the update of the state set corresponding to the first wireless communication device.
[0056] During this period, although the functional event of the second wireless communication device has arrived, the state set corresponding to the identification information of the second wireless communication device may not be updated until the state set corresponding to the first wireless communication device is updated, and then the state set corresponding to the second wireless communication device is updated.
[0057] For example, during the connection process of the second wireless communication device, the intelligent vehicle system can extract identification information for each functional event and store the functional events into different buffer queues according to the identification information. The intelligent vehicle system can synchronize the functional events in the buffer queue corresponding to the second wireless communication device at a preset time window period, and determine the intelligent vehicle system functions that the second wireless communication device needs to occupy based on the synchronized functional events.
[0058] Subsequently, the intelligent vehicle system can allow the second wireless communication device to occupy these required intelligent vehicle system functions and modify the occupancy status of these functions. Then, the intelligent vehicle system updates the state set corresponding to the second wireless communication device based on these occupancy statuses.
[0059] In this process, in order to avoid the functional events of the first wireless communication device affecting the update of the state set of the second wireless communication device, the intelligent vehicle system can set the buffer queue corresponding to the first wireless communication device as an isolation queue, so as to isolate the functional events of the first wireless communication device and thus ensure that the update of the state set corresponding to the first wireless communication device by the intelligent vehicle system will not affect the second wireless communication device.
[0060] For example, when a functional event is detected, the intelligent vehicle system can first check whether the identification information of these functional events is consistent with the identification information of the second wireless communication device. If they are inconsistent, the intelligent vehicle system can mark the functional event as an event to be isolated and temporarily store it in the isolation area, without participating in the update of the state set corresponding to the second wireless communication device.
[0061] The intelligent vehicle system can modify the occupancy status of the intelligent vehicle system functions corresponding to the function events that match the identification information of the second wireless communication device, thereby updating the state set of the second wireless communication device.
[0062] After updating the state set of the second wireless communication device, the intelligent vehicle system can reactivate the functional events in the isolation zone and update the state set of the wireless communication device corresponding to the identification information based on the identification information corresponding to the functional event.
[0063] Step S106: If the state set corresponding to the first wireless communication device or the state set corresponding to the second wireless communication device meets the preset update conditions, update the device connection status displayed by the smart vehicle system.
[0064] The aforementioned preset update conditions may refer to the logical judgment rules used to determine whether the upper-level display interface of the intelligent vehicle system is allowed to update the connection status of the wireless communication device. These rules can be used to ensure that the status update action is triggered only when the first wireless communication device has disconnected and the second wireless communication device has reconnected.
[0065] The aforementioned device connection status can be used to characterize the status of wireless communication devices currently connected to the smart vehicle system. For example, the device connection status can be data displaying the overall connection status of a Bluetooth device across multiple profile dimensions, such as media playback, audio control, and hands-free calling.
[0066] In one optional embodiment, considering that the functional events of the first wireless communication device and the functional events of the second wireless communication device arrive asynchronously in time, if the integrity and consistency of the state sets corresponding to the first and second wireless communication devices are not independently judged and synchronously confirmed, the intelligent vehicle system may trigger state updates separately based on the arrival of some functional events, resulting in a mismatch between the displayed device connection status and the actual connection status. This could lead to problems such as misaligned device identification information, incorrect delivery of multimedia control commands to disconnected wireless communication devices, or the residual status of old wireless communication devices overwriting the effective status of new wireless communication devices.
[0067] Based on this, in the state set corresponding to the first wireless communication device or the state set corresponding to the second wireless communication device, the intelligent vehicle system can trigger the update of the device connection status displayed on the intelligent vehicle system only after all functional events have been received and the occupancy status has been updated, so as to ensure that the status change only takes effect in a complete and conflict-free device context, thereby maintaining the accurate mapping and control consistency of the intelligent vehicle system interface to the currently active wireless communication device.
[0068] In this embodiment, in response to receiving a device switching signal, at least one functional event sent by a first or second wireless communication device is monitored; based on the identification information corresponding to the at least one functional event, the state set corresponding to the identification information is updated; and when the state set corresponding to the first or second wireless communication device meets a preset update condition, the device connection status displayed on the intelligent vehicle system is updated. By using the identification information carried by each monitored functional event, these functional events are dynamically associated with the state set of the corresponding wireless communication device, thus accurately tracking the attribution of a functional event even when it arrives asynchronously. Furthermore, the state set corresponding to each wireless communication device can completely record the occupancy of each function of the intelligent vehicle system by that wireless communication device. By judging whether the update result of the state set corresponding to the first or second wireless communication device meets the preset update condition, it can be accurately determined whether to update the device connection status displayed on the intelligent vehicle system. This effectively avoids state misalignment and information pollution between the first and second wireless communication devices, significantly improving the accuracy and consistency of connection status management for wireless communication devices, thereby solving the technical problem of poor accuracy in managing the connection status of wireless communication devices in related technologies.
[0069] Furthermore, when there are multiple functional events, the state set corresponding to the identification information corresponding to the at least one functional event is updated, including: dividing the multiple functional events into at least one functional event set based on the identification information corresponding to the multiple functional events, wherein the functional events in the same functional event set correspond to the same identification information; and updating the state set corresponding to at least one identification information based on the at least one functional event set.
[0070] The aforementioned set of functional events refers to the set of all functional events associated with the same identification information during the switching or disconnection of wireless communication devices. Specifically, each functional event can carry the identification information of the wireless communication device that sent it. When the intelligent vehicle system receives multiple functional events, it can compare the identification information corresponding to each functional event and group those with the same identification information into the same set. The boundary of this set can be determined by the uniqueness of the identification information; it may not include cross-device events or events without identification information, ensuring unified management of functional events for any wireless communication device and avoiding state confusion caused by asynchronous arrival of functional events.
[0071] In one optional embodiment, considering that multiple functional events arrive asynchronously in time, if the functional events are not divided according to their corresponding identification information, the functional events of different wireless communication devices will be mixed and processed, causing the functional events of the first wireless communication device and the functional events of the second wireless communication device to interfere with each other in the state update logic, thereby causing the atomicity of the state set to be destroyed, and making it difficult for the intelligent vehicle system to accurately identify the complete functional state of the currently active wireless communication device.
[0072] Based on this, the intelligent vehicle system can first divide these multiple functional events based on the identification information corresponding to them, and obtain at least one set of functional events. This division process ensures that the functional events in the same set of functional events correspond to the same identification information, thereby ensuring that all functional events from the same wireless communication device are independently collected, and thus avoiding cross-device events from having cross-influence during the state update process.
[0073] Based on this, the intelligent vehicle system can update the state set corresponding to at least one identification information based on at least one set of functional events. This allows the update of the state set corresponding to each identification information to respond only to the input of the set of functional events corresponding to that identification information. This ensures the device-level atomicity and consistency of the state sets corresponding to different wireless communication devices during the update process. It also ensures that the state update of the second wireless communication device will not be contaminated by the residual events of the first wireless communication device if the functional events of the first wireless communication device have not completely terminated. This provides an accurate data foundation for state convergence in multi-device switching scenarios.
[0074] Furthermore, based on at least one set of functional events, the state set corresponding to at least one identification information is updated, including: when any set of functional events contains multiple events, the multiple events are time-synchronized based on the listening time of the multiple events to obtain multiple synchronized events; the multiple synchronized events are filtered based on the event type of the multiple events and the identification information corresponding to any set of functional events to obtain at least one filtered event; and the state set corresponding to any set of functional events is updated based on at least one filtered event.
[0075] The aforementioned listening time can refer to the time when the intelligent vehicle system listens to various functional events. This listening time can be in the form of a timestamp, which can be based on the system clock and used to identify the moment when the functional event is listened to, so as to synchronize the timing of these functional events in the scenario of concurrent multi-functional events.
[0076] The aforementioned multiple synchronous events can refer to a set of events that are grouped into the same event sequence after determining the time correlation of multiple functional events belonging to the same identification information based on the listening time of multiple events and a preset time window. These synchronous events can be confirmed in time to be triggered by the same wireless communication device, and the timing relationship between these synchronous events can be uniformly adjusted to eliminate the interference caused by the asynchronicity of functional events.
[0077] The above-mentioned event types can refer to the specific operation or state change category represented by the functional event, which may include, but is not limited to, functional occupation events that occupy the intelligent vehicle system functions, and functional de-occupancy events that de-occupy the intelligent vehicle system functions.
[0078] The aforementioned multiple filtering events can refer to the effective subset of events retained after semantic filtering of multiple synchronous events in the event processing flow based on the matching relationship between event type and identification information. This subset can include synchronous events that are consistent with the identification information, and these synchronous events conform to the event type of the functional event corresponding to the identification information, and can serve as the input basis for ultimately triggering the upper-level state change.
[0079] In one optional embodiment, considering that when multiple functional events arrive asynchronously, if the set of functional events corresponding to the same identification information is not synchronized in time, the difference in reporting delay of different functional events will cause the update order of the state set to be inconsistent with the actual connection behavior, thereby affecting the state consistency in the scenario of multiple wireless communication devices coexisting.
[0080] Based on this, the intelligent vehicle system can extract the listening time of each functional event after receiving multiple functional events associated with any identification information, and can sort them according to the listening time to construct multiple synchronous events with time alignment, ensuring that these multiple functional events are uniformly rearranged in the time dimension.
[0081] Subsequently, the intelligent vehicle system can filter multiple synchronous events based on the event type and the identification information of these multiple functional events, retaining only synchronous events that match the current identification information and whose event type matches the connection or disconnection action of the wireless communication device, thereby obtaining at least one filtered event.
[0082] Finally, the intelligent vehicle system can use these filtered events as the sole input source to atomically update the state set corresponding to the identifier information one by one, ensuring that the occupied state in each state set only responds to the synchronization event that has been time-aligned and source-verified, thereby maintaining a strict correspondence between the state set and the actual connection behavior during device switching.
[0083] For example, during device switching, for the first wireless communication device, the intelligent vehicle system primarily handles function deregistration events that deregister intelligent vehicle system functions. Based on this, after obtaining multiple synchronization events, the intelligent vehicle system can filter these synchronization events according to the device identifier corresponding to the first wireless communication device and the event type corresponding to the function deregistration event, thereby obtaining function deregistration events that match the device identifier corresponding to the first wireless communication device. Subsequently, the intelligent vehicle system can deregister the intelligent vehicle system functions originally occupied by the first wireless communication device according to these function deregistration events, and after completing the deregistration, update the occupancy status of the deregistered intelligent vehicle system functions in the state set corresponding to the first wireless communication device.
[0084] For example, during device switching, for the second wireless communication device, the intelligent vehicle system primarily handles function occupancy events related to the use of intelligent vehicle system functions. Based on this, after obtaining multiple synchronization events, the intelligent vehicle system can filter these events according to the device identifier of the second wireless communication device and the event type of the function occupancy event, thereby obtaining the function occupancy events that match the device identifier of the second wireless communication device. Subsequently, the intelligent vehicle system can use these function occupancy events to occupy the intelligent vehicle system functions required by the second wireless communication device, and after completing the occupancy, update the occupancy status in the state set corresponding to these occupied intelligent vehicle system functions of the second wireless communication device.
[0085] Furthermore, based on at least one filtering event, updating the state set corresponding to any set of functional events includes: when the identification information corresponding to any set of functional events is the first identification information corresponding to the first wireless communication device, determining at least one vehicle-mounted system function to be de-occupied based on at least one filtering event; and unbinding at least one vehicle-mounted system function to be de-occupied from the first identification information in the state set corresponding to the first wireless communication device, so as to update the state set corresponding to the first wireless communication device.
[0086] The aforementioned first identification information may refer to the identification information generated by the intelligent vehicle system for the first wireless communication device. This first identification information can ensure that functional events from the first wireless communication device can be accurately attributed, avoiding state confusion between different wireless communication devices.
[0087] The aforementioned vehicle infotainment functions to be unoccupied can refer to intelligent vehicle infotainment functions that are occupied and in use by the first wireless communication device. In the event that the first wireless communication device is replaced by the second wireless communication device or actively disconnected, the intelligent vehicle infotainment system needs to unbind the first wireless communication device from these intelligent vehicle infotainment functions in order to release resources and prevent event residue.
[0088] In an optional embodiment, considering that during the process of the first wireless communication device being preempted by the second wireless communication device, if the intelligent vehicle system function associated with the first wireless communication device is not actively de-preempted, the residual function events of the first wireless communication device may continue to trigger the intelligent vehicle system's control response to the failed function, thereby causing the intelligent vehicle system to mistakenly maintain the binding relationship with the first wireless communication device at the functional level, thereby interfering with the normal takeover of the same function by the second wireless communication device, resulting in functional conflict or control command mismatch.
[0089] Based on this, when the intelligent vehicle system recognizes that the identification information of any set of functional events is the first identification information corresponding to the first wireless communication device, it can form a list of vehicle system functions to be unlocked based on the intelligent vehicle system functions corresponding to at least one filtering event.
[0090] Subsequently, the intelligent vehicle system can delete the occupancy status corresponding to these unoccupied vehicle system functions from the status set of the first wireless communication device, and unbind these unoccupied vehicle system functions from the first identification information, so as to ensure that the status set no longer responds to subsequent functional events from the first wireless communication device, thereby freeing up clear resource space for the functional binding of the second wireless communication device.
[0091] In another optional embodiment, the aforementioned occupancy status can also indicate whether the wireless communication device occupies any intelligent vehicle system function. That is, the number of occupancy statuses in the status set corresponding to each wireless communication device is the same, and the status value of each occupancy status includes both occupied and unoccupied states. Based on this, the intelligent vehicle system can also update the status set corresponding to the first wireless communication device by changing the status value of the occupancy status corresponding to the vehicle system function to be unoccupied from occupied to unoccupied.
[0092] Furthermore, the method also includes: determining whether at least one vehicle-mounted system function to be de-occupied contains a target vehicle-mounted system function, wherein the target vehicle-mounted system function is used to characterize an intelligent vehicle-mounted system function that maintains a connection state with the first wireless communication device; if the target vehicle-mounted system function is included in at least one vehicle-mounted system function to be de-occupied, unbinding all bound intelligent vehicle-mounted system functions in the state set corresponding to the first wireless communication device from the first identification information, so as to update the state set corresponding to the first wireless communication device.
[0093] The aforementioned target vehicle infotainment function refers to the underlying function used to maintain a continuous connection between the intelligent vehicle infotainment system and the first wireless communication device. This target function ensures the communication link between the first wireless communication device and the intelligent vehicle infotainment system remains effective by continuously monitoring, responding to, or maintaining events related to the first wireless communication device, thus preventing abnormal connection interruptions due to state cleanup or resource release. If this target vehicle infotainment function needs to be de-occupied, it indicates that the first wireless communication device will also release its encroachment on other intelligent vehicle infotainment functions.
[0094] In one optional embodiment, if the vehicle infotainment functions to be unoccupied include the target vehicle infotainment function, it indicates that the main connection channel of the first wireless communication device has been determined to be released. The function events of the other intelligent vehicle infotainment functions already occupied by the first wireless communication device may not be reported in time due to communication delays or asynchronous system scheduling. In this case, if we continue to wait for all function events to arrive one by one, it will lead to state update blockage and the system being in an inconsistent waiting state, thereby prolonging the switching cycle of the wireless communication devices.
[0095] Based on this, when the intelligent vehicle system detects that the target vehicle system function is among the functions to be unbound, it can directly unbind all the bound intelligent vehicle system functions from the first identification information in the state set corresponding to the first wireless communication device, thereby performing a one-time, atomic update to the state set. This operation can be performed by traversing all function binding records associated with the first identification information in the state set. Subsequently, based on the function binding records, the binding of each intelligent vehicle system function occupied by the first wireless communication device to the first identification information can be removed, and these occupied state markers can be removed from the state set to avoid state residue caused by the loss or timeout of some function events. This ensures that all occupied states of the first wireless communication device are synchronously reset to zero, providing a clean state context for the connection of the second wireless communication device.
[0096] In another optional embodiment, after unbinding the intelligent vehicle system function that has been occupied by the first wireless communication device from the first identification information, the intelligent vehicle system can also change the occupation status of the intelligent vehicle system function from occupied to unoccupied, so that there is no need to delete the occupation status in the status set. This can avoid the need to frequently add and delete occupation status in the status set corresponding to different wireless communication devices during each device switching process, thereby reducing the computational burden of the intelligent vehicle system.
[0097] Furthermore, based on at least one filtering event, updating the state set corresponding to any set of functional events includes: when the identification information corresponding to any set of functional events is the second identification information corresponding to the second wireless communication device, determining at least one vehicle-mounted function to be occupied based on at least one filtering event; binding the at least one vehicle-mounted function to be occupied with the second identification information to update the state set corresponding to the second wireless communication device.
[0098] The aforementioned second identification information may refer to the identification information generated by the intelligent vehicle system for the second wireless communication device. This second identification information can ensure that functional events from the second wireless communication device can be accurately attributed.
[0099] The aforementioned vehicle infotainment functions awaiting use may refer to intelligent vehicle infotainment functions requested and prepared for use by a second wireless communication device.
[0100] In one optional embodiment, when the identification information corresponding to any set of functional events is the second identification information corresponding to the second wireless communication device, the intelligent vehicle system can extract at least one filter event matching the second identification information and the event type of the functional occupancy event from the received set of functional events based on the second identification information. These filter events can be used to occupy intelligent vehicle system functions. Subsequently, the intelligent vehicle system can determine the vehicle system functions to be occupied indicated by these filter events. Based on this, the intelligent vehicle system can explicitly bind these vehicle system functions to be occupied with the second identification information. Each time the second wireless communication device completes the occupation of a vehicle system function to be occupied, the intelligent vehicle system can add the occupation status corresponding to the vehicle system function to be occupied to the status set corresponding to the second wireless communication device to update the status set.
[0101] In another optional embodiment, to avoid frequent additions of occupancy statuses to the state set corresponding to the second wireless communication device, the occupancy status can also include two state values: occupied and unoccupied. The intelligent vehicle system can add the occupancy statuses corresponding to different intelligent vehicle system functions to the state set at the beginning of its construction; at this time, the occupancy status of these intelligent vehicle system functions is unoccupied. During subsequent updates, the intelligent vehicle system only needs to adjust the occupancy status value based on whether the second wireless communication device has completed occupying the vehicle system function to be occupied. Specifically, each time the second wireless communication device completes the occupation of a vehicle system function to be occupied, the intelligent vehicle system can change the occupancy status of that function from unoccupied to occupied to update the state set.
[0102] Furthermore, the method also includes: generating first identification information corresponding to the first wireless communication device when establishing an initial connection with the first wireless communication device; listening to at least one function occupancy event sent by the first wireless communication device, wherein the at least one function occupancy event is used to occupy at least one intelligent vehicle system function; binding the at least one intelligent vehicle system function and the first identification information to obtain the occupancy status corresponding to the at least one intelligent vehicle system function; and constructing a state set corresponding to the first wireless communication device based on the occupancy status corresponding to the at least one intelligent vehicle system function.
[0103] The aforementioned function occupancy event can refer to an event initiated by the wireless communication device to request the occupancy of the intelligent vehicle system function. This function occupancy event can be triggered during the establishment of a connection between the wireless communication device and the intelligent vehicle system or during device switching, and is used to notify the intelligent vehicle system that the wireless communication device needs to exclusively occupy or enable the intelligent vehicle system function.
[0104] In one optional embodiment, considering that if the first identification information corresponding to the first wireless communication device is not generated, the intelligent vehicle system will have difficulty distinguishing the source of the function occupancy event initiated by different wireless communication devices. As a result, if multiple function occupancy events overlap in time or arrive asynchronously, the intelligent vehicle system will have difficulty accurately associating the state change of the intelligent vehicle system function with the wireless communication device, thereby causing cross-device confusion of the occupancy state and undermining the accuracy and consistency of the intelligent vehicle system function scheduling.
[0105] Based on this, the intelligent vehicle system can assign a unique identifier to the first wireless communication device when establishing an initial connection with it, namely the aforementioned first identifier. This first identifier can be generated based on the Bluetooth address of the first wireless communication device, ensuring that the first wireless communication device has global uniqueness among multiple wireless communication devices.
[0106] Subsequently, the intelligent vehicle system can also monitor at least one function occupancy event from the first wireless communication device. Each function occupancy event can carry first identification information and function type. The intelligent vehicle system can statically bind the specific intelligent vehicle system function corresponding to each function occupancy event with the first identification information to form a function-device mapping relationship, and can store this mapping relationship in a status management table.
[0107] Simultaneously, the intelligent vehicle system can set an occupancy status for each bound intelligent vehicle system function, indicating that the function is currently in use. Ultimately, the intelligent vehicle system can aggregate the occupancy status of the first wireless communication device into a structured data unit, forming a status set corresponding to the first wireless communication device. This ensures that all changes to the occupancy status are uniquely indexed by the first identification information, achieving a strong association between functional status and device identity.
[0108] Furthermore, the method also includes: determining whether the first wireless communication device has successfully de-entered different intelligent vehicle functions based on the state set corresponding to the first wireless communication device; and determining that the state set corresponding to the first wireless communication device satisfies a preset update condition if the first wireless communication device has successfully de-entered different intelligent vehicle functions.
[0109] In an optional embodiment, considering that during the processing of multiple functional events by the first wireless communication device, some functional events may not be reported in a timely manner due to scheduling delays or differences in protocol stack processing order, if the unoccupancy results of all intelligent vehicle functions originally occupied by the first wireless communication device are not verified, some intelligent vehicle functions may still be logically retained and occupied, thereby causing the second wireless communication device to be incorrectly mapped to a resource channel that has been partially released but not completely cleared during the connection process, resulting in confusion of the ownership and state pollution of intelligent vehicle functions.
[0110] Based on this, the intelligent vehicle system can determine whether the occupancy status of the first wireless communication device has been cleared by judging whether the state set corresponding to the first wireless communication device is empty. When the state set corresponding to the first wireless communication device is empty, the intelligent vehicle system can determine that the state set meets the preset update conditions, thereby ensuring that all intelligent vehicle system functions occupied by the first wireless communication device have been completely released before the upper-level state refresh of the second wireless communication device is triggered, avoiding misalignment between device identification information and function attribution due to residual state.
[0111] In another optional embodiment, in order to reduce the frequent deletion of occupied states for the state set corresponding to the first wireless communication device, the intelligent vehicle system can also determine whether the state set meets the preset update conditions by detecting the state value of the occupied state in the state set.
[0112] Specifically, the intelligent vehicle system can detect whether all the state values of the occupied states in the state set are unoccupied. If all the state values of these occupied states are unoccupied, it means that the first wireless communication device has completed the unoccupation of all the intelligent vehicle system functions that were originally occupied. At this time, the intelligent vehicle system can determine that the state set meets the preset update conditions.
[0113] If at least one of these occupied states still has an occupied state value of "occupied", it means that the first wireless communication device has not completed the unoccupancy of the intelligent vehicle system function. The intelligent vehicle system can determine that the set of states does not meet the preset update conditions and needs to wait for the first wireless communication device to complete the unoccupancy of the intelligent vehicle system function corresponding to at least one occupied state.
[0114] Preferably, the method further includes: determining whether the second wireless communication device has successfully occupied at least one pending vehicle infotainment function based on the state set corresponding to the second wireless communication device; and determining that the state set corresponding to the second wireless communication device satisfies a preset update condition if the second wireless communication device has successfully occupied at least one pending vehicle infotainment function.
[0115] In one optional embodiment, considering that multiple functional events corresponding to the second wireless communication device may arrive at different times during the device switching process, if it is not confirmed whether all the vehicle functions that the second wireless communication device needs to occupy have been successfully occupied, the intelligent vehicle system will have difficulty in determining whether the second wireless communication device has completed the connection. As a result, it may trigger the upper-level state update in advance when some functional events have not been completed, resulting in a mismatch between the device identification information finally displayed and the actual occupancy status, which may lead to inconsistent behaviors such as multimedia playback, control command response, or call channel not being ready.
[0116] Based on this, the intelligent vehicle system can determine the occupied vehicle system function corresponding to each occupied state in the state set corresponding to the second wireless communication device, and determine the unoccupied function corresponding to the function event of the second wireless communication device received by the intelligent vehicle system.
[0117] Subsequently, the intelligent vehicle system can compare the occupied function with the pending function. If the occupied function and the pending function are the same, it indicates that the second wireless communication device has completed the occupation of the pending function. At this time, the intelligent vehicle system can determine that the state set meets the preset update conditions, thereby ensuring that the upper-level state update is only performed after the function occupation is fully established, avoiding misjudgment of the state due to differences in the arrival time of function events.
[0118] For ease of understanding, Figure 2 This is an architecture diagram of an optional connection status management system for a wireless communication device according to an embodiment of this application, such as... Figure 2 As shown, the architecture includes a Bluetooth connection management module, an event centralized processing module, an event timing alignment module, a state isolation and anti-contamination module, an upper-layer display and control module, and a vehicle interface.
[0119] First, the Bluetooth connection management module receives Bluetooth device profile events, identifying whether they are connection or disconnection events. Then, it sends these events to the event central processing module. After preprocessing these events, the central processing module sends them to the event timing alignment module. This module performs timing alignment on the received events, generating synchronization events, which are then sent to the state isolation and anti-contamination module. The state isolation and anti-contamination module filters and processes the received synchronization events, generating filter events for different wireless communication devices. Based on these filter events, it updates the state set for each wireless communication device. Once the state set update is complete and meets preset update conditions, the state isolation and anti-contamination module feeds back the update results to the upper-level display and control module. This module then updates the UI (User Interface) and control logic, displaying the updated information on the vehicle's infotainment system.
[0120] Figure 3 This is a schematic diagram illustrating an optional connection state management process of a wireless communication device according to an embodiment of this application, such as... Figure 3 As shown, firstly, the first wireless communication device connects normally and sends a media profile connection and a call profile connection to the Bluetooth connection management module.
[0121] After the connection is established, the Bluetooth connection management module can display "Connected to First Wireless Communication Device" in the upper-layer display. Subsequently, the second wireless communication device requests a connection, preempting the first wireless communication device. The second wireless communication device can send a media profile connection to the Bluetooth connection management module. At this time, the Bluetooth connection management module can send an asynchronous disconnection notification to the first wireless communication device. Upon receiving this notification, the first wireless communication device can send a control profile disconnection event to the Bluetooth connection management module, which may arrive at the Bluetooth connection management module with a delay.
[0122] After sending an asynchronous disconnection notification to the first wireless communication device, the Bluetooth connection management module collects all profile events and sends them to the event timing alignment module. The event timing alignment module confirms the event timing and determines the status, then returns the result to the Bluetooth connection management module. Subsequently, the Bluetooth connection management module updates the upper-layer display to show that the second wireless communication device has successfully connected, after which user operations are directed to the second wireless communication device.
[0123] Figure 4 This is a schematic diagram illustrating the working process of an optional Bluetooth connection management module according to an embodiment of this application, such as... Figure 4 As shown, firstly, the Bluetooth connection management module detects the access of Bluetooth devices (i.e., the aforementioned wireless communication devices) and can generate a device identifier for newly connected Bluetooth devices. Subsequently, based on this device identifier, the Bluetooth connection management module binds a Profile state to the Bluetooth device and initializes the connection state. The Bluetooth connection management module can then construct initialization information based on the bound Profile state and connection state of the Bluetooth device. Finally, the Bluetooth connection management module can send the initialization information to the event centralized processing module.
[0124] Figure 5 This is a schematic diagram illustrating the working process of an optional event centralized processing module according to an embodiment of this application, such as... Figure 5 As shown, the centralized event processing module can receive initialization information and determine whether the device has been switched over or replaced based on this information. If so, the centralized event processing module can centrally store the events and mark them with event stamps. If not, the centralized event processing module can directly forward the events to the timing alignment module.
[0125] Figure 6 This is a schematic diagram illustrating the working process of an optional event timing alignment module according to an embodiment of this application, as shown below. Figure 6 As shown, the event timing alignment module can receive events and sort them by timestamp. Then, the module can group these sorted events by device identifier and determine whether all profile states meet the conditions. If they do, a state update is triggered. If not, the update is postponed.
[0126] Figure 7 This is a schematic diagram illustrating the working process of an optional state isolation and anti-contamination module according to an embodiment of this application, as shown below. Figure 7 As shown, the state isolation and anti-contamination module can receive state update requests and determine whether the current event is an event from an older device. If so, the event is isolated to prevent it from affecting the new device. If not, the state update is transmitted directly.
[0127] Figure 8 This is a schematic diagram illustrating the working process of an optional upper-layer display and control module according to an embodiment of this application, such as... Figure 8 As shown, the upper-layer display and control module can receive the final status and, based on the final status, sequentially update the device name display, the connection status display, and the multimedia playback status. After the update is complete, the user operation is directed to the current device.
[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0129] According to an embodiment of this application, a connection state management device for a wireless communication device is provided. It should be noted that this device can be used to execute the connection state management method for the wireless communication device described above. The specific implementation process and application scenarios are the same as those in the above embodiment, and will not be repeated here. Figure 9 This is a schematic diagram of a connection status management device for a wireless communication device according to an embodiment of this application, as shown below. Figure 9 As shown, this device is used in intelligent vehicle systems and includes:
[0130] The first monitoring module 902 is configured to monitor at least one functional event sent by a first wireless communication device or a second wireless communication device in response to receiving a device switching signal, wherein the device switching signal is used to switch the wireless communication device connected to the intelligent vehicle system from the first wireless communication device to the second wireless communication device.
[0131] The set update module 904 is used to update the state set corresponding to the identification information based on the identification information corresponding to at least one functional event. The state set is used to characterize the occupancy status of different intelligent vehicle functions by the wireless communication device corresponding to the identification information.
[0132] The status update module 906 is used to update the device connection status displayed by the smart vehicle system when the status set corresponding to the first wireless communication device or the status set corresponding to the second wireless communication device meets the preset update conditions.
[0133] Furthermore, when there are multiple functional events, the set update module is also used to: divide the multiple functional events based on the identification information corresponding to the multiple functional events to obtain at least one set of functional events, wherein the functional events in the same set of functional events correspond to the same identification information; and update the state set corresponding to at least one identification information based on the at least one set of functional events.
[0134] Furthermore, the set update module is also used to: when any functional event set contains multiple events, synchronize the multiple events in sequence based on the listening time of the multiple events to obtain multiple synchronized events; filter the multiple synchronized events based on the event type of the multiple events and the identification information corresponding to any functional event set to obtain at least one filtered event; and update the state set corresponding to any functional event set based on at least one filtered event.
[0135] Furthermore, the set update module is also used to: when the identification information corresponding to any set of functional events is the first identification information corresponding to the first wireless communication device, determine at least one vehicle-mounted machine function to be de-occupied based on at least one filtering event; and unbind at least one vehicle-mounted machine function to be de-occupied from the first identification information in the state set corresponding to the first wireless communication device, so as to update the state set corresponding to the first wireless communication device.
[0136] Furthermore, the device also includes: a function determination module, used to determine whether at least one vehicle-mounted system function to be de-occupied includes a target vehicle-mounted system function, wherein the target vehicle-mounted system function is used to characterize an intelligent vehicle-mounted system function that maintains a connection state with the first wireless communication device; and a function unbinding module, used to, when the target vehicle-mounted system function is included in at least one vehicle-mounted system function to be de-occupied, unbind all bound intelligent vehicle-mounted system functions in the state set corresponding to the first wireless communication device from the first identification information, so as to update the state set corresponding to the first wireless communication device.
[0137] Furthermore, the set update module is also used to: determine at least one vehicle-mounted function to be occupied based on at least one filtering event when the identification information corresponding to any set of functional events is the second identification information corresponding to the second wireless communication device; bind the at least one vehicle-mounted function to be occupied with the second identification information to update the state set corresponding to the second wireless communication device.
[0138] Furthermore, the device also includes: an information generation module, used to generate first identification information corresponding to the first wireless communication device when establishing an initial connection with the first wireless communication device; a second monitoring module, used to monitor at least one function occupancy event sent by the first wireless communication device, wherein the at least one function occupancy event is used to occupy at least one intelligent vehicle system function; a function binding module, used to bind at least one intelligent vehicle system function and the first identification information to obtain the occupancy status corresponding to at least one intelligent vehicle system function; and a set construction module, used to construct a state set corresponding to the first wireless communication device based on the occupancy status corresponding to at least one intelligent vehicle system function.
[0139] Furthermore, the device also includes: a de-staking determination module, used to determine whether the first wireless communication device has successfully de-staked different intelligent vehicle functions based on the state set corresponding to the first wireless communication device; and a first condition determination module, used to determine that the state set corresponding to the first wireless communication device satisfies a preset update condition when the first wireless communication device has successfully de-staked different intelligent vehicle functions.
[0140] Preferably, the device further includes: an occupancy determination module, configured to determine, based on the state set corresponding to the second wireless communication device, whether the second wireless communication device has successfully occupied at least one vehicle infotainment function to be occupied; and a second condition determination module, configured to determine, if the second wireless communication device has successfully occupied at least one vehicle infotainment function to be occupied, that the state set corresponding to the second wireless communication device satisfies a preset update condition.
[0141] Embodiments of this application also provide a vehicle, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods described in various embodiments of this application when it runs.
[0142] Embodiments of this application also provide a computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of this application.
[0143] Embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the methods of various embodiments of this application.
[0144] Embodiments of this application also provide a computer program product, including a non-volatile computer-readable storage medium for storing a computer program that, when executed by a processor, implements the methods in various embodiments of this application.
[0145] Embodiments of this application also provide a computer program that, when executed by a processor, implements the methods described in the various embodiments of this application.
[0146] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0147] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0148] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0149] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0150] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0151] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A connection status management method for a wireless communication device, characterized in that, Applications in smart vehicle systems include: In response to receiving a device switching signal, the system listens for at least one functional event sent by a first wireless communication device or a second wireless communication device, wherein the device switching signal is used to switch the wireless communication device connected to the intelligent vehicle system from the first wireless communication device to the second wireless communication device; Based on the identification information corresponding to the at least one functional event, the state set corresponding to the identification information is updated, wherein the state set is used to characterize the occupancy status of the wireless communication device corresponding to the identification information for different intelligent vehicle functions; When the state set corresponding to the first wireless communication device or the state set corresponding to the second wireless communication device meets the preset update conditions, the device connection status displayed by the intelligent vehicle system is updated.
2. The method according to claim 1, characterized in that, When there are multiple at least one functional event, the state set corresponding to the identification information is updated based on the identification information corresponding to the at least one functional event, including: Based on the identification information corresponding to multiple functional events, the multiple functional events are divided to obtain at least one set of functional events, wherein the functional events in the same set of functional events correspond to the same identification information; Based on the at least one set of functional events, the state set corresponding to at least one identification information is updated respectively.
3. The method according to claim 2, characterized in that, Based on the at least one set of functional events, the state sets corresponding to at least one set of identification information are updated, including: When any set of functional events contains multiple events, the multiple events are synchronized in time based on the listening time of the multiple events to obtain multiple synchronized events; Based on the event types of the multiple events and the identification information corresponding to any one set of functional events, the multiple synchronous events are filtered to obtain at least one filtered event; Based on the at least one filtering event, the state set corresponding to any set of functional events is updated.
4. The method according to claim 3, characterized in that, Based on the at least one filtering event, the state set corresponding to any set of functional events is updated, including: If the identification information corresponding to any set of functional events is the first identification information corresponding to the first wireless communication device, at least one vehicle-mounted system function to be deactivated is determined based on the at least one filtering event. In order to update the state set corresponding to the first wireless communication device, at least one vehicle-mounted system function to be de-occupied is unbound from the first identification information.
5. The method according to claim 4, characterized in that, The method further includes: Determine whether the at least one vehicle infotainment function to be unlocked includes a target vehicle infotainment function, wherein the target vehicle infotainment function is used to characterize an intelligent vehicle infotainment function that maintains a connection with the first wireless communication device; If the target vehicle infotainment function is included in the at least one vehicle infotainment function to be unbound, all the bound smart vehicle infotainment functions in the state set corresponding to the first wireless communication device are unbound from the first identification information in order to update the state set corresponding to the first wireless communication device.
6. The method according to claim 3, characterized in that, Based on the at least one filtering event, the state set corresponding to any set of functional events is updated, including: If the identification information corresponding to any set of functional events is the second identification information corresponding to the second wireless communication device, at least one vehicle system function to be occupied is determined based on the at least one filtering event. The at least one vehicle-mounted function to be occupied is bound to the second identification information in order to update the state set corresponding to the second wireless communication device.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Upon establishing an initial connection with the first wireless communication device, first identification information corresponding to the first wireless communication device is generated; Listen for at least one function occupancy event sent by the first wireless communication device, wherein the at least one function occupancy event is used to occupy at least one intelligent vehicle system function; Bind the at least one intelligent vehicle system function to the first identification information to obtain the occupancy status corresponding to the at least one intelligent vehicle system function; Based on the occupancy status corresponding to the at least one intelligent vehicle system function, a state set corresponding to the first wireless communication device is constructed.
8. The method according to claim 7, characterized in that, The method further includes: Based on the state set corresponding to the first wireless communication device, determine whether the first wireless communication device has successfully unlocked different intelligent vehicle functions; If the first wireless communication device successfully unlocks all functions of the smart vehicle system, it is determined that the state set corresponding to the first wireless communication device satisfies the preset update condition. Preferably, the method further includes: Based on the state set corresponding to the second wireless communication device, determine whether the second wireless communication device has successfully occupied at least one vehicle infotainment function to be occupied; If the second wireless communication device successfully occupies at least one vehicle infotainment function, it is determined that the state set corresponding to the second wireless communication device satisfies the preset update condition.
9. A vehicle, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the storage medium is located to perform the method according to any one of claims 1 to 8.