A digital key testing system and method
By automating the combination of the digital key system and the shielded box, the problems of time-consuming and resource-wasting manual operation are solved, achieving efficient digital key testing and improving control efficiency and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- YUANFENG TECH CO LTD
- Filing Date
- 2023-10-13
- Publication Date
- 2026-06-05
AI Technical Summary
Manually adjusting the opening and closing status of car door locks is time-consuming and wastes human resources; existing digital key testing is inefficient.
By combining a digital key system, a shielded box, a shielded box controller, and a mobile terminal, and utilizing wireless connectivity and automated control of the shielded box door opening angle, the distance between the mobile terminal and the digital key system is simulated to achieve automated testing.
It improves the efficiency of digital key testing, saves human resources, reduces labor costs, enhances the scope and accuracy of control, and avoids the inefficiency of manual operation.
Smart Images

Figure CN117333970B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to a digital key testing system and method. Background Technology
[0002] With the rapid development of science and technology in my country, more and more vehicles are appearing in all aspects of people's lives.
[0003] When adjusting the open / closed state of a vehicle's door locks, it is usually done manually using the vehicle's physical key.
[0004] Manually adjusting the open / closed state of the car door locks multiple times is not only time-consuming but also wastes human resources. Summary of the Invention
[0005] This invention provides a digital key testing system and method to improve the processing efficiency of digital key testing.
[0006] In a first aspect, embodiments of the present invention provide a digital key testing system, the system comprising:
[0007] The digital key system, shielded box, shielded box controller, and mobile terminal to be tested;
[0008] The digital key system connects wirelessly to mobile terminals;
[0009] The shielding box controller is connected to the shielding box and is used to control the opening and closing angle of the shielding box door;
[0010] The mobile terminal was placed in a shielded box.
[0011] Secondly, embodiments of the present invention also provide a digital key testing method, the method comprising:
[0012] Control the opening and closing of the shielding box door;
[0013] During the control process, the unlocking and closing detection information of the digital key system is acquired;
[0014] The test results of the digital key system are determined based on the unlocking and closing detection information of the digital key system.
[0015] The technical solution of this invention, through the cooperation of various modules of the digital key system under test, a shielded box, a shielded box controller, and a mobile terminal, realizes the digital key testing function. The digital key system is wirelessly connected to the mobile terminal, which is used to control the on / off state adjustment of the digital key system. This wireless connection facilitates control of the digital key system by the mobile terminal at different distances, freeing it from the limitations of wired connections, increasing the control range of the mobile terminal, and improving the control efficiency of the digital key system. The shielded box controller is connected to the shielded box and is used to control the opening and closing angle of the shielded box door. This eliminates the need for manual operation of the shielded box door, improving the accuracy and efficiency of door opening and closing angle control, saving manpower, and reducing labor costs. The mobile terminal is placed inside the shielded box. By changing the opening and closing angle of the shielded box door, the signal strength of the mobile terminal changes, simulating changes in the distance between the mobile terminal and the digital key system. This avoids the inefficiency of manually changing the distance between the mobile terminal and the digital key system, thus improving the efficiency of digital key testing.
[0016] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of a digital key testing system provided by the present invention;
[0019] Figure 2 This is a schematic diagram of a digital key testing system provided by the present invention;
[0020] Figure 3 This is a schematic diagram of a digital key testing system provided by the present invention;
[0021] Figure 4 This is a schematic diagram of a digital key testing system provided by the present invention;
[0022] Figure 5 This is a schematic diagram of a digital key testing system provided by the present invention;
[0023] Figure 6This is a schematic diagram of a digital key testing system provided by the present invention;
[0024] Figure 7 This is a flowchart of a digital key testing method provided by the present invention;
[0025] Figure 8 This is a flowchart of a digital key testing method provided by the present invention;
[0026] Figure 9 This is a schematic diagram of an electronic device provided according to the present invention. Detailed Implementation
[0027] 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.
[0028] 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.
[0029] The acquisition, storage, and application of vehicle control messages and other related technologies in the technical solution of this invention comply with relevant laws and regulations and do not violate public order and good morals.
[0030] Figure 1 This is a schematic diagram of a digital key testing system provided by the present invention. The present invention is applicable to situations where a vehicle-mounted digital key testing system is used for testing the function of a digital key.
[0031] See Figure 1 The digital key testing system 100 shown is specifically as follows:
[0032] The digital key testing system 100 includes: a digital key system 101 to be tested, a shielded box 102, a shielded box controller 103, and a mobile terminal 104; the digital key system 101 is wirelessly connected to the mobile terminal 104; the shielded box controller 103 is connected to the shielded box 102 and is used to control the opening and closing angle of the door of the shielded box 102; the mobile terminal 104 is placed in the shielded box 102.
[0033] The digital key can be software that uses Bluetooth Low Energy (BLE) technology to control the opening and closing status of vehicle doors. The mobile terminal 104 can be a mobile device, such as a mobile phone, tablet, or laptop. The shielding box controller 103 can be a device that operates the shielding box according to instructions. The shielding box 102 can be a hollow shield made of conductive or magnetic materials, a metallic body that confines electromagnetic energy within a certain spatial range to suppress radiation interference, thus providing an interference-free testing environment for the wireless communication device under test. The door of the shielding box 102 can be opened to connect the interior of the shielding box with the exterior. The shape and size of the shielding box 102 are not specifically limited; for example, the shape of the shielding box 102 can be a cuboid or a cube, and the size of the shielding box 102 is sufficient to accommodate the mobile terminal 104.
[0034] Specifically, the digital key testing system 100 includes: a digital key system 101 to be tested, a shielded box 102, a shielded box controller 103, and a mobile terminal 104. The mobile terminal 104 is placed inside the shielded box 102. The placement position of the mobile terminal 104 inside the shielded box 102 can be the center of the bottom inside the shielded box 102, the bottom of the shielded box 102 near the door, or the bottom of the shielded box 102 away from the door. This invention does not impose any restrictions on this, but the position of the mobile terminal 104 will not be changed after it is placed inside the shielded box 102 until the digital key test of the vehicle under test is completed. The digital key system 101 establishes a wireless connection with the mobile terminal 104 using Bluetooth Low Energy technology. The digital key system 101 is not connected to the shielded box 102. The shielded box controller 103 is connected to the shielded box 102 and is used to control the opening and closing angle of the door of the shielded box 102. By controlling the opening and closing angle of the shielding box 102, the strength of the Bluetooth signal connecting the digital key system 101 and the mobile terminal 104 is altered, thus simulating the distance between the mobile terminal 104 and the digital key system 101. If the opening and closing angle of the shielding box 102 is large, the Bluetooth signal between the mobile terminal 104 and the digital key system 101 is strong, simulating a close distance between them. In this case, the mobile terminal 104 can adjust the on / off state of the digital key system 101 wirelessly. Conversely, if the opening and closing angle of the shielding box 102 is small, the Bluetooth signal between the mobile terminal 104 and the digital key system 101 is weak, simulating a long distance between them. In this case, the mobile terminal 104 cannot adjust the on / off state of the digital key system 101 wirelessly, thus avoiding the problem of low testing efficiency caused by manually changing the distance between the mobile terminal 104 and the digital key system 101.
[0035] In one example, the digital key testing system 100 includes: a digital key system 101 to be tested, a shielded box 102, a shielded box controller 103, and a mobile terminal 104. Specifically, the mobile terminal 104 can be a mobile phone with Bluetooth functionality. The phone is placed at the center of the bottom of the shielded box 102, and the phone establishes a wireless connection with the digital key system 101 via Bluetooth. The shielded box controller 103 is connected to the shielded box 102. When the shielded box controller 103 controls the shielded box 102 to close, the phone and digital key system 101 cannot establish a wireless connection, simulating a situation where the phone and digital key system 101 are too far apart to establish a wireless connection, preventing the phone from adjusting the digital key system 101. When the shielded box controller 103 controls the shielded box 102 to open at a 40% angle, the phone and digital key system 101 can establish a wireless connection, simulating a situation where the phone and digital key system 101 are close enough to establish a wireless connection and allow the phone to open the digital key system 101. By adjusting the opening angle of the shielding box 102, different distances between the mobile terminal 104 and the digital key system 101 are simulated, and digital key testing is carried out automatically without manual testing or the need for a 400-square-meter open testing environment, thus reducing the implementation cost of the testing environment and lowering labor costs.
[0036] The technical solution of this invention, through the cooperation of various modules of the digital key system under test, a shielded box, a shielded box controller, and a mobile terminal, realizes the digital key testing function. The digital key system is wirelessly connected to the mobile terminal, which is used to control the on / off state adjustment of the digital key system. This wireless connection facilitates control of the digital key system by the mobile terminal at different distances, freeing it from the limitations of wired connections, increasing the control range of the mobile terminal, and improving the control efficiency of the digital key system. The shielded box controller is connected to the shielded box and is used to control the opening and closing angle of the shielded box door. This eliminates the need for manual operation of the shielded box door, improving the accuracy and efficiency of door opening and closing angle control, saving manpower, and reducing labor costs. The mobile terminal is placed inside the shielded box. By changing the opening and closing angle of the shielded box door, the signal strength of the mobile terminal changes, simulating changes in the distance between the mobile terminal and the digital key system. This avoids the inefficiency of manually changing the distance between the mobile terminal and the digital key system, thus improving the efficiency of digital key testing.
[0037] like Figure 2 As shown, optionally, the digital key testing system 100 is characterized in that the shielded box includes a box body 201 and a stepper motor 202, and the box door 203 of the box body 201 is connected to the stepper motor 202.
[0038] The stepper motor 202 can be a type of motor that converts electrical pulse signals into corresponding angular or linear displacements. For each input pulse signal, the rotor rotates by an angle or moves forward one step. The output angular or linear displacement is proportional to the number of input pulses, and the rotational speed is proportional to the pulse frequency.
[0039] Specifically, the shielded box 102 in the digital key testing system 100 includes a box body 201 and a stepper motor 202. The door 203 of the box body 201 is connected to the stepper motor 202. When the stepper motor 202 receives a command to open the door 203, it drives the door 203 to open; when the stepper motor 202 receives a command to close the door 203, it drives the door 203 to close. By changing the opening and closing angle of the door 203 of the shielded box 102 driven by the stepper motor 202, it is beneficial to automatically obtain different opening and closing angles of the shielded box 102, so that the Bluetooth signal value of the mobile terminal 104 in the shielded box 102 changes with the opening and closing angle of the door 203, thereby simulating the situation where the Bluetooth signal value between the mobile terminal 104 and the digital key system 101 changes due to different distances.
[0040] In one example, the shielded box 102 in the digital key testing system 100 includes a box body 201 and a stepper motor 202. The door 203 of the box body 201 is connected to the stepper motor 202. If the stepper motor 202 receives a command to open the door 203, after receiving the command, the stepper motor 202 drives the door 203 to change the opening angle, so that the door 203 opens to the angle corresponding to the stepper motor 202 rotating one step.
[0041] The shielded enclosure consists of a enclosure body and a stepper motor. The enclosure door is connected to the stepper motor. After receiving a command to operate the door, the stepper motor drives the door to change its opening and closing angle, thus automating the change in the door's opening and closing angle. This change in the door's opening and closing angle reflects the change in the Bluetooth signal of the mobile device inside the enclosure, simulating different distances between the mobile terminal and the digital key system. This avoids the complex operation of manually collecting different Bluetooth signal data at different distances, improving the configuration efficiency for different distances, and thus increasing testing efficiency.
[0042] like Figure 3 As shown, the optional digital key testing system 100 is characterized by a shielded box controller 103, comprising: a relay 302 and a controller 301; the relay 302 is connected to a stepper motor 202; the controller 301 is connected to the relay 302 and is used to control the closing time of the relay 302.
[0043] The controller 301 can be a device for controlling the start, speed regulation, and braking of the relay 302, and is a module for processing and running automated programs. The relay 302 can be an electrical control device that receives commands from the controller 301 and operates the stepper motor 202.
[0044] Specifically, the shielded box controller 103 in the digital key testing system 100 includes a relay 302 and a controller 301. The shielded box controller 103 may include one or more relays 302 and one or more controllers 301; this invention does not limit this. The relay 302 is connected to the stepper motor 202 but not directly connected to the shielded box 102. The controller 301 is connected to the relay 302. The controller 301 controls the relay 302, opening and closing it. When the controller 301 opens the relay 302, the relay 302 controls the stepper motor 202 to rotate, causing the opening and closing angle of the shielded box 102's door 203 to change. When the controller 301 closes the relay 302, the relay 302 stops controlling the stepper motor 202, preventing the shielded box 102's door 203 from changing its opening and closing angle. This facilitates automated control of the shielded box 102's door 203, avoiding the inefficiency of manual operation of the door 203.
[0045] In one example, the shielded box controller 103 in the digital key testing system 100 includes two relays 302 and one controller 301. The relays 302 are connected to the stepper motor 202 but not to the shielded box 102. The controller 301 is connected to the relays 302. The door 203 of the shielded box 102 is initially closed. The controller 301 activates the relays 302, which control the stepper motor 202 to rotate. The opening angle of the door 203 of the shielded box 102 gradually increases. The relays 302 continue to run for 3 seconds. Then, the controller 301 deactivates the relays 302, which stop controlling the stepper motor 202 to rotate. The opening angle of the door 203 of the shielded box 102 no longer changes.
[0046] The digital key testing system is characterized by a shielded box controller, comprising: a relay and a controller. The relay is connected to a stepper motor, and the controller is connected to the relay. The controller is used to control the closing time of the relay, automatically control the opening and closing angle of the shielded box door, and accurately control the opening and closing angle of the shielded box door. This eliminates the need for manual control of the door opening and closing angle, thus improving the control efficiency of the shielded box door.
[0047] like Figure 4As shown, optionally, the digital key testing system 101 is characterized in that the digital key testing system 101 further includes: a bus 401, a bus analyzer 402, and a control terminal 403; the bus 401 is connected to the digital key system 101, the bus analyzer 402 is connected to the bus 401, and the bus analyzer 402 is communicatively connected to the control terminal 403.
[0048] Bus 401 can be a common communication trunk for transmitting information between various functional components. Each device is connected to bus 401, and information is transmitted between devices through bus 401. Bus analyzer 402 can be an instrument for testing or analyzing the data stream on the bus. Control terminal 403 can be a terminal controller capable of controlling one or more devices. Control terminal 403 includes, but is not limited to, computers or mobile phones.
[0049] Specifically, the digital key testing system 100 also includes: a bus 401, a bus analyzer 402, and a control terminal 403. The bus 401 is connected to the digital key system 101, the bus analyzer 402 is connected to the bus 401, and the bus analyzer 402 is communicatively connected to the control terminal 403. The bus 401 acquires vehicle control messages sent by the digital key system 101, obtaining the on / off status of the vehicle's door locks and welcome lights. The bus analyzer 402 converts the acquired vehicle control messages into Universal Serial Bus (USB) communication protocol signals and sends them to the control terminal 403, obtaining vehicle unlock signals, vehicle lock signals, and welcome light activation signals. The Universal Serial Bus (USB) communication protocol signals can be 0, 1, or any identifiable string. This facilitates timely acquisition of the on / off status of the vehicle's door locks and welcome lights, enabling monitoring of these statuses and improving the efficiency of vehicle control message data analysis.
[0050] In one example, the digital key testing system 100 further includes: a bus 401, a bus analyzer 402, and a control terminal 403, where the control terminal 403 is a computer. The bus 401 is connected to the digital key system 101, and the bus analyzer 402 is connected to the bus 401 and communicates with the computer. When the vehicle's welcome lights and door locks are both on, the vehicle control messages are transmitted to the bus analyzer 402 via the bus 401. The bus analyzer 402 converts the acquired vehicle control messages into USB communication protocol signals and sends them to the computer. The computer then receives confirmation that the vehicle's door locks and welcome lights are both on.
[0051] The digital key testing system is characterized by further comprising: a bus, a bus analyzer, and a control terminal; the bus is connected to the digital key system, the bus analyzer is connected to the bus, and the bus analyzer is communicatively connected to the control terminal. The bus allows for timely acquisition of vehicle control messages, including the on / off status of vehicle door locks and welcome lights. The bus analyzer can promptly convert the messages into USB communication protocol signals and send them to the control terminal. This facilitates timely analysis of the vehicle control message data by the control terminal, enabling it to make operational decisions based on the data analysis results and improving the accuracy of its vehicle control decisions.
[0052] like Figure 5 As shown, optionally, the digital key testing system 100 is characterized in that the control terminal 403 is communicatively connected to the shielded box controller 103.
[0053] Specifically, the control terminal 403 in the digital key testing system 100 is communicatively connected to the shielded box controller 103. The control terminal 403 can obtain the on / off status of the vehicle's door locks and welcome lights through the bus analyzer 402, and send signals to the shielded box controller 103 to adjust the opening and closing angle of the shielded box 102's door. This facilitates operation and control of the shielded box controller 103 through the control terminal 403, thereby controlling the opening and closing angle of the shielded box 102's door through the mobile terminal 403, realizing automated control of the shielded box 102's door, and improving the efficiency of the shielded box 102's door operation.
[0054] In one example, the control terminal 403 is a computer that is connected to the shielded box controller 103. The computer sends a command to the shielded box controller 103 to open the box door. The shielded box controller 103 controls the stepper motor 202 to rotate, and the box door of the shielded box 102 opens according to the command sent by the control terminal 403.
[0055] By establishing a communication connection between the control terminal and the shielded box controller in the digital key testing system, the limitations of wired connections are overcome, the control range between the control terminal and the shielded box controller is expanded, and the ease of operation of the shielded box controller by the control terminal is improved.
[0056] like Figure 6 As shown, optionally, a digital key testing system 100 is configured in vehicle 601.
[0057] Specifically, the digital key testing system 100 can be configured in the vehicle 601, and its location in the vehicle 601 includes, but is not limited to, the roof, the floor, and the center console. This facilitates the control of the door locks and welcome lights of the vehicle 601 via the digital key testing system 100. Based on the door lock and welcome light status obtained by the mobile terminal 104 through the bus analyzer 402, decision commands are sent to the shielding box controller 103 to control the opening and closing angle of the shielding box 102, thus improving the convenience and efficiency of controlling the door locks and welcome lights of the vehicle 601.
[0058] Figure 7 This invention provides a flowchart of a digital key testing method. This embodiment of the invention is applicable to situations where a vehicle-mounted digital key testing system is used to test the Bluetooth signal of a digital key. The method can be executed by a digital key testing device, which can be implemented in hardware and / or software. This testing device can be configured in a vehicle, and this embodiment of the invention does not impose any limitations on this.
[0059] See Figure 7 The digital key testing method shown includes:
[0060] S701, Control the opening and closing of the shielding box door.
[0061] Specifically, the control terminal sends a command to the controller of the shielded box controller. The controller then activates a relay, which drives a stepper motor to rotate. The stepper motor then changes the opening and closing angle of the shielded box door, thus controlling the opening and closing of the shielded box door. This facilitates automated control of the door opening and closing operation and improves the efficiency of door operation.
[0062] In one example, the shielded box door is initially closed. The control terminal sends an open command to the shielded box controller, which activates a relay. The relay drives a stepper motor, which begins to rotate, and the shielded box door gradually opens. Conversely, the control terminal sends a close command to the shielded box controller, which activates a relay. The relay drives a stepper motor, which begins to rotate, and the shielded box door gradually closes, thus controlling the opening and closing of the shielded box door.
[0063] S702. During the control process, acquire the unlocking and closing detection information of the digital key system.
[0064] The unlocking / locking detection information can include whether the vehicle doors are locked or unlocked. This information may also include the on / off status of the vehicle door locks and welcome lights.
[0065] Specifically, the unlocking and closing detection information is transmitted to the bus analyzer via the bus. The bus analyzer converts the unlocking and closing detection information into USB communication protocol signals and sends them to the control terminal to obtain the unlocking and closing detection information of the digital key system, thereby realizing the real-time acquisition of the unlocking and closing detection information and improving the processing efficiency of the unlocking and closing detection information.
[0066] In one example, the vehicle's door locks are in the "closed" state, and the vehicle's welcome lights are in the "off" state. The lock / unlock detection information is transmitted via the bus to a bus analyzer. The bus analyzer converts the lock / unlock detection information into USB communication protocol signals and sends them to the control terminal. The control terminal receives the lock / unlock detection information and determines that the vehicle's door locks are in the "closed" state and the vehicle's welcome lights are in the "off" state.
[0067] S703. Determine the test results of the digital key system based on the unlocking and closing detection information of the digital key system.
[0068] The test results are used to determine whether the digital key system functions properly and correctly. For example, whether the digital key system can unlock and lock, whether the maximum unlocking distance meets the preset development requirements, and whether the maximum locking distance meets the preset development requirements, etc.
[0069] Specifically, the control terminal sends commands to the shielded box controller to control the opening and closing angle of the shielded box door. The mobile terminal is placed inside the shielded box. The Bluetooth signal between the mobile terminal and the digital key system varies depending on the opening and closing angle of the shielded box door. When the Bluetooth signal between the digital key system and the mobile terminal reaches a preset Bluetooth signal threshold, the on / off state of the vehicle's door locks and welcome lights will change. The digital key system will acquire the vehicle's lock / unlock detection information and transmit it to the bus. The bus analyzer converts the vehicle's lock / unlock detection information into USB communication protocol signals and sends them to the control terminal. The control terminal will acquire the opening and closing angle of the shielded box door and the corresponding on / off state of the vehicle's door locks and welcome lights. It will check whether the opening and closing angle corresponds to the door lock's on / off state. If they correspond, the test is considered passed; if they do not correspond, the test is considered failed, thus obtaining the test result for the digital key system.
[0070] In one example, the control terminal sends a closing command to the shielded box controller, closing the shielded box door. The mobile terminal is placed inside the shielded box, and with the door closed, the Bluetooth signal between the mobile terminal and the digital key system is 0. Since a Bluetooth connection cannot be established between the digital key system and the mobile terminal, the vehicle's door locks and welcome lights are both off. The digital key system transmits the vehicle's lock / unlock detection information to the bus. The bus analyzer converts this information into a USB communication protocol signal and sends it to the control terminal. The control terminal receives confirmation that the shielded box door's opening / closing angle is 0%, and that when the door's opening / closing angle is 0%, both the vehicle's door locks and welcome lights are off. Since the door's opening / closing angle corresponds to the door lock's opening / closing, the digital key system's test result is deemed successful.
[0071] The technical solution of this invention controls the opening and closing of the shielded box door. By placing a mobile terminal inside the shielded box and controlling the opening and closing of the door, different door opening and closing angles are obtained. Under the influence of different door opening and closing angles, the Bluetooth signal values between the mobile terminal and the digital key system are different, simulating the situation where the mobile terminal and the digital key system are at different distances. This avoids the problem of low efficiency in manually determining the distance between the mobile terminal and the digital key system, and improves the efficiency of Bluetooth signal acquisition. During the control process, the unlocking and closing detection information of the digital key system is acquired. By acquiring the unlocking and closing detection information of the digital key system, the on / off status of the vehicle door locks and welcome lights can be obtained in a timely manner, which is conducive to the timely acquisition of test results and improves the efficiency of digital key testing. Based on the unlocking and closing detection information of the digital key system, the test results of the digital key system are determined. By acquiring the test results of the digital key system through the unlocking and closing detection information of the digital key system, the test results of the mobile terminal on the digital key system under different distance conditions are simulated, realizing the automated detection of test results, solving the problem of low efficiency in manual testing, and improving the efficiency of digital key testing.
[0072] Optionally, controlling the opening and closing of the shielding box door includes: opening the shielding box door at a target angle; detecting whether the digital key system is unlocked; if the digital key system is not unlocked, opening the shielding box door again at the target angle until the digital key system is detected to be unlocked; closing the shielding box door at the target angle; detecting whether the digital key system is locked; if the digital key system is not locked, closing the shielding box door again at the target angle until the digital key system is detected to be locked.
[0073] The target angle can be the angle at which the door of the shielded box opens or closes after a preset opening or closing command is sent by the control terminal.
[0074] Specifically, the control terminal sends an open command, and the shielded box controller controls the stepper motor to rotate, opening the shielded box door at a target angle. It then detects whether the digital key system is unlocked at the current opening angle of the shielded box door. If the control terminal obtains the vehicle control message through the bus analyzer and determines that the digital key system is not unlocked, it reopens the shielded box door at the target angle until the digital key system is detected as unlocked. The control terminal then sends a close command, and the shielded box controller controls the stepper motor to rotate, closing the shielded box door at the target angle. It then detects whether the digital key system is locked. If the control terminal obtains the vehicle control message through the bus analyzer and determines that the digital key system is not locked, it closes the shielded box door at the target angle until the digital key system is detected as locked. The control terminal can send the close command immediately after detecting that the digital key system is unlocked, or it can be executed after the control terminal has fully opened the door after detecting that the digital key system is unlocked; this invention does not impose any limitation on this.
[0075] In one example, such as Figure 8 As shown, the target angle is preset to 5%, and the initial opening angle of the shielded box door is 0%. The test system is powered on and started. The control terminal sets the shielded box to be closed and checks whether the digital key system is locked. If the digital key system is not locked, the control terminal sets the shielded box to be closed; otherwise, if the digital key system is locked, the control terminal sends an open command. The shielded box controller controls the stepper motor to rotate, opening the shielded box door by 5%. When the control terminal obtains the vehicle control message through the bus analyzer, it detects that the digital key system is not unlocked when the opening angle of the shielded box door is 5%. The shielded box door is opened again by 5%, and this time the opening angle of the shielded box door is 10%. When the control terminal obtains the vehicle control message through the bus analyzer, it detects that the digital key system is unlocked when the opening angle of the shielded box door is 10%. The initial opening angle of the shielded enclosure door is 10%. The control terminal sends a closing command, and the shielded enclosure controller controls the stepper motor to rotate, closing the shielded enclosure door by 5%. At this time, the opening angle of the shielded enclosure door is 5%. When the control terminal obtains the vehicle control message through the bus analyzer and detects that the digital key system is locked when the opening angle of the shielded enclosure door is 5%, the control terminal controls the shielded enclosure to close 100% and waits for a random value of 1 to 60 seconds before re-performing the digital key test, thus shortening the test cycle and enabling 24-hour uninterrupted testing.
[0076] Optionally, the unlocking and closing detection information of the digital key system is used to determine the test results of the digital key system, including: obtaining the test angle of the shielding box in the unlocking and closing detection information, where the test angle is the opening and closing angle of the shielding box when the digital key system unlocks and closes; determining the unlocking and closing distance of the digital key system based on the vehicle body structure and body material where the digital key system is located; determining the standard angle corresponding to the digital key system based on the mapping relationship between the unlocking and closing distance and the standard angle of the shielding box; and comparing the test angle and the standard angle to determine the functional test results of the digital key system.
[0077] The unlocking / closing distance can be the distance between the mobile terminal and the digital key system. The standard angle can be the true value of the angle corresponding to the received signal strength at the unlocking / closing distance. The standard angle is determined based on the angle in the mapping relationship corresponding to the unlocking / closing distance. The mapping relationship can be established by manually changing the distance between the mobile terminal and the digital key system, determining the unlocking / closing signal strength at different distances, and correspondingly determining the opening / closing angle under different unlocking / closing signal strengths.
[0078] Specifically, different vehicle body structures and materials affect radio electromagnetic waves, resulting in varying mapping relationships between the locking / unlocking distance of the vehicle and the corresponding opening / closing angle of the shielding box. In other words, the vehicle's body structure and materials determine this mapping. For vehicles with different models and body materials, the locking / unlocking distance of the digital key system needs to be determined. Based on the mapping relationship between the locking / unlocking distance and the standard angle of the shielding box, the corresponding standard angle of the digital key system can be determined. During digital key testing, the vehicle body structure and materials can be input by the user to the control terminal or obtained from attribute information sent by the vehicle; this invention does not impose any limitations on these aspects.
[0079] Example: Conduct an actual distance test on vehicle A. This involves manually changing the distance between the mobile terminal and the digital key system to obtain the on / off state of the digital key system at that distance. Then, obtain the opening / closing angle of the shielding box door under this on / off state to establish a mapping relationship between the locking / unlocking distance and the standard angle of the shielding box. When the distance between the mobile terminal and the vehicle is 20 meters, the digital key system is off; when the distance is less than 20 meters, it is on. When the opening / closing angle of the shielding box door is 5%, the digital key system is off; when the opening / closing angle is greater than 5%, it is on. Therefore, when the distance between the mobile terminal and the vehicle is 20 meters, the opening / closing angle of the shielding box door is 5%. This 5% angle is the standard angle for the locking / unlocking distance of 20 meters. The initial opening angle of the shielding box door is 0%, and the preset target angle is 5%. The opening command is sent through the control terminal controller, and the opening angle of the shielding box is opened by 5%. At this time, the opening angle of the shielding box is the test angle, that is, the test angle is 5%. When the opening angle of the shielding box is 5%, the vehicle door lock is in the open state, and the vehicle welcome light is in the on state.
[0080] The Bluetooth signal mapping relationship between simulated and real-world environments obtained through digital Bluetooth testing of vehicle A is as follows: In the simulated environment, when the shielding box opening angle is 0%, the corresponding distance between the mobile terminal and the digital key system in the real-world environment is greater than 25 meters; in the simulated environment, when the shielding box opening angle is 5%, the corresponding distance between the mobile terminal and the digital key system in the real-world environment is 20 meters; in the simulated environment, when the shielding box opening angle is 10%, the corresponding distance between the mobile terminal and the digital key system in the real-world environment is 18 meters; in the simulated environment, when the shielding box opening angle is 15%, the corresponding distance between the mobile terminal and the digital key system in the real-world environment is 15 meters; in the simulated environment, when the shielding box opening angle is 20%, the corresponding distance between the mobile terminal and the digital key system in the real-world environment is 13 meters. When the lower shielding box opens at a 25% angle, the distance between the mobile terminal and the digital key system in the actual environment is 10 meters; when the shielding box opens at a 30% angle in the simulated environment, the distance between the mobile terminal and the digital key system in the actual environment is 8 meters; when the shielding box opens at a 35% angle in the simulated environment, the distance between the mobile terminal and the digital key system in the actual environment is 5 meters; when the shielding box opens at a 40% angle in the simulated environment, the distance between the mobile terminal and the digital key system in the actual environment is 3 meters; when the shielding box opens at a 45% angle in the simulated environment, the distance between the mobile terminal and the digital key system in the actual environment is 1 meter; when the shielding box opens at an angle greater than 5% in the simulated environment, the distance between the mobile terminal and the digital key system in the actual environment is less than 1 meter.
[0081] By comparing the test angle with the standard angle, the functional test results of the digital key system were determined. When the opening and closing angle of the shielded box door was 5%, that is, when the distance between the mobile terminal and the digital key system was 20 meters, the vehicle door lock was in the open state, the vehicle welcome light was in the on state, and the opening and closing angle of the box door corresponded to the opening and closing of the door lock, the test result of the digital key system was determined to be passed.
[0082] By acquiring the test angle of the shielding box in the unlocking and locking detection information, which is the opening and closing angle of the shielding box when the digital key system unlocks and locks, and obtaining the opening and closing angle of the shielding box door corresponding to the unlocking and locking detection information of different digital key systems, it is beneficial to obtain the unlocking and locking detection information of vehicles corresponding to different Bluetooth signal values, thus improving the efficiency of test result processing. Based on the vehicle body structure and body material of the vehicle where the digital key system is located, the unlocking and locking distance of the digital key system is determined, avoiding the influence of different vehicle body structures and materials on the experimental results and improving the accuracy of the test results. Based on the mapping relationship between the unlocking and locking distance and the standard angle of the shielding box, the standard angle corresponding to the digital key system is determined, and the mapping relationship between the unlocking and locking distance of the test vehicle and the standard angle of the shielding box is obtained. Targeted experimental data acquisition is performed for different vehicles, refining the data classification and improving the accuracy of the test results. By comparing the test angle and the standard angle, the functional test results of the digital key system are determined. Comparing the test angle and the standard angle also obtains the actual distance between the mobile terminal and the digital key system at different test angles, avoiding the low efficiency of manual data collection and improving the efficiency of digital key testing.
[0083] Figure 9 A schematic diagram of an electronic device that can be used to implement embodiments of the present invention is shown.
[0084] The electronic device may include a first device, a second device, a third device, or a fourth device, wherein the first device includes a shielded box controller; the second device includes a shielded box and a stepper motor; the third device includes a digital key system, a bus, a bus analyzer, and a control terminal; and the fourth device includes a mobile terminal.
[0085] like Figure 9As shown, the electronic device 900 includes at least one processor 901 and a memory, such as a read-only memory (ROM) 902 or a random access memory (RAM) 903, communicatively connected to the at least one processor 901. The memory stores computer programs executable by the at least one processor. The processor 901 can perform various appropriate actions and processes based on the computer program stored in the ROM 902 or loaded into the RAM 903 from storage unit 908. The RAM 903 can also store various programs and data required for the operation of the electronic device 900. The processor 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0086] Multiple components in electronic device 900 are connected to I / O interface 905, including: input unit 906, such as keyboard, mouse, etc.; output unit 907, such as various types of displays, speakers, etc.; storage unit 908, such as disk, optical disk, etc.; and communication unit 909, such as network card, modem, wireless transceiver, etc. Communication unit 909 allows electronic device 900 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0087] Processor 901 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 901 performs the various methods and processes described above, such as the digital key testing method.
[0088] In some embodiments, the digital key testing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 900 via ROM 902 and / or communication unit 909. When the computer program is loaded into RAM 903 and executed by processor 901, one or more steps of the digital key testing method described above may be performed. Alternatively, in other embodiments, processor 901 may be configured to perform the digital key testing method by any other suitable means (e.g., by means of firmware).
[0089] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0090] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0091] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0092] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the vehicle. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0093] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0094] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system. It addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability.
[0095] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0096] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A digital key testing system, characterized in that, The system includes: a digital key system to be tested, a shielded box, a shielded box controller, and a mobile terminal; The digital key system is wirelessly connected to the mobile terminal; The shielded box controller is connected to the shielded box and is used to open the shielded box door at a target angle according to the opening command sent by the control terminal; acquire the test results obtained by the control terminal from the unlocking and closing detection information of the digital key system; when the test result is that the digital key system is not unlocked, open the shielded box door again at the target angle until the test result is that the digital key system is unlocked; then close the shielded box door at the target angle; acquire the test results obtained by the control terminal from the unlocking and closing detection information of the digital key system, and when the detection result is that the digital key system is not locked, close the shielded box door again at the target angle until the detection result is that the digital key system is locked; the target angle can be a preset angle at which the shielded box door opens or closes after the control terminal sends an open or close command; The mobile terminal is placed in the shielded box.
2. The digital key testing system according to claim 1, characterized in that, The shielding box includes a box body and a stepper motor, and the door of the box body is connected to the stepper motor.
3. The digital key testing system according to claim 2, characterized in that, The shielded box controller includes: Relays and controllers; The relay is connected to the stepper motor; The controller is connected to the relay and is used to control the closing time of the relay.
4. The digital key testing system according to claim 1, characterized in that, The digital key testing system also includes: Bus, bus analyzer, and control terminal; The bus is connected to the digital key system, the bus analyzer is connected to the bus, and the bus analyzer is communicatively connected to the control terminal.
5. The digital key testing system according to claim 4, characterized in that, The control terminal is communicatively connected to the shielded box controller.
6. The digital key testing system according to claim 1, characterized in that, The digital key system is installed in the vehicle.
7. A digital key testing method, characterized in that, The digital key testing system as described in any one of claims 1-5 includes: Control the opening and closing of the shielding box door; During the control process, the unlocking and closing detection information of the digital key system is acquired; The test results of the digital key system are determined based on the unlocking and closing detection information of the digital key system. The control of opening and closing the door of the shielding box includes: Open the door of the shielding box at the target angle; Detect whether the digital key system has unlocked; When the digital key system is not unlocked, the door of the shielded box is opened again at the target angle until the digital key system is detected to be unlocked; Then close the door of the shielding box at the target angle; Detect whether the digital key system is locked; When the digital key system is not locked, close the door of the shielding box again at the target angle until the digital key system is detected to be locked.
8. The method according to claim 7, characterized in that, The step of determining the test result of the digital key system based on the unlocking and closing detection information of the digital key system includes: The test angle of the shielding box is obtained from the lock / unlock detection information. The test angle is the opening and closing angle of the shielding box when the digital key system locks or unlocks. The locking and unlocking distance of the digital key system is determined based on the vehicle's body structure and body material. Based on the mapping relationship between the locking / unlocking distance and the standard angle of the shielding box, the standard angle corresponding to the digital key system is determined; The test angle and the standard angle are compared to determine the functional test results of the digital key system.
9. The method according to claim 7, characterized in that, Controlling the opening and closing of the shielding box door includes: Control the shielding box to close; Detect whether the digital key system is locked; When locked, the door of the shielding box is controlled to open and close.