Vehicle test result determination method and apparatus, vehicle, and electronic device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA FAW CO LTD
- Filing Date
- 2023-03-27
- Publication Date
- 2026-07-24
Smart Images

Figure CN116437381B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more specifically, to a method, apparatus, vehicle, and electronic device for determining vehicle test results. Background Technology
[0002] With the rapid development of communication technology, Near Field Communication (NFC) technology is being used more and more widely, for example in payment, security verification, and data transmission. NFC technology is also being applied to the automotive field. Using NFC digital keys, users no longer need to carry a physical vehicle key; they can unlock and lock the doors, open the trunk, and start the vehicle simply by tapping their mobile phone against the vehicle's NFC sensor module. However, using NFC to control various vehicle functions involves interaction between multiple modules and requires consideration of real-world scenarios. Therefore, testing NFC for controlling various vehicle functions is essential.
[0003] Currently, the testing process involves sending commands from the NFC sensing module to the NFC master module to determine if the vehicle's response to the operation is correct. However, this method only tests communication between NFC modules, lacking comprehensiveness, and requires manual testing, which is time-consuming and resource-intensive, resulting in low testing efficiency and accuracy.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This invention provides a method, apparatus, vehicle, and electronic device for determining vehicle test results, at least addressing the technical problems in related technologies where sending instructions from an NFC sensing module to an NFC master module only tests communication between NFC modules, lacks comprehensiveness, requires manual testing, consumes time and manpower, resulting in low testing efficiency and low testing accuracy.
[0006] According to one embodiment of the present invention, a method for determining vehicle test results is provided, comprising: controlling the shielding box of the vehicle to be in an open state, wherein the shielding box is used to control the communication state between the terminal and the vehicle, and the open state indicates that the vehicle and the terminal have established communication and the terminal is located within the sensing range of the vehicle's sensing module; while the shielding box is in the open state, acquiring sensing information displayed on the terminal's display screen, wherein the sensing information corresponds to the vehicle's digital key function; and determining a target test result based on the sensing information, wherein the target test result indicates whether the digital key function is normal.
[0007] Optionally, acquiring the sensing information displayed on the terminal's screen includes: determining the sensing information based on the terminal's camera, wherein the camera is used to monitor the screen.
[0008] Optionally, determining the target test result based on the sensing information includes: the robotic arm of the control terminal performs corresponding test operations according to the sensing information to obtain the target test result, wherein the test operation is a touch operation performed by the robotic arm on the display screen.
[0009] Optionally, the robotic arm of the control terminal performs corresponding test operations based on the sensing information to obtain the target test result, including: in response to the sensing information being registration information, controlling the robotic arm to perform a registration operation on the display screen to obtain a first test result, wherein the first test result is used to indicate whether the digital key registration process between the terminal and the vehicle is normal.
[0010] Optionally, the robotic arm of the control terminal performs corresponding test operations based on the sensing information to obtain the target test result, including: in response to the sensing information being authentication information, controlling the robotic arm to perform authentication operations on the display screen to obtain a second test result, wherein the second test result is used to indicate whether the digital key authentication process between the terminal and the vehicle is normal.
[0011] Optionally, the method further includes: in response to the sensing module sensing the terminal, controlling the vehicle to perform a target operation, wherein the target operation includes any one of unlocking the door, starting the vehicle, and igniting the engine.
[0012] Optionally, in response to the sensing module sensing the terminal, controlling the vehicle to perform the target operation includes: in response to the sensing module sensing the terminal, controlling the sensing module to transmit a sensing signal to the vehicle's main module; in response to the main module receiving the sensing signal, controlling the main module to transmit a message to the vehicle's controller, wherein the message is used to indicate that the sensing module has sensed the terminal; and in response to the controller receiving the message, controlling the vehicle to perform the target operation.
[0013] According to one embodiment of the present invention, a vehicle test result determination device is also provided, comprising: a control module, the control module being used to control the shielding box of the vehicle to be in an open state, wherein the shielding box is used to control the communication state between the terminal and the vehicle, and the open state is used to indicate that the vehicle and the terminal have established communication and the terminal is located within the sensing range of the vehicle's sensing module; an acquisition module, the acquisition module being used to acquire sensing information displayed on the display screen of the terminal when the shielding box is in the open state, wherein the sensing information corresponds to the digital key function of the vehicle; and a determination module, the determination module being used to determine a target test result based on the sensing information, wherein the target test result is used to indicate whether the digital key function is normal.
[0014] Optionally, the acquisition module is also used to determine sensing information based on the terminal's camera, wherein the camera is used to monitor the display screen.
[0015] Optionally, the determining module is also used to control the robotic arm of the terminal to perform corresponding test operations based on the sensing information and obtain the target test result, wherein the test operation is a touch operation performed by the robotic arm on the display screen.
[0016] Optionally, the determining module is further configured to, in response to the sensing information being registration information, control the robotic arm to perform a registration operation on the display screen and obtain a first test result, wherein the first test result is used to indicate whether the digital key registration process between the terminal and the vehicle is normal.
[0017] Optionally, the determining module is also used to control the robotic arm to perform an authentication operation on the display screen in response to the sensing information being authentication information, and to obtain a second test result, wherein the second test result is used to indicate whether the digital key authentication process between the terminal and the vehicle is normal.
[0018] Optionally, the control module is also configured to control the vehicle to perform a target operation in response to the sensing module sensing the terminal, wherein the target operation includes any one of unlocking the door, starting the vehicle, and igniting the engine.
[0019] Optionally, the control module is further configured to, in response to the sensing module sensing the terminal, control the sensing module to transmit a sensing signal to the vehicle's main module; in response to the main module receiving the sensing signal, control the main module to transmit a message to the vehicle's controller, wherein the message indicates that the sensing module has sensed the terminal; and in response to the controller receiving the message, control the vehicle to perform the target operation.
[0020] According to one embodiment of this application, a vehicle is also provided, which is used to perform the vehicle test result determination method in any of the above claims.
[0021] According to one embodiment of the present invention, a computer-readable storage medium is also provided, wherein the storage medium stores a computer program, wherein the computer program is configured to execute the vehicle test result determination method described above when run on a computer or processor.
[0022] According to one embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the vehicle test result determination method of any of the above claims.
[0023] In this embodiment of the invention, the shielding box of the vehicle is controlled to be in an open state. The shielding box is used to control the communication state between the terminal and the vehicle. The open state indicates that the vehicle and the terminal have established communication and the terminal is within the sensing range of the vehicle's sensing module. When the shielding box is open, the sensing information displayed on the terminal's screen is acquired. The sensing information corresponds to the vehicle's digital key function. Finally, the target test result is determined based on the sensing information. The target test result indicates whether the digital key function is normal. This allows for digital key function testing under the premise of comprehensively considering actual application scenarios and covers the interaction test between multiple modules. It realizes automated testing of the vehicle's digital key function, which is comprehensive, saves manpower, and has high efficiency and accuracy. This solves the technical problems of related technologies that send instructions from the NFC sensing module to the NFC main module to test only the communication between NFC modules, which lacks comprehensiveness and requires manual testing, consuming time and manpower, resulting in low testing efficiency and low testing accuracy. Attached Figure Description
[0024] 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:
[0025] Figure 1 This is a flowchart illustrating the basic implementation of the NFC digital key functionality according to one embodiment of the present invention.
[0026] Figure 2 This is a flowchart of a method for determining vehicle test results according to one embodiment of the present invention;
[0027] Figure 3 This is a diagram of an automated testing device for NFC digital key functionality according to one embodiment of the present invention;
[0028] Figure 4 This is a structural block diagram of an overspeed prediction device according to one embodiment of the present invention. Detailed Implementation
[0029] For ease of understanding, some concepts related to the embodiments of the present invention are explained by way of example for reference.
[0030] As shown below:
[0031] The basic implementation process of NFC digital key functions is as follows: (1) Composition of NFC digital key system: The user's mobile phone is used as NFC digital key. The vehicle is equipped with an NFC sensing module and a main module. The sensing module is connected to the main module. The sensing module is used to sense the NFC signal of the mobile phone. The main module is used to receive the signal sent by the sensing module. For example, after receiving the signal, it sends a message to the vehicle to notify the vehicle that "the digital key has been received", and controls the vehicle to perform corresponding operations. (2) NFC digital key authentication: The user downloads the corresponding software on the mobile phone, puts the mobile phone close to the NFC sensing module of the vehicle, and operates according to the steps specified in the software to complete the NFC authentication between the mobile phone and the vehicle. (3) NFC digital key control of vehicle: After successful authentication, the mobile phone is used as NFC digital key. The user puts the mobile phone close to the NFC sensing module of the vehicle. The NFC sensing module senses the mobile phone close and sends a signal to the NFC digital key main module. The NFC digital key main module sends a message to the vehicle controller. After receiving the message, the vehicle controller performs an action (unlocking or locking the door, or starting the engine). At the same time, the mobile phone will display "successful card swipe" or "failed" depending on whether the NFC sensing module is successfully sensed.
[0032] Figure 1 This is a flowchart illustrating the basic implementation of the NFC digital key according to one embodiment of the present invention, such as... Figure 1 The diagram illustrates the specific implementation process of the above procedure. The user downloads the corresponding software on their mobile phone and brings the phone close to the vehicle's NFC sensing module. The NFC sensing module detects the phone's proximity and sends a signal to the NFC digital key master module. The NFC digital key master module then sends a message to the vehicle's controller. Upon receiving the message, the vehicle's controller takes action. Simultaneously, the mobile phone displays whether the card was successfully digitized based on whether the NFC sensing module was successfully detected.
[0033] In this embodiment of the invention, the basic implementation process of the NFC digital key described above can be used as the basic testing process.
[0034] CANoe, short for CAN open environment, is a tool for testing automotive systems. It helps users perform performance analysis, functional development, and verification testing. Through professional vehicle networking protocols and tools, CANoe supports up to 14 communication protocols (including CAN, LIN, FlexRay, MOST, Ethernet, etc.), enabling the testing of complex ECUs and overall systems.
[0035] Host computer: A computer that controls a series of slave devices. It can convert and process the raw data sent by the slave devices, turn it into more useful information, and send control signals to the slave devices so that they can be adjusted or operated accordingly.
[0036] In this embodiment of the invention, the results of receiving the digital key using the CANoe hardware and software host computer can be used to determine whether the NFC master module has correctly sent the message.
[0037] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0038] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention 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 the invention 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 a non-exclusive inclusion; for example, a process, method, system, 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.
[0039] According to one embodiment of the present invention, an embodiment of a method for determining vehicle test results is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0040] This method embodiment can be executed in an electronic device, similar control device, or system that includes a memory and a processor. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device for communication functions and a display device. Those skilled in the art will understand that the above structural description is merely illustrative and does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components than described above, or have a different configuration than described above.
[0041] A processor may include one or more processing units. For example, a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural network processing unit (NPU), a tensor processing unit (TPU), or an artificial intelligence (AI) processor. Different processing units may be independent components or integrated into one or more processors. In some instances, electronic devices may also include one or more processors.
[0042] The memory can be used to store computer programs, such as the computer program corresponding to the vehicle test result determination method in this embodiment of the invention. The processor implements the vehicle test result determination method by running the computer program stored in the memory. The memory may include high-speed random access memory and 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 may further include memory remotely located relative to the processor, and these remote memories can be connected to electronic devices 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.
[0043] Communication devices are used to receive or send data via a network. Specific examples of such networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the communication device 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 communication device may be a radio frequency (RF) module used for wireless communication with the Internet.
[0044] The display device can be, for example, a touchscreen liquid crystal display (LCD) and a touch display (also referred to as a "touchscreen" or "touch screen"). This LCD allows the user to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), which allows the user to interact with the GUI by touching and / or gesturing on a touch-sensitive surface. Optional human-computer interaction functions include: creating web pages, drawing, word processing, creating electronic documents, playing games, video conferencing, instant messaging, sending and receiving emails, a call interface, playing digital video, playing digital music, and / or web browsing, etc. Executable instructions for performing the above human-computer interaction functions are configured / stored in one or more processor-executable computer program products or readable storage media.
[0045] This embodiment provides a method for determining vehicle test results based on electronic devices. Figure 1 This is a flowchart of a vehicle test result determination method according to one embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:
[0046] Step S20: Control the vehicle's shielding box to be in the open state;
[0047] The shielding box is used to control the communication status between the terminal and the vehicle. The open state indicates that the vehicle and the terminal have established communication and the terminal is within the sensing range of the vehicle's sensing module.
[0048] A vehicle's shielding enclosure is a shield of various shapes made of conductive or magnetic materials. It confines electromagnetic fields within a certain space, providing a testing environment for the wireless communication device under test, and thus controlling the communication status between the terminal and the vehicle. Understandably, when the vehicle's shielding enclosure is open, meaning it provides a testing environment within a certain space, devices within that space can establish communication. In other words, the open state of the vehicle's shielding enclosure indicates that communication has been established between the vehicle and the terminal.
[0049] The vehicle's sensing module can be understood as a module in the vehicle capable of sensing the proximity of other devices, such as an NFC sensing module; however, this embodiment of the invention is not limited to this. It is understood that the vehicle's sensing module intelligently senses the proximity of devices within a certain range, i.e., the terminal is within the sensing range of the vehicle's sensing module.
[0050] This step can be understood as controlling the vehicle's shielding box to be in an open state, enabling terminals within the sensing range of the vehicle's sensing module to establish communication with the vehicle, thereby ensuring that the vehicle's shielding box provides a testing environment for the vehicle and terminals, and thus ensuring the accuracy of the test results.
[0051] Optionally, the opening state of the shielding box can be controlled by a host computer, and this embodiment of the invention is not limited thereto. For example, the host computer can convert and process the raw data sent by the slave computer and send control signals to the slave computer to control the opening and closing of the vehicle's shielding box door, thereby controlling the opening state of the shielding box.
[0052] Step S21: With the shielding box in the open state, acquire the sensing information displayed on the terminal's screen;
[0053] The sensor information corresponds to the vehicle's digital key function.
[0054] The terminal's display screen can be understood as a screen medium on the terminal used to display sensing information, such as a mobile phone display screen; this embodiment of the invention is not limited thereto. The sensing information corresponds to the vehicle's digital key function. For example, if the vehicle's digital key function is for user registration and activation, the corresponding sensing information could be displayed as "Please Register"; if the vehicle's digital key function is for user authentication, the corresponding sensing information could be displayed as "Please Authenticate"; this embodiment of the invention is not limited thereto. The vehicle's digital key function can be understood as the vehicle's NFC function, such as the interaction between the user terminal and the vehicle's digital key sensing module, the interaction between the vehicle's digital key sensing module and the main module, and the interaction between the vehicle's digital key main module and the vehicle controller, etc.; this embodiment of the invention is not limited thereto.
[0055] This step can be understood as follows: Provided communication has been established between the vehicle and the terminal (i.e., within the vehicle's sensing range), the terminal's display screen will show sensing information corresponding to the vehicle's digital key function. This allows direct access to the sensing information displayed on the terminal's screen. For example, if communication between the vehicle and the terminal is established, the mobile phone screen will display sensing information such as "Please register" or "Please authenticate," and this information can be directly obtained.
[0056] Step S22: Determine the target test result based on the sensing information.
[0057] The target test result is used to indicate whether the digital key function is working properly.
[0058] It is understandable that the sensor information corresponds to the vehicle's digital key function. Determining the target test result based on the sensor information can be understood as testing the corresponding digital key function of the vehicle based on different sensor information to obtain the target test result. Optionally, the vehicle can be tested based on each of its digital key functions to determine the target test result. For example, when the sensor information is "Please register," the registration process in the vehicle's digital key function is tested; when the sensor information is "Please authenticate," the authentication process in the vehicle's digital key function is tested. When the target test result is normal, it indicates that the vehicle's digital key function is normal; when the target test result is abnormal, it indicates that the vehicle's digital key function is abnormal.
[0059] Through the above steps, by controlling the vehicle's shielding box to be in the open state, where the shielding box is used to control the communication status between the terminal and the vehicle, the open state indicates that the vehicle and the terminal have established communication, and the terminal is within the sensing range of the vehicle's sensing module. With the shielding box open, the sensing information displayed on the terminal's screen is acquired. This sensing information corresponds to the vehicle's digital key function. Finally, based on the sensing information, the target test result is determined, indicating whether the digital key function is normal. This allows for digital key function testing under the premise of comprehensively considering actual application scenarios, and covers interaction testing between multiple modules, achieving automated testing of the vehicle's digital key function. It is comprehensive, saves manpower, and has high efficiency and accuracy. This solves the technical problems of related technologies that send instructions from the NFC sensing module to the NFC main module, only testing communication between NFC modules, lacking comprehensiveness, requiring manual testing, consuming time and manpower, resulting in low testing efficiency and low testing accuracy.
[0060] Optionally, in step S21, acquiring the sensing information displayed on the terminal's screen may include the following steps:
[0061] Step S210: Determine sensing information based on the terminal's camera, wherein the camera is used to monitor the display screen.
[0062] The terminal's camera can be understood as a data acquisition device on the terminal device that can acquire image information for monitoring the display screen. For example, it can be the camera on top of a mobile phone. This embodiment of the invention does not limit this, so as to accurately acquire the sensing information displayed on the mobile phone screen, that is, to determine the sensing information.
[0063] It is understood that the sensing information is used to describe the vehicle's digital key functionality; that is, the sensing information corresponds to the vehicle's digital key functionality. When the vehicle establishes communication with the terminal, the sensing information is displayed on the terminal screen, and the sensing information is determined based on the terminal's camera. For example, when the vehicle establishes communication with a mobile phone, the mobile phone screen displays the vehicle's digital key functionality, and the sensing information is determined based on the digital key functionality displayed on the mobile phone screen using the camera on top of the phone.
[0064] This step determines the sensing information solely through the terminal's camera monitoring display, enabling automated determination of sensing information once communication is established between the vehicle and the terminal, without human intervention, saving manpower and ensuring high accuracy.
[0065] Optionally, in step S22, determining the target test result based on the sensing information may include the following execution steps:
[0066] In step S220, the robotic arm of the control terminal performs corresponding test operations based on the sensing information to obtain the target test result. The test operation is the touch operation performed by the robotic arm on the display screen.
[0067] The robotic arm of a terminal can be understood as a mechanical device capable of performing touch operations on the terminal, and can be seen as replacing the user's fingers in performing touch operations. The testing operation can be understood as testing whether the vehicle's digital key function is working properly; it is triggered by the touch screen, which is the robotic arm performing the touch operation on the screen.
[0068] This step can be understood as follows: after determining the sensing information, the robotic arm of the control terminal performs corresponding touch operations on the display screen based on the sensing information to obtain the target test result. For example, after determining the vehicle's digital key function, the different digital key functions of the vehicle are displayed on the mobile phone screen. The robotic arm controlling the mobile phone performs touch operations on the mobile phone screen based on the displayed digital key functions, thereby testing whether the vehicle's digital key function is normal and obtaining the target test result.
[0069] Optionally, the touch operation performed by the robotic arm on the display screen can be a tap, long press, short press, etc. Different operations can correspond to different vehicle digital key functions, which is not limited in this embodiment of the invention.
[0070] Optionally, in step S220, the robotic arm of the control terminal performs corresponding test operations based on the sensing information to obtain the target test result, which may include the following execution steps:
[0071] In step S220a, in response to the sensing information being registration information, the robotic arm is controlled to perform a registration operation on the display screen to obtain a first test result, wherein the first test result is used to indicate whether the digital key registration process between the terminal and the vehicle is normal.
[0072] Registration information can be understood as sensor information that instructs users to register and activate the vehicle's digital key. It is used to prompt users to register and activate the vehicle's digital key, i.e., to perform the registration operation.
[0073] This step can be understood as follows: when the sensed information is registration information, it indicates that the vehicle digital key registration and activation operation should be performed. The robotic arm is controlled to perform the registration operation on the display screen to obtain the first test result. Optionally, the registration information can be displayed as a prompt such as "Please perform registration," and this embodiment of the invention is not limited thereto. For example, when the sensed information displayed on the mobile phone screen is "Please perform registration," the robotic arm above the mobile phone is controlled to perform the registration and activation operation on the mobile phone screen to obtain the first test result.
[0074] Understandably, the first test result indicates whether the digital key registration process between the terminal and the vehicle is normal. A normal first test result means the digital key registration process can be executed normally; an abnormal first test result means the digital key registration process cannot be executed normally. Optionally, after performing the registration operation, the first test result can be displayed on the terminal screen to indicate whether the test was successful. This embodiment of the invention does not display this result. For example, when the vehicle's digital key registration process can be executed normally, "Registration and activation successful" is displayed on the mobile phone screen; when the vehicle's digital key registration process cannot be executed normally, "Registration and activation failed" is displayed on the mobile phone screen.
[0075] Optionally, in step S220, the robotic arm of the control terminal performs corresponding test operations based on the sensing information to obtain the target test result, which may also include the following execution steps:
[0076] In step S220b, in response to the sensing information being authentication information, the robotic arm is controlled to perform an authentication operation on the display screen to obtain a second test result, wherein the second test result is used to indicate whether the digital key authentication process between the terminal and the vehicle is normal.
[0077] Authentication information can be understood as sensor information that instructs the user to authenticate the vehicle's digital key, prompting the user to perform the authentication operation.
[0078] This step can be understood as follows: when the sensed information is authentication information, it indicates that the vehicle digital key authentication operation should be performed. The robotic arm is controlled to perform the authentication operation on the display screen to obtain the second test result. Optionally, the authentication information can be displayed as a prompt such as "Please authenticate," and this embodiment of the invention is not limited thereto. For example, when the sensed information displayed on the mobile phone screen is "Please authenticate," the robotic arm above the mobile phone is controlled to perform the authentication operation on the mobile phone screen to obtain the second test result.
[0079] Understandably, the second test result indicates whether the digital key authentication process between the terminal and the vehicle is normal. A normal result indicates that the digital key authentication process between the terminal and the vehicle can be executed normally; an abnormal result indicates that the digital key authentication process between the terminal and the vehicle cannot be executed normally. Optionally, after performing the authentication operation, the second test result can be displayed on the terminal screen to indicate whether the test was successful. This embodiment of the invention does not display the second test result. For example, when the vehicle's digital key authentication process can be executed normally, "Authentication Successful" is displayed on the mobile phone screen; when the vehicle's digital key authentication process cannot be executed normally, "Authentication Failed" is displayed on the mobile phone screen.
[0080] Optionally, step S20 may also include the following execution steps:
[0081] In step S200, in response to the sensing module sensing the terminal, the vehicle is controlled to perform a target operation, wherein the target operation includes any one of unlocking the door, starting the vehicle, and igniting the engine.
[0082] The sensing module can be understood as a module in a vehicle used to sense the proximity of a terminal, such as a digital key sensing module in a vehicle. This embodiment of the invention does not limit this.
[0083] This step can be understood as follows: when the sensing module detects a terminal, indicating that a terminal is near the vehicle, it controls the vehicle to perform any one of the following actions: unlocking the door, starting the vehicle, or igniting the engine. For example, when a mobile phone is near the vehicle's digital key sensing module, it controls the vehicle to perform any one of the following actions: unlocking the door, starting the vehicle, or igniting the engine.
[0084] Optionally, in step S200, controlling the vehicle to perform the target operation in response to the sensing module sensing the terminal may include the following execution steps:
[0085] Step S200a: In response to the sensing module sensing the terminal, control the sensing module to transmit the sensing signal to the vehicle's main module;
[0086] The vehicle's main module can be understood as a module in the vehicle used to receive sensing signals, such as the main module of the digital key in the vehicle. This embodiment of the invention does not limit this.
[0087] This step can be understood as follows: when the sensing module detects a terminal, indicating that a terminal is near the vehicle, it controls the sensing module to transmit a sensing signal to the vehicle's main digital key module. For example, when a mobile phone is near the vehicle's digital key sensing module, the vehicle's digital key sensing module transmits a sensing signal to the vehicle's main digital key module.
[0088] Step S200b: In response to the main module receiving the sensing signal, the main module is controlled to transmit a message to the vehicle's controller.
[0089] The message indicates that the sensing module has detected the terminal.
[0090] The vehicle controller can be understood as the vehicle's main control device, used to control the vehicle to perform various operations. For example, it can be the vehicle's in-vehicle main controller, but this embodiment of the invention is not limited thereto.
[0091] This step can be understood as follows: when the vehicle's main module receives a sensing signal from the sensing module, it controls the main module to transmit a message to the vehicle's controller, indicating that the sensing module has detected the terminal. For example, when the vehicle's digital key main module receives the sensing signal, it controls the vehicle's digital key main module to transmit a message to the vehicle's in-vehicle master controller.
[0092] Optionally, the message format can be a CAN signal format. Whether the main module correctly sends the message can be determined by connecting CANoe hardware and software to the main module; this embodiment of the invention is not limited to this. For example, by connecting CANoe hardware and software to the vehicle's digital key main module, when the digital key main module transmits a CAN signal to the vehicle's in-vehicle master controller, the CANoe hardware and software receive the result sent by the digital key main module, thereby determining whether the digital key main module correctly sends the message.
[0093] Optionally, a test case set can be input into the host computer, so that the host computer can perform control tests on the current vehicle based on the example test data in the test case set, thereby realizing an automated testing process.
[0094] In step S200c, in response to the controller receiving the message, the controller controls the vehicle to perform the target operation.
[0095] This step can be understood as follows: when the controller receives a message, it indicates that the vehicle's sensing module has detected the terminal, and the controller then controls the vehicle to perform any one of the following actions: unlocking the door, starting the vehicle, or igniting the engine. For example, when the vehicle's main controller receives a CAN signal, it controls the vehicle to perform any one of the following actions: unlocking the door, starting the vehicle, or igniting the engine.
[0096] Figure 3 This is a diagram of an automated testing device for NFC digital key functionality according to one embodiment of the present invention, as shown below. Figure 3 The diagram illustrates the specific implementation process of the above steps. Figure 3The system includes a user terminal, a camera, a robotic arm, an NFC sensing module, an NFC main module, a CANoe, a host computer, and a shielded box with an electrically operated door. The user terminal is used to generate sensing information from the NFC sensing module; the camera is used to capture information displayed on the user terminal's screen; the robotic arm is used to perform touch operations on the user terminal's screen; the NFC sensing module is used to sense the terminal and send sensing information; the NFC main module is used to receive sensing information and send CAN signals; the CANoe and host computer are used to receive messages sent by the NFC main module; and the electrically operated shielded box is used to control the communication status between the terminal and the vehicle.
[0097] Figure 3 The automated testing device for NFC digital key functionality downloads the corresponding software to the user terminal and brings the user terminal close to the NFC sensing module, placing it within the NFC sensing module's sensing range. Simultaneously, the shielding box door is opened, enabling the user terminal to establish communication with the NFC sensing module (step S20). The sensing information displayed on the user terminal is acquired via a camera, and a touch operation is performed by a robotic arm (step S21). The NFC sensing module sends the sensing information to the NFC master module, which in turn sends CAN signals to the CANoe and the host computer. The CANoe and the host computer then receive the sensing information displayed by the user (step S22). Through these steps, digital key functionality testing can be performed while comprehensively considering actual application scenarios. This includes interaction testing between multiple modules, achieving automated testing of vehicle digital key functionality. The device is comprehensive, saves manpower, and offers high efficiency and accuracy.
[0098] 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.
[0099] This embodiment also provides a vehicle test result determination device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. 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.
[0100] Figure 4 This is a structural block diagram of a vehicle test result determination device according to one embodiment of the present invention, such as... Figure 4 As shown, a vehicle test result determination device 400 is used as an example. This device includes: a control module 401, which controls the shielding box of the vehicle to be in an open state, wherein the shielding box is used to control the communication state between the terminal and the vehicle, and the open state indicates that the vehicle and the terminal have established communication and the terminal is within the sensing range of the vehicle's sensing module; an acquisition module 402, which acquires the sensing information displayed on the terminal's display screen when the shielding box is in the open state, wherein the sensing information corresponds to the vehicle's digital key function; and a determination module 403, which determines the target test result based on the sensing information, wherein the target test result indicates whether the digital key function is normal.
[0101] Optionally, the acquisition module 402 is also used to determine sensing information based on the camera of the terminal, wherein the camera is used to monitor the display screen.
[0102] Optionally, the determining module 403 is also used to control the robotic arm of the terminal to perform corresponding test operations based on the sensing information to obtain the target test result, wherein the test operation is a touch operation performed by the robotic arm on the display screen.
[0103] Optionally, the determining module 403 is further configured to, in response to the sensing information being registration information, control the robotic arm to perform a registration operation on the display screen and obtain a first test result, wherein the first test result is used to indicate whether the digital key registration process between the terminal and the vehicle is normal.
[0104] Optionally, the determining module 403 is further configured to, in response to the sensing information being authentication information, control the robotic arm to perform an authentication operation on the display screen to obtain a second test result, wherein the second test result is used to indicate whether the digital key authentication process between the terminal and the vehicle is normal.
[0105] Optionally, the control module 401 is also configured to control the vehicle to perform a target operation in response to the sensing module sensing the terminal, wherein the target operation includes any one of unlocking the door, starting the vehicle, and igniting the engine.
[0106] Optionally, the control module 401 is further configured to, in response to the sensing module sensing the terminal, control the sensing module to transmit a sensing signal to the vehicle's main module; in response to the main module receiving the sensing signal, control the main module to transmit a message to the vehicle's controller, wherein the message indicates that the sensing module has sensed the terminal; and in response to the controller receiving the message, control the vehicle to perform the target operation.
[0107] 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.
[0108] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the steps in any of the above method embodiments when run on a computer or processor.
[0109] Embodiments of this application also provide a vehicle for performing the steps in any of the above method embodiments.
[0110] Optionally, in this embodiment, the vehicle may be configured to store a computer program for performing the following steps:
[0111] Step S1: Control the vehicle's shielding box to be in the open state;
[0112] Step S2: With the shielding box in the open state, acquire the sensing information displayed on the terminal's screen;
[0113] Step S3: Determine the target test result based on the sensing information.
[0114] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0115] Step S1: Control the vehicle's shielding box to be in the open state;
[0116] Step S2: With the shielding box in the open state, acquire the sensing information displayed on the terminal's screen;
[0117] Step S3: Determine the target test result based on the sensing information.
[0118] Optionally, in this embodiment, the computer-readable 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.
[0119] Embodiments of the present invention also provide an electronic device including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0120] Optionally, in this embodiment, the processor in the above-described electronic device may be configured to run a computer program to perform the following steps:
[0121] Step S1: Control the vehicle's shielding box to be in the open state;
[0122] Step S2: With the shielding box in the open state, acquire the sensing information displayed on the terminal's screen;
[0123] Step S3: Determine the target test result based on the sensing information.
[0124] 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.
[0125] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0126] In the above embodiments of the present invention, 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.
[0127] 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 can be a logical functional division, and in actual implementation, there may be other division methods. For instance, 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.
[0128] 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 units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0129] Furthermore, the functional units in the various embodiments of the present invention 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.
[0130] 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 the present invention, 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 the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0131] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for determining vehicle test results, characterized in that, include: The shielding box controlling the vehicle is in the open state. The opening and closing state of the shielding box is controlled by the upper computer converting and processing the raw data sent by the lower computer and sending control signals to the lower computer. The shielding box is used to control the communication state between the terminal and the vehicle. The open state indicates that the vehicle and the terminal have established communication and the terminal is located within the sensing range of the vehicle's sensing module. When the shielding box is in the open state, the sensing information displayed on the terminal's screen is acquired, wherein the sensing information corresponds to the vehicle's digital key function; In response to the sensing information being authentication information, the robotic arm is controlled to perform the corresponding touch operation on the display screen to obtain a second test result. The second test result is used to indicate whether the digital key authentication process between the terminal and the vehicle is normal. The touch operation performed by the robotic arm on the display screen includes tap operation, long press operation, and short press operation. Different touch operations correspond to different digital key functions. In response to the sensing module sensing the terminal, the sensing module is controlled to transmit a sensing signal to the main module of the vehicle, wherein when the sensing module senses the terminal, it indicates that a terminal is approaching the vehicle; In response to the main module receiving the sensing signal, the main module is controlled to transmit a message to the vehicle's controller, wherein the message indicates that the sensing module has sensed the terminal; In response to the controller receiving the message, the controller controls the vehicle to perform a target operation, wherein the target operation includes any one of unlocking the door, starting the vehicle, and igniting the engine.
2. The method according to claim 1, characterized in that, The acquisition of the sensing information displayed on the terminal's screen includes: The sensing information is determined based on the terminal's camera, wherein the camera is used to monitor the display screen.
3. The method according to claim 1, characterized in that, The method further includes: In response to the sensing information being registration information, the robotic arm is controlled to perform a registration operation on the display screen to obtain a first test result, wherein the first test result is used to indicate whether the digital key registration process between the terminal and the vehicle is normal.
4. A vehicle test result determination device, characterized in that, include: The control module is used to control the shielding box of the vehicle to be in an open state. The opening and closing state of the shielding box is controlled by the upper computer converting and processing the raw data sent by the lower computer and sending control signals to the lower computer. The shielding box is used to control the communication state between the terminal and the vehicle. The open state indicates that the vehicle and the terminal have established communication and the terminal is located within the sensing range of the vehicle's sensing module. The acquisition module is used to acquire sensing information displayed on the display screen of the terminal when the shielding box is in the open state, wherein the sensing information corresponds to the digital key function of the vehicle; The determination module is used to control the robotic arm to perform the corresponding touch operation on the display screen in response to the sensing information being authentication information, and to obtain a second test result. The second test result is used to indicate whether the digital key authentication process between the terminal and the vehicle is normal. The touch operation performed by the robotic arm on the display screen includes tap operation, long press operation, and short press operation. Different touch operations correspond to different digital key functions. The device is further configured to, in response to the sensing module sensing the terminal, control the sensing module to transmit a sensing signal to the vehicle's main module, wherein when the sensing module senses the terminal, it indicates that a terminal is near the vehicle; in response to the main module receiving the sensing signal, control the main module to transmit a message to the vehicle's controller, wherein the message indicates that the sensing module has sensed the terminal; and in response to the controller receiving the message, control the vehicle to perform a target operation, wherein the target operation includes any one of unlocking a door, starting the vehicle, and igniting the engine.
5. A vehicle, characterized in that, The vehicle is used to perform the vehicle test result determination method as described in any one of claims 1 to 3.
6. 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 vehicle test result determination method as described in any one of claims 1 to 3.