Vehicle machine control method, system and equipment and storage medium
By displaying an identification code on the vehicle's infotainment system and establishing a communication connection for identity matching using a target mini-program, the problem of insufficient flexibility in connecting vehicle infotainment systems with electronic devices is solved, achieving flexibility in vehicle infotainment system control and flexibility and reliability in multi-device collaborative work.
Patent Information
- Application Number
- CN202511035259.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-11-11
AI Technical Summary
In existing technologies, the connectivity and control flexibility between vehicle-mounted systems and electronic devices are relatively low, resulting in insufficient flexibility in the collaborative operation of multiple devices.
By displaying an identification code on the vehicle's infotainment system, and using a target mini-program to scan and establish an identity-matching communication connection, the vehicle's infotainment system and the scanning device can flexibly determine the identities of the master and slave devices, thereby enabling control of the vehicle's infotainment system functions.
It improves the flexibility of connection and control between the vehicle system and the target mini-program, and enhances the flexibility and reliability of multi-device collaborative work.
Smart Images

Figure CN120935236A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of vehicle technology, and in particular relates to a control method, system, device and storage medium for vehicle infotainment systems. Background Technology
[0002] As in-vehicle infotainment systems become more feature-rich, users are increasingly demanding collaborative operation across multiple devices. For example, users may want to answer phone calls via Bluetooth headsets or play games using a game controller while the in-vehicle infotainment system is playing music.
[0003] To enable multi-device collaboration, the in-vehicle infotainment system is typically designated as the master device, connecting to slave devices such as headsets and game controllers. Consequently, if a mobile phone or other electronic device wishes to connect to the in-vehicle infotainment system, the phone can only do so as a slave device, following this process: the phone broadcasts a signal → the in-vehicle infotainment system searches for slave device broadcast signals → the in-vehicle infotainment system sends a connection request → the phone accepts the connection request. This results in limited flexibility in connecting electronic devices to the in-vehicle infotainment system, and consequently, limited control flexibility for the system. Summary of the Invention
[0004] This application provides a vehicle infotainment system control method, system, device, and storage medium, which can improve the control flexibility of the vehicle infotainment system.
[0005] In a first aspect, embodiments of this application provide a control method for a vehicle infotainment system, the method comprising:
[0006] Display the first identification code;
[0007] In response to the first information sent by the target mini-program by scanning the first identification code, a first communication connection is established with the target mini-program using a first identity that matches the first information;
[0008] Receive the first control command sent by the target mini-program through the first communication connection, and execute the vehicle system function corresponding to the first control command.
[0009] Secondly, embodiments of this application provide a control method for a vehicle infotainment system, the method comprising:
[0010] In response to the target mini-program scanning the first identification code displayed on the vehicle's infotainment system, the target mini-program sends first information to the vehicle's infotainment system and establishes a first communication connection with the vehicle's infotainment system using a second identity that matches the first information;
[0011] The control target applet sends a first control command to the vehicle system through the first communication connection, so that the vehicle system can execute the vehicle system function corresponding to the first control command.
[0012] Thirdly, embodiments of this application provide a control device for a vehicle infotainment system, the device comprising:
[0013] The display module is used to display the first identification code;
[0014] The first establishment module is used to establish a first communication connection with the target mini-program in response to the first information sent by the target mini-program scanning the first identification code, with the first identity matching the first information.
[0015] The execution module is used to receive the first control command to the vehicle system sent by the target mini-program through the first communication connection, and to execute the first vehicle system function corresponding to the first control command.
[0016] Fourthly, embodiments of this application provide a control device for a vehicle infotainment system, the device comprising:
[0017] The second establishment module is used to respond to the target mini-program scanning the first identification code displayed on the vehicle system, send the first information to the vehicle system through the target mini-program, and establish a first communication connection with the vehicle system with a second identity matching the information;
[0018] The control module is used to control the target applet to send a first control command to the vehicle system through the first communication connection, so that the vehicle system can execute the vehicle system function corresponding to the first control command.
[0019] Fifthly, embodiments of this application provide a vehicle control device, the device comprising: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the vehicle control method as described in the first or second aspect.
[0020] Sixthly, embodiments of this application provide a control system for a vehicle-mounted infotainment system, comprising at least the vehicle-mounted infotainment system and a scanning device running a target mini-program, wherein the vehicle-mounted infotainment system and the scanning device interact as follows:
[0021] The vehicle's infotainment system displays the first identification code;
[0022] The scanning device responds to the target mini-program scanning the first identification code displayed on the vehicle's infotainment system and sends the first information to the vehicle's infotainment system through the target mini-program;
[0023] The vehicle-mounted system responds to the first information and establishes a first communication connection with the target mini-program; in the first communication connection, the vehicle-mounted system is the first identity, and the scanning device is the second identity, and the first identity and the second identity are different;
[0024] The scanning device controls the target applet to execute vehicle functions through the first communication connection.
[0025] In a seventh aspect, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the vehicle control method as described in the first or second aspect.
[0026] Eighthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of a vehicle control device, cause the control device to perform the vehicle control method as described in the first or second aspect.
[0027] In this embodiment, the vehicle-mounted infotainment system can display a first identification code for scanning by a device that wishes to control the system. After scanning the first identification code via a target mini-program, the scanning device can send first information through the target mini-program, enabling the target mini-program and the vehicle-mounted infotainment system to establish a first communication connection based on identities matching the first information. After establishing the first communication connection, the scanning device can control the target mini-program to send control commands to the vehicle-mounted infotainment system via the first communication connection, causing the system to execute corresponding functions, thus controlling the system. Therefore, in this embodiment, the identities of the vehicle-mounted infotainment system and the target mini-program in the communication connection can be flexibly determined based on the first information sent by the target mini-program after scanning the first identification code. The target mini-program can be the master device and the vehicle-mounted infotainment system the slave device, or vice versa. This improves the connection flexibility between the target mini-program and the vehicle-mounted infotainment system, thereby enhancing the control flexibility of the system. Attached Figure Description
[0028] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0029] Figure 1 This is one of the schematic diagrams of the control system architecture of the vehicle system provided in the embodiments of this application;
[0030] Figure 2 This is one of the flowcharts illustrating the vehicle control method provided in the embodiments of this application;
[0031] Figure 3a This is one of the triggering diagrams of the master-slave device switching instruction provided in the embodiments of this application;
[0032] Figure 3b This is the second schematic diagram of triggering the master-slave device switching instruction provided in the embodiments of this application;
[0033] Figure 4 This is a second schematic flowchart of the vehicle control method provided in the embodiments of this application;
[0034] Figure 5 This is a second schematic diagram of the architecture of the vehicle system control system provided in the embodiments of this application;
[0035] Figure 6 This is the third flowchart illustrating the vehicle control method provided in this application embodiment;
[0036] Figure 7 This is one of the structural schematic diagrams of the vehicle control device provided in the embodiments of this application;
[0037] Figure 8 This is a second schematic diagram of the structure of the vehicle control device provided in the embodiments of this application;
[0038] Figure 9 This is a schematic diagram of the structure of the vehicle control device provided in the embodiments of this application. Detailed Implementation
[0039] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0040] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0041] like Figure 1 As shown in the figure, this application provides a vehicle infotainment system control system, which may include a vehicle infotainment system and a scanning device running a target mini-program. The vehicle infotainment system can display a first identification code; the scanning device can scan the first identification code displayed on the vehicle infotainment system through the target mini-program and send first information to the vehicle infotainment system through the target mini-program after scanning; then the vehicle infotainment system and the scanning device establish a first communication connection based on the first information; then the scanning device can control the target mini-program to control the vehicle infotainment system to perform corresponding vehicle infotainment functions through the first communication connection.
[0042] In this embodiment of the application, the first communication connection is established by the vehicle-mounted system with a first identity matching the first information and the scanning device with a second identity matching the first information; the first information corresponds to the content of the first identification code. When the content of the first identification code is different, the target applet sends different first information to the vehicle-mounted system after scanning the first identification code, and thus the communication connection established by the vehicle-mounted system and the scanning device based on the first information is also different. For details, please refer to the description below.
[0043] As one embodiment, the first identity and the second identity in this application embodiment can be either the master device or the slave device; in the first communication connection established between the vehicle-mounted unit and the scanning device, the first identity of the vehicle-mounted unit can be the master device and the second identity of the scanning device can be the slave device, or the first identity of the vehicle-mounted unit can be the slave device and the second identity of the scanning device can be the master device.
[0044] The vehicle infotainment system in this application embodiment can be an application system deployed on a vehicle. The application system can integrate at least one of the following: at least one software application (APP), at least one infotainment function, and at least one vehicle control function. That is, the vehicle infotainment system / application system can integrate, but is not limited to, any one or more infotainment functions such as navigation, music playback, and communication, and can also integrate any one or more vehicle control functions such as window control, door control, battery management, in-vehicle air conditioning control, and seat control. The vehicle infotainment system / application system can also integrate at least one of the aforementioned infotainment functions and at least one vehicle control function.
[0045] The vehicle system / application system in this application embodiment may be, but is not limited to, an in-vehicle infotainment system, a vehicle control system, or a vehicle management APP; the in-vehicle infotainment system may be a system integrating at least one infotainment function, the vehicle control system may be a system integrating at least one vehicle control function, and the vehicle management APP may be vehicle management application software designed by the vehicle manufacturer for vehicle owners, etc.
[0046] The scanning device in this application embodiment can be a terminal device independent of the vehicle, such as a mobile phone, tablet computer, laptop computer, or other device capable of running the target mini-program. The target mini-program can be any mini-program running on the scanning device that can control the vehicle's infotainment system. The target mini-program can send control commands to the vehicle's infotainment system to control its functions. The vehicle's infotainment system functions can be the infotainment functions and / or vehicle control functions integrated into the vehicle's infotainment system. Therefore, the target mini-program can also be regarded as a remote control mini-program or remote control for the vehicle's infotainment system. The target mini-program can be triggered directly by the scanning device or by the application software installed on the scanning device. That is, the scanning device can directly call the target mini-program or call the target mini-program through its own installed application software.
[0047] As one embodiment, alternatively, such as Figure 1 As shown, the vehicle control system in this embodiment may further include a control device. The control device may be any device other than the aforementioned barcode scanning device. Furthermore, the control device may be a device with control authority over the vehicle system (which can be simply referred to as control rights). The control authority of the control device over the vehicle system may include, but is not limited to, one or more permissions such as operating the vehicle system, issuing commands, adjusting functions, and monitoring its status. As one embodiment, the control right of the control device over the vehicle system may include the right to control the vehicle system's screen, that is, the ability to determine the content displayed on the screen.
[0048] The control device can be a mobile phone, tablet, laptop, smartwatch, or other device used by the vehicle owner or other users with control over the vehicle's infotainment system. The control device and the scanning device can belong to the same user or different users. In one example, when the scanning device is the vehicle owner's mobile phone, the control device could be the mobile phone of the vehicle owner's immediate family member. In another example, the scanning device could be any device, such as a tablet computer belonging to the vehicle owner or other users with control over the vehicle's infotainment system; for example, the scanning device could be the vehicle owner's mobile phone, and the control device could be the vehicle owner's spouse's mobile phone or the vehicle owner's tablet computer. Alternatively, the scanning device could be a smart terminal belonging to a user other than the vehicle owner, such as a tablet computer belonging to a colleague authorized by the vehicle owner, and the corresponding control device could be that colleague's smartwatch.
[0049] The control device can control the vehicle's infotainment system by establishing a communication connection with it. Based on this, in some embodiments, during the process of establishing a first communication connection between the vehicle's infotainment system and the scanning device based on first information, the decision to establish the first communication connection between the vehicle's infotainment system and the control device can be determined according to the communication connection status between the two devices. For example, if the vehicle's infotainment system has already established a stable communication connection with the control device, and the control device has higher priority or more comprehensive control authority, maintaining the connection between the vehicle's infotainment system and the control device may be prioritized. Alternatively, the user of the scanning device may decide whether to take over control of the vehicle's infotainment system through the scanning device, triggering the vehicle's infotainment system to disconnect from the control device. See the description below for details.
[0050] As one embodiment, alternatively, such as Figure 1As shown, the vehicle-mounted control system in this embodiment can also include communication devices other than the aforementioned scanning and control devices, such as game controllers and Bluetooth headsets. Furthermore, the communication device can be a slave device connected to the vehicle-mounted system; that is, the communication device establishes a communication connection with the vehicle-mounted system, and in this communication connection, the communication device is the slave device while the vehicle-mounted system is the master device. Considering that in the same type of communication connection, a device can only have one identity at a time, based on this, in some embodiments, during the process of establishing a first communication connection between the vehicle-mounted system and the scanning device based on first information, the identities of the vehicle-mounted system and the scanning device in the first communication connection can be determined according to the communication connection status between the vehicle-mounted system and the communication device. For example, if the vehicle-mounted system has already established a stable communication connection with the aforementioned communication devices, and the vehicle-mounted system is the master device in this communication connection, then, in order to maintain the connection between the vehicle-mounted system and these communication devices, it can be determined that the vehicle-mounted system is the master device in the first communication connection, as described below.
[0051] The control method for the vehicle system provided in this application will be described in detail below with reference to the accompanying drawings, through some embodiments and application scenarios.
[0052] See Figure 2 , Figure 2 This is one of the flowcharts illustrating the vehicle control method provided in the embodiments of this application. Figure 2 The control method of the vehicle-mounted system shown can be applied to vehicles, and further, to vehicle-mounted systems deployed on vehicles. In specific implementation, the method can be executed by the vehicle-mounted system, or by components of the vehicle-mounted system, such as the processor, chip, or chip system of the vehicle-mounted system, or by logic modules or software that implement all or part of the functions of the vehicle-mounted system.
[0053] like Figure 2 As shown, the control method for the vehicle system may include the following steps:
[0054] Step 201: Display the first identification code.
[0055] In this embodiment of the application, an identification code can be displayed on a screen so that a scanning device running the target mini-program can scan it through the target mini-program, thereby enabling the target mini-program to establish a target type communication connection with the vehicle system. The target type communication connection can be any communication connection with the roles of master device and slave device, such as Bluetooth connection, WIFI connection or NFC connection.
[0056] In this embodiment, the first identification code expresses content information related to the first communication connection. This content information can be used to indicate the identity of the vehicle-mounted system and / or the scanning device running the target mini-program in the first communication connection. In this embodiment, the specific form of the first identification code is not limited. Those skilled in the art can set it according to actual needs. For example, the first identification code can be any one or any combination of barcodes (one-dimensional codes), two-dimensional codes, three-dimensional codes, etc. The setting forms of barcodes and two-dimensional codes can refer to the prior art, and three-dimensional codes can be generated by superimposing image information on two-dimensional codes, etc. In this embodiment, the first identification code can also be other multimedia information that can express content information related to the first communication connection, other than the aforementioned barcodes, two-dimensional codes, and three-dimensional codes.
[0057] As one embodiment, the content information expressed in the first identification code can be first identity information, which represents the vehicle information of the vehicle system. Then, the first identity information expressed by the first identification code instructs the vehicle system to establish a first communication connection with the scanning device as a slave device.
[0058] The information expressed in the first identification code can also be a device operation reminder. This device operation reminder is used to instruct the scanning device running the target mini-program to send the second identity information. The second identity information represents the device information of the scanning device. Then, the device operation reminder expressed in the first identification code instructs the vehicle-mounted system to establish a first communication connection with the scanning device as the main device.
[0059] In some embodiments, two independent identification codes can be pre-set. One identification code can indicate primary identity information, and the other identification code can indicate the aforementioned device operation reminder content. Then, one of the two independent identification codes can be selected as the primary identification code.
[0060] In other embodiments, only a first identification code may be set, but the content information in the first identification code can be updated according to actual needs. For example, the content information in the first identification code can be updated to the aforementioned first identity information or device operation reminder content.
[0061] The first identification information can represent the vehicle's infotainment system information, which can be used to uniquely identify the system. Thus, when a scanning device scans the first identification code through a target app, it can obtain the vehicle's infotainment system information. Based on this information, the scanning device can initiate a connection request to the infotainment system as the master device, establishing a communication connection. In other words, the identification code indicating the first identification information can trigger a communication connection between the infotainment system as a slave device and the scanning device as the master device.
[0062] This application does not limit the specific form of the vehicle information of the vehicle-mounted unit. The vehicle information may include, but is not limited to, at least one of the following: the vehicle identification number (VIN) of the deployed vehicle-mounted unit, the media access control (MAC) address of the vehicle-mounted unit, and the broadcast address of the vehicle-mounted unit. In some embodiments, the vehicle information of the vehicle-mounted unit may include the broadcast address of the vehicle-mounted unit. When the scanning device scans the first identification code through the target applet, it can be considered to have received the broadcast of the vehicle-mounted unit, thereby initiating a connection request to the vehicle-mounted unit.
[0063] The second identity information can represent the device information of the scanning device. This device information can uniquely identify the scanning device. Thus, when the scanning device scans the first identification code through the target app, it can proactively send its own device information to the vehicle's infotainment system. The vehicle's infotainment system can then use this device information to send a connection request to the scanning device as the master device, establishing a communication connection. In other words, instructing the scanning device to send the first identification code containing the second identity information can trigger a communication connection where the vehicle's infotainment system acts as the master device and the scanning device acts as the slave device.
[0064] This application does not limit the specific form of the device information of the scanning device. The device information of the scanning device may include, but is not limited to, at least one of the scanning device's broadcast address and identity identifier. Further, the identity identifier of the scanning device may be the scanning device's MAC address, serial number, universally unique identifier (UUID), etc. In some embodiments, the second identity information may include the scanning device's identity identifier. This application does not limit the method of sending the second identity information. In some embodiments, after the scanning device scans the first identification code through the target applet, it may send its own device information in the form of broadcast, but it is not limited to this.
[0065] Step 202: In response to the first information sent by the target mini-program after scanning the first identification code, establish a first communication connection with the target mini-program using a first identity that matches the first information.
[0066] Accordingly, the scanning device can respond to the target mini-program scanning the first identification code displayed on the vehicle's infotainment system, send the first information to the vehicle's infotainment system through the target mini-program, and establish a first communication connection with the vehicle's infotainment system with a second identity matching the first information.
[0067] In practice, after the vehicle displays the first identification code on the screen, the scanning device can scan the first identification code through the target mini-program to trigger a communication connection with the vehicle's infotainment system.
[0068] In practice, when a user of the scanning device wants to control the vehicle's infotainment system, they can scan the first identification code through the target mini-program running on the scanning device. This triggers the scanning device to send the first information through the target mini-program, enabling the vehicle's infotainment system to establish a communication connection with the target mini-program based on the first information.
[0069] Specifically, the scanning device can directly call the camera installed on the scanning device through the target mini-program or call the camera through a software application connected to the target mini-program to scan the first identification code, and then send the first information in response to the scanning of the first identification code.
[0070] It is understandable that the content of the first information can differ depending on the form of the first identification code, and consequently, the forms of representation of the first identity and the second identity can differ. Combining the foregoing, we can conclude that:
[0071] In some embodiments, if the first identification code indicates first identity information, the first information may be a connection request, the first identity may be a slave device identity, and the second identity may be a master device identity.
[0072] If the first identification code instructs the scanning device running the target mini-program to send the second identity information, then the first information is the second identity information, the first identity is the master device identity, and the second identity is the slave device identity.
[0073] In other words, given a first identification code indicating first identity information, in response to the target mini-program scanning the first identification code, the target mini-program can send a connection request to the vehicle's infotainment system as a master device. The vehicle's infotainment system, in response to this connection request, can establish a first communication connection with the target mini-program as a slave device. Specifically, when the first information is a connection request, the vehicle's infotainment system can accept the connection request and establish a first communication connection with the target mini-program as a slave device. In this first communication connection, the master device is the target mini-program, and the slave device is the vehicle's infotainment system.
[0074] For a first identification code sent by a scanning device instructing the target mini-program to send second identity information, in response to the target mini-program scanning the first identification code, the target mini-program can send second device information as a slave device. This allows the vehicle-mounted system, upon receiving the second identity information, to establish a first communication connection with the target mini-program as the master device. Specifically, the vehicle-mounted system can send a connection request to the target mini-program. Upon acceptance of the connection request by the target mini-program, it can establish a first communication connection as the master device. In this first communication connection, the master device is the vehicle-mounted system, and the slave device is the target mini-program.
[0075] Step 203: Receive the first control command to the vehicle system sent by the target mini-program through the first communication connection, and execute the first vehicle system function corresponding to the first control command.
[0076] Accordingly, after the scanning device establishes a first communication connection with the vehicle's infotainment system using a second identity, it can control the target mini-program to send a first control command to the vehicle's infotainment system through the first communication connection, so that the vehicle's infotainment system can execute the vehicle's infotainment system function corresponding to the first control command.
[0077] In this embodiment of the application, after the vehicle system and the target mini-program establish a communication connection, regardless of whether the target mini-program acts as a master device or a slave device in the communication connection, it can send control signals (also known as control commands) to the vehicle system through the communication connection between the two to trigger the vehicle system to execute the corresponding vehicle system function, thereby realizing the control of the vehicle system.
[0078] The embodiments of this application do not limit the specific manifestation of the control command. The control signaling is used to control the infotainment functions and / or control functions integrated into the vehicle system. In one example, the control command may be volume adjustment, play / pause, etc., but it is not limited to these.
[0079] In addition, it is worth noting that in some embodiments of this application, the communication connection between the vehicle system and the target program can achieve instant response without handshake. For example, after the target program sends a control command to the vehicle system, the vehicle system can directly respond to the control command and execute the corresponding vehicle system function without having to report back to the target program whether the control command has been received before executing the corresponding vehicle system function. In this way, the power consumption of vehicle system control can be reduced.
[0080] In the vehicle infotainment system control method of this application embodiment, the vehicle infotainment system can display a first identification code for scanning by a device that wishes to control the vehicle infotainment system. After the scanning device scans the first identification code through a target mini-program, it can send first information through the target mini-program, enabling the target mini-program and the vehicle infotainment system to establish a first communication connection based on an identity matching the first information. After the target mini-program and the vehicle infotainment system establish the first communication connection, the scanning device can control the target mini-program to send control commands to the vehicle infotainment system through the first communication connection, causing the vehicle infotainment system to execute corresponding vehicle infotainment system functions, thereby achieving control of the vehicle infotainment system. Therefore, in this application embodiment, in the communication connection between the vehicle infotainment system and the target mini-program, the identities of the vehicle infotainment system and the target mini-program in the communication connection can be flexibly determined based on the first information sent by the target mini-program after scanning the first identification code. The target mini-program can be the master device and the vehicle infotainment system the slave device, or the target mini-program can be the slave device and the vehicle infotainment system the master device. This improves the connection flexibility between the target mini-program and the vehicle infotainment system, thereby improving the control flexibility of the vehicle infotainment system.
[0081] In this embodiment of the application, after a communication connection is established between the vehicle system and the target mini-program, their identities can remain unchanged or can be switched, depending on actual needs. This embodiment of the application does not limit this.
[0082] In some embodiments, after establishing a first communication connection with the target mini-program using a first identity matching the first information, the method further includes:
[0083] In response to the first master-slave device switching command, a second communication connection is established with the target mini-program using a second identity; the second identity is different from the first identity.
[0084] Receive the second control command sent by the target mini-program through the second communication connection, and execute the vehicle system function corresponding to the second control command.
[0085] In these embodiments, the vehicle-mounted system and the target mini-program can switch identities in response to a master-slave device switching command, and re-establish a second communication connection with the new identity. Specifically, the master-slave device switching can be triggered by either the vehicle-mounted system or the target mini-program, thus increasing the flexibility of the master-slave device switching trigger.
[0086] The first master-slave device switching command is used to instruct the vehicle's infotainment system to switch from a first identity to a second identity and establish a communication connection with the target mini-program. The first master-slave device switching command can be triggered by the vehicle's infotainment system, or it can be triggered by the target mini-program and then sent to the vehicle's infotainment system by the target mini-program.
[0087] In some embodiments, where the first master-slave device switching instruction is triggered by the target mini-program and then sent to the vehicle's infotainment system, the target mini-program can display the vehicle's first identity and the target mini-program's second identity in the first communication connection in a first area of the mini-program interface. After viewing the content displayed in the first area of the target mini-program, if the user of the target mini-program wishes to switch the identities of the vehicle's infotainment system and the target mini-program in their communication connection, they can interact with the target mini-program to trigger it to generate a master-slave device switching instruction and send it to the vehicle's infotainment system, thereby triggering a master-slave switch between the vehicle's infotainment system and the target mini-program. In these embodiments, after generating the master-slave device switching instruction, the target mini-program can, on the one hand, switch from the second identity to the first identity in response to the instruction, and on the other hand, send the instruction to the vehicle's infotainment system to trigger it to switch from the first identity to the second identity. Thus, the vehicle's infotainment system and the target mini-program can establish a second communication connection with the new identities.
[0088] This application does not limit the way a user triggers the target mini-program to generate a master-slave device switching command. In some embodiments, the target mini-program's interface may have a voice input area in addition to the first area mentioned above. The user can interact with the voice input area by inputting "switch the identity of the vehicle system and the target mini-program" to trigger the target mini-program to generate a master-slave device switching command. In one example, such as... Figure 3aAs shown, the target mini-program's interface includes a first area 301 and a voice input area 302. The voice input area 302 contains a voice input control 3021. Users can long-press the voice input control 3021 and, while long-pressing, say "switch the identity between the vehicle system and the target mini-program," triggering the target mini-program to generate a master-slave device switching command. In other embodiments, the target mini-program's interface may display an identity switching control (also called a master-slave device switching control). This identity switching control can be located within or outside the first area of the mini-program interface. Users can trigger the target mini-program to generate a master-slave device switching command by touching the identity switching control.
[0089] In cases where the first master-slave device switching command is triggered by the vehicle's infotainment system, in some embodiments, the infotainment system can display its first identity and the target mini-program's second identity in the first communication connection through a second area of its display screen. After viewing the content displayed in the second area of the infotainment system, if the user wishes to switch the identities of the infotainment system and the target mini-program in their communication connection, they can interact with the infotainment system's display screen to trigger the infotainment system to generate a master-slave device switching command, thereby initiating the master-slave switch between the infotainment system and the target mini-program. In these embodiments, after generating the master-slave device switching command, the infotainment system can, on the one hand, respond to the command by switching from the first identity to the second identity; on the other hand, it can send this master-slave device switching command to the target mini-program to trigger the target mini-program to switch from the second identity to the first identity. Subsequently, the infotainment system and the target mini-program can establish a second communication connection with the new identities.
[0090] This application does not limit the way a user triggers the vehicle's infotainment system to generate a master-slave device switching command. In some embodiments, the vehicle's display may have a voice input area in addition to the second area mentioned above. The user can interact with the voice input area by inputting "switch the identity between the vehicle and infotainment systems" to trigger the vehicle's infotainment system to generate a master-slave device switching command. In other embodiments, the vehicle's display may show an identity switching control, which may be located within or outside the second area of the display. The user can trigger the vehicle's infotainment system to generate a master-slave device switching command by touching the identity switching control, such as... Figure 3b As shown, the vehicle's display shows a second area 303 and an identity switching control 304. Users can trigger the vehicle to generate a master-slave device switching command by clicking the identity switching control.
[0091] For example, suppose that in the first communication connection, the master device is the target mini-program, and the slave device is the vehicle's infotainment system. Since the vehicle's infotainment system, as a slave device, cannot connect to other slave devices to achieve multi-device collaboration, the user can further enable the vehicle's infotainment system to interact with the target mini-program when they want the vehicle's infotainment system to connect to other slave devices such as headphones or gamepads, which can trigger a switch between the identities of the vehicle's infotainment system and the target mini-program. In this case, in the second communication connection, the master device is the vehicle's infotainment system, and the slave device is the target mini-program.
[0092] In the first communication connection, the master device is the vehicle's infotainment system, and the slave device is the target mini-program. The target mini-program, as a slave device, has limited control over the vehicle's infotainment system; for example, it cannot project the content displayed on the scanning device's screen onto the vehicle's infotainment system screen. To enhance the master device's control over the vehicle's infotainment system, the user can interact with either the vehicle's infotainment system or the target mini-program, triggering a switch between their roles. In this scenario, in the second communication connection, the master device is the target mini-program, and the slave device is the vehicle's infotainment system.
[0093] It is understandable that after the vehicle-mounted system and the target mini-program complete the master-slave switch, the newly generated control commands for the vehicle-mounted system from the scanning device can be transmitted through a new communication connection between the two, namely the second communication connection. It is worth noting that in this embodiment, the establishment of the second communication connection between the vehicle-mounted system and the target mini-program is imperceptible to the user, thus ensuring the smoothness of vehicle-mounted system control.
[0094] In this way, users can trigger a master-slave switch between the vehicle infotainment system and the target mini-program based on their own usage needs, thereby further improving the flexibility of vehicle infotainment system control.
[0095] The embodiments of this application do not limit the method of establishing the second communication connection.
[0096] In some embodiments, after the mobile phone and the target mini-program determine their new identities, the slave devices of the two can broadcast to each other. After receiving the broadcast, the master device can send a connection request to the slave device to establish a new connection.
[0097] In other embodiments, establishing a second communication connection with the target mini-program using a second identity includes:
[0098] Display the second identification code;
[0099] In response to the second information sent by the target mini-program by scanning the second identification code, a second communication connection is established with the target mini-program using a second identity that matches the second information.
[0100] In these embodiments, similar to the establishment of the first communication connection, the scanning device can trigger the establishment of the second communication connection by scanning the identification code. However, the difference from the establishment of the first communication connection is that, since the master and slave devices in the second communication connection are different from those in the first communication connection, the indication information of the identification code displayed on the vehicle's infotainment system changes.
[0101] To distinguish between the identification code corresponding to the first communication connection and the identification code corresponding to the second communication connection, the identification code corresponding to the first communication connection can be called the first identification code, and the identification code corresponding to the second communication connection can be called the second identification code.
[0102] As can be seen from the foregoing, in some embodiments, the first identification code and the second identification code can be two different pre-set identification codes, wherein the first identification code indicates the first identity information, and the second identification code indicates the scanning device to send the second identity information.
[0103] In other embodiments, the first identification code and the second identification code can be different representations of the same identification code at different times, wherein the first identification code corresponds to the representation of the first identity information indicated by the identification code, and the second identification code corresponds to the representation of the second identity information indicated by the identification code.
[0104] Based on this, the implementation logic for establishing the second communication connection in this embodiment is the same as the implementation logic for establishing the first communication connection. For details, please refer to the aforementioned relevant descriptions, which will not be repeated here.
[0105] Furthermore, the vehicle-mounted system and the target mini-program can respond to a master-slave device switching command and disconnect the previously established first communication connection. This simplifies the connection between the vehicle-mounted system and the target mini-program, thereby improving the control reliability of the vehicle-mounted system. It is worth noting that in this embodiment, the disconnection of the first communication connection and the re-establishment of the second communication connection between the vehicle-mounted system and the target mini-program are imperceptible to the user, thus ensuring the smoothness of vehicle-mounted system control.
[0106] This application does not limit the timing of the vehicle-mounted system displaying the second identification code and disconnecting the first communication connection. In some embodiments, the vehicle-mounted system may disconnect the first connection first and then display the second identification code; in other embodiments, the vehicle-mounted system may not disconnect the first connection first and directly display the second identification code. When connecting via the second identification code, it may directly switch from the first communication connection to the second communication connection, that is, the first communication connection is disconnected only when the second communication connection is established.
[0107] In this embodiment, the scanning device can trigger the establishment of a second communication connection by scanning the identification code displayed on the vehicle through the target mini-program. This ensures the accuracy of the master-slave switching between the vehicle system and the target mini-program, thereby improving the reliability of vehicle system control.
[0108] In this embodiment, after receiving the first information sent by the target mini-program, the vehicle-mounted system can directly establish a communication connection with the target mini-program based on the first information; alternatively, it can establish a communication connection with the target mini-program only under certain conditions, otherwise, it can stop establishing a communication connection with the target mini-program to improve the stability and reliability of vehicle-mounted system control. Stopping the establishment of a communication connection with the target mini-program can be manifested as: not establishing a communication connection with the target mini-program, or abandoning the establishment of a communication connection with the target mini-program.
[0109] In some embodiments of the latter, the first information may also include a request for control of the vehicle system;
[0110] In response to the first information sent by the target mini-program, a first communication connection is established with the target mini-program using a first identity matching the first information, including:
[0111] In response to the first message sent by the target mini-program, obtain the device connection status of the vehicle's infotainment system;
[0112] When the device connection status indicates that the vehicle is not connected to the control device, a first communication connection is established with the target applet using a first identity that matches the first information.
[0113] When the device connection status indicates that the vehicle system is connected to a control device, a control conflict prompt message is sent to the target mini-program; the control conflict prompt message is used to prompt whether to take over control of the vehicle system through the target mini-program.
[0114] In this application embodiment, the control device refers to a device other than the device running the aforementioned target applet. The control device may be a device with control over the vehicle system, etc.
[0115] Furthermore, after sending a control conflict warning message to the target mini-program, the method may also include:
[0116] In response to a control takeover command sent by the target mini-program, a first communication connection is established with the target mini-program using a first identity that matches the first information. Furthermore, the communication connection with the control device can also be disconnected.
[0117] In response to a control relinquishment instruction sent by the target mini-program, or if no feedback is received from the target mini-program regarding a control conflict, maintain the communication connection with the control device and cease establishing a communication connection with the target mini-program.
[0118] In these embodiments, the target app can also request control of the vehicle's infotainment system via a first information request.
[0119] In practical applications, considering scenarios where multiple users are in the vehicle, if multiple users request control of the vehicle's infotainment system through their own devices, and the system simultaneously grants control to multiple devices, command conflicts may occur. Therefore, this embodiment introduces a first-information-triggered on-demand connection scheme (also known as broadcast-triggered on-demand connection). Compared to automatic connection, this scheme enables dynamic resource allocation and ensures that only one electronic device gains control of the system at a time, thus guaranteeing unique control and resolving the multi-device contention problem.
[0120] The first information triggers the on-demand connection scheme, which can be manifested as follows: in response to the received first information, the vehicle system can check its current device connection status to determine whether it is connected to a control device.
[0121] If the vehicle's infotainment system is not currently connected to any control device, it can accept control requests from the target mini-program and establish a first communication connection with the target mini-program based on the first information, making the scanning device the sole control device for the vehicle's infotainment system.
[0122] If the vehicle's infotainment system is already connected to a control device, to avoid control conflicts, the system can send a control conflict warning to the target mini-program. This warning prompts the user to decide whether to allow the target mini-program to take over control of the system, effectively changing the sole control device to the scanning device. Upon receiving the warning, the target mini-program can display it, allowing the user to decide whether to take over control of the system based on their needs.
[0123] In specific implementation, after receiving a control conflict warning, the target mini-program can output the warning to the user through a preset information output method. In some embodiments, the target mini-program can display the vehicle's control conflict warning via a pop-up window on a scanning device, or it can output the warning via voice through a scanning device, or it can display the warning through its own mini-program interface. The content of the control conflict warning output by the target mini-program may include: the vehicle's system is connected to a device with control over it; and / or whether the target mini-program should take over control of the vehicle's system, but it is not limited to these.
[0124] If a user wishes to take over control of the vehicle's infotainment system through a target mini-program, the target mini-program can be triggered to generate a takeover command and send it to the vehicle's infotainment system. This will cause the vehicle's infotainment system to disconnect from the original control device and accept the target mini-program's control request. Based on the first information, the user can establish a communication connection with the target mini-program, making the scanning device the sole control device for the vehicle's infotainment system.
[0125] If the user does not wish to take over control of the vehicle's infotainment system through the target mini-program, the user can trigger the target mini-program to generate a control relinquishment command and send the control relinquishment command to the vehicle's infotainment system. Alternatively, the user can choose not to send any feedback information to the vehicle's infotainment system, so that the vehicle's infotainment system maintains its connection with the original control device, rejects the target mini-program's control request, and terminates the communication connection with the target mini-program.
[0126] In some embodiments, the content of the control conflict prompt message displayed by the target mini-program or scanning device may also include a takeover control and a relinquishment control. Users can trigger the target mini-program to generate a control takeover instruction by touching the takeover control, or trigger the target mini-program to generate a control relinquishment instruction by touching the relinquishment control. Alternatively, users can choose not to interact with the takeover control and the relinquishment control, so that the target mini-program does not send any feedback information to the vehicle system.
[0127] In other embodiments, after the target mini-program outputs a control conflict prompt to the user through a preset information output method, the scanning device can be in a voice monitoring state. If it hears voice information such as takeover or acceptance, it can trigger the target mini-program to generate a control takeover command; if it hears voice information such as non-takeover or relinquishment, it can trigger the target mini-program to generate a control relinquishment command; if it does not hear the aforementioned relevant voice information, the target mini-program may not send any feedback information to the vehicle system.
[0128] Through the above embodiments, the vehicle system can decide whether to accept the target mini-program's control request and whether to establish a communication connection with the target mini-program based on its current control status and the user's needs. This ensures that only one electronic device has control over the vehicle system at any given time, thus ensuring the uniqueness of control rights, solving the problem of multiple devices competing for control, and improving the stability and reliability of vehicle system control.
[0129] The determination of the first identification code will be explained in detail below.
[0130] This application does not limit the method of determining the first identification code. In some embodiments, before displaying the first identification code, the method may further include:
[0131] The first identification code is determined based on the vehicle information and / or identification code indication information of the vehicle system.
[0132] Regarding the method of determining the first identification code based on the identification code indication information, in some implementations, the vehicle-mounted system can autonomously determine the first identification code based on at least one pre-set identification code. Specifically, in the aforementioned embodiment with two identification codes, the vehicle-mounted system can randomly select one identification code as the first identification code; in the aforementioned embodiment with only one identification code, the vehicle-mounted system can randomly determine the indication content corresponding to the first identification code.
[0133] In other implementations, the vehicle infotainment system can determine the first identification code in response to the user's selection based on the identification code indication information. Specifically, the vehicle infotainment system can display all indication information for at least one identification code, and the user can select one of the identification code indication information as the first identification code by consulting each identification code indication information.
[0134] Regarding the method of determining the first identification code based on the vehicle information of the vehicle's infotainment system, in some implementations, the vehicle information may include the device connection status of the vehicle, meaning the vehicle can determine the first identification code based on the device connection status. Specifically, before displaying the identification code, the vehicle can first check whether it has established a communication connection of the target type, and its own identity (also known as role or identity role) within these communication connections, and then determine the first identification code based on these check results. In some embodiments, the first identification code can be determined in the following ways:
[0135] When the device connection status indicates that the vehicle-mounted unit is connected to a slave device as the master device of the target type communication connection, the identification code that instructs the scanning device to send the second identity information will be determined as the first identification code;
[0136] If the device connection status indicates that the master device with the target type of communication connection is not connected to any slave device, the identification code indicating the first identity information will be determined as the first identification code.
[0137] In these embodiments, the device connection status can indicate whether the vehicle-mounted system has established a communication connection of the target type, and the identity of the vehicle-mounted system in these communication connections.
[0138] If the device connection status indicates that the vehicle-mounted unit is connected to a slave device as the master device in a target type communication connection, meaning the vehicle-mounted unit has already established a target type communication connection and is the master device in these communication connections, then the vehicle-mounted unit can display the identification code that instructs the scanning device to send the second identity information as the first identification code. In this way, the first identification code can trigger the vehicle-mounted unit to act as the master device and the scanning device to act as the slave device in the target type communication connection. Since the vehicle-mounted unit also acts as the master in the newly established target type communication connection triggered by the first identification code, it can maintain the connection with the slave device in the previously established target type communication connection, allowing the vehicle-mounted unit to work in multi-device scenarios. This minimizes the impact on the device connections of the vehicle-mounted unit.
[0139] If the device connection status indicates that the vehicle-mounted system, as the master device of the target type communication connection, has no slave device connected (meaning the vehicle-mounted system has already established a target type communication connection and is a slave device within that connection), or if the vehicle-mounted system has not established a target type communication connection, then the vehicle-mounted system can display the identification code indicating the first identity information as the first identification code. This first identification code can trigger the vehicle-mounted system to act as the slave device and the scanning device as the master device in the target type communication connection. Thus, the scanning device, acting as the slave device of the vehicle-mounted system, enhances its control over the vehicle-mounted system. It can be understood that if the device connection status indicates that the vehicle-mounted system has not established a target type communication connection, then after the scanning device establishes a communication connection with the vehicle-mounted system after scanning the first identification code, it can treat the vehicle-mounted system as operating in a single-device scenario.
[0140] Through the above embodiments, the vehicle-mounted system can select and display the first identification code based on its own device connection status. Thus, when the vehicle-mounted system is connected to other slave devices, it can be triggered to continue establishing a communication connection with the scanning device as the master device, minimizing the impact on the vehicle-mounted system's device connections. When the vehicle-mounted system is not connected to other slave devices, it can be triggered to establish a communication connection with the scanning device as a slave device, thereby enhancing the scanning device's control over the vehicle-mounted system. Based on this, the above embodiments can further improve the control flexibility of the vehicle-mounted system.
[0141] Additionally, it should be noted that in other embodiments, if the device connection status indicates that the vehicle-mounted unit is connected to a slave device as the master device of the target type communication connection, the first identification code can also be an identification code indicating the first identity information. In this case, since the identification code indicating the first identity information triggers a target type communication connection between the vehicle-mounted unit as the slave device and the scanning device as the master device, the vehicle-mounted unit can disconnect from other slave devices to avoid connection conflicts and improve communication reliability. Similarly, if the device connection status indicates that the vehicle-mounted unit is not connected to a slave device as the master device of the target type communication connection, the first identification code can also be an identification code indicating that the scanning device sends the second identity information. The specific code can be determined according to actual needs, and this application embodiment does not limit this.
[0142] In the above embodiments, the vehicle can flexibly determine the first identification code displayed based on the vehicle information and / or identification code indication information of the vehicle system, thereby determining the identity of the vehicle system and the target applet in the communication connection. In this way, the flexibility of determining the identity of the vehicle system and the target applet in the communication connection can be improved, thereby improving the control flexibility of the vehicle system.
[0143] It is worth noting that, in the embodiments of this application, the target applet can handle a variety of complex connection scenarios, including situations where the vehicle system is simultaneously connected to the aforementioned control device and the aforementioned communication device (such as a Bluetooth headset).
[0144] When a user attempts to take control of the vehicle's infotainment system via a target mini-program, a control conflict may occur if the system is already connected to a control device. The vehicle's infotainment system can then send a control conflict warning to the target mini-program, indicating whether the user wishes to take control through the target mini-program. During this process, the connection between the vehicle's infotainment system and the communication device remains unaffected; that is, whether the target mini-program takes control or the system maintains its connection to the original control device, the system can still maintain its connection to the communication device.
[0145] However, since the vehicle's infotainment system acts as the master device and the communication device as the slave device during the connection process, if a target app takes over control of the vehicle's infotainment system by establishing a communication connection with it, the vehicle's infotainment system can be controlled to disconnect from the communication device, thus ensuring that the vehicle's infotainment system has a unique identity within the communication connection. If the vehicle's infotainment system maintains its connection with the original control device, it can refuse the target app's request for control, but can still establish a communication connection with the target app as the master device and maintain its connection with the communication device.
[0146] See Figure 4 , Figure 4 This is the second flowchart illustrating the vehicle control method provided in the embodiments of this application. Figure 4The control method of the vehicle-mounted system shown can be applied to a barcode scanning device running the target applet. In specific implementation, the method can be executed by the barcode scanning device, or by a component of the barcode scanning device, such as the processor, chip, or chip system of the barcode scanning device, or by a logic module or software that implements all or part of the functions of the barcode scanning device.
[0147] like Figure 4 As shown, the control method for the vehicle system may include the following steps:
[0148] Step 401: In response to the target mini-program scanning the first identification code displayed on the vehicle's infotainment system, the target mini-program sends first information to the vehicle's infotainment system and establishes a first communication connection with the vehicle's infotainment system using a second identity that matches the first information.
[0149] Step 402: The target control applet sends a first control command to the vehicle system through the first communication connection, so that the vehicle system executes the vehicle system function corresponding to the first control command.
[0150] This application does not limit the method of generating control commands for the vehicle's infotainment system. In some embodiments, a user can interact with a scanning device via voice to trigger the scanning device to generate control commands for the vehicle's infotainment system.
[0151] In other embodiments, before the control target applet sends the first control command to the vehicle system via the first communication connection, the method further includes:
[0152] Displays the mini-program interface of the target mini-program;
[0153] In response to the first input received on the mini-program interface, a first control command is generated.
[0154] In these embodiments, users can interact with the target mini-program's interface to trigger the target mini-program to generate control commands for the vehicle's infotainment system.
[0155] In some embodiments, after establishing a communication connection with the vehicle's infotainment system, the target mini-program can display an input area on its interface. Users can directly input information in the input area to trigger the target mini-program to generate corresponding control commands, such as inputting "increase the volume" to generate a control command to increase the volume of the vehicle's infotainment system.
[0156] In other embodiments, after establishing a communication connection with the vehicle's infotainment system, the target mini-program can display controls on its interface for generating control commands to the vehicle's infotainment system. Users can touch these controls to trigger the target mini-program to generate corresponding control commands. For example, a "volume+" control can be displayed, and users can click this control to trigger the target mini-program to generate a control command to increase the volume of the vehicle's infotainment system.
[0157] In other embodiments, after the target mini-program establishes a communication connection with the vehicle's infotainment system, it can display a voice input control on the mini-program interface. Users can long-press this control and input voice information to trigger the target mini-program to generate corresponding control commands, such as inputting "turn up the volume" to trigger the target mini-program to generate a control command to turn up the volume of the vehicle's infotainment system.
[0158] This can enrich the ways to generate control commands for the vehicle system and further improve the flexibility of vehicle system control.
[0159] In some embodiments, if the first identification code indicates first identity information, the first information is a connection request, and the second identity is the main device identity; the first identity information represents the vehicle information of the vehicle system.
[0160] If the first identification code instructs the scanning device running the target mini-program to send the second identity information, then the first information is the second identity information, and the second identity is the slave device identity; the second identity information represents the device information of the scanning device.
[0161] In some embodiments, the first identity information includes the broadcast address of the vehicle's infotainment system; and / or, the second identity information includes the identification of the scanning device.
[0162] In some embodiments, after establishing a first communication connection with the vehicle system using a second identity matching the first information, the method further includes:
[0163] In response to a second master-slave device switching command, a second communication connection is established with the vehicle system via a target mini-program using the first identity; the first identity and the second identity are different.
[0164] The control target applet sends a second control command to the vehicle system through a second communication connection, so that the vehicle system can execute the vehicle system function corresponding to the second control command.
[0165] The second master-slave device switching command is used to instruct the target mini-program to switch from the second identity to the first identity and establish a communication connection with the vehicle system. The second master-slave device switching command can be triggered by the vehicle system and then sent to the target mini-program, or it can be triggered by the target mini-program itself.
[0166] The implementation logic for the second master-slave device switching command being triggered by the vehicle's infotainment system and then sent to the target mini-program is the same as that for the first master-slave device switching command being triggered by the vehicle's infotainment system. For details, please refer to the relevant descriptions above, which will not be repeated here.
[0167] The implementation logic for the second master-slave device switching command being triggered by the target mini-program is the same as that for the first master-slave device switching command being triggered by the target mini-program and then sent to the vehicle system by the target mini-program. For details, please refer to the relevant description above, which will not be repeated here.
[0168] In some embodiments, before the control target applet sends the second control command to the vehicle system via the second communication connection, the method further includes:
[0169] Display the interactive interface of the target mini-program;
[0170] In response to the received second input to the interactive interface, a second control command is generated.
[0171] It should be noted that the method of obtaining the second control command can be the same as that of obtaining the first control command. For details, please refer to the relevant description above, which will not be repeated here.
[0172] In some embodiments, a second communication connection is established between a target mini-program and the vehicle's infotainment system using a first identity; including:
[0173] Disconnect the first communication connection;
[0174] In response to the target mini-program scanning the second identification code displayed on the vehicle's infotainment system, the target mini-program sends second information to the vehicle's infotainment system and establishes a second communication connection with the vehicle's infotainment system using a first identity that matches the second information.
[0175] In some embodiments, the first information may also include a request for control of the vehicle's infotainment system;
[0176] Establishing a first communication connection with the vehicle system using a second identity that matches the first information, including any of the following:
[0177] When the vehicle infotainment system is not connected to the control device, a first communication connection is established with the vehicle infotainment system using a second identity that matches the first information; the control device has control over the vehicle infotainment system.
[0178] When the vehicle's infotainment system is connected to a control device, it receives a control conflict warning message from the vehicle's infotainment system. The control conflict warning message is used to prompt whether to take over control of the vehicle's infotainment system through the target mini-program.
[0179] In some embodiments, after receiving a control conflict warning message sent by the vehicle's infotainment system, the method further includes:
[0180] Display a control conflict warning message;
[0181] In response to the received input for takeover of control of the vehicle system, a takeover command is sent to the vehicle system to establish a first communication connection with the vehicle system using a second identity that matches the first information.
[0182] It should be noted that, Figure 4 Method embodiments as a comparison with Figure 2The embodiments of the scanning devices corresponding to the method embodiments are described above. Therefore, the relevant descriptions in the method embodiments can be referred to, and the same beneficial effects can be achieved. To avoid repetition, they will not be repeated here.
[0183] This application also provides a vehicle infotainment system control system, including at least a vehicle infotainment system and a scanning device running a target mini-program. The vehicle infotainment system and the scanning device interact as follows: the vehicle infotainment system displays a first identification code; the scanning device, in response to the target mini-program scanning the first identification code displayed on the vehicle infotainment system, sends first information to the vehicle infotainment system through the target mini-program; the vehicle infotainment system, in response to the first information, establishes a first communication connection with the target mini-program; in the first communication connection, the vehicle infotainment system has a first identity, and the scanning device has a second identity, the first identity and the second identity being different; the scanning device controls the target mini-program to control the vehicle infotainment system to perform vehicle infotainment functions through the first communication connection. The execution actions of each component in the vehicle infotainment system control system can be found in the relevant descriptions in the above method embodiments, and the same beneficial effects can be achieved. To avoid repetition, further details are omitted here.
[0184] The various embodiments described in this application can be combined with each other or implemented individually without conflict, and this application does not limit the scope of the embodiments.
[0185] For ease of understanding, a specific embodiment will be used as an example:
[0186] refer to Figure 5 In this specific embodiment, the target mini-program is simply referred to as the mini-program, the scanning device is a mobile phone, and the communication connection between the mini-program and the vehicle system is a Bluetooth connection, as illustrated below.
[0187] In this specific embodiment, such as Figure 5 As shown, the vehicle's control system may include: a mini-program terminal S01, a mobile phone Bluetooth module S02, a vehicle terminal S03, and other slave devices S04. The mini-program terminal S01 is the target mini-program running on the aforementioned scanning device, the mobile phone Bluetooth module S02 is the communication module of the scanning device, the vehicle terminal S03 is the aforementioned vehicle terminal, and the other slave devices S04 are the aforementioned communication devices.
[0188] The mini-program terminal S01, the vehicle-mounted terminal S03, and other slave devices S04 can connect and cooperate via the Bluetooth Low Energy (BLE) protocol to achieve convenient control of vehicle-mounted functions. Furthermore, the mini-program terminal S01 may include a user interface S011 (i.e., the aforementioned mini-program interface), a Bluetooth broadcast module S012, and a command generation module S013; the vehicle-mounted terminal S03 may include a Bluetooth receiving module S031, a command parsing module S032, and a function execution module S033.
[0189] Mini Program S01: As the mini program user module, it establishes a master-slave connection with the vehicle system through the Bluetooth broadcast module S012. The user interacts with the user interface S011, and the instruction generation module S013 is responsible for generating concise control instructions based on the user's operation, such as volume adjustment, play / pause, etc.
[0190] Mobile Bluetooth module S02: As the hardware support for the mini-program, it is responsible for sending the instructions generated by the mini-program to the vehicle's infotainment system via Bluetooth signal.
[0191] Vehicle-mounted device S03: Can act as a master or slave device, receiving commands from the mini-program via Bluetooth receiver module S031. Command parsing module S032 parses the commands, and function execution module S033 executes the corresponding vehicle-mounted device functions according to the parsed commands.
[0192] Other slave devices S04: When multiple devices need to be connected to the vehicle's infotainment system, such as game controllers and Bluetooth headsets, they can be connected via the Bluetooth BLE protocol and will work normally.
[0193] Figure 5 The vehicle control system shown in the diagram, through master-slave connection and cooperation, enables the mini-program to send control commands in single-device and multi-device scenarios, avoiding conflicts in multi-device scenarios. At the same time, it utilizes the low-power characteristics of the Bluetooth BLE protocol to ensure real-time control and low power consumption.
[0194] The working principle is described as follows:
[0195] Mini Program version:
[0196] Users scan a code through the user interface S011 to discover the vehicle's broadcast address. After connecting, the command generation module S013 generates simple control commands, such as volume adjustment and play / pause, which are then sent out through the mobile phone's Bluetooth module S02 to interact with the vehicle's terminal S03.
[0197] When a user wants to connect the vehicle's infotainment system to multiple other devices, they can switch to multi-device connection mode by operating the user interface S011 again. Then, the mini-program sends a broadcast command, the vehicle's infotainment system S03 switches to the master and establishes a connection, and the command generation module S013 generates a concise control command through the user's operation, which is then sent out via the mobile phone's Bluetooth module S02.
[0198] When mobile phone A scans the vehicle terminal S03 to request control, the vehicle terminal checks the current status (i.e., checks the device connection status of the vehicle terminal).
[0199] If there is no control device currently: the vehicle's infotainment system will actively connect to mobile phone A and grant control.
[0200] If a control device (such as mobile phone B) already exists: the vehicle system sends a control conflict prompt to mobile phone A via a mini-program (such as "The screen is already occupied, do you want to take over control?").
[0201] When the user selects "Take Over": The vehicle's infotainment system automatically disconnects from phone B and establishes a new connection with phone A, transferring control. Phone B receives a disconnect notification, recognizes that the infotainment system has been disconnected, and relinquishes its control.
[0202] The user selects "Cancel": The vehicle's infotainment system maintains its connection with phone B, ignoring requests from phone A. Phone A then notifies the user that control has been revoked.
[0203] In-vehicle infotainment system:
[0204] The receiving module S031 sends a default notification to the mini-program regarding the vehicle's infotainment system address. The mini-program scans the vehicle's infotainment system to identify the address and establishes a connection, receiving instructions from the mini-program. The function execution module S033 executes the corresponding vehicle's infotainment system functions based on the parsed instructions, such as adjusting the volume or playing / pausing music.
[0205] If a multi-device information switching instruction is received, the vehicle's infotainment system switches to the main device to search for broadcasts from the mini-program. Once found, a connection is established, and the system continues to receive instructions from the mini-program to execute the corresponding vehicle functions.
[0206] Other devices:
[0207] The mini-program sends commands in a master-slave switching mode to establish a connection with the vehicle's infotainment system. When the vehicle's infotainment system acts as the master device and receives commands, other slave devices (S04) operate normally, unaffected by broadcast commands from the mini-program. When the mini-program is triggered to switch to a single-device application, the vehicle's infotainment system notifies other devices that the mode has been switched and disconnects, thus achieving compatibility in single-device and multi-device scenarios. For further understanding, please refer to [link / reference]. Figure 6 The control method for the vehicle system may include the following steps:
[0208] [N001] Single device scenario - The user enters the mini-program remote control page (i.e., user interface S011) by scanning the QR code in the application.
[0209] [N002] Single device scenario - The vehicle-mounted system displays the QR code that the mini-program should scan (corresponding to the identification code of the aforementioned broadcast address).
[0210] [N003] Single device scenario - Mini program and vehicle system connection.
[0211] [N004] Single device scenario - vehicle terminal receives control signaling.
[0212] [N005] Single device scenario - The main control module executes the vehicle system functions corresponding to the control commands, such as volume adjustment, navigation control, air conditioning adjustment, etc.
[0213] [N006] Multi-device scenario - Trigger the switching of the mini-program from the master device to the slave device and notify the vehicle system.
[0214] In this step, the master-slave switch is triggered via the "master-slave device switch control".
[0215] [N007] Multi-device scenario - After receiving a notification (corresponding to the aforementioned master-slave device switching instruction), the vehicle system switches to the master device to display the QR code (corresponding to the aforementioned instruction to the scanning device to send the identification code of the second identity information).
[0216] [N008] Multi-device scenario - Other slave devices connect to the vehicle system.
[0217] [N009] Multi-device scenario - Determine whether the vehicle system is connected to other control devices, and trigger on-demand connection according to the first information.
[0218] [N010] Multi-device scenario - Determine whether the current mini-program should continue to connect.
[0219] [N011] Multi-device scenario - If the current mini-program does not need to continue connecting, then end.
[0220] If the current mini-program chooses to continue the connection, then the connection will be established.
[0221] In some embodiments, Wi-Fi can be used instead of Bluetooth: Wi-Fi's group management features (such as GroupOwner) can be used to switch roles, but this consumes more power. Alternatively, NFC touch-triggered connection can be used: a connection is established when the device is brought close to the vehicle's NFC area, sacrificing flexibility for security.
[0222] Based on the vehicle control method provided in the above embodiments, this application also provides specific implementations of the vehicle control device. Please refer to the following embodiments.
[0223] See Figure 7 The vehicle control device provided in this application embodiment may include:
[0224] Display module 701 is used to display the first identification code;
[0225] The first establishment module 702 is used to establish a first communication connection with the target mini-program in response to the first information sent by the target mini-program scanning the first identification code;
[0226] The execution module 703 is used to receive the first control command to the vehicle system sent by the target applet through the first communication connection, and to execute the first vehicle system function corresponding to the first control command.
[0227] The vehicle control device provided in this application embodiment can achieve... Figure 2 To avoid repetition, the various processes in the method implementation examples will not be described again here.
[0228] See Figure 8 The vehicle control device provided in this application embodiment may include:
[0229] The second establishment module 801 is used to respond to the target mini-program scanning the first identification code displayed on the vehicle system, send the first information to the vehicle system through the target mini-program, and establish a first communication connection with the vehicle system with a second identity matching the information;
[0230] The control module 802 is used to control the target applet to send a first control command to the vehicle system through the first communication connection, so that the vehicle system can execute the vehicle system function corresponding to the first control command.
[0231] The vehicle control device provided in this application embodiment can achieve... Figure 4 To avoid repetition, the various processes in the method implementation examples will not be described again here.
[0232] Figure 9 A schematic diagram of the hardware structure of the vehicle control device provided in an embodiment of this application is shown.
[0233] The vehicle's control equipment may include a processor 901 and a memory 902 storing computer program instructions.
[0234] Specifically, the processor 901 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0235] Memory 902 may include mass storage for data or instructions. For example, and not limitingly, memory 902 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 902 may include removable or non-removable (or fixed) media. Where appropriate, memory 902 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 902 is non-volatile solid-state memory.
[0236] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this disclosure.
[0237] The processor 901 reads and executes computer program instructions stored in the memory 902 to implement any of the vehicle control methods described in the above embodiments.
[0238] In some embodiments, the control device for the vehicle infotainment system can be a vehicle infotainment system or a vehicle. In these embodiments, the processor 901 implements the above by reading and executing computer program instructions stored in the memory 902. Figure 2 Any vehicle control method in the method embodiments.
[0239] In other embodiments, the vehicle's control device can be a barcode scanner. In these embodiments, the processor 901 implements the above by reading and executing computer program instructions stored in the memory 902. Figure 4 Any vehicle control method in the method embodiments.
[0240] In one example, the vehicle's control equipment may also include a communication interface 909 and a bus 910. For example, Figure 9 As shown, the processor 901, memory 902, and communication interface 909 are connected through bus 910 and complete communication with each other.
[0241] The communication interface 909 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0242] Bus 910 includes hardware, software, or both, that couples the components of the vehicle's control equipment together. This is an example, not a limitation.
[0243] The bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 910 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.
[0244] Furthermore, in conjunction with the vehicle control method described in the above embodiments, this application embodiment can provide a computer storage medium for implementation. This computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the vehicle control methods described in the above embodiments.
[0245] In conjunction with the vehicle control methods described in the above embodiments, this application can provide a computer program product for implementation. When the instructions in this computer program product are executed by the processor of the vehicle control device, the control device performs any of the vehicle control methods described in the above embodiments.
[0246] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0247] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM, floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0248] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0249] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0250] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A control method for a vehicle infotainment system, characterized in that, The method includes: Display the first identification code; In response to the first information sent by the target mini-program after scanning the first identification code, a first communication connection is established with the target mini-program using a first identity that matches the first information; The system receives a first control command sent by the target mini-program through the first communication connection and executes the vehicle system function corresponding to the first control command.
2. The method according to claim 1, characterized in that, If the first identification code indicates first identity information, then the first identity is the slave device identity; the first identity information represents the vehicle information of the vehicle system; if the first identification code indicates that the scanning device running the target mini-program sends second identity information, then the first identity is the master device identity; the second identity information represents the device information of the scanning device. and / or After establishing a first communication connection with the target mini-program using a first identity matching the first information, the method further includes: in response to a first master-slave device switching instruction, establishing a second communication connection with the target mini-program using a second identity; the second identity is different from the first identity; receiving a second control instruction sent by the target mini-program through the second communication connection, and executing the vehicle system function corresponding to the second control instruction; and / or Before displaying the first identification code, the method further includes: determining the first identification code based on the vehicle information and / or identification code indication information of the vehicle system.
3. The method according to claim 2, characterized in that, The step of establishing a second communication connection with the target mini-program using a second identity includes: Display the second identification code; In response to the second information sent by the target mini-program after scanning the second identification code, a second communication connection is established with the target mini-program using a second identity that matches the second information.
4. The method according to claim 1, characterized in that, The first information includes a request for control of the vehicle's infotainment system; The step of responding to the first information sent by the target mini-program and establishing a first communication connection with the target mini-program using a first identity matching the first information includes: In response to the first message sent by the target mini-program, the device connection status of the vehicle system is obtained; When the device connection status indicates that the vehicle system is not connected to the control device, a first communication connection is established with the target applet using a first identity that matches the first information; When the device connection status indicates that the vehicle system is connected to a control device, a control conflict prompt message is sent to the target mini-program; the control conflict prompt message is used to prompt whether to take over control of the vehicle system through the target mini-program. The control device includes devices other than the scanning device that runs the target mini-program.
5. The method according to claim 4, characterized in that, After sending the control conflict warning message to the target mini-program, the method further includes: In response to a control takeover command sent by the target mini-program, a first communication connection is established with the target mini-program using a first identity that matches the first information.
6. A control method for a vehicle infotainment system, characterized in that, The method includes: In response to the target mini-program scanning the first identification code displayed on the vehicle's infotainment system, the target mini-program sends first information to the vehicle's infotainment system and establishes a first communication connection with the vehicle's infotainment system using a second identity that matches the first information; The target mini-program is controlled to send a first control command to the vehicle system through the first communication connection, so that the vehicle system executes the vehicle system function corresponding to the first control command.
7. The method according to claim 6, characterized in that, If the first identification code indicates first identity information, the first information is a connection request, the second identity is the master device identity, and the first identity information represents the vehicle information of the vehicle system; if the first identification code indicates that the scanning device running the target mini-program sends second identity information, then the first information is the second identity information, the second identity is the slave device identity, and the second identity information represents the device information of the scanning device. and / or After establishing a first communication connection with the vehicle system using a second identity matching the first information, the method further includes: in response to a second master-slave device switching instruction, establishing a second communication connection with the vehicle system using the first identity through the target applet; the first identity is different from the second identity; controlling the target applet to send a second control instruction to the vehicle system through the second communication connection, so that the vehicle system executes the vehicle system function corresponding to the second control instruction; and / or The first information also includes a request for control of the vehicle-mounted system; establishing a first communication connection with the vehicle-mounted system using a second identity matching the first information includes any of the following: establishing a first communication connection with the vehicle-mounted system using a second identity matching the first information when the vehicle-mounted system is not connected to a control device; the control device having control over the vehicle-mounted system; receiving a control conflict warning message sent by the vehicle-mounted system when the vehicle-mounted system is connected to a control device; the control conflict warning message being used to prompt whether to take over control of the vehicle-mounted system through the target mini-program; wherein, the control device is a device other than the scanning device running the target mini-program.
8. The method according to claim 7, characterized in that, The step of establishing a second communication connection with the vehicle system through the target mini-program using a first identity includes: In response to the target mini-program scanning the second identification code displayed on the vehicle's infotainment system, the target mini-program sends second information to the vehicle's infotainment system and establishes a second communication connection with the vehicle's infotainment system using a first identity that matches the second information.
9. The method according to claim 7, characterized in that, After receiving the control conflict warning information sent by the vehicle system, the method further includes: The control conflict warning message is displayed through the target mini-program; In response to the input for taking over control of the vehicle system triggered by the target applet, a control takeover command is sent to the vehicle system to establish a first communication connection with the vehicle system using a second identity that matches the first information.
10. The method according to any one of claims 2 or 7-9, characterized in that, The first identity information includes the broadcast address of the vehicle's infotainment system; and / or, the second identity information includes the identity identifier of the scanning device running the target mini-program.
11. A control system for a vehicle infotainment system, characterized in that, It includes at least an in-vehicle infotainment system and a scanning device running the target mini-program, wherein the in-vehicle infotainment system and the scanning device interact as follows: The vehicle's infotainment system displays the first identification code; The scanning device responds to the target mini-program scanning the first identification code displayed on the vehicle's infotainment system and sends the first information to the vehicle's infotainment system through the target mini-program; The vehicle-mounted system establishes a first communication connection with the target mini-program in response to the first information; in the first communication connection, the vehicle-mounted system is a first identity, and the scanning device is a second identity, and the first identity and the second identity are different; The scanning device controls the target mini-program to control the vehicle's infotainment system to perform vehicle functions through the first communication connection.
12. A vehicle control device, characterized in that, The device includes: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the vehicle control method as described in any one of claims 1-5, 6-9, or 10.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the vehicle control method as described in any one of claims 1-5, 6-9, or 10.