Method, electronic device and storage medium for controlling an intelligent cockpit
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FUZHOU ROCKCHIP SEMICON
- Filing Date
- 2024-01-25
- Publication Date
- 2026-08-07
AI Technical Summary
[0002]随着汽车智能化的发展,车机系统智能化和网联化已经成为汽车当前重点研发的方向,智能座舱系统作为人机交互的主要入口,也从原本的单一用户控制逐渐发展为多用户控制,但目前的智能座舱系统多用户控制只能实现背光和音区单独控制等简单功能
[0007]根据本发明的技术方案,当一个虚拟终端上启动应用后,可通过应用标识查找到该虚拟终端对应的目标终端标识,而后基于目标终端标识在设备配置数据中查找该虚拟终端所配置的设备情况,即关联设备集合。当应用发送控制指令后,在该虚拟终端所配置的关联设备集合中确定目标设备标识从而执行指令。以此方式,使得系统能够确定当前是哪个虚拟终端在操作应用,然后再调用该虚拟终端所配置的实体设备去执行该应用的控制指令,由此每个用户可通过虚拟终端独立控制相应的设备,即使每个虚拟终端打开相同应用时,系统也能够准确识别不同用户的控制指令,每个用户之间不会相互影响。且无需增加主控芯片数量便能够实现多用户独立控制相应的外设终端,有效降低智能座舱系统的开发难度和硬件成本。
Smart Images

Figure CN118131671B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart cockpit technology, and in particular to methods, electronic devices, and storage media for controlling smart cockpits. Background Technology
[0002] With the development of automotive intelligence, the intelligentization and connectivity of vehicle infotainment systems have become key research and development directions in the automotive industry. As the main entry point for human-machine interaction, intelligent cockpit systems have gradually evolved from single-user control to multi-user control. However, current multi-user control in intelligent cockpit systems can only achieve simple functions such as individual control of backlight and audio zones. To enable independent control of corresponding peripheral terminals by multiple users, a corresponding number of main control chips need to be added to the intelligent cockpit system. This approach results in excessively high development complexity and hardware costs for intelligent cockpit systems. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a method, electronic device and storage medium for controlling a smart cockpit, which enables multiple users to independently control corresponding peripheral terminals through a single main control chip, thereby reducing the development difficulty and hardware cost of the smart cockpit system.
[0004] In one aspect of the present invention, a method for controlling a smart cockpit is provided. The method includes: acquiring virtual terminal data, the virtual terminal data including terminal identifiers of each virtual terminal of the smart cockpit; in response to the launch of an application, searching for a target terminal identifier in the virtual terminal data that matches an application identifier of the application; searching for associated device identifiers in preset device configuration data based on the target terminal identifier to obtain an associated device set; and in response to a control command sent by the application, determining a target device identifier in the associated device set based on the control command, and controlling a physical device corresponding to the target device identifier to perform an operation associated with the control command.
[0005] In another aspect of the invention, an electronic device is provided. The electronic device includes a memory configured to store a computer program; and a processor configured to execute the computer program to perform the described method for controlling a smart cockpit.
[0006] In another aspect of the invention, a computer-readable medium is provided. This medium stores a computer program that is executed by a processor to implement the above-described method for controlling a smart cockpit.
[0007] According to the technical solution of the present invention, when an application is launched on a virtual terminal, the target terminal identifier corresponding to the virtual terminal can be found through the application identifier. Then, based on the target terminal identifier, the device information configured for the virtual terminal, i.e., the associated device set, is searched in the device configuration data. When the application sends a control command, the target device identifier is determined from the associated device set configured for the virtual terminal, and the command is executed. In this way, the system can determine which virtual terminal is currently operating the application, and then call the physical device configured for that virtual terminal to execute the application's control command. Thus, each user can independently control the corresponding device through the virtual terminal. Even if each virtual terminal opens the same application, the system can accurately identify the control commands of different users, and each user will not affect each other. Moreover, it can realize independent control of corresponding peripheral terminals by multiple users without increasing the number of main control chips, effectively reducing the development difficulty and hardware cost of the intelligent cockpit system. Attached Figure Description
[0008] Figure 1 A flowchart illustrating a method for controlling a smart cockpit according to an embodiment of the present invention;
[0009] Figure 2 A flowchart illustrating another method for controlling a smart cockpit according to an embodiment of the present invention;
[0010] Figure 3 This is a schematic diagram of a device configuration strategy according to an embodiment of the present invention;
[0011] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0012] To explain in detail the technical content, objectives, and effects of the present invention, the following description is provided in conjunction with the embodiments and accompanying drawings.
[0013] In existing technologies, with the development of automotive intelligence, the intelligentization and connectivity of vehicle infotainment systems have become key research and development directions for the automotive industry. As the main entry point for human-machine interaction, intelligent cockpit systems have gradually evolved from single-user control to multi-user control. However, current intelligent cockpit systems only offer simple functions such as individual control of backlight and audio zones. To enable independent control of peripheral terminals by multiple users, a corresponding number of main control chips need to be added to the intelligent cockpit system. This approach results in excessive development complexity and high hardware costs for intelligent cockpit systems. In other words, existing intelligent cockpit systems cannot achieve independent control of different terminals by multiple users using a single main control chip.
[0014] To address at least the aforementioned technical problems, this disclosure provides a method for controlling a smart cockpit. According to this disclosure, when an application is launched on a virtual terminal, the target terminal identifier corresponding to the virtual terminal can be found through the application identifier. Then, based on the target terminal identifier, the device information configured for the virtual terminal, i.e., the associated device set, is searched in the device configuration data. When the application sends a control command, the target device identifier is determined from the associated device set configured on the virtual terminal, and the command is executed. In this way, according to the embodiments of this disclosure, it is possible to determine which virtual terminal is currently operating the application, and then call the physical device configured on that virtual terminal to execute the application's control command. Thus, each user can independently control the corresponding device through a virtual terminal. Even if each virtual terminal opens the same application, the system can accurately identify the control commands of different users, and each user will not interfere with each other. Furthermore, multi-user independent control of corresponding peripheral terminals can be achieved without increasing the number of main control chips, effectively reducing the development difficulty and hardware cost of the smart cockpit system. In addition, multi-user interaction can be performed between the master terminal and slave terminals through control commands.
[0015] In the following, the technical solutions according to this disclosure will be described with reference to specific embodiments and in conjunction with the accompanying drawings.
[0016] Figure 1 This is a flowchart illustrating a method 100 for controlling a smart cockpit according to an embodiment of the present disclosure. (Refer to...) Figure 1 The method 100 includes the following steps 102 to 108.
[0017] In step 102, virtual terminal data is obtained, which includes the terminal identifiers of each virtual terminal in the smart cockpit.
[0018] In step 104, in response to the launch of the application, the target terminal identifier that matches the application identifier of the application is searched in the virtual terminal data.
[0019] In step 106, the associated device identifier is searched in the preset device configuration data according to the target terminal identifier to obtain the associated device set.
[0020] In step 108, in response to the control command sent by the application, the target device identifier in the associated device set is determined according to the control command, and the entity device corresponding to the target device identifier is controlled to perform the operation associated with the control command.
[0021] In some embodiments, controlling the physical device corresponding to the target device identifier to perform the operation associated with the control command includes: controlling the first device corresponding to the first target device identifier to perform the first operation associated with the first control command, and simultaneously controlling the second device corresponding to the second target device identifier to perform the second operation associated with the second control command. In this way, applications on different virtual terminals can independently control different devices to perform operations, and the control commands of each user will not affect each other.
[0022] In some embodiments, controlling the physical device corresponding to the target device identifier to perform operations associated with the control command includes controlling the master device and slave device corresponding to the target device identifier to interactively perform information exchange operations associated with the control command. In this way, users of different virtual terminals can perform multi-user interaction through control commands, thereby expanding the application scenarios of the smart cockpit.
[0023] In some embodiments, the method may further include: if an access signal from the master control device is detected, obtaining the device information of the master control device, creating a new virtual terminal based on the device information, configuring a new terminal identifier for the new virtual terminal, and updating the virtual terminal data and device configuration data based on the new terminal identifier. In this way, when the master control device is accessed, the system automatically creates a corresponding virtual terminal and configures the corresponding terminal identifier. Simultaneously, by updating the device configuration data, the system assigns the corresponding device to the currently created virtual terminal, thereby assigning each device in the intelligent cockpit system to the corresponding virtual terminal for independent control. The number of users can be increased simply by accessing the corresponding master control device; the device configuration process is highly flexible and requires no additional chips, reducing the difficulty of system development.
[0024] In some embodiments, updating virtual terminal data and device configuration data based on a new terminal identifier includes: acquiring virtual terminal data and device configuration data; determining an idle device identifier in the device configuration data based on the virtual terminal data; associating the idle device identifier with the new terminal identifier according to a preset device configuration strategy to obtain a new associated device identifier; adding the new terminal identifier to the virtual terminal data; and updating the device configuration data based on the new associated device identifier. In this way, new virtual terminals are associated and bound one-to-one with corresponding idle devices, thereby avoiding control errors caused by different virtual terminals associating and controlling the same device, and ensuring the independence and uniqueness of the control process.
[0025] In some embodiments, the method may further include: if a configuration instruction sent by an application is received, determining the user attribute of the virtual terminal corresponding to the application based on the target terminal identifier; if the user attribute is a primary user, updating the device configuration data according to the configuration instruction; if the user attribute is a secondary user, prohibiting the updating of the device configuration data and returning a configuration failure message. In this way, user operation permissions are restricted, preventing system crashes and anomalies caused by multiple users tampering with the device configuration, and improving the security of system control.
[0026] In some embodiments, the method may further include: if an interrupt signal of the master control device is detected, storing the virtual terminal data and device configuration data in the history of the master control device; deleting the new terminal identifier in the virtual terminal data and the new associated device identifier in the device configuration data, and clearing the new virtual terminal. In this way, after an interruption of the master control device, the current virtual terminal data and device configuration data are stored in the history, avoiding configuration failures due to unexpected situations with the master control device, simplifying the reconnection process of the master control device, and improving connection efficiency.
[0027] In some embodiments, the method may further include: if the access signal of the master control device is detected again, restoring the new virtual terminal and updating the virtual terminal data and device configuration data according to historical records. This achieves hot-swapping functionality of the master control device. When the master control device of the intelligent cockpit system is disconnected and reconnected due to vibration or other reasons, the previously corresponding device configuration can be automatically restored, avoiding errors and improving the system's fault tolerance.
[0028] In some embodiments, the method may further include: if an access signal from a storage device is detected, searching for the associated device identifier corresponding to the storage device in the device configuration data; associating the associated device identifier corresponding to the storage device with each terminal identifier in the virtual terminal data to obtain a shared device identifier; and updating the device configuration data according to the shared device identifier. In this way, the storage device is set as a shared device, meaning that all virtual terminals in the virtual terminal data can access the data content in the storage device, avoiding the problem of needing to input the same data content through different storage devices, effectively reducing the number of device accesses in the system and lowering the system's hardware costs.
[0029] In some embodiments, the method may further include: if download data for a new application is detected, configuring a new application identifier for the new application based on the download data, and obtaining the terminal identifier of the virtual terminal that downloaded the new application; establishing a mapping relationship between the new application identifier and the terminal identifier to obtain application configuration data; and storing the application configuration data in virtual terminal data. In this way, applications downloaded by different virtual terminals are recorded, allowing different virtual terminals to independently open the same application without affecting each other, thus achieving independent use and control by multiple users.
[0030] Figure 2 This is a flowchart illustrating a method 200 for controlling a smart cockpit according to an embodiment of the present invention. (Refer to...) Figure 2 The method 200 includes the following steps 202 to 208.
[0031] In step 202, in response to the launch of application A, the target terminal identifier BID corresponding to application A is found in the virtual terminal data based on the application identifier AID of application A.
[0032] In some embodiments, the intelligent cockpit system of the present invention is developed based on the target main control chip. Since each user needs to consume independent system resources, the maximum number of virtual terminals corresponding to each intelligent cockpit system is up to six, combining the maximum computing power of the target main control chip's CPU (Central Processing Unit) and GPU (Graphics Processing Unit).
[0033] In some embodiments, the main control device includes a touch screen display, and the device information includes a device identifier. When the system connects to the touch screen display, it obtains the device identifier of the touch screen display, creates a virtual terminal based on the device identifier, and configures the terminal identifier of the virtual terminal to achieve binding between the device identifier of the touch screen display and the terminal identifier of the virtual terminal. In other words, the intelligent cockpit system manages and controls each touch screen display independently by virtualizing it into a terminal and assigning a unique terminal identifier to each terminal.
[0034] In some embodiments, since the terminal identifier of the virtual terminal is configured based on the device information of the main control device, there is a one-to-one correspondence between the main control device and the virtual terminal. The number of accesses of the main control device is the same as the number of virtual terminals. That is, the number of main control devices is used to represent the number of users currently using the smart cockpit system.
[0035] In some embodiments, existing smart cockpit systems do not support hot-swapping of the main control device. The corresponding virtual terminal can only be recognized if the main control device is connected before the system boots up. When vibration causes the main control device to disconnect, and it reconnects, the virtual terminal cannot be restored; only a system restart can restore it, resulting in low connection efficiency. In this invention, if the same main control device is connected multiple times to the same interface, the terminal identifier of the virtual terminal corresponding to that main control device remains unchanged. In this way, when the main control device disconnects, the system considers the user's virtual terminal removed and clears it, thus releasing the physical device bound to the virtual terminal. When the same main control device is connected to the same interface again, the user is prompted that the virtual terminal belongs to the main user: "A virtual terminal recovery has been detected. Do you want to restore the previous configuration of the virtual terminal?" If the virtual terminal belongs to the main user returns a response command, the history is restored; otherwise, the history is not restored.
[0036] In step 204, based on the target terminal identifier BID, all associated device identifiers CID bound to the virtual terminal B are found in the device configuration data to obtain the associated device set C.
[0037] In some embodiments, physical devices in a smart cockpit system include speakers, microphones, cameras, and peripherals.
[0038] In some embodiments, the intelligent cockpit system includes 16 speakers and 8 microphones (MICs). There are 4 master control devices, resulting in 4 independent virtual terminals created by the intelligent cockpit system. The specific device configuration strategy is as follows: For virtual terminals with the user attribute of a master user, 10 speakers and 4 microphones are configured. For virtual terminals with the user attribute of a slave user, the configuration is based on the slave user's level. For example, a virtual terminal with a level 1 slave user can be configured with 2 speakers and 2 microphones; while a virtual terminal with a level 2 slave user can be configured with 2 speakers and 1 microphone. This method achieves reasonable allocation and flexible management of physical device resources. Under this device configuration strategy, the associated device set C corresponding to the virtual terminals with the user attribute of a master user is the device identifier for the 10 speakers and 4 microphones.
[0039] In some embodiments, a virtual terminal with user attributes of a primary user can update a preset device configuration policy. For example, a virtual terminal with user attributes of a primary user can configure two of its ten speakers to a virtual terminal with user attributes of level one. Virtual terminals with user attributes of secondary users are prohibited from performing operations such as factory reset and user deletion.
[0040] In some embodiments, a virtual terminal with the user attribute of the primary user represents the virtual terminal corresponding to the driver's seat in the smart cockpit system. A virtual terminal with the user attribute of the secondary user and a level of one represents the virtual terminal corresponding to the front passenger seat in the smart cockpit system. A virtual terminal with the user attribute of the secondary user and a level of two represents the virtual terminals corresponding to other passenger seats in the smart cockpit system.
[0041] Figure 3 This is a schematic diagram illustrating the equipment configuration strategy in an intelligent cockpit system. (Refer to...) Figure 3 The intelligent cockpit system includes 6 touchscreen displays, 14 speakers, 4 cameras, 9 microphones (MICs), and 6 game controllers. The system creates 6 independent virtual terminals with the following device configurations: Virtual Terminal 1 has 4 cameras, 4 speakers, 3 microphones (MICs), and 1 game controller. Virtual Terminal 2 has 1 camera, 2 speakers, 2 microphones (MICs), and 1 game controller. Virtual Terminal 3 has 2 speakers, 1 microphone (MIC), and 1 game controller. Virtual Terminal 4 has 2 speakers, 1 microphone (MIC), and 1 game controller. Virtual Terminal 5 has 1 speaker, 1 microphone (MIC), and 1 game controller. Virtual Terminal 6 has 2 speakers, 1 microphone (MIC), and 1 game controller. Each virtual terminal has a corresponding number of peripheral interfaces, which are used to connect corresponding peripherals to control the system without interfering with each other. For example, each of the six virtual terminals is connected to its own game controller, so even if the six virtual terminals open the same game at the same time, they can still perform independent game operations.
[0042] In some embodiments, the peripheral interface (e.g., USB port or Type-C port) connected to each virtual terminal is independently identified and controlled; that is, peripherals connected through the peripheral interface of one virtual terminal cannot be recognized by other virtual terminals. However, when the type of connected peripheral is a storage device (e.g., SD memory card, USB flash drive, etc.), all virtual terminals can query the contents of the storage device. For example, all virtual terminals can query the audio and video content on the storage device, but different virtual terminals can play the same or different audio and video content.
[0043] In some embodiments, different virtual terminals can be configured with the same physical device. This can be achieved by creating corresponding virtual devices for the physical device and configuring virtual device identifiers, allowing different virtual terminals to control the same physical device. For example, if both virtual terminal 1 and virtual terminal 2 are configured with a camera 1 located at the front of the vehicle, two virtual cameras corresponding to camera 1 are created, and virtual device identifiers are configured for each. One virtual camera's virtual device identifier is bound to the terminal identifier of virtual terminal 1, used to form a surround-view preview image with the rearview mirror and cameras 2-4 at the rear of the vehicle; the other virtual camera's virtual device identifier is bound to the terminal identifier of virtual terminal 2, used for recording and storing data from the dashcam.
[0044] In step 206, in response to a control command sent by application A, wherein the control command includes a device identifier of the device to be controlled and a command content, the target device identifier is found in the associated device set C based on the device identifier in the control command.
[0045] In step 208, the entity device corresponding to the target device identifier is controlled to perform the associated operation according to the instruction content.
[0046] According to some embodiments of the present invention, modifications and adaptations are made to parts of Google's multi-user management, display device management, multimedia framework, audio management, input device management, and Camera HAL (camera hardware abstraction layer) to obtain more complete functions.
[0047] In one aspect of each function, each virtual terminal supports more peripheral device bindings and independently controls more peripheral devices, allowing each virtual terminal to become an independent system with entertainment and interactive functions without interfering with each other. That is, audio output and input do not interfere with each other, peripheral input does not interfere with each other, display touch control does not interfere with each other, and system application operation does not interfere with each other. This achieves independent control of each cockpit terminal.
[0048] In some embodiments, a complete automotive cockpit can be realized based on a single main control chip, that is, multiple independently controlled virtual terminals can be created.
[0049] In some embodiments, each virtual terminal is an independently controllable system. Each virtual terminal has a complete user interface, and different virtual terminals can open the same application without affecting each other.
[0050] In some embodiments, each virtual terminal is configured with an independent display screen, which can support input control such as touch screen and stylus; at the same time, the backlight of each display screen can be adjusted independently without affecting each other.
[0051] In some embodiments, each virtual terminal can be configured with the number of speakers and volume for audio output, and the number of microphones for audio input, thereby reasonably allocating physical devices such as speakers and microphones in the cockpit.
[0052] In some embodiments, each virtual terminal is configured with a peripheral interface, and each peripheral interface can independently control the connected peripherals without affecting each other. For example, two different virtual terminals can connect to their respective game controllers, open the same game, and operate independently on their respective display screens.
[0053] In some embodiments, the virtual terminal in the cockpit can support hot-swapping. After being connected to the display screen, the corresponding virtual terminal and the default peripheral matching relationship will be automatically created and stored. The previous configuration can be restored the next time it is connected.
[0054] In some embodiments, multiple virtual terminals can be opened and used simultaneously for the same camera in the cockpit. For example, while the same camera is previewing the AVM (Around View Monitor), it can also record and store video via a DVR (Digital Video Recorder).
[0055] On another aspect of each function, it enables interactive operations between multiple cockpit terminals.
[0056] In some embodiments, the main cockpit display (master device) can control the content display of secondary cockpit displays (secondary devices). Specifically, the master device can control the secondary devices to display the same content as the master device, or control other secondary devices to display the content of a specific secondary device. For example, the content of the rear cockpit display screen can be configured to be the same as the content of the front passenger cockpit display screen. In this embodiment, multiple cockpits can watch the same movie, play the same game, and use the same map, etc.
[0057] In some embodiments, the main cockpit display (master device) can control the exchange of display content between the secondary cockpit displays (secondary devices). For example, the main cockpit display (master device) controls the exchange of content between the display screen in the co-pilot's cockpit and the display screen in the rear cockpit. In this embodiment, content data interaction and sharing, as well as office work, can be achieved between multiple cockpits.
[0058] In some embodiments, application content can be shared between different cockpits via gestures. For example, the main cockpit display can push the currently displayed application content to the front passenger cockpit by swiping right with three fingers, or push the currently displayed application content to the rear passenger cockpit by swiping down with three fingers. During the swipe, the main cockpit display will display an animation showing the application slowly moving towards the target screen. For example, when the application content on the main cockpit display moves right to the front passenger cockpit, the application content will also slowly move to the right during the three-finger swipe. The portion of the application content that extends beyond the screen will be displayed on the front passenger cockpit screen. When more than half of the application content extends beyond the screen, the entire application content will move to the front passenger cockpit screen; when less than half of the application content extends beyond the screen, the application content will automatically return to the main cockpit screen. In practice, target cockpits for left, right, up, and down directions can be defined for each cockpit. For example, sliding the passenger seat to the left targets the main cabin, sliding it to the right targets the left rear cabin, sliding it to the rear targets the right rear cabin, and sliding it upwards has no effect.
[0059] According to another aspect of the invention, Figure 4 This is a schematic diagram illustrating an electronic device 300 according to an embodiment of the present invention. (Refer to...) Figure 4 The electronic device 300 includes a memory 302, a processor 304, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the various steps of the method for controlling the smart cockpit as described above.
[0060] According to another aspect of the present invention, a computer-readable storage medium is provided. The computer-readable medium stores a computer program that is executed by a processor to implement the method for controlling a smart cockpit as described above.
[0061] In summary, the method, electronic device, and storage medium for controlling a smart cockpit provided by this invention bind virtual terminals and applications, enabling the system to determine which virtual terminal is currently operating the application. Simultaneously, binding virtual terminals to specific devices within the smart cockpit system ensures that these devices can only execute commands by calling the application on that virtual terminal. Thus, each user can independently control their respective devices through a virtual terminal. Even when multiple virtual terminals open the same application, the system can accurately identify the control commands of different users, preventing interference between users. Furthermore, the device configuration strategy allows for flexible control of the physical devices configured on each virtual terminal, enabling the rational allocation and utilization of device resources within the smart cockpit system and achieving effective device management. Moreover, during multi-user device control, multiple users can independently control their respective peripheral terminals without increasing the number of main control chips, effectively reducing the development difficulty and hardware costs of the smart cockpit system. Additionally, multi-user interaction between the master and slave terminals can be achieved through control commands.
[0062] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent modifications made based on the content of the present invention specification and drawings, or direct or indirect applications in related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A method for controlling an intelligent cockpit, characterized in that, include: Acquire virtual terminal data, wherein the virtual terminal data includes the terminal identifiers of each virtual terminal in the smart cockpit; In response to the launch of the application, the system searches for a target terminal identifier in the virtual terminal data that matches the application identifier of the application. Based on the target terminal identifier, the associated device identifier is searched in the preset device configuration data to obtain the associated device set. The device configuration data represents the pre-configured binding relationship between the terminal identifier of the virtual terminal and the device identifier of the physical device. The associated device set is a set of physical devices independently controlled by the virtual terminal corresponding to the target terminal identifier. The physical devices include at least two different types of devices among display devices, audio output devices, audio input devices, camera devices, and peripheral devices. In response to a control command sent by the application, a target device identifier in the associated device set is determined according to the control command, and the entity device corresponding to the target device identifier is controlled to perform an operation associated with the control command, including controlling a first device corresponding to a first target device identifier to perform a first operation associated with a first control command, and simultaneously controlling a second device corresponding to a second target device identifier to perform a second operation associated with a second control command; If an access signal from the main control device is detected, the device information of the main control device is obtained; Create a new virtual terminal based on the device information, and configure a new terminal identifier for the new virtual terminal; Obtain the virtual terminal data and the device configuration data; The idle device identifier in the device configuration data is determined based on the virtual terminal data; According to the preset device configuration strategy, the idle device identifier is associated with the new terminal identifier to obtain the new associated device identifier; as well as The new terminal identifier is added to the virtual terminal data, and the device configuration data is updated according to the new associated device identifier.
2. The method according to claim 1, characterized in that, Controlling the physical device corresponding to the target device identifier to perform the operation associated with the control command includes: The master and slave devices corresponding to the target device identifier interact with each other to jointly execute information exchange operations associated with the control command.
3. The method according to claim 1, characterized in that, Also includes: If a configuration instruction is received from the application, the user attributes of the virtual terminal corresponding to the application are determined based on the target terminal identifier. If the user attribute is a primary user, then the device configuration data is updated according to the configuration instruction; If the user attribute is "slave user", then updating the device configuration data is prohibited, and a configuration failure message is returned.
4. The method according to claim 1, characterized in that, Also includes: If an interrupt signal is detected from the main control device, the virtual terminal data and the device configuration data are stored as the historical data of the main control device. as well as Delete the new terminal identifier from the virtual terminal data and the new associated device identifier from the device configuration data, and clear the new virtual terminal.
5. The method according to claim 4, characterized in that, Also includes: If the access signal of the main control device is detected again, the new virtual terminal is restored, and the virtual terminal data and the device configuration data are updated according to the historical records.
6. The method according to claim 1, characterized in that, Also includes: If an access signal from a storage device is detected, the associated device identifier corresponding to the storage device is searched in the device configuration data. The associated device identifier corresponding to the storage device is associated with each terminal identifier in the virtual terminal data to obtain the shared device identifier; Update the device configuration data based on the shared device identifier.
7. The method according to claim 1, characterized in that, Also includes: If download data for a new application is detected, the new application identifier for the new application is configured based on the download data, and the terminal identifier of the virtual terminal that downloaded the new application is obtained. The application configuration data is obtained by establishing a mapping relationship between the new application identifier and the terminal identifier. as well as The application configuration data is stored in the virtual terminal data.
8. An electronic device, characterized in that, include: Memory, configured to store computer programs; as well as The processor is configured to execute the computer program to perform the method of controlling a smart cockpit according to any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program is executed by a processor to implement the method for controlling a smart cockpit according to any one of claims 1 to 7.
Citation Information
Patent Citations
Multiscreen independent-operated vehicle information system with novel architecture
CN102682182A
Multi-screen display method and device, vehicle machine and storage medium
CN115373618A