Access control method and system for vehicle-mounted device, storage medium and electronic device

CN116546467BActive Publication Date: 2026-08-07CHONGQING CHANGAN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING CHANGAN TECH CO LTD
Filing Date
2023-05-26
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0002]当前智能汽车发展迅猛,用户对于各种场景下智能车载设备的使用需求也越来越多,将所有的车载设备都集成到整车上,必然会增加用户的购车成本,对于不需要其中某些车载设备的用户又会造成一定的设备冗余

Benefits of technology

[0022]According to the embodiments of the present invention, an access request from an in-vehicle device is obtained; a wireless connection is established between the in-vehicle device and the device management service on the vehicle side based on the access request; a control component corresponding to the in-vehicle device is loaded on the vehicle side; the in-vehicle device is controlled through the control component; and by setting up a device management service on the vehicle side, the in-vehicle device can wirelessly connect with the device management service, thereby enabling the in-vehicle device to flexibly access the vehicle side.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116546467B_ABST
    Figure CN116546467B_ABST
Patent Text Reader

Abstract

The application provides an access control method and system of a vehicle-mounted device, a storage medium and an electronic device, and belongs to the field of intelligent automobile Internet of Things, wherein the method comprises the following steps: obtaining an access request of a vehicle-mounted device; establishing a wireless connection between the vehicle-mounted device and a device management service at a vehicle end according to the access request; loading a control component corresponding to the vehicle-mounted device at the vehicle end; and controlling the vehicle-mounted device through the control component. Through the application, the device management service is arranged at the vehicle end, the vehicle-mounted device is wirelessly connected with the device management service, and the vehicle-mounted device is flexibly accessed to the vehicle end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent vehicle Internet of Things (IoT), and more specifically, to access control methods, systems, storage media, and electronic devices for in-vehicle equipment. Background Technology

[0002] With the rapid development of intelligent vehicles, users have increasingly higher demands for intelligent in-vehicle devices in various scenarios. Integrating all in-vehicle devices into the entire vehicle will inevitably increase the user's purchase cost, while creating device redundancy for users who do not need certain in-vehicle devices. Currently, existing technologies cannot flexibly integrate in-vehicle devices into intelligent vehicles according to user needs.

[0003] No efficient and accurate solution has yet been found to address the aforementioned issues in the relevant technologies. Summary of the Invention

[0004] This invention provides a method, system, storage medium, and electronic device for access control of vehicle-mounted equipment, in order to solve technical problems in related technologies.

[0005] According to an embodiment of the present invention, an access control method for an in-vehicle device is provided, comprising: acquiring an access request from the in-vehicle device; establishing a wireless connection between the in-vehicle device and a device management service on a vehicle according to the access request; loading a control component corresponding to the in-vehicle device on the vehicle; and controlling the in-vehicle device through the control component.

[0006] Furthermore, establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request includes: parsing the device type of the in-vehicle device according to the access request; and establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the device type.

[0007] Furthermore, according to the device type, establishing a wireless connection between the in-vehicle device and the vehicle-side device management service includes: if the device type is a WiFi device, sending the service set identifier (SSID) and password of the vehicle-side WiFi to the in-vehicle device; receiving connection confirmation information sent by the in-vehicle device; and establishing a wireless connection between the in-vehicle device and the vehicle-side device management service based on the connection confirmation information.

[0008] Furthermore, based on the device type, establishing a wireless connection between the in-vehicle device and the vehicle-side device management service includes: if the device type is a Bluetooth device, obtaining a Bluetooth connection request from the in-vehicle device; and establishing a wireless connection between the in-vehicle device and the vehicle-side device management service based on the Bluetooth connection request.

[0009] Furthermore, after establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request, the method further includes: receiving the device ID reported by the in-vehicle device; searching for the device part number corresponding to the device ID from the cloud-based filing system; if a device part number corresponding to the device ID exists, loading the control component corresponding to the in-vehicle device through the vehicle-side device manager; if no device part number corresponding to the device ID exists, disconnecting the wireless connection between the in-vehicle device and the vehicle-side device management service.

[0010] Furthermore, after establishing a wireless connection between the vehicle-mounted device and the device management service on the vehicle side according to the access request, the method further includes: receiving a first control command issued by the cloud, the first control command being used to remotely control the vehicle-mounted device; forwarding the first control command to the vehicle-mounted device; obtaining the execution status of the vehicle-mounted device executing the first control command; and uploading the execution status to the cloud.

[0011] Furthermore, after establishing a wireless connection between the in-vehicle device and the device management service on the vehicle according to the access request, the method further includes: receiving a second control request sent by the in-vehicle device, the second control request being used to request control of the vehicle or to obtain the operating status of the vehicle; and invoking a general service interface to control the vehicle or to obtain the operating status of the vehicle.

[0012] According to another embodiment of the present invention, an access control system for an in-vehicle device is provided, comprising: a vehicle terminal, an in-vehicle device, and a cloud, wherein the vehicle terminal is wirelessly connected to the in-vehicle device, and the cloud is connected to the vehicle terminal via MQTT communication, wherein the vehicle terminal includes a device management service and a device manager: the device management service is used to obtain an access request from the in-vehicle device; and establish a wireless connection between the in-vehicle device and the device management service according to the access request; the device manager is used to obtain information of a control component corresponding to the in-vehicle device from the cloud and load the control component on the vehicle terminal; the in-vehicle device is used to send an access request to the device management service; and the cloud is used to send information of the control component corresponding to the in-vehicle device to the device management service.

[0013] Furthermore, the device management service is also used to parse the device type of the in-vehicle device according to the access request; and to establish a wireless connection between the in-vehicle device and the device management service on the vehicle side according to the device type.

[0014] Furthermore, the device management service is also used to send the vehicle-side WiFi service set identifier (SSID) and password to the vehicle-mounted device if the device type is a WiFi device; receive connection confirmation information sent by the vehicle-mounted device; and establish a wireless connection between the vehicle-mounted device and the vehicle-side device management service based on the connection confirmation information.

[0015] Furthermore, the device management service is also used to obtain the Bluetooth connection request of the vehicle device if the device type is a Bluetooth device; and to establish a wireless connection between the vehicle device and the device management service on the vehicle side based on the Bluetooth connection request.

[0016] Furthermore, the device management service is also used to receive the device ID reported by the vehicle-mounted device; search for the device part number corresponding to the device ID from the cloud-based filing system; if a device part number corresponding to the device ID exists, load the control component corresponding to the vehicle-mounted device through the device manager on the vehicle side; if a device part number corresponding to the device ID does not exist, disconnect the wireless connection between the vehicle-mounted device and the device management service on the vehicle side.

[0017] Furthermore, the device management service is also used to receive a first control command sent from the cloud, the first control command being used to remotely control the vehicle-mounted device; forward the first control command to the vehicle-mounted device; obtain the execution status of the vehicle-mounted device executing the first control command; and upload the execution status to the cloud.

[0018] Furthermore, the device management service is also used to receive a second control request sent by the vehicle-mounted device, the second control request being used to request control of the vehicle terminal or to obtain the operating status of the vehicle terminal; and to call a general service interface to control the vehicle terminal or to obtain the operating status of the vehicle terminal.

[0019] According to another aspect of the embodiments of this application, a storage medium is also provided, the storage medium including a stored program that executes the above steps when the program is run.

[0020] According to another aspect of the embodiments of this application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the programs stored in the memory.

[0021] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps in the above-described method.

[0022] According to the embodiments of the present invention, an access request from an in-vehicle device is obtained; a wireless connection is established between the in-vehicle device and the device management service on the vehicle side based on the access request; a control component corresponding to the in-vehicle device is loaded on the vehicle side; the in-vehicle device is controlled through the control component; and by setting up a device management service on the vehicle side, the in-vehicle device can wirelessly connect with the device management service, thereby enabling the in-vehicle device to flexibly access the vehicle side. Attached Figure Description

[0023] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0024] Figure 1 This is a hardware structure block diagram of a computer according to an embodiment of the present invention;

[0025] Figure 2 This is a flowchart of an access control method for an in-vehicle device according to an embodiment of the present invention;

[0026] Figure 3 This is a schematic diagram of the overall architecture of the access control system for the vehicle-mounted equipment according to an embodiment of the present invention;

[0027] Figure 4 This is a schematic diagram of the vehicle-mounted device access process according to an embodiment of the present invention;

[0028] Figure 5 This is a schematic diagram of the AP network configuration process according to an embodiment of the present invention;

[0029] Figure 6 This is a schematic diagram of the remote control process of the vehicle-mounted equipment according to an embodiment of the present invention. Detailed Implementation

[0030] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all of them. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present application. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present application can be combined with each other.

[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0032] Example 1

[0033] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile phone, computer, tablet, or similar computing device. Taking running on a computer as an example, Figure 1 This is a hardware structure block diagram of a computer according to an embodiment of the present invention. For example... Figure 1 As shown, a computer may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. Optionally, the computer may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the computer described above. For example, the computer may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0034] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the access control method for an in-vehicle device in this embodiment of the application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to a computer via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0035] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a computer's communication provider. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0036] This embodiment provides an access control system for in-vehicle devices. The access control method for in-vehicle devices in this embodiment is based on an access control system for in-vehicle devices accessing an intelligent vehicle system, and refers to... Figure 1 The vehicle-mounted device access control system includes the vehicle terminal, the vehicle-mounted devices, and the cloud. The vehicle terminal includes Device Manager 6, Device Management Service 7, and Vehicle General Service 8. Vehicle General Service 8 communicates with Device Management Service 7 via API interface, and Device Manager 6 communicates with Device Management Service 7 via AIDI. The cloud includes Filing System 1, Micro-application Management System 2, and Smart Device Management System 3. The vehicle-mounted devices are specifically wireless smart devices, including Bluetooth devices 4 and WiFi devices 5, such as wireless vehicle-mounted devices like car refrigerators, microphones, and car seats. The vehicle terminal and the vehicle-mounted devices are wirelessly connected, and the Device Management Service communicates with the Smart Device Management System via MQTT.

[0037] The Device Manager service runs on the in-vehicle infotainment system and is a persistent system service. It manages the access and communication with in-vehicle devices and establishes MQTT communication with the intelligent device management system. After detecting an in-vehicle device connection, the Device Manager service sends the device information to the Device Manager app. The Device Manager app retrieves the corresponding micro-application for that in-vehicle device from the micro-application management system, downloads and loads the corresponding micro-application, and then displays the functional interface for that in-vehicle device.

[0038] The intelligent device management system is used to manage the list and classification of intelligent devices, and at the same time, it receives the operating data of the vehicle-mounted devices uploaded by the device management service, and can display the online status and operating status of the vehicle-mounted devices in real time; the registration system is used to provide registration and certification of vehicle-mounted devices to ensure that the connected vehicle-mounted devices are certified by the manufacturer, rather than just any device being able to be connected to the vehicle system.

[0039] The vehicle infotainment general service is used to abstract the capabilities of the entire vehicle and provide a general service interface for other applications to call, such as air conditioning control and seat adjustment capabilities. In this system, all connected vehicle devices call the vehicle infotainment general service through the device manager to control the vehicle. At the same time, the types of connected devices are different, so a standard communication protocol needs to be defined to constrain the communication between the device manager and the wireless devices to achieve compatibility with each device.

[0040] Manufacturers register wireless smart devices in the filing system; they develop corresponding interfaces and functions for in-vehicle devices, package them into micro-applications, and upload them to the micro-application management backend. They configure the specific vehicle models associated with the micro-applications, set the download type and upgrade method, facilitating vehicle-side maintenance and upgrades by retrieving the corresponding vehicle model, upgrade strategy, and upgrade information from the cloud. In the device management system backend, they create device categories, tags, and information, along with their association with vehicle models, and associate the devices with their corresponding micro-applications. First, a connection is established between the in-vehicle device and the device manager service. After connection, the in-vehicle device reports its UUID, and the device manager service verifies its legitimacy with the filing system. If authentication fails, the connection is disconnected; if authentication is successful, the connected in-vehicle device information is transmitted to the device manager app. The device manager app retrieves and downloads the device micro-application from the micro-application management system, loads and renders it, and then displays the in-vehicle device's UI. The device management service communicates with the device management system via MQTT, and wireless device information is uploaded to the cloud through the device management service. Interaction between the wireless device and the in-vehicle device is handled by the device management service calling a general service interface.

[0041] This embodiment provides a method for controlling the access of vehicle-mounted devices. Figure 2 This is a flowchart of an access control method for an in-vehicle device according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:

[0042] Step S10: Obtain the access request from the vehicle-mounted device;

[0043] Step S20: Based on the access request, establish a wireless connection between the vehicle-mounted device and the device management service on the vehicle side;

[0044] Step S30: Load the control component corresponding to the vehicle-mounted device onto the vehicle end;

[0045] Step S40: Control the vehicle-mounted equipment through the control component.

[0046] In this embodiment, the control component can be a micro-application. Developers can develop micro-applications corresponding to the in-vehicle devices based on the characteristics of the in-vehicle devices and product design requirements, and upload them to the cloud-based micro-application management system. The corresponding in-vehicle devices can be controlled through the control component, such as controlling the height of the in-vehicle seats.

[0047] Through the above steps, an access request from the vehicle-mounted device is obtained; based on the access request, a wireless connection is established between the vehicle-mounted device and the device management service on the vehicle side; the corresponding control component for the vehicle-mounted device is loaded on the vehicle side; the vehicle-mounted device is controlled through the control component, and a wireless connection is established between the device management service on the vehicle side and the vehicle-mounted device, thereby realizing flexible access of the vehicle-mounted device.

[0048] Reference Figure 4 The intelligent vehicle device initiates a connection to the device management service and sends its device ID. The device management service queries the list of registered devices from the registration system to determine whether the current vehicle device is on the list, thereby verifying the device's legality. The registration system returns the verification result. If the current vehicle device is a legal device, the device management service notifies the device manager APP that a new device has been connected. The device manager APP obtains the device micro-application corresponding to the device from the micro-application management system. The micro-application management system returns the micro-application information. The device manager APP downloads and loads the micro-application.

[0049] In this embodiment, establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request includes:

[0050] S21, parse the device type of the vehicle-mounted device according to the access request;

[0051] S22, Based on the device type, establish a wireless connection between the vehicle-mounted device and the device management service on the vehicle side.

[0052] The types of in-vehicle devices include Bluetooth devices and WiFi devices. Since different device types have different connection methods, this embodiment can parse the device type of the in-vehicle device according to the access request sent by the in-vehicle device, and then establish a wireless connection between the in-vehicle device and the device management service on the vehicle side according to the device type.

[0053] In one embodiment of this example, establishing a wireless connection between the in-vehicle device and the vehicle-side device management service, based on the device type, includes:

[0054] S221, if the device type is a WiFi device, then the service set identifier (SSID) and password of the vehicle WiFi are sent to the vehicle-mounted device;

[0055] S222, Receive connection confirmation information sent by the vehicle-mounted device;

[0056] S223, Based on the connection confirmation information, establish a wireless connection between the vehicle-mounted device and the device management service on the vehicle side.

[0057] If the in-vehicle device is a WiFi device, it needs to connect to the vehicle's hotspot. Currently, many in-vehicle devices lack a user interface, such as a WiFi configuration interface on a mobile phone or PC. Therefore, in this embodiment, the SSID and password of the vehicle's WiFi are obtained through network configuration. After connecting to the vehicle's network, communication with the device manager can be achieved via socket. Preferably, this embodiment uses AP network configuration. (See reference...) Figure 5 The diagram shown illustrates the AP network configuration process. The WiFi device is set to AP network configuration mode. The vehicle's infotainment system connects to the WiFi device's AP hotspot to form a local area network. The vehicle's infotainment system sends the vehicle's WiFi service set identifier (SSID) and password to the WiFi device. After receiving the vehicle's WiFi SSID and password, the WiFi device connects to the vehicle's hotspot, thereby establishing a connection between the vehicle's onboard equipment and the vehicle's device management service.

[0058] In another embodiment of this example, establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the device type includes: if the device type is a Bluetooth device, obtaining a Bluetooth connection request from the in-vehicle device; and establishing a wireless connection between the in-vehicle device and the vehicle-side device management service based on the Bluetooth connection request.

[0059] If the device type of the in-vehicle device is a Bluetooth device, then obtain the Bluetooth connection request of the in-vehicle device, and perform Bluetooth scanning, pairing, and connection steps based on the Bluetooth connection request to establish a wireless connection between the in-vehicle device and the management service of the vehicle-side device.

[0060] In one embodiment of this example, after establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request, the method further includes:

[0061] S51, Receive the device ID reported by the vehicle-mounted device;

[0062] S52, retrieve the device part number corresponding to the device ID from the cloud-based filing system;

[0063] S53, if a device part number corresponding to the device ID exists, then the control component corresponding to the vehicle device is loaded through the device manager on the vehicle side;

[0064] S54, if there is no device part number corresponding to the device ID, then disconnect the wireless connection between the vehicle-mounted device and the device management service on the vehicle side.

[0065] After establishing a wireless connection between the in-vehicle device and the vehicle-side device management service, the in-vehicle device needs to proactively report its device ID according to the protocol. This allows the device management service to perform legitimate authentication of the connected in-vehicle device based on the device ID, preventing unauthenticated devices from potentially damaging system performance. Specifically, the device management service receives the device ID reported by the in-vehicle device and searches for the corresponding device part number in the cloud-based registration system. If a device part number exists, it means the in-vehicle device has been registered in the registration system and passes legitimate authentication. After successful authentication, the device management service notifies the device manager of the device access information. The device manager app displays the access information of the newly connected in-vehicle device and simultaneously retrieves and downloads the corresponding micro-application from the cloud-based micro-application management backend. After loading and rendering, the device manager displays the UI interface of the in-vehicle device. If a device part number does not exist, it means the in-vehicle device has not been registered in the registration system and fails legitimate authentication. In this case, the wireless connection between the in-vehicle device and the vehicle-side device management service is disconnected.

[0066] For example, before the vehicle-mounted device is connected, a standard access communication protocol is established for the vehicle-mounted system, and the corresponding software for the vehicle-mounted device is developed in accordance with the standard access communication protocol. The vehicle-mounted device is registered in the cloud-based registration system. The registration information includes the device supplier, device type, and device part number. The device part number is associated with the device ID of the vehicle-mounted device, which facilitates the legal authentication of the vehicle-mounted device based on the registration information when the vehicle-mounted device is connected.

[0067] The cloud-based intelligent device management system creates corresponding device categories, device tags, device information, and associated vehicle models. It also obtains the micro-applications corresponding to the in-vehicle devices, uploads the micro-applications to the cloud-based micro-application management system, and associates the in-vehicle devices with their corresponding micro-applications, so that the corresponding device's micro-applications can be obtained when the device is connected.

[0068] In another embodiment of this example, after establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request, the method further includes:

[0069] A receives a first control command sent from the cloud, the first control command being used to remotely control the vehicle-mounted equipment;

[0070] B forwards the first control command to the vehicle-mounted device;

[0071] C obtains the execution status of the vehicle-mounted device executing the first control command and uploads the execution status to the cloud.

[0072] refer to Figure 6 The diagram illustrates the process of remotely controlling an in-vehicle device. In one implementation scenario, a user can remotely control the power switch of the in-vehicle device from home. First, the device management service on the vehicle receives a first control command from the cloud. This command is used to remotely control the in-vehicle device. The device management service forwards the command to the in-vehicle device, which executes the command and uploads its execution status to the device management service. The device management service then uploads the execution status to the cloud. The cloud parses the execution status and displays it on the user's device. The cloud-based intelligent device management system and the device management service are connected via MQTT communication, while the in-vehicle device and the device management service are wirelessly connected.

[0073] In this embodiment, the vehicle-side device can upload device information and operational status information of the on-board equipment to the cloud via MQTT, facilitating real-time acquisition of the operational status of the connected on-board equipment in the cloud. Simultaneously, the cloud can issue control commands to the on-board equipment. The cloud sends these control commands to the device management service on the vehicle-side via MQTT, and the device management service transmits the control commands to the on-board equipment via wireless communication. The on-board equipment then executes the control commands, thereby completing remote control of the on-board equipment. The transmission of both control commands and device information conforms to standard communication protocols.

[0074] In another embodiment of this example, after establishing a wireless connection between the vehicle-mounted device and the device management service on the vehicle terminal according to the access request, the method further includes: receiving a second control request sent by the vehicle-mounted device, the second control request being used to request control of the vehicle terminal or to obtain the operating status of the vehicle terminal; and invoking a general service interface to control the vehicle terminal or to obtain the operating status of the vehicle terminal.

[0075] The system receives a second control request from the in-vehicle device. This request is used to request control of the vehicle or to obtain the vehicle's operating status. Control of the vehicle or acquisition of its operating status is achieved by calling a general service interface. The in-vehicle system abstracts the capabilities of the entire vehicle, providing a general service interface for the whole vehicle. The device management service calls these general services to complete the interaction between the in-vehicle device and the in-vehicle system. After the intelligent vehicle is connected, it creates a complete and consistent user experience between the intelligent device and the entire vehicle.

[0076] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0077] Example 2

[0078] This embodiment also provides an access control device and system for an in-vehicle device. This device is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0079] Figure 3 This is a structural block diagram of an access control system for an on-board device according to an embodiment of the present invention, such as... Figure 3 As shown, the system includes a vehicle-mounted terminal, an in-vehicle device, and a cloud platform. The vehicle-mounted terminal is wirelessly connected to the in-vehicle device, and the cloud platform is connected to the vehicle-mounted terminal via MQTT communication. The vehicle-mounted terminal includes a device management service and a device manager.

[0080] The device management service is used to obtain access requests from in-vehicle devices; and to establish a wireless connection between the in-vehicle devices and the device management service based on the access requests.

[0081] The device manager is used to obtain information about the control components corresponding to the in-vehicle device from the cloud and load the control components on the vehicle.

[0082] The vehicle-mounted device is used to send an access request to the device management service;

[0083] The cloud is used to send information about the control components corresponding to the vehicle-mounted equipment to the device management service.

[0084] Optionally, the device management service is further configured to parse the device type of the in-vehicle device according to the access request; and establish a wireless connection between the in-vehicle device and the device management service on the vehicle side according to the device type.

[0085] Optionally, the device management service is further configured to, if the device type is a WiFi device, send the service set identifier (SSID) and password of the vehicle-mounted WiFi to the vehicle-mounted device; receive connection confirmation information sent by the vehicle-mounted device; and establish a wireless connection between the vehicle-mounted device and the device management service based on the connection confirmation information.

[0086] Optionally, the device management service is further configured to, if the device type is a Bluetooth device, obtain a Bluetooth connection request from the in-vehicle device; and establish a wireless connection between the in-vehicle device and the device management service on the vehicle side based on the Bluetooth connection request.

[0087] Optionally, the device management service is further configured to receive the device ID reported by the vehicle-mounted device; search for the device part number corresponding to the device ID from the cloud-based filing system; if a device part number corresponding to the device ID exists, load the control component corresponding to the vehicle-mounted device through the device manager on the vehicle side; if no device part number corresponding to the device ID exists, disconnect the wireless connection between the vehicle-mounted device and the device management service on the vehicle side.

[0088] Optionally, the device management service is further configured to receive a first control command sent from the cloud, the first control command being used to remotely control the vehicle-mounted device; forward the first control command to the vehicle-mounted device; obtain the execution status of the vehicle-mounted device executing the first control command; and upload the execution status to the cloud.

[0089] Optionally, the device management service is further configured to receive a second control request sent by the vehicle-mounted device, the second control request being used to request control of the vehicle terminal or to obtain the operating status of the vehicle terminal; and to call a general service interface to control the vehicle terminal or to obtain the operating status of the vehicle terminal.

[0090] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0091] Example 3

[0092] Embodiments of the present invention also provide a storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.

[0093] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0094] S1, obtain the access request from the vehicle-mounted device;

[0095] S2, Based on the access request, establish a wireless connection between the in-vehicle device and the device management service on the vehicle side;

[0096] S3, Load the control components corresponding to the vehicle-mounted equipment onto the vehicle end;

[0097] S4, control the vehicle-mounted equipment through the control component.

[0098] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0099] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0100] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0101] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:

[0102] S1, obtain the access request from the vehicle-mounted device;

[0103] S2, Based on the access request, establish a wireless connection between the in-vehicle device and the device management service on the vehicle side;

[0104] S3, Load the control components corresponding to the vehicle-mounted equipment onto the vehicle end;

[0105] S4, control the vehicle-mounted equipment through the control component.

[0106] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0107] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0108] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0109] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0110] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0111] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0112] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0113] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for access control of vehicle-mounted equipment, characterized in that, The method includes: Obtain the access request from the vehicle-mounted device; Based on the access request, a wireless connection is established between the in-vehicle device and the device management service on the vehicle side; The control components corresponding to the on-board equipment are loaded at the vehicle end; The vehicle-mounted equipment is controlled via the control component. The method further includes, after establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request, receiving the device ID reported by the in-vehicle device; searching for the device part number corresponding to the device ID from the cloud-based filing system, wherein the device part number is associated with the device ID of the in-vehicle device and is used to legally authenticate the in-vehicle device based on the filing information when the in-vehicle device accesses the system; if a device part number corresponding to the device ID exists, loading the control component corresponding to the in-vehicle device through the vehicle-side device manager; if a device part number corresponding to the device ID does not exist, disconnecting the wireless connection between the in-vehicle device and the vehicle-side device management service. The cloud and the vehicle are connected via MQTT communication. The cloud includes a registration system, a micro-application management system, and a smart device management system. The device management service runs on the vehicle system and is a resident service used to manage the access and communication with in-vehicle devices. It also establishes MQTT communication with the smart device management system. After detecting the access of an in-vehicle device, the device management service sends the access information of the in-vehicle device to the device manager APP. The device manager APP obtains the micro-application corresponding to the in-vehicle device from the micro-application management system, downloads and loads the corresponding micro-application, and presents the functional interface of the in-vehicle device.

2. The method according to claim 1, characterized in that, Establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request includes: The device type of the in-vehicle device is parsed based on the access request; Based on the device type, a wireless connection is established between the in-vehicle device and the device management service on the vehicle side.

3. The method according to claim 2, characterized in that, Establishing a wireless connection between the in-vehicle device and the vehicle-side device management service, based on the device type, includes: If the device type is a WiFi device, then the vehicle WiFi service set identifier (SSID) and password are sent to the vehicle-mounted device; Receive connection confirmation information sent by the vehicle-mounted device; Based on the connection confirmation information, a wireless connection is established between the vehicle-mounted device and the device management service on the vehicle side.

4. The method according to claim 2, characterized in that, Establishing a wireless connection between the in-vehicle device and the vehicle-side device management service, based on the device type, includes: If the device type is a Bluetooth device, then obtain the Bluetooth connection request of the vehicle device; Based on the Bluetooth connection request, a wireless connection is established between the in-vehicle device and the device management service on the vehicle side.

5. The method according to claim 1, characterized in that, After establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request, the method further includes: Receive a first control command sent from the cloud, the first control command being used to remotely control the vehicle-mounted equipment; The first control command is forwarded to the vehicle-mounted device; The execution status of the vehicle-mounted device executing the first control command is obtained, and the execution status is uploaded to the cloud.

6. The method according to claim 1, characterized in that, After establishing a wireless connection between the in-vehicle device and the vehicle-side device management service according to the access request, the method further includes: Receive a second control request sent by the vehicle-mounted device, the second control request being used to request control of the vehicle terminal or to obtain the operating status of the vehicle terminal; Call the general service interface to control the vehicle or obtain the operating status of the vehicle.

7. A vehicle-mounted equipment access control system, characterized in that, The system includes a vehicle-mounted terminal, an in-vehicle device, and a cloud platform. The vehicle-mounted terminal is wirelessly connected to the in-vehicle device, and the cloud platform is connected to the vehicle-mounted terminal via MQTT communication. The vehicle-mounted terminal includes a device management service and a device manager. The device management service is used to obtain access requests from in-vehicle devices; and to establish a wireless connection between the in-vehicle devices and the device management service based on the access requests. The device manager is used to obtain information about the control components corresponding to the in-vehicle device from the cloud and load the control components on the vehicle. The vehicle-mounted device is used to send an access request to the device management service; The cloud is used to send information about the control components corresponding to the vehicle-mounted equipment to the device management service; The device management service is further configured to receive the device ID reported by the vehicle-mounted device; search for the device part number corresponding to the device ID from the cloud-based filing system, wherein the device part number is associated with the device ID of the vehicle-mounted device and is used to legally authenticate the vehicle-mounted device based on the filing information when the vehicle-mounted device is connected; if a device part number corresponding to the device ID exists, the control component corresponding to the vehicle-mounted device is loaded through the device manager on the vehicle side; if a device part number corresponding to the device ID does not exist, the wireless connection between the vehicle-mounted device and the device management service on the vehicle side is disconnected. The cloud and the vehicle are connected via MQTT communication. The cloud includes a registration system, a micro-application management system, and a smart device management system. The device management service runs on the vehicle system and is a resident service used to manage the access and communication with in-vehicle devices. It also establishes MQTT communication with the smart device management system. After detecting the access of an in-vehicle device, the device management service sends the access information of the in-vehicle device to the device manager APP. The device manager APP obtains the micro-application corresponding to the in-vehicle device from the micro-application management system, downloads and loads the corresponding micro-application, and presents the functional interface of the in-vehicle device.

8. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the method described in any one of claims 1 to 6 when it is run.

9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and apparatus for application management

    US20140351206A1