Equipment connection method, equipment, storage medium and cloud digital twin space

Through dynamic matching and issuance of communication protocols in the cloud digital twin space, the problem of difficulty in expanding the vehicle system after the protocol is determined in the early stages is solved, and the connection and adaptability of the vehicle system with a variety of devices is realized to adapt to the needs of the diversified equipment market.

CN118714540APending Publication Date: 2024-09-27SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410838839.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

After the communication protocol is determined in the early stages of the existing vehicle system, it is difficult to dynamically expand, resulting in the inability of new IoT devices to connect, affecting the sustainable development and adaptability of the vehicle.

Method used

Through the cloud digital twin space, suitable communication protocols are dynamically matched and issued based on the identity information of the target device, so that the vehicle system can connect with the target device and support current and future expanded communication protocols.

Benefits of technology

It achieves flexible expansion of the vehicle system, can connect more types of equipment, improves the ability to adapt to different brands and types of equipment, and adapts to the needs of the diversified equipment market.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714540A
    Figure CN118714540A
Patent Text Reader

Abstract

The invention discloses a device connection method, a device, a storage medium and a cloud digital twin space. When the method provided by the embodiment of the invention is executed, a cloud digital twin space can firstly match a target communication protocol for identity information based on a corresponding relationship between the identity information and the communication protocol when the identity information of target equipment sent by a target vehicle is received, the target equipment is equipment which can be wirelessly connected with the target vehicle and exchange data with the target vehicle; the cloud digital twin space is wirelessly connected with the target vehicle; the target equipment is wirelessly connected with the target vehicle; the identity information and the communication protocols are in one-to-one correspondence. And issuing the target communication protocol to the target vehicle, so that the target vehicle is connected with the target device based on the target communication protocol. The cloud digital twin space can dynamically match a proper communication protocol according to the identity information sent by the target device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Vehicles, and specifically to a device connection method, device, storage medium and cloud digital twin space. Background Art

[0002] Under the current trend of automobile intelligence, more and more Internet of Things devices (IoT devices) are introduced into vehicle cockpits to bring users a more intelligent experience. Integrating various IoT devices into the vehicle system and making them an organic part of the vehicle helps to achieve linkage with the vehicle's built-in devices, functions, and scenarios. This entire process relies on the communication protocol of the IoT device, which ensures that the vehicle system understands and supports the communication specifications of the device. In this way, the vehicle system can accurately process the data transmitted by the IoT device and promote the connection, information exchange, and collaborative work between the vehicle and the IoT device.

[0003] On a technical level, ensuring that the vehicle system understands and supports the communication protocols of IoT devices is done in the early stages of the vehicle manufacturing process. During the research and development and design phase of the vehicle system and external devices, the communication protocols of IoT devices are determined and software is written. These external devices may include in-vehicle entertainment systems, vehicle network systems, or external devices provided by third parties, such as mobile phone connections or navigation devices. Since the determination of communication protocols and software writing are usually completed in the early stages, it is not possible to flexibly add new IoT device communication protocols to the vehicle system later, resulting in the inability to dynamically expand the communication protocol library, so that new IoT devices cannot be connected to the vehicle system.

[0004] Therefore, how to dynamically and flexibly expand the vehicle's communication protocol library to ensure the sustainable development and adaptability of the vehicle system is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] Based on the above problems, the present application provides a device connection method, device, storage medium and cloud digital twin space, which can dynamically and flexibly expand the vehicle's communication protocol library to ensure the sustainable development and adaptability of the vehicle system.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] A device connection method is applied to a cloud digital twin space, the method comprising:

[0008] In response to receiving the identity information of the target device sent by the target vehicle, matching the target communication protocol for the identity information based on the correspondence between the identity information and the communication protocol;

[0009] Wherein, the target device is a device that can wirelessly connect to and exchange data with the target vehicle; the cloud digital twin space is wirelessly connected to the target vehicle; the target device is wirelessly connected to the target vehicle; there is a one-to-one correspondence between identity information and communication protocol;

[0010] The target communication protocol is issued to the target vehicle, so that the target vehicle is connected to the target device based on the target communication protocol.

[0011] In a possible implementation, the method further includes:

[0012] If a communication protocol matching the identity information is not detected based on the correspondence between the identity information and the communication protocol, feeding back the detection result to the target vehicle so that the target vehicle prompts the user to upload the communication protocol of the target device;

[0013] If the communication protocol of the target device uploaded by the user through the digital twin open interface is detected within the target time, an identity-protocol correspondence is established between the communication protocol uploaded by the user and the identity information of the target device, and the communication protocol uploaded by the user is sent to the target vehicle as the target communication protocol.

[0014] In a possible implementation, the method further includes:

[0015] If the user is not detected uploading the communication protocol of the target device through the digital twin open interface within the target time, obtaining the device model of the target device;

[0016] Based on the device model of the target device, searching in the cloud digital twin space for a device corresponding to the target device model as a retrieval device;

[0017] Querying the communication protocol of the retrieval device;

[0018] An identity-protocol correspondence relationship is established between the communication protocol of the retrieval device and the identity information of the target device, and the communication protocol of the retrieval device is sent to the target vehicle as the target communication protocol.

[0019] In a possible implementation, the method further includes:

[0020] If the communication protocol of the target device uploaded by the user through the digital twin open interface is not detected within the target time, the target vehicle is triggered to read the communication protocol of the target device, so that the target vehicle is connected to the target device based on the target communication protocol, and the communication protocol of the target device read by the target vehicle is obtained from the target vehicle;

[0021] An identity-protocol correspondence relationship is established between the communication protocol of the target device read by the target vehicle and the identity information of the target device.

[0022] In a possible implementation, the method further includes:

[0023] Collect communication protocols and identity information of various vehicle communication devices;

[0024] An identity-protocol correspondence is established between the identity information of each vehicle communicative device and its communication protocol.

[0025] A cloud digital twin space, the cloud digital twin space comprising:

[0026] A matching unit, in response to receiving the identity information of the target device sent by the target vehicle, for matching the target communication protocol for the identity information based on the corresponding relationship between the identity information and the communication protocol;

[0027] Wherein, the target device is a device that can wirelessly connect to and exchange data with the target vehicle; the cloud digital twin space is wirelessly connected to the target vehicle; the target device is wirelessly connected to the target vehicle; there is a one-to-one correspondence between identity information and communication protocol;

[0028] The first sending unit is used to send the target communication protocol to the target vehicle, so that the target vehicle is connected to the target device based on the target communication protocol.

[0029] In a possible implementation, the cloud digital twin space further includes:

[0030] a detection result feedback unit, for feeding back the detection result to the target vehicle if no communication protocol matching the identity information is detected based on the correspondence between the identity information and the communication protocol, so that the target vehicle prompts the user to upload the communication protocol of the target device;

[0031] A first correspondence establishing unit, for establishing an identity-protocol correspondence between the communication protocol uploaded by the user and the identity information of the target device, if the communication protocol of the target device uploaded by the user through the digital twin open interface is detected within the target time;

[0032] The second sending unit is used to send the communication protocol uploaded by the user as the target communication protocol to the target vehicle.

[0033] In a possible implementation, the cloud digital twin space further includes:

[0034] A first acquisition unit, for acquiring a device model of the target device if the communication protocol of the target device uploaded by the user through the digital twin open interface is not detected within the target time;

[0035] A retrieval unit, configured to retrieve a device corresponding to the target device model in the cloud digital twin space as a retrieval device based on the device model of the target device;

[0036] A query unit, used for querying the communication protocol of the retrieval device;

[0037] A second correspondence establishing unit, used to establish an identity-protocol correspondence between the communication protocol of the retrieval device and the identity information of the target device;

[0038] The third sending unit is used to send the communication protocol of the retrieval device to the target vehicle as the target communication protocol.

[0039] A device connection device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the device connection method as described above is implemented.

[0040] A computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the device connection method as described above.

[0041] Compared with the prior art, this application has the following beneficial effects:

[0042] The present application provides a device connection method, device, storage medium and cloud digital twin space. Specifically, in the cloud digital twin space, after receiving the target device identity information sent by the target vehicle, the target communication protocol is first matched according to the correspondence between the identity information and the communication protocol. The target device is a device that can wirelessly connect and exchange data with the target vehicle. The cloud digital twin space has established a wireless connection with the target vehicle, and the target device has also been wirelessly connected to the target vehicle. There is a one-to-one correspondence between each identity information and a communication protocol. Subsequently, the matched target communication protocol is sent to the target vehicle so that it can establish a connection with the target device based on the protocol. The present application can dynamically match a suitable communication protocol according to the identity information sent by the target device. This means that not only can currently known communication protocols be supported, but new communication protocols can also be expanded in the future, so that the system can connect to more types of devices. At the same time, by dynamically expanding the communication protocol, the types of devices that the vehicle can connect to can be greatly enriched and expanded. In addition, since the appropriate communication protocol can be dynamically selected according to the identity information of the device, it can be more flexibly adapted to devices of different types and brands. This flexibility is particularly important for the increasingly diverse device market. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0044] Figure 1 A method flow chart of a device connection method provided in an embodiment of the present application;

[0045] Figure 2 A method flow chart of a communication protocol acquisition method provided in an embodiment of the present application;

[0046] Figure 3 A method flow chart of a communication protocol acquisition method provided in an embodiment of the present application;

[0047] Figure 4 A method flow chart of a communication protocol acquisition method provided in an embodiment of the present application;

[0048] Figure 5 A schematic diagram of the structure of a cloud-based digital twin space provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] To facilitate understanding of the technical solutions provided by the embodiments of the present application, the background technology involved in the embodiments of the present application will be described below.

[0050] As cars become increasingly intelligent, IoT devices are incorporated into the cockpit to provide a more intelligent user experience. To achieve this goal, these IoT devices must be connected to the vehicle system to enable them to interact with the vehicle's original equipment, functions, and scenarios. This process relies on the communication protocol of the IoT device, because the vehicle system must understand and support the communication protocol of the IoT device in advance to correctly parse and process the data from the IoT device, thereby achieving connection, information exchange, and collaborative work between the vehicle and the IoT device.

[0051] The key point is that in the early stages of vehicle manufacturing, that is, the research and development and design stage of the vehicle system, the protocol that supports the communication of IoT devices must be determined and written. This stage is an important period for defining the vehicle's technical architecture, which determines whether the vehicle can effectively integrate new smart technologies and devices in the future. Since the communication protocol library of the vehicle system is fixed in the research and development and design stage, it means that it is difficult to dynamically expand or change it later. Therefore, once the communication protocol is determined, new IoT devices will face compatibility issues when they are connected, resulting in failure to operate normally in the vehicle system. In this case, the vehicle manufacturer may need to significantly adjust or even redesign the vehicle's vehicle system to support new IoT devices, which not only increases costs, but may also delay the time it takes to bring the product to market.

[0052] In order to solve this problem, a device connection method, device, storage medium and cloud digital twin space are provided in the embodiment of the present application. In the cloud digital twin space, when the target device identity information sent by the target vehicle is received, the system will match the appropriate communication protocol with the identity information of the device according to the correspondence between the identity information and the communication protocol established in advance. The target device has the ability to wirelessly connect and exchange data with the target vehicle. At this time, the cloud digital twin space has established a wireless connection with the target vehicle and ensures that the target device has also established a wireless connection with the target vehicle. There is a unique correspondence between each identity information and a communication protocol. Subsequently, the system sends the matched target communication protocol to the target vehicle so that it can effectively connect and communicate with the target device based on the protocol. The cloud digital twin space of the present application dynamically matches the communication protocol based on the identity information sent by the target device, supports current and future extended communication protocols, and enables the vehicle to connect to a wider range of devices. By dynamically expanding the communication protocol, the vehicle can connect to more types of devices, which improves the richness of the connection. The flexible selection of suitable communication protocols in the cloud digital twin space can better adapt to devices of different brands and types, which is crucial for the increasingly diverse device market.

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] See also Figure 1 , which is a method flow chart of a method for connecting a device provided in an embodiment of the present application, such as Figure 1 As shown, the device connection method may include steps S101-S102:

[0055] S101: In response to receiving identity information of a target device sent by a target vehicle, matching a target communication protocol for the identity information based on a correspondence between the identity information and the communication protocol.

[0056] When the cloud digital twin space receives the target device identity information sent by the target vehicle, the cloud digital twin space matches the identity information with a suitable target communication protocol according to the previously established correspondence rules between identity information and communication protocols. In this process, the target device is a device that has a wireless connection with the target vehicle and can exchange data. In addition, the cloud digital twin space has successfully established a wireless connection with the target vehicle, and the target device has also established a wireless connection with the target vehicle, ensuring unimpeded communication between the two. Importantly, the cloud digital twin space ensures that each specific identity information corresponds to a clearly defined communication protocol to ensure that the appropriate communication protocol is correctly identified and matched, thereby facilitating effective communication connections.

[0057] It should be noted that the cloud digital twin space is a virtual environment in which a digital model corresponding to a device, system or process in the real world is created and stored on a cloud server. This digital twin model can reflect the behavior, performance and status of a physical object or system in the real world, and can be continuously updated through sensor data and other information.

[0058] In one possible implementation, the target device may be, but is not limited to, an IOT device. IoT devices that can be used by vehicles include various devices that can connect and exchange data via the Internet to enhance the functionality, safety, efficiency, and user experience of the vehicle. The following are some common examples of vehicle IoT devices:

[0059] On-board diagnostic devices: These devices can be connected to the vehicle's OBD (On-Board Diagnostics) interface to monitor and analyze the vehicle's status in real time, such as engine performance, fuel consumption, emissions, etc.

[0060] Smart navigation and mapping services: Smart navigation systems connected to the Internet can provide real-time traffic information, road condition updates, and navigation suggestions to help drivers choose the best route;

[0061] In-car entertainment systems: These systems can access a variety of media content through the Internet, such as music streaming, video streaming, or online radio services, providing a rich entertainment experience;

[0062] Remote vehicle control system: Through mobile phone applications or Internet platforms, car owners can remotely lock, unlock, start the engine, adjust the temperature in the car, and other functions to enhance the safety and convenience of the vehicle;

[0063] Vehicle security monitoring systems: including vehicle location trackers, anti-theft alarm systems and remote monitoring cameras. These devices can help car owners track the location of their vehicles, monitor the vehicle's surroundings in real time, or sound an alarm to prevent theft;

[0064] Vehicle health monitoring systems: Similar to medical devices, these systems monitor the health of vehicle components, identifying potential problems in advance and performing preventive maintenance;

[0065] Intelligent driving assistance systems: By connecting to cloud services, these systems can provide driving behavior analysis, driving suggestions, vehicle performance optimization and other functions to improve driving safety and efficiency.

[0066] These IoT devices can make vehicles more intelligent, safer and more comfortable, while providing car owners and vehicle managers with more information and control to improve the overall driving and vehicle management experience.

[0067] It should also be noted that the target device's identity information refers to the device's unique identifier or specific attributes that enable it to be accurately identified and distinguished in the system. This information usually includes a serial number, MAC address (Media Access Control Address), etc., which is used to uniquely identify the device and distinguish it from other devices. The target device's identity information plays an important role in the system and can be used to match appropriate communication protocols, establish connections, and perform data exchange operations.

[0068] In a possible implementation, the target vehicle may be wirelessly connected to the target device through different methods, such as Wi-Fi (Wireless Fidelity) connection: the target vehicle and the target device may establish a wireless connection through Wi-Fi technology to achieve data exchange and communication;

[0069] Bluetooth connection: Using Bluetooth technology, the target vehicle and the target device can establish a low-power wireless connection, which is suitable for short-range data transmission and communication needs;

[0070] Mobile network connection: Through the data connection service provided by the mobile network (such as 4G, 5G), the target vehicle can communicate and exchange data with the target device remotely;

[0071] Zigbee connection: Zigbee is a short-range wireless communication protocol that can be used for low-power, low-rate data transmission between the target vehicle and the target device;

[0072] NFC (NearField Communication) connection: Through NFC technology, the target vehicle and target device can quickly connect wirelessly and transmit data within a short range.

[0073] In a possible implementation, the cloud digital twin space can also be wirelessly connected to the target vehicle through different methods, such as Internet connection: the cloud digital twin space can establish a wireless connection with the target vehicle through the Internet to achieve remote monitoring, data transmission and interaction;

[0074] Wi-Fi connection: Using Wi-Fi technology, the cloud-based digital twin space can establish a high-speed wireless connection with the target vehicle for applications such as data synchronization and remote control;

[0075] Mobile network connection: Through mobile network technologies such as 4G and 5G, the cloud-based digital twin space can achieve remote connection with the target vehicle and support real-time data transmission and monitoring;

[0076] Bluetooth connection: Using Bluetooth technology, the cloud-based digital twin space can establish a short-range wireless connection with the target vehicle, which is suitable for low-power device control and data transmission.

[0077] S102: Sending the target communication protocol to the target vehicle, so that the target vehicle is connected to the target device based on the target communication protocol.

[0078] The cloud digital twin space transmits a specific target communication protocol to the target vehicle so that the target vehicle can establish a connection with the target device according to this communication protocol. This process includes sending the necessary communication rules and parameters to the target vehicle to ensure that the target vehicle can correctly perform data exchange and communication operations. By sending the target communication protocol, the target vehicle can connect with the target device according to the agreed rules to achieve effective information transmission, command control and other functions. This process helps to ensure that the communication between the target vehicle and the target device proceeds smoothly and complies with specific communication standards and protocols to ensure the accuracy and security of data transmission.

[0079] See also Figure 2 , Figure 2 A method flow chart of a communication protocol acquisition method provided in an embodiment of the present application can be implemented through steps A1-A2:

[0080] A1: If a communication protocol matching the identity information is not detected based on the correspondence between the identity information and the communication protocol, the detection result is fed back to the target vehicle so that the target vehicle prompts the user to upload the communication protocol of the target device.

[0081] If the cloud digital twin space fails to find a communication protocol that matches the target device identity information sent by the target vehicle after receiving it, the cloud digital twin space will return the detection result to the target vehicle. This means that the cloud digital twin space cannot automatically identify the communication protocol of the target device. Therefore, the target vehicle will prompt the user to upload the communication protocol information of the target device so that the cloud digital twin space can obtain the correct target communication protocol from the user.

[0082] In one possible implementation, the target vehicle can prompt the user to upload the communication protocol information of the target device in a variety of ways, depending on the design and implementation of the vehicle system. The following are several possible prompting methods:

[0083] Display prompt: Display a message or pop-up window on the vehicle's information display to remind the user that the communication protocol of the target device needs to be uploaded;

[0084] Voice prompt: The vehicle system can inform the user through voice instructions or voice prompts that the communication protocol information of the target device needs to be uploaded. This method is suitable for vehicle infotainment systems with voice recognition functions;

[0085] Mobile App Prompt: If the vehicle system is connected to a mobile app, the vehicle system can send a notification to the user through the mobile app, prompting the user to upload the communication protocol of the target device;

[0086] Indicator lights or signal lights: Some vehicles may use indicator lights or signal lights to prompt users to perform specific operations, including uploading communication protocols. This method may be combined with other visual or sound prompts to increase user attention;

[0087] Central control panel prompt: A notification or icon is displayed on the central control panel or driver information display center of the vehicle, indicating that the user needs to upload the communication protocol of the target device. The user can operate according to the prompt.

[0088] These prompts are intended to ensure that the user can upload the required communication protocol information in a timely manner so that the system can correctly identify and establish a communication connection with the target device.

[0089] A2: If the communication protocol of the target device uploaded by the user through the digital twin open interface is detected within the target time, an identity-protocol correspondence is established between the communication protocol uploaded by the user and the identity information of the target device, and the communication protocol uploaded by the user is sent to the target vehicle as the target communication protocol.

[0090] Within the specified time, if the cloud digital twin space detects that the user has uploaded the communication protocol of the target device through the digital twin open interface, the cloud digital twin space will establish a corresponding relationship between the communication protocol uploaded by the user and the identity information of the target device, and send the communication protocol uploaded by the user as the target communication protocol to the target vehicle. This process is designed to ensure that the cloud digital twin space can obtain the correct communication protocol information in a timely manner so that it can be associated with the target device, and the protocol can be used for communication and data exchange between the target vehicle and the target device, thereby achieving effective connection and information transmission.

[0091] It should be noted that the digital twin open interface is an interface that allows users, developers or systems to access and interact with digital twin models. Digital twins are digital images of physical entities or systems that can be used for monitoring, simulation, analysis and optimization. The digital twin open interface provides a standardized way for external applications to communicate with digital twin models, retrieve data, update parameters, and perform other operations. This interface can help digitize real-world physical objects or systems and interact with them for better monitoring, management and optimization.

[0092] In one possible implementation, the target time (i.e., the specified time) is preferably set within a range of several minutes to one hour. Within this time range, the cloud digital twin space can quickly detect the communication protocol uploaded by the user and establish a corresponding relationship with the identity information of the target device, while also ensuring that the task is completed within a reasonable time, avoiding unnecessary delays caused by too long waiting. However, this application does not impose specific restrictions on the size of the target time, and the size of the target time can be adjusted according to actual user needs.

[0093] See also Figure 3 , Figure 3 A method flow chart of a communication protocol acquisition method provided in an embodiment of the present application can be implemented through steps B1-B4:

[0094] B1: If the user is not detected uploading the communication protocol of the target device through the digital twin open interface within the target time, the device model of the target device is obtained.

[0095] If the cloud digital twin space does not detect the communication protocol of the target device uploaded by the user through the digital twin open interface within the specified time, the cloud digital twin space will automatically obtain the device model of the target device. This process is designed to ensure that even if the communication protocol is not obtained, the cloud digital twin space can continue to perform subsequent operations based on the device model of the target device, providing the necessary key device information for subsequent connection establishment and data exchange.

[0096] B2: Based on the device model of the target device, a device corresponding to the target device model is retrieved in the cloud digital twin space as a retrieval device.

[0097] The cloud digital twin space will search for matching devices in the cloud digital twin space based on the device model of the target device. This means that the cloud digital twin space will search the digital twin model database to find device instances that match the target device model. This process is designed to find the device that corresponds to the target device model. The purpose of the retrieval is to obtain the communication protocol about the target device so that the target device can connect with the target vehicle.

[0098] B3: Query the communication protocol of the retrieval device.

[0099] The cloud digital twin space will perform a query operation on the previously retrieved device to obtain its pre-established identity-protocol correspondence from the cloud digital twin space, thereby finding the communication protocol of the retrieved device. This process involves the system extracting and analyzing the required data from the cloud digital twin space to ensure accurate and complete communication protocol information. By querying the communication protocol of the retrieved device, the cloud digital twin space can establish the correct communication bridge for subsequent operations, ensuring effective data transmission and communication between the target vehicle and the target device.

[0100] B4: Establishing an identity-protocol correspondence between the communication protocol of the retrieval device and the identity information of the target device, and sending the communication protocol of the retrieval device as the target communication protocol to the target vehicle.

[0101] The cloud-based digital twin space will establish a correspondence between the communication protocol of the retrieved device and the identity information of the target device to ensure that the communication protocol matches the device. Subsequently, the cloud-based digital twin space will send the retrieved device communication protocol as the target communication protocol to the target vehicle so that the target device can be correctly identified during the communication process and effective data exchange can be achieved. This process ensures the accuracy and integrity of the communication and ensures that the target vehicle can communicate and interact smoothly with the target device.

[0102] See also Figure 4 , Figure 4 A method flow chart of a communication protocol acquisition method provided in an embodiment of the present application can be implemented through steps C1-C2:

[0103] C1: If the communication protocol of the target device uploaded by the user through the digital twin open interface is not detected within the target time, the target vehicle is triggered to read the communication protocol of the target device, so that the target vehicle is connected to the target device based on the target communication protocol, and the communication protocol of the target device read by the target vehicle is obtained from the target vehicle.

[0104] If the cloud digital twin space does not detect the communication protocol of the target device uploaded by the user through the digital twin open interface within the specified time, the cloud digital twin space will trigger the target vehicle to read its communication protocol from the target device. This measure is intended to ensure that even in the absence of the communication protocol uploaded by the user, the cloud digital twin space can still establish a connection by actively obtaining the communication protocol of the device through the target vehicle. Subsequently, the target vehicle will connect to the target device based on the read target communication protocol, and transmit the read target device communication protocol back to the cloud digital twin space to support subsequent data exchange and communication needs.

[0105] C2: Establishing an identity-protocol correspondence between the communication protocol of the target device read by the target vehicle and the identity information of the target device.

[0106] The cloud digital twin space will establish a correspondence between the target device communication protocol read by the target vehicle and the target device identity information. This process is designed to ensure that the cloud digital twin space can accurately match the target device's communication protocol with its unique identity information in order to identify and distinguish the communication characteristics between different devices. By establishing an identity-protocol correspondence, the cloud digital twin space can correctly associate the communication protocol with a specific target device in subsequent operations, ensuring the accuracy and reliability of data transmission, thereby achieving a stable connection and effective communication between the target vehicle and the target device.

[0107] In a possible implementation, the method further includes: the cloud digital twin space collects communication protocols and identity information of various vehicle communicative devices to establish an identity-protocol correspondence between the identity information of each vehicle communicative device and its communication protocol.

[0108] The cloud digital twin space collects the communication protocols and identity information of various vehicle communicable devices, and is committed to establishing the correspondence between the identity information of each device and its communication protocol. This process is designed to ensure that the cloud digital twin space can accurately record and associate the identity characteristics and communication protocols of different devices, so that communication requirements between devices can be quickly identified, matched and managed when needed. By establishing the identity-protocol correspondence, the cloud digital twin space provides basic support for effective communication between vehicles and devices, promotes the accuracy and efficiency of data exchange, and thus realizes a more intelligent and reliable vehicle communication system.

[0109] Based on the contents of S101-S102, it can be known that the cloud digital twin space realizes the connection between the target vehicle and the target device based on the target communication protocol by matching the correspondence between the identity information of the target device and the communication protocol. In this process, a wireless connection has been established between the target vehicle and the target device, and there is a one-to-one correspondence between the identity information and the communication protocol. The cloud digital twin space sends the target communication protocol to the target vehicle so that the target vehicle can connect to the target device according to the protocol. This application dynamically matches the communication protocol in the cloud digital twin space according to the identity information sent by the target device. The cloud digital twin space supports currently known protocols and can expand new protocols, so that the vehicle can connect to more types of devices. Dynamic expansion of protocols not only enriches the types of devices that can be connected to the vehicle system, but also increases the flexibility to adapt to different brands and types of devices. This flexibility is crucial to the diversified equipment market.

[0110] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of a cloud digital twin space provided in an embodiment of the present application. Figure 5 As shown in the figure, the cloud digital twin space includes:

[0111] A matching unit 501, in response to receiving the identity information of the target device sent by the target vehicle, is used to match the target communication protocol for the identity information based on the correspondence between the identity information and the communication protocol;

[0112] Wherein, the target device is a device that can wirelessly connect to and exchange data with the target vehicle; the cloud digital twin space is wirelessly connected to the target vehicle; the target device is wirelessly connected to the target vehicle; there is a one-to-one correspondence between identity information and communication protocol;

[0113] The first sending unit 502 is used to send the target communication protocol to the target vehicle, so that the target vehicle is connected to the target device based on the target communication protocol.

[0114] In a possible implementation, the cloud digital twin space further includes:

[0115] a detection result feedback unit, for feeding back the detection result to the target vehicle if no communication protocol matching the identity information is detected based on the correspondence between the identity information and the communication protocol, so that the target vehicle prompts the user to upload the communication protocol of the target device;

[0116] A first correspondence establishing unit, for establishing an identity-protocol correspondence between the communication protocol uploaded by the user and the identity information of the target device, if the communication protocol of the target device uploaded by the user through the digital twin open interface is detected within the target time;

[0117] The second sending unit is used to send the communication protocol uploaded by the user as the target communication protocol to the target vehicle.

[0118] In a possible implementation, the cloud digital twin space further includes:

[0119] A first acquisition unit, for acquiring a device model of the target device if the communication protocol of the target device uploaded by the user through the digital twin open interface is not detected within the target time;

[0120] A retrieval unit, configured to retrieve a device corresponding to the target device model in the cloud digital twin space as a retrieval device based on the device model of the target device;

[0121] A query unit, used for querying the communication protocol of the retrieval device;

[0122] A second correspondence establishing unit, used to establish an identity-protocol correspondence between the communication protocol of the retrieval device and the identity information of the target device;

[0123] The third sending unit is used to send the communication protocol of the retrieval device to the target vehicle as the target communication protocol.

[0124] In a possible implementation, the cloud digital twin space further includes:

[0125] A trigger unit, for triggering the target vehicle to read the communication protocol of the target device if the communication protocol of the target device uploaded by the user through the digital twin open interface is not detected within the target time, so that the target vehicle is connected to the target device based on the target communication protocol;

[0126] A second acquisition unit, configured to acquire, from the target vehicle, a communication protocol of the target device read by the target vehicle;

[0127] The third correspondence establishing unit is used to establish an identity-protocol correspondence between the communication protocol of the target device read by the target vehicle and the identity information of the target device.

[0128] In a possible implementation, the cloud digital twin space further includes:

[0129] A collection unit, used to collect communication protocols and identity information of various vehicle communicable devices;

[0130] The fourth correspondence establishing unit is used to establish an identity-protocol correspondence between the identity information of each vehicle communicable device and its communication protocol.

[0131] In addition, an embodiment of the present application also provides a device connection device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the device connection method as described above is implemented.

[0132] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the device connection method as described above.

[0133] The embodiment of the present application provides a cloud-based digital twin space. When the cloud-based digital twin space receives the identity information of the target device sent by the target vehicle, the matching unit 501 is first used to match the target communication protocol for the identity information based on the correspondence between the identity information and the communication protocol. Then the target communication protocol is issued to the target vehicle using the first sending unit 502, so that the target vehicle is connected to the target device based on the target communication protocol. The present application dynamically selects an appropriate communication protocol in the cloud-based digital twin space based on the device identity information. The cloud-based digital twin space not only supports the current protocol but can also expand new protocols to connect more device types. This flexibility greatly enriches the vehicle-machine connection options, while enabling the vehicle to more flexibly adapt to different brands and types of equipment, and is particularly suitable for responding to diverse equipment market demands.

[0134] The above is a detailed introduction to a connection method, device, storage medium and cloud digital twin space of a device provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

[0135] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0136] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

Claims

1. A device connection method, characterized in that: Applied to a cloud digital twin space, the method includes: In response to receiving the identity information of the target device sent by the target vehicle, matching the target communication protocol for the identity information based on the correspondence between the identity information and the communication protocol; Wherein, the target device is a device that can wirelessly connect to and exchange data with the target vehicle; the cloud digital twin space is wirelessly connected to the target vehicle; the target device is wirelessly connected to the target vehicle; there is a one-to-one correspondence between identity information and communication protocol; The target communication protocol is issued to the target vehicle, so that the target vehicle is connected to the target device based on the target communication protocol.

2. The method according to claim 1, characterized in that The method further comprises: If a communication protocol matching the identity information is not detected based on the correspondence between the identity information and the communication protocol, feeding back the detection result to the target vehicle so that the target vehicle prompts the user to upload the communication protocol of the target device; If the communication protocol of the target device uploaded by the user through the digital twin open interface is detected within the target time, an identity-protocol correspondence is established between the communication protocol uploaded by the user and the identity information of the target device, and the communication protocol uploaded by the user is sent to the target vehicle as the target communication protocol.

3. The method according to claim 2, characterized in that The method further comprises: If the user is not detected uploading the communication protocol of the target device through the digital twin open interface within the target time, obtaining the device model of the target device; Based on the device model of the target device, searching in the cloud digital twin space for a device corresponding to the target device model as a retrieval device; Querying the communication protocol of the retrieval device; An identity-protocol correspondence relationship is established between the communication protocol of the retrieval device and the identity information of the target device, and the communication protocol of the retrieval device is sent to the target vehicle as the target communication protocol.

4. The method according to claim 2, characterized in that: The method further comprises: If the communication protocol of the target device uploaded by the user through the digital twin open interface is not detected within the target time, the target vehicle is triggered to read the communication protocol of the target device, so that the target vehicle is connected to the target device based on the target communication protocol, and the communication protocol of the target device read by the target vehicle is obtained from the target vehicle; An identity-protocol correspondence relationship is established between the communication protocol of the target device read by the target vehicle and the identity information of the target device.

5. The method according to claim 1, characterized in that The method further comprises: Collect communication protocols and identity information of various vehicle communication devices; An identity-protocol correspondence is established between the identity information of each vehicle communicative device and its communication protocol.

6. A cloud digital twin space, characterized in that: The cloud digital twin space includes: A matching unit, in response to receiving the identity information of the target device sent by the target vehicle, for matching the target communication protocol for the identity information based on the corresponding relationship between the identity information and the communication protocol; Wherein, the target device is a device that can wirelessly connect to and exchange data with the target vehicle; the cloud digital twin space is wirelessly connected to the target vehicle; the target device is wirelessly connected to the target vehicle; there is a one-to-one correspondence between identity information and communication protocol; The first sending unit is used to send the target communication protocol to the target vehicle, so that the target vehicle is connected to the target device based on the target communication protocol.

7. The cloud digital twin space according to claim 6, characterized in that: The cloud digital twin space also includes: a detection result feedback unit, for feeding back the detection result to the target vehicle if no communication protocol matching the identity information is detected based on the correspondence between the identity information and the communication protocol, so that the target vehicle prompts the user to upload the communication protocol of the target device; A first correspondence establishing unit, for establishing an identity-protocol correspondence between the communication protocol uploaded by the user and the identity information of the target device, if the communication protocol of the target device uploaded by the user through the digital twin open interface is detected within the target time; The second sending unit is used to send the communication protocol uploaded by the user as the target communication protocol to the target vehicle.

8. The cloud digital twin space according to claim 6, characterized in that: The cloud digital twin space also includes: A first acquisition unit, for acquiring a device model of the target device if the communication protocol of the target device uploaded by the user through the digital twin open interface is not detected within the target time; A retrieval unit, configured to retrieve a device corresponding to the target device model in the cloud digital twin space as a retrieval device based on the device model of the target device; A query unit, used for querying the communication protocol of the retrieval device; A second correspondence establishing unit, used to establish an identity-protocol correspondence between the communication protocol of the retrieval device and the identity information of the target device; The third sending unit is used to send the communication protocol of the retrieval device to the target vehicle as the target communication protocol.

9. A device connection device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for connecting the device according to any one of claims 1 to 5 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on the terminal device, the terminal device executes the device connection method according to any one of claims 1 to 5.