Vehicle function test system, test method, medium and cloud device
By working together with the cloud service module and the simulation service module, the software logic of physical resources is simulated, which solves the problem of dependence on physical resources in vehicle functional testing, improves testing efficiency and reduces costs.
Patent Information
- Application Number
- CN202410925087.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-07-10
AI Technical Summary
In existing technologies, vehicle function testing processes rely heavily on physical resources, resulting in high testing costs and complexity, especially in the digital key function testing phase.
A vehicle function testing system is provided, including a cloud service module and a simulation service module. The cloud service module manages test information, and the simulation service module simulates the software logic of physical resources. Testing is carried out through information interaction, reducing dependence on physical resources.
It improved the efficiency of vehicle function testing, reduced the cost of physical resource participation, and enabled effective testing of the vehicle's target functions.
Smart Images

Figure CN118641225B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of testing, in particular to a vehicle function testing system, a testing method, a medium and a cloud device. BACKGROUND
[0002] In the related art, part of the functions of a vehicle are realized through multi-end interaction of entity resources such as the cloud, the vehicle, and the device. In the testing stage, whether the related software execution logic and connection link are normal is tested through multi-end interaction, so as to facilitate the corresponding adjustment of the developers on the faults. SUMMARY
[0003] To overcome the problems in the related art, the present disclosure provides a vehicle function testing system, a testing method, a medium and a cloud device.
[0004] According to a first aspect of the embodiments of the present disclosure, a vehicle function testing system is provided, and the testing system comprises:
[0005] a cloud service module configured to manage information required when testing a target function of a vehicle;
[0006] a simulation service module configured to simulate software logic of entity resources and test the target function through information interaction with the cloud service module.
[0007] Optionally, the cloud service module executes a first software logic in the target function, and the simulation service module comprises:
[0008] a vehicle simulation service module capable of information interaction with the cloud service module, the vehicle simulation service module being configured to simulate a second software logic executed by an entity vehicle;
[0009] an auxiliary simulation service module capable of information interaction with the vehicle simulation service module and the cloud service module, the auxiliary simulation service module being configured to simulate a third software logic, the third software logic being other software logic than the first software logic and the second software logic when testing the target function.
[0010] Optionally, the cloud service module is communicatively connected to the vehicle simulation service module through a communication link, and the cloud service module is communicatively connected to the auxiliary simulation service module through a communication link.
[0011] Optionally, the auxiliary simulation service module comprises:
[0012] a device factory cloud simulation service module configured to simulate software logic of a device cloud service deployed on a cloud server and / or a native application installed on an electronic device;
[0013] application simulation service modules for simulating software logic of a vehicle plant application installed on the electronic device;
[0014] Any two of the cloud service module, the vehicle simulation service module, the device plant cloud simulation service module and the application simulation service module can interact information.
[0015] Optionally, the cloud service module comprises:
[0016] Gateway service modules for managing information interaction between the simulation service modules and the cloud service module, a gateway service module and the cloud service module are connected by a first communication link, a gateway service module and a simulation service module are connected by a second communication link.
[0017] Optionally, the entity resource corresponding to the gateway service module and the simulation service module can be connected by a third communication link;
[0018] The gateway service module is configured to:
[0019] Receive the test instruction sent by the cloud service module;
[0020] When the test instruction does not meet the preset condition, the second communication link is selected for communication, so that the simulation service module receives the test instruction;
[0021] When the test instruction meets the preset condition, the third communication link is selected for communication, so that the entity resource corresponding to the simulation service module receives the test instruction.
[0022] Optionally, the preset condition comprises:
[0023] The test instruction carries an identifier in a preset identifier set, wherein the preset identifier set stores an identifier corresponding to each entity resource.
[0024] Optionally, when the gateway service module comprises a cloud-to-cloud communication gateway service module, correspondingly, the simulation service module comprises a device plant cloud simulation service module, and the entity resource corresponding to the simulation service module comprises a cloud server deployed with a device cloud service;
[0025] When the gateway service module comprises a vehicle-to-cloud communication gateway service module, correspondingly, the simulation service module comprises a vehicle simulation service module, and the entity resource corresponding to the simulation service module comprises a vehicle;
[0026] When the gateway service module comprises an application communication gateway service module, correspondingly, the simulation service module comprises an application simulation service module, and the entity resource corresponding to the simulation service module comprises an electronic device on which a vehicle factory application program is deployed.
[0027] Optionally, the second communication link adopts an HTTP communication protocol or an HTTPS communication protocol, and the third communication link adopts an MQTT communication protocol.
[0028] Optionally, the target function is at least one of a digital key function, a remote control function, and an over-the-air download function of the vehicle.
[0029] Optionally, when the target function is the digital key function, the cloud service module comprises:
[0030] a vehicle information management service module configured to manage information of the vehicle;
[0031] a key information management service module configured to manage digital key information;
[0032] an account information management service module configured to manage user account information;
[0033] a certificate information management service module configured to manage certificate information corresponding to the digital key;
[0034] Any two of the vehicle information management service module, the key information management service module, the account information management service module, and the certificate information management service module can interact with each other.
[0035] According to a second aspect of the embodiments of the present disclosure, a vehicle function test method is provided, and the test method comprises:
[0036] managing information required for testing a target function of a vehicle through a cloud service module;
[0037] testing the target function by simulating software logic of an entity resource through a simulation service module and interacting with the cloud service module.
[0038] According to a third aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, and the computer readable storage medium stores computer program instructions, which, when executed by a processor, implement the vehicle function test method provided in the second aspect of the embodiments of the present disclosure.
[0039] According to a fourth aspect of the embodiments of the present disclosure, a cloud device is provided, and the cloud device comprises the vehicle function test system provided in the first aspect of the embodiments of the present disclosure.
[0040] The technical solutions provided by the embodiments of the present disclosure can have the following beneficial effects:
[0041] The vehicle function test system of the present disclosure sets a cloud service module and a simulation service module, the cloud service module can manage information required when testing a target function of a vehicle, and the simulation service module can simulate software logic of physical resources and test the target function through information interaction with the cloud service module. In this way, the software execution process of the physical resources related to the software logic simulation is executed using the simulation service module, which can replace the interaction between the physical resources and the cloud service module, improve the test efficiency of the target function of the vehicle, and reduce the cost of the physical resources when testing the target function.
[0042] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0043] The accompanying drawings incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure together with the specification.
[0044] Figure 1 is a block diagram of a system architecture for implementing a digital key related function of a vehicle according to an exemplary embodiment.
[0045] Figure 2 is a block diagram of another system architecture for implementing a digital key related function of a vehicle according to an exemplary embodiment.
[0046] Figure 3 is a block diagram of a vehicle function test system according to an exemplary embodiment.
[0047] Figure 4 is a block diagram of another vehicle function test system according to an exemplary embodiment.
[0048] Figure 5 is a flowchart of a vehicle function test method according to an exemplary embodiment.
[0049] Figure 6 is a block diagram of a cloud device according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The following description is made in connection with the drawings, in which the same reference numerals represent the same elements throughout the several figures. The following exemplary embodiments described herein are not meant to be all inclusive or represent all implementations consistent with the present disclosure. Rather, they are merely examples in accordance with some aspects of the present disclosure, as detailed in the appended claims.
[0051] Currently, some functions of the vehicle are triggered by the application program installed in the electronic device, and the information interaction between the application program in the electronic device and the cloud service of the cloud server of the vehicle manufacturer, the cloud service of the cloud server of the electronic device and the vehicle controller is realized. For example, the user can create, lose, recover and delete a digital key through the application program in the electronic device; the user can remotely control the vehicle through the application program in the electronic device, such as remotely controlling the air conditioner on the vehicle to turn on or off, remotely controlling the vehicle to start or turn off, etc.; the user can also realize the related functions of the over-the-air technology (OTA) of the vehicle through the electronic device, etc.
[0052] Referring to Figure 1 Taking a conventional system architecture for realizing the related functions of the digital key of the vehicle in the related art as an example, the system architecture includes a cloud service module 301 of a cloud server of a vehicle manufacturer, a device cloud service module 101 of a cloud server of an electronic device, a vehicle 104, a native application program 102 and a vehicle manufacturer application program 103 installed in the electronic device. In the block diagram, the connection lines represent the communication links between the modules in the system.
[0053] Specifically, the communication link A is usually a network communication link for cloud-cloud connection between the cloud service module 301 of the vehicle factory and the cloud service module 101 of the equipment factory, which can be connected in the process of jointly developing the digital key business system by the vehicle factory and the equipment factory. The communication link B is usually a wireless communication link for connection between the vehicle 104 and the electronic equipment through the NFC (Near Field Communication) protocol, or the Bluetooth protocol, or the UWB (Ultra Wide Band) protocol, which can be connected in the process of jointly developing the digital key business system by the vehicle factory and the equipment factory. The communication link C is usually a vehicle-cloud communication link between the cloud service module 301 of the vehicle factory and the vehicle 104, which can be defined and developed in the stage of developing the vehicle by the vehicle factory; the communication link D is usually a network communication link between the cloud service module 101 of the equipment factory and the native application 102 on the electronic equipment, which can be defined and developed in the stage of developing the electronic equipment by the equipment factory; and the communication link E is usually a network communication link defined by the vehicle factory between the cloud service module 301 of the vehicle factory and the vehicle factory application 103 on the electronic equipment, which can be defined and developed in the stage of developing the vehicle factory application 103 by the vehicle factory.
[0054] For example, referring to Figure 2 , the cloud service module 301 of the vehicle factory can be composed of multiple sub-modules. The cloud service module 301 of the vehicle factory can include an information management service module 3011 for managing information required for a certain function of the vehicle. In the digital key related function, the information management service module 3011 can specifically include a vehicle information management service module for managing vehicle related information, a key information management service module for managing key related information, an account information management service module for managing user account related information, and a certificate information management service module for managing security certificate information related to the digital key. The network communication link between each module in the information management service module 3011 can be defined and developed when the vehicle factory develops the cloud service of the vehicle factory and the digital key function.
[0055] Continuing to refer to Figure 2 , the communication links for information interaction between the information management service module 3011 in the cloud service module 301 of the vehicle factory and the equipment factory cloud service module 301 of the equipment factory, the vehicle, and the vehicle factory application 103 on the electronic equipment are shown. The cloud service module 301 of the vehicle factory further includes a cloud-cloud communication gateway service module 3012, a vehicle-cloud communication gateway service module 3013, and an application communication gateway service module 3014. Among them, the gateway can be used between two systems with different communication protocols, data formats or languages, or even completely different architectures, repack the received information to meet the needs of the destination system.
[0056] Specifically, the cloud-to-cloud communication gateway service module 3012 is communicatively connected with the device cloud service module 101 through a communication link A and communicatively connected with the information management service module 3011 through a communication link F. The vehicle-to-cloud communication gateway service module 3013 is communicatively connected with the vehicle through a communication link C and communicatively connected with the information management service module 3011 through a communication link G. The application communication gateway service module 3014 is communicatively connected with the vehicle manufacturer application 103 carried on the electronic device through a communication link E and communicatively connected with the information management service module 3011 through a communication link H. The communication link F, the communication link G, and the communication link H can be defined and developed at the cloud service module 301 of the vehicle manufacturer end and the digital key function stage during the development of the vehicle manufacturer.
[0057] Part of the functions of the vehicle, such as the digital key creation function, the digital key loss function, the digital key recovery function, the digital key deletion function, etc., are completed through multiple information interactions of the above-mentioned multiple communication links. As the above system architecture, the development, verification, and debugging of the vehicle functions require the joint participation of multiple ends, multiple platforms, and multiple technical systems, and the complexity of the testing and verification process is high. In addition, due to the dependence of the digital key function test on the physical vehicle and the physical electronic device, the investment cost in the digital key test stage is also relatively high.
[0058] Referring to Figure 3 , Figure 3 is a block diagram of a vehicle function test system according to an exemplary embodiment, as shown in Figure 3 , the test system comprises:
[0059] a cloud service module 301 for managing information required for testing a target function of a vehicle;
[0060] a simulation service module 302 for simulating the software logic of the physical resources and testing the target function through information interaction with the cloud service module 301.
[0061] For example, the target function can be a function for controlling the vehicle to achieve a target through the participation of multiple devices. For example, the target function is to create, lose, recover, and delete a digital key through an application program in the electronic device. For example, the target function is to remotely control the vehicle through the application program of the electronic device, such as remotely controlling the air conditioner on the vehicle to turn on or off, remotely controlling the vehicle to start or turn off, etc. For example, the target function is to implement the over-the-air technology function of the vehicle through the electronic device.
[0062] For example, the entity resource can be a device other than the cloud device carrying the cloud service module 301 in the existing system architecture for testing the vehicle function, for example, the vehicle 104, the electronic device carrying the vehicle factory application 103 and the native application 102, and the cloud server deploying the device cloud service module 101, and the like.
[0063] The cloud service module 301 can manage information required when testing the target function of the vehicle. For example, when the target function is a digital key function, the cloud service module 301 can include vehicle information, certificate information of the digital key, user account information, digital key information, and the like. The cloud service module 301 can be used to store information, manage and perform data processing on the information stored therein, for example, according to the request information passed by other modules, through a series of encryption, decryption, security authentication and other logical operations, to identify whether the request information is legal, and if so, send the stored information to the other module, and the like.
[0064] For example, the simulation service module 302 can be used to simulate the software logic of the entity resource, that is, the software logic executed by the simulation service module 302 is the software logic executed by the cloud service module 301 of the vehicle factory in the existing system architecture for testing the vehicle function. Through the execution of corresponding software logic and information interaction between the cloud service module 301 and the simulation service module 302, the target function can be tested.
[0065] The cloud service module 301 and the simulation service module 302 can be arranged on the same cloud device or different cloud devices, and the disclosure does not limit this.
[0066] The vehicle function test system of the disclosure sets the cloud service module 301 and the simulation service module 302. The cloud service module 301 can manage information required when testing the target function of the vehicle, and the simulation service module 302 can simulate the software logic of the entity resource and test the target function through information interaction with the cloud service module 301. In this way, the software execution process of the entity resource related to the simulation of the software logic by the simulation service module 302 can replace the interaction between the entity resource and the cloud service module 301, improve the testing efficiency of the target function of the vehicle, and reduce the cost of the entity resource when testing the target function.
[0067] As an optional embodiment, the cloud service module 301 executes a first software logic in the target function, and the simulation service module 302 includes:
[0068] a vehicle simulation service module 3022, capable of information interaction with the cloud service module 301, the vehicle simulation service module 3022 being configured to simulate second software logic executed by the physical vehicle 104;
[0069] an auxiliary simulation service module, capable of information interaction with the vehicle simulation service module 3022 and the cloud service module 301, the auxiliary simulation service module being configured to simulate third software logic, the third software logic being other software logic than the first software logic and the second software logic when testing the target function.
[0070] For example, in the target function of the vehicle, the cloud service module 301 of the vehicle factory, the vehicle 104, the electronic device end and the cloud service of the device factory can all execute corresponding software logic. Among them, the cloud service module 301 can execute the first software logic, the vehicle can execute the second software logic, and the electronic device end and the cloud service of the device factory can execute the third software logic. Here, the second software logic is executed through the vehicle simulation service module 3022, and the third software logic is executed through the auxiliary simulation service module, and through information interaction, the testing process of the target function is realized. It can be understood that the first software logic, the second software logic and the third software logic here are not only the software logic executed in one interaction, but also the collection of software logic executed by the cloud service module 301, the vehicle simulation service module 3022 and the auxiliary simulation service module in the process of testing the target function. For example, after the cloud service module 301 sends the execution result of the first sub-logic to the vehicle simulation service module 3022 after executing the first sub-logic, the vehicle simulation service module 3022 executes the second sub-logic, and sends the execution result of the second sub-logic to the cloud service module 301, the cloud service module 301 executes the third sub-logic again, and outputs the execution result to the auxiliary simulation service module, realizes the testing of the target function, and the first software logic corresponding to the cloud service module 301 can be the collection of the first sub-logic and the third sub-logic.
[0071] As a specific example, for the key creation process of a vehicle, a user creates a key for a target vehicle through a vehicle manufacturer application on an electronic device. Through the user's creation operation on the electronic device, the electronic device sends an identity authentication instruction to the device manufacturer cloud, the device manufacturer cloud performs an identity authentication process according to the identity authentication instruction, outputs an identity authentication result, and returns it to the electronic device. When the verification is passed, the electronic device sends vehicle information to the vehicle manufacturer cloud, the vehicle manufacturer cloud receives the vehicle information and generates a digital key, sends the digital key to the electronic device, and the electronic device receives the digital key and communicates with the vehicle end. The vehicle end receives the instruction and verifies the digital key information, the vehicle end feeds back the result of successful verification to the electronic device end, the electronic device end receives the result of successful verification and communicates with the vehicle manufacturer cloud, and the vehicle and the vehicle manufacturer cloud communicate in real time to record the information of the vehicle and update the state of the vehicle. Among them, the information transmission, information processing, digital key generation and other processes performed by the vehicle manufacturer cloud can be implemented by executing the sub-logic of the first software logic in the target function through the cloud service module 301; the information transmission, information processing, vehicle information reporting, digital key information verification and other processes performed by the vehicle end can be implemented by executing the sub-logic of the second software logic through the vehicle simulation service module 3022; the information transmission, information processing, identity authentication and other processes performed by the electronic device end and the device manufacturer cloud can be implemented by executing the sub-logic of the third software logic through the auxiliary simulation service module.
[0072] For example, when testing the target function of the vehicle, if it is in the vehicle development stage, the entity resources of the vehicle 104 are less, and the development process of the target function such as the digital key function is hindered. The vehicle simulation service module 3022 can simulate the software logic executed by the internal control system of the vehicle 104. When the control system of the entity vehicle 104 is replaced by the vehicle simulation service module 3022, the vehicle simulation service module 3022 can be set on the cloud device. The vehicle simulation service module 3022 may not have a communication link connected to other ends, that is, the vehicle simulation service module 3022 cannot send instructions or requests to the entity resources of other ends, nor can it receive instructions or requests sent by the entity resources of other ends. Of course, if the vehicle simulation service module 3022 can be connected to other ends for communication, the auxiliary simulation service module can not be used. However, in order to as little as possible rely on entity resources to realize the test of the target function, whether the entity resources of other ends participating in the target function are scarce or not, the auxiliary simulation service module can be used to simulate the software logic executed by the entity resources of the other end.
[0073] The disclosure is directed to the dependence on entity resources in the system architecture of the functional test of the traditional vehicle described above, and the objective fact that the number of entity vehicles at the vehicle factory end is insufficient in the vehicle development stage. By deploying in the cloud, the software execution process of the related entity resources in the functional test software logic is simulated, instead of the vehicle 104, electronic equipment and other entity resources, interacting with the simulation service software carried by the cloud, so as to improve the functional test efficiency of the vehicle and reduce the test cost.
[0074] As an optional embodiment, the cloud service module 301 is in communication connection with the vehicle simulation service module 3022 through a communication link, and the cloud service module 301 is in communication connection with the auxiliary simulation service module through a communication link.
[0075] For example, the communication link refers to the physical or logical connection between two devices or systems, which can be established by wired or wireless means. The communication link here can be wireless. The communication link can ensure that data can be reliably transmitted between the sender and the receiver, and further provide appropriate routing, bandwidth allocation and security protection.
[0076] For example, when the cloud service module 301 interacts with the vehicle simulation service module 3022, it can communicate through the communication link between the cloud service module 301 and the vehicle simulation service module 3022. When the cloud service module 301 interacts with the auxiliary simulation service module, it can communicate through the communication link between the cloud service module 301 and the auxiliary simulation service module.
[0077] As an optional embodiment, the auxiliary simulation service module includes:
[0078] The device factory cloud simulation service module 3021 is used to simulate the software logic of the device cloud service deployed in the cloud server and / or the native application 102 installed on the electronic device.
[0079] The application simulation service module 3023 is used to simulate the software logic of the vehicle factory application 103 installed on the electronic device.
[0080] Any two of the cloud service module 301, the vehicle simulation service module 3022, the device factory cloud simulation service module 3021 and the application simulation service module 3023 can interact with each other.
[0081] For example, when the target function of the vehicle is implemented by the corresponding logic of the application program in the electronic device and the cloud service of the device manufacturer, the auxiliary simulation service module can include a device manufacturer cloud simulation service module 3021 for simulating the software logic of the device cloud service deployed in the cloud server and / or the native application 102 installed on the electronic device, and an application simulation service module 3023 for simulating the software logic of the vehicle manufacturer application 103 installed on the electronic device. By executing the software logic in each of the cloud service module 301, the vehicle simulation service module 3022, the device manufacturer cloud simulation service module 3021 and the application simulation service module 3023, and the information interaction between any two of the above modules, the test process of the target function of the vehicle can be realized.
[0082] As an optional embodiment, the target function is at least one of a digital key function, a remote control function and an over-the-air download function of the vehicle.
[0083] For example, the digital key function of the vehicle includes functions such as creation, loss, recovery and deletion of the digital key through the electronic device. The remote control function of the vehicle includes functions such as remote control of the air conditioner on the vehicle, remote control of the start or shutdown of the vehicle, etc. through the electronic device. The over-the-air download function of the vehicle includes functions such as remote download of data packets of the vehicle, such as system upgrade data packets, application update data packets, other required data, etc. through over-the-air download technology.
[0084] As an optional embodiment, when the target function is the digital key function, the cloud service module 301 includes:
[0085] a vehicle information management service module for managing information of the vehicle;
[0086] a key information management service module for managing digital key information;
[0087] an account information management service module for managing user account information;
[0088] a certificate information management service module for managing certificate information corresponding to the digital key;
[0089] wherein any two of the vehicle information management service module, the key information management service module, the account information management service module and the certificate information management service module can interact with each other.
[0090] For example, when the target function is a digital key function of a vehicle, when creating, losing, recovering, and deleting a digital key, the data information that can be used includes vehicle information, key information, user account information, certificate information corresponding to the digital key, and the like. Through information interaction between any two of the vehicle information management service module, the key information management service module, the account information management service module, and the certificate information management service module, the target function of the vehicle can be implemented. Each module can manage a type of information, and the management process can be, for example, updating, deleting, adding, identity verification, data processing, encryption and decryption, certificate updating, certificate generation, and the like.
[0091] As an optional embodiment, the cloud service module 301 includes:
[0092] A gateway service module is configured to manage information interaction between the simulation service module 302 and the cloud service module 301. A gateway service module is in communication connection with the cloud service module 301 through a first communication link, and a gateway service module is in communication connection with a simulation service module 302 through a second communication link.
[0093] For example, the gateway service module has the functions of data forwarding, communication protocol conversion, and data format conversion. According to different attribute information, the received information can be selectively forwarded to the corresponding communication link. By setting a gateway service module between the simulation service module 302 and the cloud service module 301, communication links with different communication protocols and different data formats can be set, and the diversification of communication connection can be achieved.
[0094] It can be understood that the gateway service module is arranged on the communication link between the cloud service module 301 and the simulation service module 302. For example, the communication link between the cloud service module 301 and the vehicle simulation service module 3022 can be divided into a first communication link and a second communication link, and the corresponding gateway service module is a vehicle cloud gateway service module. The cloud service module 301 is in communication connection with the vehicle cloud gateway service module through the first communication link, and the vehicle cloud gateway service module is in communication connection with the vehicle simulation service module 3022 through the second communication link.
[0095] As an optional embodiment, the entity resource corresponding to the gateway service module and the simulation service module 302 can be in communication connection through a third communication link.
[0096] The gateway service module is configured to:
[0097] receive a test instruction sent by the cloud service module 301;
[0098] When the test instruction does not satisfy the preset condition, the second communication link is selected for communication, so that the simulation service module 302 receives the test instruction.
[0099] When the test instruction satisfies the preset condition, the third communication link is selected for communication, so that the entity resource corresponding to the simulation service module 302 receives the test instruction.
[0100] For example, the gateway service module has the ability to forward different instructions or requests to different modules. Routing is the activity of transferring information from a source address to a destination address through interconnected networks. The gateway service module can be connected to a simulation service module 302 through a second communication link, and the gateway service module can be connected to the entity resource corresponding to the simulation service module 302 through a third communication link. The gateway service module can realize the selection of forwarding requests or instructions to the module connected by the second communication link or the entity resource connected by the third communication link through the identification carried in the instruction or request.
[0101] The present disclosure can be executed and information can be interacted through the software logic of the cloud service module 301 and the simulation service module 302, and the target function of the vehicle can be effectively verified without the intervention of the entity vehicle and the entity device. Through actual testing, at least 60% of the communication links of the digital key function of the vehicle and the corresponding function logic of the function can be tested.
[0102] As an optional embodiment, the preset condition includes:
[0103] There is an identification carried by the test instruction in the preset identification set, and the preset identification set stores the identification corresponding to each entity resource.
[0104] For example, the identification corresponding to each entity resource can be stored in the preset identification set, and when the gateway service module receives the test instruction sent by the cloud service module 301 or the simulation service module 302, the identification carried in the test instruction can be identified to determine that the test instruction is sent to the corresponding communication link. If the identification carried by the test instruction exists in the preset identification set, the third communication link is selected for communication, so that the entity resource corresponding to the simulation service module 302 receives the test instruction. If the identification carried by the test instruction does not exist in the preset identification set, the second communication link is selected for communication, so that the simulation service module 302 receives the test instruction. The preset identification set can be presented in the form of a list, and the identification can be the number of entity resources and virtual devices, for example, the entity vehicle is numbered as 01, 02, 03, and the virtual vehicle, i.e. the simulation service module, is numbered as A, B, etc., or it can also be the IP address of the entity resource, etc.
[0105] As an optional embodiment, when the gateway service module comprises the cloud-cloud communication gateway service module 3012, correspondingly, the one simulation service module comprises the device factory cloud simulation service module 3021, and the entity resource corresponding to the simulation service module comprises a cloud server on which a device cloud service is deployed;
[0106] When the gateway service module comprises the vehicle-cloud communication gateway service module 3013, correspondingly, the one simulation service module comprises the vehicle simulation service module 3022, and the entity resource corresponding to the simulation service module 302 comprises the vehicle 104;
[0107] When the gateway service module comprises the application communication gateway service module 3014, correspondingly, the one simulation service module 302 comprises the application simulation service module 3023, and the entity resource corresponding to the simulation service module 302 comprises an electronic device on which the vehicle factory application program 103 is deployed.
[0108] For example, referring to Figure 4 , the device factory cloud simulation service module 3021 and the cloud server on which the device cloud service is deployed are in communication connection with the cloud-cloud communication gateway service module 3012 through the communication link I and the communication link A respectively, the cloud-cloud communication gateway service module 3012 can selectively forward the test instruction sent by the information management service module 3011 to the device factory cloud simulation service module 3021 or the cloud server on which the device cloud service is deployed, or can send the test instruction received from the device factory cloud simulation service module 3021 or the cloud server on which the device cloud service is deployed to the information management service module 3011. The vehicle simulation service module 3022 and the vehicle are in communication connection with the vehicle-cloud communication gateway service module 3013 through the communication link J and the communication link C respectively, the vehicle-cloud communication gateway service module 3013 can selectively forward the test instruction sent by the information management service module 3011 to the vehicle simulation service module 3022 or the vehicle, or can send the test instruction received from the vehicle simulation service module 3022 or the vehicle to the information management service module 3011. The application simulation service module 3023 and the electronic device on which the vehicle factory application program 103 is deployed are in communication connection with the application communication gateway service module 3014 through the communication link K and the communication link E respectively, the application communication gateway service module 3014 can selectively forward the test instruction sent by the information management service module 3011 to the application simulation service module 3023 or the vehicle factory application program 103, or can send the test instruction received from the application simulation service module 3023 or the vehicle factory application program 103 to the information management service module 3011.
[0109] As an optional embodiment, the second communication link adopts HTTP communication protocol or HTTPS communication protocol, and the third communication link adopts MQTT communication protocol.
[0110] Wherein, MQTT (Message Queuing Telemetry Transport) is a message protocol based on publish / subscribe paradigm under ISO standard (ISO / IEC PRF 20922). It works on TCP / IP protocol family, and is a publish / subscribe type message protocol designed for remote devices with low hardware performance and poor network conditions. HTTP (Hypertext Transfer Protocol) is a simple request response protocol, and HTTPS (Hypertext Transfer Protocol Secure) is a secure HTTP channel, which ensures the security of the transmission process through transmission encryption and identity authentication on the basis of HTTP.
[0111] For example, the communication protocol used by the communication link between the entity resource and the cloud service module 301 can be different from the communication protocol used by the communication link between the simulation service module and the cloud service module 301. By converting the communication protocol and data through the gateway service module, the different communication links can be routed for testing. That is, the functions that cannot be tested by the vehicle part through the second communication link, or the further verification process of the test results of the target function, can be realized through the third communication link routed by the gateway service module.
[0112] Continuing to refer to Figure 4 The vehicle function test system provided by the present disclosure is described in detail. The vehicle function test system includes a cloud service module 301 and a simulation service module 302 that are in communication connection with each other. Specifically, the cloud service module 301 includes an information management service module 3011 for managing information required for testing the target function of the vehicle, the simulation service module 302 includes a vehicle simulation service module 3022 for simulating software logic executed by the entity vehicle, a device cloud simulation service module 3021 for simulating software logic of the device cloud service deployed on the cloud server and / or the native application program 102 installed on the electronic device, and an application simulation service module 3023 for simulating software logic of the vehicle manufacturer application program 103 installed on the electronic device.
[0113] Specifically, the cloud service module 301 further comprises a cloud-cloud communication gateway service module 3012, which is communicatively connected with the information management service module 3011 through a communication link F, communicatively connected with the device factory cloud simulation service module 3021 through a communication link I, and capable of being communicatively connected with the cloud server carrying the device cloud service through a communication link A. The cloud service module 301 further comprises a vehicle-cloud communication gateway service module 3013, which is communicatively connected with the information management service module 3011 through a communication link G, communicatively connected with the vehicle simulation service module 3022 through a communication link J, and capable of being communicatively connected with the vehicle through a communication link C. The cloud service module 301 further comprises an application communication gateway service module 3014, which is communicatively connected with the information management service module 3011 through a communication link H, communicatively connected with the application simulation service module 3023 through a communication link K, and capable of being communicatively connected with the electronic device installed with the vehicle factory application program 103 through a communication link E. Among them, the device factory cloud simulation service module 3021 and the vehicle simulation service module 3022 are communicatively connected through a communication link L, the device factory cloud simulation service module 3021 and the application simulation service module 3023 are communicatively connected through a communication link M, and the vehicle simulation service module 3022 and the application simulation service module 3023 are communicatively connected through a communication link N.
[0114] Specifically, the information management service module 3011 comprises a vehicle information management service module for managing information of the vehicle, a key information management service module for managing digital key information, an account information management service module for managing user account information, and a certificate information management service module for managing certificate information corresponding to the digital key, and any two of the vehicle information management service module, the key information management service module, the account information management service module, and the certificate information management service module can interact information through the corresponding communication link.
[0115] For example, for the testing, verification, joint debugging and actual use process of the digital key function, such as the communication link between the modules in the information management service module 3011 in the cloud service module 301, interface call, the request mode in the traditional digital key function can be used for request and access. For example, for the scenario of communication between the cloud service module 301 and the device cloud service and the electronic device, simulation can be performed through the communication link I and the device factory cloud simulation service module 3021, so that the related requests of the cloud service module 301 are sent to the device factory cloud simulation service module 3021. For the scenario of communication between the cloud service module 301 and the entity vehicle 104, simulation is performed through the communication link J and the vehicle simulation service module 3022, so that the related requests of the cloud service module 301 are sent to the vehicle simulation service module 3022. For the scenario of communication between the cloud service module 301 and the vehicle factory application program 103 and the electronic device, simulation is performed through the communication link K and the application simulation service module 3023, so that the cloud service module 301 sends the related requests to the application simulation service module 3023. In addition, for the near field communication scenario between the entity vehicle 104 and the entity device, simulation can be performed through the communication link L, the communication link M and the communication link N.
[0116] Referring to Figure 5 The vehicle function test method provided by the embodiment of the present disclosure can be applied to a cloud device or other terminal, and includes the following steps.
[0117] S501, managing information required for testing a target function of a vehicle by a cloud service module 301;
[0118] S502, simulating software logic of an entity resource by a simulation service module 302, and testing the target function through information interaction between the cloud service module 301 and the simulation service module 302.
[0119] For example, the cloud service module 301 has the ability to manage information required for testing a target function of a vehicle, and the simulation service module 302 has the ability to simulate software logic of an entity resource and test the target function through information interaction between the cloud service module 301 and the simulation service module 302.
[0120] When testing a target function of a vehicle, the simulation service module 302 simulates software logic executed by an entity resource, which can replace the entity resource to interact with the cloud service module 301, thereby improving the testing efficiency of the target function of the vehicle, and the participation of the entity resource is not required when testing the target function, thereby reducing the cost of the entity resource when testing the target function.
[0121] The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the vehicle function testing method provided by the present disclosure.
[0122] The present disclosure also provides a cloud device comprising the vehicle function testing system provided by the present disclosure.
[0123] Figure 6 is a block diagram of a cloud device 1900 according to an exemplary embodiment. For example, the cloud device 1900 can be provided as a server. Referring to Figure 6 , the cloud device 1900 comprises a processing component 1922, which further comprises one or more processors, and a memory resource represented by a memory 1932, for storing instructions, such as application programs, executable by the processing component 1922. The application programs stored in the memory 1932 can comprise one or more than one module each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute the instructions to perform the vehicle function testing method described above.
[0124] The cloud device 1900 can also comprise a power supply component 1926 configured to perform power management of the cloud device 1900, a wired or wireless network interface 1950 configured to connect the cloud device 1900 to a network, and an input / output interface 1958. The cloud device 1900 can operate based on an operating system stored in the memory 1932, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or the like.
[0125] In another exemplary embodiment, a computer program product is also provided, which comprises a computer program capable of being executed by a programmable apparatus, the computer program having code portions for performing the vehicle function testing method described above when executed by the programmable apparatus.
[0126] Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the present disclosure. The present disclosure is intended to cover any variations, uses or adaptive changes of the present disclosure following the general principles thereof and including those expressly stated or implied herein. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0127] It should be understood that the present disclosure is not limited to the precise construction that has been described above and shown in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the present disclosure. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A vehicle function test system characterized by comprising: The test system comprises: a cloud service module for managing information required for testing a target function of a vehicle; a simulation service module for simulating software logic of physical resources and testing the target function through information interaction with the cloud service module; the simulation service module comprises: a vehicle simulation service module capable of information interaction with the cloud service module; an auxiliary simulation service module capable of information interaction with the vehicle simulation service module and the cloud service module; wherein the auxiliary simulation service module is configured to simulate software logic of physical devices other than the physical vehicle, the physical devices at least including electronic devices for installing a vehicle manufacturer application.
2. The vehicle function test system of claim 1, wherein the cloud service module executes first software logic in the target function; the vehicle simulation service module is configured to simulate second software logic executed by the physical vehicle; the auxiliary simulation service module is configured to simulate third software logic, the third software logic being other software logic than the first software logic and the second software logic for testing the target function.
3. The vehicle function test system of claim 2, wherein the cloud service module is communicatively connected to the vehicle simulation service module through a communication link, and the cloud service module is communicatively connected to the auxiliary simulation service module through a communication link.
4. The vehicle function test system of claim 2, wherein the auxiliary simulation service module comprises: a device factory cloud simulation service module configured to simulate software logic of a device factory cloud service deployed on a cloud server and / or a native application installed on an electronic device; an application simulation service module configured to simulate software logic of a vehicle manufacturer application installed on an electronic device; wherein any two of the cloud service module, the vehicle simulation service module, the device factory cloud simulation service module and the application simulation service module are capable of information interaction.
5. The vehicle function test system according to any one of claims 1 to 4, characterized by the cloud service module comprises: a gateway service module configured to manage information interaction between the simulation service module and the cloud service module, a gateway service module being communicatively connected to the cloud service module through a first communication link, and a gateway service module being communicatively connected to a simulation service module through a second communication link.
6. The vehicle function testing system of claim 5, wherein, the entity resource corresponding to the gateway service module and the simulation service module is capable of communication through a third communication link; the gateway service module is configured to: receive a test instruction sent by the cloud service module; when the test instruction does not meet a preset condition, route select the second communication link for communication, so that the simulation service module receives the test instruction; when the test instruction meets the preset condition, route select the third communication link for communication, so that the entity resource corresponding to the simulation service module receives the test instruction.
7. The vehicle function testing system of claim 6, wherein the preset condition comprises: existence of an identifier carried by the test instruction in a preset identifier set, wherein the preset identifier set stores an identifier corresponding to each entity resource.
8. The vehicle function test system of claim 6, wherein When the gateway service module comprises a cloud-to-cloud communication gateway service module, correspondingly, the one simulation service module comprises a device factory cloud simulation service module, and the entity resource corresponding to the simulation service module comprises a cloud server on which a device cloud service is deployed; When the gateway service module comprises a vehicle-to-cloud communication gateway service module, correspondingly, the one simulation service module comprises a vehicle simulation service module, and the entity resource corresponding to the simulation service module comprises a vehicle; When the gateway service module comprises an application communication gateway service module, correspondingly, the one simulation service module comprises an application simulation service module, and the entity resource corresponding to the simulation service module comprises an electronic device on which a vehicle factory application program is deployed.
9. The vehicle function testing system of claim 6, wherein, The second communication link adopts an HTTP communication protocol or an HTTPS communication protocol, and the third communication link adopts an MQTT communication protocol.
10. The vehicle function test system according to any one of claims 1 to 4, characterized by The target function is at least one of a digital key function, a remote control function, and an over-the-air download function of the vehicle.
11. The vehicle function testing system of claim 10, wherein, When the target function is the digital key function, the cloud service module comprises: a vehicle information management service module configured to manage information of the vehicle; a key information management service module configured to manage digital key information; an account information management service module configured to manage user account information; a certificate information management service module configured to manage certificate information corresponding to the digital key; wherein any two of the vehicle information management service module, the key information management service module, the account information management service module, and the certificate information management service module can perform information interaction.
12. A vehicle function test method characterized by, The test method comprises: managing information required for testing the target function of the vehicle through the cloud service module; testing the target function through the simulation service module simulating software logic of the entity resource and performing information interaction with the cloud service module; wherein the simulation service module comprises: a vehicle simulation service module capable of performing information interaction with the cloud service module; an auxiliary simulation service module capable of performing information interaction with the vehicle simulation service module and the cloud service module; wherein the auxiliary simulation service module is configured to simulate software logic of other entity devices other than the entity vehicle, and the other entity devices at least comprise an electronic device configured to install a vehicle factory application program.
13. A computer-readable storage medium having stored thereon computer program instructions, wherein, The program instruction, when executed by a processor, implements the vehicle function test method of claim 12.
14. A computer program product comprising a computer program executable by a programmable device, the computer program having code portions for performing the vehicle function test method of claim 12 when executed by the programmable device.
15. A cloud device, comprising: The vehicle function test system of any one of claims 1-11.
Citation Information
Patent Citations
Vehicle digital key basic service system and cloud platform
CN115035636A
Method and system for testing remote control function of vehicle software and vehicle
CN117234913A
Vehicle-mounted software simulation test system and method
CN118276460A