Digital key testing method, apparatus, device, and readable storage medium

By acquiring the target distance and monitoring the controller command output during digital key testing, the problem of low testing accuracy caused by manual operation is solved, achieving more efficient and accurate testing results.

CN119002453BActive Publication Date: 2025-12-26CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411054449.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2025-12-26
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

Existing digital key testing methods rely on manual operation, resulting in low testing accuracy.

Method used

By obtaining the target distance between the moving digital key under test and the vehicle, it is determined whether the key has entered the preset control area of ​​the digital key controller in the vehicle, and the controller is monitored to see if it outputs the target command. The test result is determined based on the command output.

Benefits of technology

It improves the accuracy and efficiency of digital key testing, simplifies the testing process, and reduces complex data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002453B_ABST
    Figure CN119002453B_ABST
Patent Text Reader

Abstract

The application relates to a digital key testing method, device, equipment and readable storage medium. The method comprises the following steps: obtaining a target distance between a to-be-tested digital key in movement and a vehicle corresponding to the to-be-tested digital key; determining whether the to-be-tested digital key enters a preset control area of an in-vehicle digital key controller IKM according to the target distance at different time points; monitoring whether a target instruction is output by the IKM controller after the to-be-tested digital key enters the preset control area; and determining a test result of the to-be-tested digital key according to an instruction output condition of the target instruction. The method can improve the test accuracy of the digital key.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of automatic testing, in particular to a digital key testing method, device, equipment and readable storage medium. BACKGROUND

[0002] A digital key, often also referred to as a Bluetooth key or a virtual key. With the popularization of smart cars, this brand-new key technology will become the standard configuration of the next generation of cars. The digital key enables users to perform operations such as unlocking and locking the car door and starting the vehicle through a smart phone or a wearable smart device such as a smart watch, a bracelet, etc. that has Bluetooth, Ultra Wide Band (UWB) or Near Field Communication (NFC) functions.

[0003] Before the digital key is put into use, performance testing is usually required. At present, the common testing method needs to be realized by manual assistance, and the testing accuracy is low. SUMMARY

[0004] Therefore, it is necessary to provide a digital key testing method, device, equipment and readable storage medium capable of improving the testing accuracy of a digital key in view of the above technical problems.

[0005] In a first aspect, the present application provides a digital key testing method, comprising:

[0006] Obtaining a target distance between a mobile to-be-tested digital key and a vehicle corresponding to the to-be-tested digital key;

[0007] According to the target distance at different time points, determining whether the to-be-tested digital key enters a preset control area of an Ignition Key Module (IKM) in the vehicle;

[0008] After the to-be-tested digital key enters the preset control area, monitoring whether the IKM controller outputs a target instruction;

[0009] According to the instruction output condition of the target instruction, determining a testing result of the to-be-tested digital key.

[0010] In one of the embodiments, after the to-be-tested digital key enters the preset control area, monitoring whether the IKM controller outputs a target instruction, comprises: determining the target instruction according to a region category corresponding to the preset control area and / or a moving direction of the to-be-tested digital key; and monitoring whether the IKM controller outputs the target instruction after the to-be-tested digital key enters the preset control area.

[0011] In one of the embodiments, the target instruction is determined according to the region category corresponding to the preset control region and / or the moving direction of the digital key to be tested, including: if the region category corresponds to the vehicle light control region, the vehicle light control instruction corresponding to the moving direction is taken as the target instruction; if the region category corresponds to the vehicle lock control region, the vehicle lock control instruction corresponding to the moving direction is taken as the target instruction.

[0012] In one of the embodiments, the vehicle light control region includes a vehicle light opening region and a vehicle light closing region; the vehicle light control instruction includes a vehicle light opening instruction and a vehicle light closing instruction; accordingly, if the region category corresponds to the vehicle light control region, the vehicle light control instruction corresponding to the moving direction is taken as the target instruction, including: if the region category is the vehicle light opening region and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle light opening instruction; if the region category is the vehicle light closing region and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle light closing instruction.

[0013] In one of the embodiments, the vehicle lock control region includes a vehicle lock opening region and a vehicle lock closing region; the vehicle lock control instruction includes a vehicle lock opening instruction and a vehicle lock closing instruction; accordingly, if the region category corresponds to the vehicle lock control region, the vehicle lock control instruction corresponding to the moving direction is taken as the target instruction, including: if the region category is the vehicle lock opening region and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle lock opening instruction; if the region category is the vehicle lock closing region and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle lock closing instruction.

[0014] In one of the embodiments, the test result of the digital key to be tested is determined according to the instruction output of the target instruction, including: if the target instruction is not output, it is determined that the digital key to be tested is unqualified; if the target instruction is output, it is monitored whether the IKM controller receives the response data of the target instruction, and the test result of the digital key to be tested is determined according to the data receiving of the response data.

[0015] In one of the embodiments, the target distance between the digital key to be tested in movement and the vehicle corresponding to the digital key to be tested is obtained, including: if the digital key to be tested in movement is in a Bluetooth sensing region, the Bluetooth distance between the digital key to be tested and the vehicle corresponding to the digital key to be tested at different time points is obtained; if the digital key to be tested in movement is in an ultra-wideband (UWB) anchor point sensing region, the UWB distance between the digital key to be tested and the target anchor point at different time points is obtained; the target anchor point is the anchor point closest to the digital key to be tested among the anchor points arranged on the vehicle corresponding to the digital key to be tested; the UWB anchor point sensing region is located inside the Bluetooth sensing region; the Bluetooth distance and / or the UWB distance is taken as the target distance.

[0016] In one of the embodiments, if the to-be-tested digital key in movement is in the sensing area of an ultra-wideband (UWB) anchor point, the UWB distances between the to-be-tested digital key and target anchor points at different time points are acquired, including: determining whether the to-be-tested digital key enters the sensing area of the UWB anchor point according to the Bluetooth distances at different time points; if the to-be-tested digital key enters the sensing area of the UWB anchor point, determining whether each anchor point is normally running; and in the case that each anchor point is normally running, acquiring the UWB distances between the to-be-tested digital key and target anchor points at different time points.

[0017] In one of the embodiments, the target distance between the to-be-tested digital key in movement and the vehicle corresponding to the to-be-tested digital key is acquired, including: acquiring the distance between the mobile module in movement and the vehicle corresponding to the to-be-tested digital key; taking the distance between the mobile module in movement and the vehicle corresponding to the to-be-tested digital key as the target distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key; and the to-be-tested digital key is arranged in the mobile module.

[0018] In the second aspect, the application further provides a digital key testing device, including:

[0019] a target distance acquisition module, configured to acquire the target distance between the to-be-tested digital key in movement and the vehicle corresponding to the to-be-tested digital key;

[0020] a first determination module, configured to determine whether the to-be-tested digital key enters a preset control area of an in-vehicle intelligent key module (IKM) according to the target distance at different time points;

[0021] an instruction monitoring module, configured to monitor whether the IKM outputs a target instruction after the to-be-tested digital key enters the preset control area;

[0022] a second determination module, configured to determine a test result of the to-be-tested digital key according to an instruction output condition of the target instruction.

[0023] In the third aspect, the application further provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor realizes the following steps when executing the computer program:

[0024] acquiring the target distance between the to-be-tested digital key in movement and the vehicle corresponding to the to-be-tested digital key;

[0025] determining whether the to-be-tested digital key enters a preset control area of an in-vehicle intelligent key module (IKM) according to the target distance at different time points;

[0026] monitoring whether the IKM outputs a target instruction after the to-be-tested digital key enters the preset control area;

[0027] According to the instruction output condition of the target instruction, a test result of the digital key to be tested is determined.

[0028] In a fourth aspect, the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the following steps:

[0029] A target distance between the digital key to be tested and a vehicle corresponding to the digital key to be tested is acquired;

[0030] According to the target distance at different time, it is determined whether the digital key to be tested enters a preset control area of an IKM controller of the vehicle;

[0031] After the digital key to be tested enters the preset control area, it is monitored whether the IKM controller outputs a target instruction;

[0032] According to the instruction output condition of the target instruction, a test result of the digital key to be tested is determined.

[0033] In a fifth aspect, the present application further provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the following steps:

[0034] A target distance between the digital key to be tested and a vehicle corresponding to the digital key to be tested is acquired;

[0035] According to the target distance at different time, it is determined whether the digital key to be tested enters a preset control area of an IKM controller of the vehicle;

[0036] After the digital key to be tested enters the preset control area, it is monitored whether the IKM controller outputs a target instruction;

[0037] According to the instruction output condition of the target instruction, a test result of the digital key to be tested is determined.

[0038] The digital key test method, device, equipment and readable storage medium introduce the preset control area of the IKM in the vehicle, and determine whether the to-be-tested digital key enters the preset control area according to the target distance between the to-be-tested digital key in movement and the vehicle corresponding to the to-be-tested digital key at different times, so that the area range of the preset control area is used as the test area range of the to-be-tested digital key, and the test result of the to-be-tested digital key can be accurate to the area range of the preset control area. Compared with the test in the prior art which does not pay attention to the area range, the accuracy of the test result is improved. Further, after the to-be-tested digital key enters the preset control area, the to-be-tested digital key is tested by detecting the instruction output condition of the target instruction of the IKM controller, only simple data communication is needed, without complex data operation processing, so that the digital key test process is more convenient and fast, and the test efficiency is improved. BRIEF DESCRIPTION OF DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the description of the embodiments of the present application or the related art will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other related drawings can be obtained by those skilled in the art without creative labor.

[0040] Figure 1 An application environment diagram of the digital key test method in an embodiment;

[0041] Figure 2 A flowchart of the digital key test method in an embodiment;

[0042] Figure 3A A flowchart of monitoring whether the IKM controller outputs the target instruction in an embodiment;

[0043] Figure 3B An application environment diagram of the digital key test method in another embodiment;

[0044] Figure 4 A flowchart of the test result of the to-be-tested digital key in an embodiment;

[0045] Figure 5A A flowchart of obtaining the target distance in an embodiment;

[0046] Figure 5B An application environment diagram of the digital key test method in another embodiment;

[0047] Figure 6A A flowchart of obtaining the target distance in another embodiment;

[0048] Figure 6B An application environment diagram of another embodiment of the digital key test method;

[0049] Figure 7A An application environment diagram of another embodiment of the digital key test method;

[0050] Figure 7B A flowchart of the digital key test method in another embodiment;

[0051] Figure 8 A structural block diagram of the digital key test device in an embodiment;

[0052] Figure 9 An internal structural diagram of the computer device in an embodiment. DETAILED DESCRIPTION

[0053] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application is further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.

[0054] The digital key test method provided by the embodiments of the present application can be applied to an application environment as shown in Figure 1 . The host computer 102 communicates with the IKM controller 104 through wireless or wired communication. The host computer 102 obtains a target distance between a digital key under test and a vehicle corresponding to the digital key under test in movement. The host computer 102 determines whether the digital key under test enters a preset control area of the IKM controller 104 in the vehicle according to the target distance at different times. After the digital key under test enters the preset control area, it is monitored whether the IKM controller 104 outputs a target instruction. The host computer 102 determines a test result of the digital key under test according to an instruction output condition of the target instruction. The host computer 102 can be a computer that can directly issue a control command, or a server, and is not limited in this regard. The IKM controller 104 can be a controller for controlling the digital key in the vehicle.

[0055] In an exemplary embodiment, as shown in Figure 2 , a digital key test method is provided. Taking the host computer 102 in Figure 1 as an example, the method includes the following steps:

[0056] S210, obtaining a target distance between a digital key under test and a vehicle corresponding to the digital key under test in movement.

[0057] The digital key to be tested can be a digital key that needs to be tested for qualification. The digital key can be a mobile terminal, such as a mobile phone, which logs into a vehicle application and establishes a binding relationship with the vehicle. The digital key can be used to temporarily open the door of the corresponding vehicle.

[0058] In an optional embodiment, the first position information of the vehicle corresponding to the digital key to be tested is acquired, and the second position information of the digital key to be tested is monitored in real time during the movement of the digital key to be tested; and the target distance between the digital key to be tested and the vehicle corresponding to the digital key to be tested is determined according to the first position information and the second position information at different times.

[0059] In an optional embodiment, the distance feedback information output by the IKM controller on the vehicle corresponding to the digital key to be tested is acquired in real time, and the distance feedback information is taken as the target distance between the digital key to be tested and the vehicle corresponding to the digital key to be tested.

[0060] The distance feedback information represents the distance between the digital key to be tested and the IKM controller on the vehicle corresponding to the digital key to be tested. There is a binding relationship, such as a Bluetooth connection relationship, between the IKM controller on the vehicle corresponding to the digital key to be tested and the digital key to be tested. The IKM controller can acquire the position information of the digital key to be tested in real time, and determine the distance between itself and the IKM controller in combination with the position where it is located.

[0061] It should be noted that in this embodiment, the digital key to be tested can be carried on the worker and moved with the worker; or can be set on a mobile module, such as an automated guided vehicle (AGV) trolley, and moved with the mobile module.

[0062] S220, whether the digital key to be tested enters the preset control area of the IKM is determined according to the target distance at different times.

[0063] It should be noted that the IKM controller can control the digital key to be tested only when the target distance between the digital key to be tested and the IKM controller is less than the Bluetooth sensing range of the IKM controller. According to the different target distances between the digital key to be tested and the IKM controller, the control mode of the IKM controller on the digital key to be tested can also be different. Therefore, the number of preset control areas can not be unique. For example, the preset control areas of the IKM controller can be divided according to the distance. For example, the preset control areas of the IKM controller are circular areas with different radii and the IKM controller as the center. That is, different preset control areas correspond to different distance thresholds.

[0064] Of course, the IKM controller can also have only one preset control area.

[0065] In an optional embodiment, whether the digital key under test enters the preset control area of the IKM controller in the vehicle can be determined according to the target distance between the digital key under test and the vehicle corresponding to the digital key under test at the current time, and the size of the distance threshold corresponding to each preset control area.

[0066] Illustratively, the preset control area of the IKM controller can be divided into a first control area and a second control area, the first control area being a region composed of a circle with the IKM controller as the center and 2 meters as the radius, and the second control area being a region composed of a circle with the IKM controller as the center and 2 meters as the radius. At this time, if the target distance between the digital key under test and the vehicle corresponding to the digital key under test at the current time does not exceed 2 meters, it is determined that the digital key under test is in the first control area of the IKM controller; if the target distance between the digital key under test and the vehicle corresponding to the digital key under test at the current time exceeds 2 meters, it is determined that the digital key under test is in the second control area of the IKM controller.

[0067] S230, after the digital key under test enters the preset control area, whether the IKM controller outputs a target instruction is monitored.

[0068] The target instruction is an instruction sent by the IKM controller to other controllers in the vehicle, used to instruct the other controllers to control the corresponding devices to change state. Illustratively, the other controller can be a vehicle lamp controller, and correspondingly, the target instruction can be an instruction for instructing the vehicle lamp controller to control the vehicle lamp to change state; the other controller can also be a vehicle lock controller, and correspondingly, the target instruction can be an instruction for instructing the vehicle lock to change state.

[0069] It should be noted that different preset control areas of the IKM controller correspond to different target instructions. That is, when the digital key under test is normal and the digital key under test enters different preset control areas of the IKM controller, the IKM controller will output the target instruction corresponding to the preset control area. In the case where the IKM controller has only one preset control area, different positions in the preset control area can correspond to different target instructions.

[0070] In an optional embodiment, after the digital key under test enters the preset control area, the instruction output by the IKM controller can be acquired in real time, and it can be determined whether the instruction output by the IKM controller matches the preset control area in which the digital key under test is located at the current time. In the case of matching, it is determined that the IKM controller outputs the target instruction; in the case of not matching, it is determined that the IKM controller does not output the target instruction.

[0071] In an optional embodiment, the target instruction output by the IKM controller can be acquired in real time after the digital key under test enters the preset control area, and in the case of acquisition, the target instruction output by the IKM controller is determined; in the case of non-acquisition, it is determined that the IKM controller does not output the target instruction.

[0072] S240, determining the test result of the digital key under test according to the instruction output condition of the target instruction.

[0073] For example, in this embodiment, if it is determined that the IKM controller outputs the target instruction in different preset control areas, it is determined that the test result of the digital key under test is qualified; if it is determined that the IKM controller does not output the target instruction in a preset control area, it is determined that the test result of the digital key under test is unqualified.

[0074] In the above-mentioned digital key test method, the preset control area of the IKM in the vehicle is introduced, and whether the digital key under test enters the preset control area is determined according to the target distance between the digital key under test and the vehicle corresponding to the digital key under test at different times, so that the area range of the preset control area is used as the test area range of the digital key under test, and the test result of the digital key under test can be accurate to the area range of the preset control area. Compared with the test in the prior art which does not pay attention to the area range, the accuracy of the test result is improved. Further, after the digital key under test enters the preset control area, the digital key under test is tested by detecting the instruction output condition of the target instruction of the IKM controller, only simple data communication is needed, without complex data operation processing, so that the digital key test process is more convenient and fast, and the test efficiency is improved.

[0075] On the basis of the technical solutions of the above-mentioned embodiments, the present application further provides an optional embodiment. In this embodiment, the step of monitoring whether the IKM controller outputs the target instruction after the digital key under test enters the preset control area is further refined.

[0076] Referring to the step of monitoring whether the IKM controller outputs the target instruction as shown in Figure 3A , the step includes:

[0077] S310, determining the target instruction according to the area category corresponding to the preset control area, and / or the moving direction of the digital key under test.

[0078] Different preset control regions correspond to different region categories. The moving direction of the digital key to be tested can be simply divided into two categories, one is the direction of approaching the vehicle corresponding to the digital key to be tested, and the other is the direction of moving away from the vehicle corresponding to the digital key to be tested. The moving speed of the digital key to be tested and the angle between the digital key to be tested and the vehicle corresponding to the digital key to be tested are not limited.

[0079] S320, after the digital key to be tested enters the preset control region, whether the IKM controller outputs a target instruction is monitored.

[0080] In an optional embodiment, the target instruction matches the region category of the preset control region. Correspondingly, the target instruction can be determined according to the region category corresponding to the preset control region. For example, if the region category corresponds to the vehicle lamp control region, the target instruction is the vehicle lamp control instruction. If the region category corresponds to the vehicle lock control region, the target instruction is the vehicle lock control instruction. The vehicle lamp control instruction is used to instruct the vehicle lamp controller to control the vehicle lamp to change the state. The vehicle lock control instruction is used to instruct the vehicle lock controller to control the vehicle lock to change the state.

[0081] Illustratively, when it is detected that the digital key to be tested enters the vehicle lamp control region, whether the IKM controller outputs the vehicle lamp control instruction is monitored; when it is detected that the digital key to be tested enters the vehicle lock control region, whether the IKM controller outputs the vehicle lock control instruction is monitored.

[0082] In an optional embodiment, the preset control region is only one, in which case, the target instruction matches the moving direction of the digital key to be tested. Correspondingly, the target instruction can be determined according to the moving direction of the digital key to be tested. For example, the preset control region is the vehicle lamp control region, at this time, if the moving direction of the digital key to be tested is the direction of approaching the vehicle corresponding to the digital key to be tested, the target instruction is the vehicle lamp opening instruction; if the moving direction of the digital key to be tested is the direction of moving away from the vehicle corresponding to the digital key to be tested, the target instruction is the vehicle lamp closing instruction.

[0083] Illustratively, when it is detected that the moving direction of the digital key to be tested is the direction of approaching the vehicle corresponding to the digital key to be tested, whether the IKM controller outputs the vehicle lamp opening instruction is monitored; when it is detected that the moving direction of the digital key to be tested is the direction of moving away from the vehicle corresponding to the digital key to be tested, whether the IKM controller outputs the vehicle lamp closing instruction is monitored.

[0084] In an optional embodiment, in order to further improve the accuracy of the test result corresponding to the to-be-tested digital key, the target instruction can be determined according to the region category corresponding to the preset control region and the moving direction of the to-be-tested digital key. For example, if the region category corresponds to the vehicle lamp control region, the vehicle lamp control instruction corresponding to the moving direction is taken as the target instruction; if the region category corresponds to the vehicle lock control region, the vehicle lock control instruction corresponding to the moving direction is taken as the target instruction.

[0085] Specifically, the vehicle lamp control region includes a vehicle lamp opening region and a vehicle lamp closing region; and the vehicle lamp control instruction includes a vehicle lamp opening instruction and a vehicle lamp closing instruction. If the region category is the vehicle lamp opening region and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle lamp opening instruction; if the region category is the vehicle lamp closing region and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle lamp closing instruction.

[0086] It should be noted that, under normal circumstances, after the to-be-tested digital key enters the vehicle lamp opening region, the IKM controller will send the vehicle lamp opening instruction to the vehicle lamp controller to instruct the vehicle lamp controller to control the vehicle lamp to open. Therefore, the vehicle lamp opening region can also be called a welcome region. After the to-be-tested digital key enters the vehicle lamp closing region, the IKM controller will send the vehicle lamp closing instruction to the vehicle lamp controller to instruct the vehicle lamp controller to control the vehicle lamp to close. Therefore, the vehicle lamp closing region can also be called a send-off region.

[0087] Referring to the digital key test environment diagram as shown in Figure 3B If the to-be-tested digital key is at point A and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle lamp opening instruction; if the to-be-tested digital key is at point B and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle lamp closing instruction.

[0088] Specifically, the vehicle lock control region includes a vehicle lock opening region and a vehicle lock closing region; and the vehicle lock control instruction includes a vehicle lock opening instruction and a vehicle lock closing instruction. If the region category is the vehicle lock opening region and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle lock opening instruction; if the region category is the vehicle lock closing region and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle lock closing instruction.

[0089] Continuing to refer to the digital key test environment diagram as shown in Figure 3B If the to-be-tested digital key is at point C and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle lock opening instruction; if the to-be-tested digital key is at point D and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle lock closing instruction.

[0090] In the above embodiments, the target control instruction corresponds to the region category of the preset control region and / or the moving direction of the to-be-tested digital key, and specific target instructions corresponding to different region categories and different moving directions are given, so that the monitoring of whether the IKM controller outputs the target instruction is more accurate.

[0091] Based on the technical solutions of the above embodiments, the application further provides an optional embodiment. In this embodiment, the determination of the test result of the to-be-tested digital key is further refined.

[0092] Referring to the determination of the test result of the to-be-tested digital key as shown in Figure 4 includes the following steps:

[0093] S410, start.

[0094] S420, determine whether the IKM controller outputs the target instruction.

[0095] S430, if the target instruction is not output, it is determined that the to-be-tested digital key is unqualified.

[0096] S440, if the target instruction is output, monitor whether the IKM controller receives response data of the target instruction, and determine the test result of the to-be-tested digital key according to the data receiving condition of the response data.

[0097] The response data is the data fed back by the receiver (such as the vehicle light controller or the vehicle lock controller) of the target instruction to the IKM controller. The response data is used to feed back the response condition of the target instruction to the IKM controller. Usually, after the receiver of the target instruction responds to the target instruction and controls the corresponding device to change the state, the receiver will send response data to the IKM controller.

[0098] Exemplarily, in the case where it is monitored that the IKM controller outputs the target instruction, the data receiving condition of the IKM controller is continuously monitored. In the case where it is monitored that the IKM controller receives the response data of the target instruction, it is determined that the test result of the to-be-tested digital key is qualified; in the case where it is monitored that the IKM controller does not receive the response data of the target instruction, it is determined that the test result of the to-be-tested digital key is unqualified.

[0099] In the above embodiments, on the basis of determining the test result of the to-be-tested digital key according to the instruction output condition of the target instruction, the data receiving condition of the IKM controller is introduced, and the accuracy of the test result is further improved.

[0100] On the basis of the technical solutions of the above embodiments, in the process of movement of the to-be-tested digital key, in order to improve the accuracy of the target distance and lay a foundation for improving the accuracy of the test result. The way of obtaining the target distance may be different under different circumstances. The application also provides an optional embodiment. In this embodiment, the way of obtaining the target distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key in the process of movement under different circumstances is described in detail.

[0101] Referring to the target distance obtaining step as shown in Figure 5A , the target distance obtaining step comprises the following steps.

[0102] S510, start.

[0103] S520, determine whether the to-be-tested digital key is in the Bluetooth sensing area.

[0104] It should be noted that when the to-be-tested digital key is in the Bluetooth sensing area, the IKM controller can be connected with the to-be-tested digital key through Bluetooth. In this case, the IKM controller can determine the Bluetooth distance between the to-be-tested digital key and the IKM controller based on Bluetooth communication, and take the Bluetooth distance as the distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key.

[0105] When the to-be-tested digital key is in the UWB anchor point sensing area, the UWB anchor point on the vehicle will be turned on. In this case, the UWB anchor point can determine the UWB distance between the to-be-tested digital key and the UWB anchor point based on the ultra-wideband technology, and take the UWB distance as the distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key.

[0106] It is worth noting that the UWB distance will be more accurate than the Bluetooth distance.

[0107] S530, if the to-be-tested digital key in movement is in the Bluetooth sensing area, then obtain the Bluetooth distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key at different times.

[0108] Exemplarily, in this embodiment, the distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key can be determined according to the first position information of the vehicle corresponding to the to-be-tested digital key and the second position information of the to-be-tested digital key. If the distance between the two is less than the Bluetooth sensing range of the IKM controller, for example, 50 meters in square, it is determined that the to-be-tested digital key is in the Bluetooth sensing area. Further, the Bluetooth distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key at different times output by the IKM controller is obtained.

[0109] S540, if the to-be-tested digital key in movement is in the ultra-wideband UWB anchor point sensing area, then obtain the UWB distance between the to-be-tested digital key and the target anchor point at different times.

[0110] In the embodiment, the vehicle is provided with a plurality of UWB anchors, and the number of UWB anchors on a vehicle is generally 4 or 6. The target anchor is an anchor on the vehicle corresponding to the digital key to be tested, which is close to the digital key to be tested, for example, the UWB anchor closest to the digital key to be tested. The UWB anchor sensing area is located inside the Bluetooth sensing area.

[0111] In an optional embodiment, the distance between the digital key to be tested and the vehicle corresponding to the digital key to be tested can be determined according to the first position information of the vehicle corresponding to the digital key to be tested and the second position information of the digital key to be tested, or according to the Bluetooth distance between the digital key to be tested and the vehicle corresponding to the digital key to be tested. If the distance between the two is less than the UWB anchor sensing range, for example, 10 meters, it is determined that the digital key to be tested is in the UWB anchor sensing area. Further, the distance between each anchor and the digital key to be tested is determined according to the third position information of each anchor and the second position information of the digital key to be tested, and the anchor closest to the digital key to be tested, for example, the closest anchor, is taken as the target anchor. Then the UWB distance between the digital key to be tested and the target anchor at different time points output by the target anchor is obtained.

[0112] In another optional embodiment, whether the digital key to be tested enters the UWB anchor sensing area can be determined according to the Bluetooth distance at different time points. If the digital key to be tested enters the UWB anchor sensing area, it is determined whether each anchor is operating normally. In the case where each anchor is operating normally, the UWB distance between the digital key to be tested and the target anchor at different time points is obtained.

[0113] It should be noted that S540 is only an exemplary way of determining the target distance proposed by the present application when the digital key to be tested is in the UWB anchor sensing area. In order to make the way of determining the target distance more abundant in this case, in another optional embodiment, after it is determined that the digital key to be tested is in the UWB anchor sensing area, the initial UWB distances between each anchor and the digital key to be tested can be obtained, and the mean or weighted sum of the initial UWB distances is taken as the final UWB distance. The weight coefficients corresponding to each initial UWB distance can be determined based on artificial experience or determined through a large number of experiments, which is not limited.

[0114] S550, taking the Bluetooth distance and / or the UWB distance as the target distance.

[0115] Exemplarily, in the embodiment, the Bluetooth distance is taken as the target distance when only the Bluetooth distance exists. When both the Bluetooth distance and the UWB distance exist, the UWB distance can be directly taken as the target distance, or the target distance can be determined according to the Bluetooth distance and the UWB distance.

[0116] Exemplarily, the mean value of the UWB distance and the Bluetooth distance can be taken as the target distance, or the smaller value of the UWB distance and the Bluetooth distance can be taken as the target distance, and no limitation is made thereto.

[0117] In the above embodiments, the specific manner of determining the target distance between the digital key under test and the vehicle corresponding to the digital key under test is given in the case that the digital key under test is in the Bluetooth sensing area or the UWB anchor sensing area, so that the target distance is more accurate, and a foundation is laid for improving the accuracy of test results.

[0118] It should be noted that in this case, since the host computer needs to obtain data from the UWB anchor, the application environment corresponding to the digital key test method of the present application can be as shown in Figure 5B , wherein the UWB anchor 108 and the IMK controller 104 are arranged in a vehicle, and the vehicle has a binding relationship with the digital key under test 106. The UWB anchor 108 is wirelessly or wiredly connected to the host computer 102 and the digital key under test 106, respectively.

[0119] On the basis of the technical solutions of the above embodiments, the present application further provides an optional embodiment. In this embodiment, the specific manner of obtaining the target distance between the digital key under test in movement and the vehicle corresponding to the digital key under test is described in detail in the case that the digital key under test is arranged in a mobile module.

[0120] Referring to the step of obtaining the target distance as shown in Figure 6A , the step comprises:

[0121] S610, obtaining the distance between the mobile module in movement and the vehicle corresponding to the digital key under test.

[0122] The digital key under test is arranged in the mobile module.

[0123] In an optional implementation manner, the fourth position information of the mobile module can be monitored in real time, and the distance between the mobile module in movement and the vehicle corresponding to the digital key under test is determined according to the fourth position information and the first position information of the vehicle.

[0124] Exemplarily, the mobile module can correspond to a mobile module controller, and in the process of movement of the mobile module, the current position of the mobile module is synchronized to the mobile module controller. The host computer is wiredly or wirelessly connected to the mobile module controller, and the fourth position information of the mobile module is obtained from the mobile module controller.

[0125] It should be noted that the mobile module controller can control the mobile module to run according to the preset control logic according to the preset running state. The running state can include running speed and running angle, etc. In order to make the running track of the mobile module same as the actual application scene, that is, to make the running track of the mobile module more matched with the user's running track, in the embodiment, the preset control logic can be set according to the user's real use scene.

[0126] For example, the speed of a person walking is about: 0.8-1.6 m / s, and the speed of a person running is about 4 times the walking speed, and the running speed is about: 3.2-6.4 m / s. Correspondingly, the control logic sets the initial speed of the mobile module to 0, and increases the speed of each approach and departure by using a loop function, such as a for loop. When the speed reaches 6.4 m / s, stop. The speed of the mobile module approaching and departing the vehicle V = 0.8 m / s + 0.1 m / s * x, wherein x is the number of approaching and departing, and the initial value of x is 0. That is, the speed increases by 0.1 m / s each time the mobile module approaches and departs. In this case, the first approaching and departing speed V1 = 0.8 m / s + 0.1 m / s * 1, and the second speed V2 = 0.8 m / s + 0.1 m / s * 2.

[0127] Further, in order to make the running track of the mobile module contain the shaking scene of the user to the to-be-tested digital key, in the control logic, take the IKM controller as the center, and the angle of the mobile module approaching is W. The interval of W is 0-360 degrees. Set the initial value of W to 0, and increase the angle each time by using a loop function, such as a for loop. When the angle is 360 degrees, stop. The angle of the mobile module approaching and departing the vehicle W = 0 + 10 * x, wherein x is the number of approaching and departing, and the initial value of x is 0. That is, the angle increases by 10 degrees each time the mobile module approaches and departs.

[0128] S620, the distance between the mobile module in the mobile and the vehicle corresponding to the to-be-tested digital key is taken as the target distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key.

[0129] It should be noted that in this case, since the host computer needs to obtain the fourth position information of the mobile module from the mobile module controller, the application environment corresponding to the digital key test method of the present application can be as shown in Figure 6B The to-be-tested digital key 106 is placed in the mobile module 112, and the mobile module 112 is connected to the IKM controller 104, the UWB anchor 108 and the mobile module controller 111 in a wired or wireless manner. The mobile module controller 111 is connected to the host computer 102.

[0130] For the convenience of those skilled in the art to understand the present scheme, the digital key test method provided in the present application is described in detail, as shown in Figure 7A The present application also provides a more comprehensive application scenario of the digital key test method. Taking the IKM control and each UWB anchor point as the center and different preset distances as the radius, different preset control areas and different sensing areas are formed. From the outside to the inside, they are the Bluetooth sensing area, the UWB anchor point sensing area (i.e. the vehicle light off area), the vehicle light on area (i.e. the vehicle lock off area) and the vehicle lock on area. Exemplarily, the radius of the Bluetooth sensing area can be 50 meters; the radius of the UWB anchor point sensing area can be 20 meters; the radius of the vehicle light on area can be 10 meters; and the radius of the vehicle lock on area can be 2 meters. The mobile module carries the digital key to be tested, and moves in the direction of approaching or moving away from the vehicle corresponding to the digital key to be tested. In the present embodiment, the digital key test method is applied to the application scenario as shown in Figure 7A The digital key test method is described in detail.

[0131] Referring to the digital key test method as shown in Figure 7B The digital key test method comprises the following steps.

[0132] S701, the distance between the mobile module in motion and the vehicle corresponding to the digital key to be tested is obtained.

[0133] The digital key to be tested is arranged in the mobile module.

[0134] S702, according to the size relationship between the distance and the preset Bluetooth sensing range, it is determined whether the digital key to be tested in motion is in the Bluetooth sensing area. If yes, S703 is executed, and if not, S705 is executed.

[0135] S703, if the mobile module in motion is in the Bluetooth sensing area, the Bluetooth distance between the mobile module and the vehicle corresponding to the digital key to be tested at different time instants is obtained.

[0136] S704, according to the Bluetooth distance at different time instants, it is determined whether the mobile module enters the UWB anchor point sensing area.

[0137] S705, if the mobile module enters the UWB anchor point sensing area, it is determined whether each anchor point is normally running, and under the condition that each anchor point is normally running, the UWB distance between the mobile module and the target anchor point at different time instants is obtained.

[0138] The target anchor point is the anchor point closest to the mobile module among the anchor points arranged on the vehicle corresponding to the digital key to be tested; and the UWB anchor point sensing area is located inside the Bluetooth sensing area.

[0139] S706, the Bluetooth distance and / or the UWB distance are taken as the distance between the mobile module in movement and the vehicle corresponding to the digital key under test, and the distance between the mobile module and the vehicle corresponding to the digital key under test is taken as the target distance between the digital key under test and the vehicle corresponding to the digital key under test.

[0140] S707, according to the size relationship between the target distance and the control range of the preset control region, it is determined which preset control region the digital key under test is in.

[0141] S708, if the region category is the vehicle light opening region and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle light opening instruction.

[0142] S709, if the region category is the vehicle light closing region and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle light closing instruction.

[0143] S710, if the region category is the vehicle lock opening region and the moving direction is the direction of moving close to the vehicle, the target instruction is the vehicle lock opening instruction.

[0144] S711, if the region category is the vehicle lock closing region and the moving direction is the direction of moving away from the vehicle, the target instruction is the vehicle lock closing instruction.

[0145] S712, after the digital key under test enters the corresponding preset control region, it is monitored whether the IKM controller outputs the target instruction. If yes, S713 is executed; if no, S714 is executed.

[0146] S713, if the target instruction is not output, it is determined that the digital key under test is unqualified.

[0147] S714, if the target instruction is output, it is monitored whether the IKM controller receives the response data of the target instruction, and according to the data receiving condition of the response data, the test result of the digital key under test is determined.

[0148] Specifically, in the case of receiving the response data, it is determined that the test result of the digital key under test is qualified.

[0149] It should be understood that although the steps in the flowcharts involved in the embodiments described above are shown in sequence according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, the execution of the steps is not strictly limited in sequence, and the steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the embodiments described above can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of the steps or stages is not necessarily sequential, but can be alternately or alternately executed with at least part of other steps or steps or stages in other steps.

[0150] Based on the same inventive concept, the embodiments of the present application also provide a digital key testing device for implementing the above-mentioned digital key testing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more digital key testing device embodiments provided below can refer to the limitations of the digital key testing method described above, and will not be repeated here.

[0151] In one exemplary embodiment, as shown in Figure 8 A digital key testing device is provided, comprising: a target distance acquisition module 810, a first determination module 820, an instruction monitoring module 830, and a second determination module 840, wherein:

[0152] The target distance acquisition module 810 is configured to acquire a target distance between a digital key under test in motion and a vehicle corresponding to the digital key under test.

[0153] The first determination module 820 is configured to determine whether the digital key under test enters a preset control area of an IKM controller of the vehicle according to the target distance at different times.

[0154] The instruction monitoring module 830 is configured to monitor whether the IKM controller outputs a target instruction after the digital key under test enters the preset control area.

[0155] The second determination module 840 is configured to determine a test result of the digital key under test according to an instruction output condition of the target instruction.

[0156] In one embodiment, the instruction monitoring module 830 includes an instruction determination unit configured to determine the target instruction according to a region category corresponding to the preset control area and / or a moving direction of the digital key under test, and an instruction monitoring unit configured to monitor whether the IKM controller outputs the target instruction after the digital key under test enters the preset control area.

[0157] In one embodiment, the instruction determining unit comprises a first determining sub-unit configured to determine the target instruction as the vehicle lamp control instruction corresponding to the moving direction if the region category corresponds to the vehicle lamp control region; and a second determining sub-unit configured to determine the target instruction as the vehicle lock control instruction corresponding to the moving direction if the region category corresponds to the vehicle lock control region.

[0158] In one embodiment, the vehicle lamp control region comprises a vehicle lamp opening region and a vehicle lamp closing region; the vehicle lamp control instruction comprises a vehicle lamp opening instruction and a vehicle lamp closing instruction; the first determining sub-unit is specifically configured to determine the target instruction as the vehicle lamp opening instruction if the region category is the vehicle lamp opening region and the moving direction is a direction of moving close to the vehicle; and determine the target instruction as the vehicle lamp closing instruction if the region category is the vehicle lamp closing region and the moving direction is a direction of moving away from the vehicle.

[0159] In one embodiment, the vehicle lock control region comprises a vehicle lock opening region and a vehicle lock closing region; the vehicle lock control instruction comprises a vehicle lock opening instruction and a vehicle lock closing instruction; the second determining sub-unit is specifically configured to determine the target instruction as the vehicle lock opening instruction if the region category is the vehicle lock opening region and the moving direction is a direction of moving close to the vehicle; and determine the target instruction as the vehicle lock closing instruction if the region category is the vehicle lock closing region and the moving direction is a direction of moving away from the vehicle.

[0160] In one embodiment, the second determining module 840 comprises a first determining unit configured to determine that the to-be-tested digital key is unqualified if the target instruction is not output; and a second determining unit configured to monitor whether the IKM controller receives response data of the target instruction if the target instruction is output, and determine the test result of the to-be-tested digital key according to the data receiving condition of the response data.

[0161] In one embodiment, the target distance obtaining module 810 comprises a first obtaining unit configured to obtain a Bluetooth distance between the to-be-tested digital key and a vehicle corresponding to the to-be-tested digital key at different time instants if the to-be-tested digital key in movement is located in a Bluetooth sensing region; a second obtaining unit configured to obtain an ultra-wideband (UWB) distance between the to-be-tested digital key and a target anchor at different time instants if the to-be-tested digital key in movement is located in a UWB anchor sensing region; wherein the target anchor is an anchor closest to the to-be-tested digital key among anchors arranged on the vehicle corresponding to the to-be-tested digital key; the UWB anchor sensing region is located inside the Bluetooth sensing region; and a target distance determining unit configured to determine the Bluetooth distance and / or the UWB distance as the target distance.

[0162] In one embodiment, the second acquisition unit comprises a third determination subunit configured to determine whether the digital key under test enters the UWB anchor point sensing area according to the Bluetooth distances at different time points; a fourth determination subunit configured to determine whether each anchor point is normally operating if the digital key under test enters the UWB anchor point sensing area; and an acquisition subunit configured to acquire the UWB distances between the digital key under test and the target anchor point at different time points if each anchor point is normally operating.

[0163] In one embodiment, the target distance acquisition module 810 comprises a distance acquisition unit configured to acquire the distance between the mobile module in motion and the vehicle corresponding to the digital key under test; and a third determination unit configured to take the distance between the mobile module in motion and the vehicle corresponding to the digital key under test as the target distance between the digital key under test and the vehicle corresponding to the digital key under test; wherein the digital key under test is arranged in the mobile module.

[0164] The above-mentioned modules in the digital key testing device can be realized by software, hardware, or a combination thereof, in whole or in part. The above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the above-mentioned modules.

[0165] In one exemplary embodiment, a computer device is provided, which can be a terminal, and the internal structure diagram thereof can be as shown in FIG. 1. Figure 9The computer device shown in the figure includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be realized through WIFI, mobile cellular network, Near Field Communication (NFC) or other technologies. The computer program is executed by the processor to realize a digital key test method. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.

[0166] Those skilled in the art can understand that, Figure 9 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.

[0167] In one exemplary embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in each of the method embodiments described above.

[0168] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the steps in each of the method embodiments described above.

[0169] In one embodiment, a computer program product is provided, including a computer program, and the computer program is executed by a processor to implement the steps in each of the method embodiments described above.

[0170] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.

[0171] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments of each method. In the embodiments provided in the present application, any reference to memory, database or other medium can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.

[0172] Any technical features in the above embodiments can be combined, and for the sake of brevity, not all possible combinations are described above, however, any combination of these technical features is deemed to be within the scope of the present application.

[0173] The above embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the patent scope of the present application. It should be pointed out that, for ordinary skilled persons in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A digital key testing method, characterized by, The method comprises: acquiring a target distance between a moving digital key under test and a vehicle corresponding to the digital key under test; if the moving digital key under test is in a Bluetooth sensing area, acquiring a Bluetooth distance between the digital key under test and the vehicle corresponding to the digital key under test at different time instants; if the moving digital key under test is in an ultra-wideband (UWB) anchor point sensing area, acquiring a UWB distance between the digital key under test and a target anchor point at different time instants; the target anchor point is an anchor point closest to the digital key under test among anchor points arranged on the vehicle corresponding to the digital key under test; the UWB anchor point sensing area is located inside the Bluetooth sensing area; and taking the Bluetooth distance and / or the UWB distance as the target distance; determining, according to the target distance at different time instants, whether the digital key under test enters a preset control area of an in-vehicle key manager (IKM) of the vehicle; monitoring whether a target instruction is output by the IKM controller after the digital key under test enters the preset control area; determining a test result of the digital key under test according to an instruction output condition of the target instruction.

2. The method of claim 1, wherein, The monitoring whether a target instruction is output by the IKM controller after the digital key under test enters the preset control area comprises: determining the target instruction according to a region category corresponding to the preset control area and / or a moving direction of the digital key under test; monitoring whether the target instruction is output by the IKM controller after the digital key under test enters the preset control area.

3. The method of claim 2, wherein, The determining the target instruction according to a region category corresponding to the preset control area and / or a moving direction of the digital key under test comprises: if the region category corresponds to a vehicle light control region, taking a vehicle light control instruction corresponding to the moving direction as the target instruction; if the region category corresponds to a vehicle lock control region, taking a vehicle lock control instruction corresponding to the moving direction as the target instruction.

4. The method of claim 3, wherein, The vehicle light control region comprises a vehicle light on region and a vehicle light off region; the vehicle light control instruction comprises a vehicle light on instruction and a vehicle light off instruction; accordingly, the determining the target instruction according to a region category corresponding to the preset control area and / or a moving direction of the digital key under test comprises: if the region category is the vehicle light on region and the moving direction is a direction of moving close to the vehicle, the target instruction is the vehicle light on instruction; if the region category is the vehicle light off region and the moving direction is a direction of moving away from the vehicle, the target instruction is the vehicle light off instruction.

5. The method of claim 3, wherein, The vehicle lock control region comprises a vehicle lock on region and a vehicle lock off region; the vehicle lock control instruction comprises a vehicle lock on instruction and a vehicle lock off instruction; accordingly, the determining the target instruction according to a region category corresponding to the preset control area and / or a moving direction of the digital key under test comprises: if the region category is the vehicle lock on region and the moving direction is a direction of moving close to the vehicle, the target instruction is the vehicle lock on instruction; if the region category is the vehicle lock off region and the moving direction is a direction of moving away from the vehicle, the target instruction is the vehicle lock off instruction. If the region category is a vehicle lock closing region and the moving direction is a direction away from the vehicle, the target instruction is a vehicle lock closing instruction.

6. The method according to any one of claims 1-5, characterized in that, The test result of the to-be-tested digital key is determined according to the instruction output condition of the target instruction, including: If the target instruction is not output, it is determined that the to-be-tested digital key is unqualified; If the target instruction is output, it is monitored whether the IKM controller receives response data of the target instruction, and the test result of the to-be-tested digital key is determined according to the data receiving condition of the response data.

7. The method according to any one of claims 1-5, characterized in that, The target distance between the to-be-tested digital key in movement and the vehicle corresponding to the to-be-tested digital key is obtained, including: The distance between the mobile module in movement and the vehicle corresponding to the to-be-tested digital key is obtained; The distance between the mobile module in movement and the vehicle corresponding to the to-be-tested digital key is taken as the target distance between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key; wherein the to-be-tested digital key is arranged in the mobile module.

8. A digital key testing apparatus characterized by comprising: The device includes: A target distance obtaining module is configured to obtain a target distance between a to-be-tested digital key in movement and a vehicle corresponding to the to-be-tested digital key; if the to-be-tested digital key in movement is in a Bluetooth sensing region, Bluetooth distances between the to-be-tested digital key and the vehicle corresponding to the to-be-tested digital key at different time points are obtained; if the to-be-tested digital key in movement is in an ultra-wideband (UWB) anchor point sensing region, UWB distances between the to-be-tested digital key and a target anchor point at different time points are obtained; wherein the target anchor point is an anchor point closest to the to-be-tested digital key among anchor points arranged on the vehicle corresponding to the to-be-tested digital key; the UWB anchor point sensing region is located inside the Bluetooth sensing region; the Bluetooth distance and / or the UWB distance are taken as the target distance; A first determining module is configured to determine whether the to-be-tested digital key enters a preset control region of an in-vehicle digital key controller (IKM) of the vehicle according to the target distance at different time points; An instruction monitoring module is configured to monitor whether the IKM controller outputs a target instruction after the to-be-tested digital key enters the preset control region; A second determining module is configured to determine a test result of the to-be-tested digital key according to an instruction output condition of the target instruction. 9.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-8 when the computer program is executed by the processor. The processor executes the computer program to implement the steps of the method in any one of claims 1-7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1-7.

Citation Information

Patent Citations

  • Vehicle unlocking system and method

    CN110667513A

  • Digital key test method and system, storage medium and computer equipment

    CN115412954A

  • Vehicle control method, device and equipment based on ultra wide band equipment and storage medium

    CN116489620A

  • Vehicle unlocking method and device, computer equipment and storage medium

    CN118196933A