Chip setting method and device, terminal equipment and storage medium
By calibrating and identifying the low-power detection LPCD system in the door control system, the energy consumption and performance impact caused by false wake-up are solved, and a more efficient card swipe detection and user interaction experience are achieved.
Patent Information
- Application Number
- CN202510003509.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-08
AI Technical Summary
The card swipe detection technology in the existing door control system is prone to frequent wake-up and processing of the system due to false wake-up operations, which consumes a lot of energy and resources, affects the system performance and reduces the user experience.
By calibrating the low-power detection LPCD system, determining the preset threshold, and performing LPCD operations based on the calibrated system, it is determined to determine whether the system wakes up successfully. If the wake-up is successful, the discovery loop program is started for device recognition; if not, the calibration and operation are repeated until the wake-up is successful.
It reduces false wake-up operations, improves the sensitivity and distance of card swipe detection, reduces energy consumption and waste of system resources, and improves user interaction experience and the overall performance of the door control system.
Smart Images

Figure CN119789187A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip design, and in particular to a chip setting method, device, terminal equipment and storage medium. Background Art
[0002] With the development of wireless communication, the application of card swipe detection is becoming more and more widespread, especially in the door control module of intelligent vehicle control system. In order to enable users to swipe the door of the vehicle at a long distance without having to get close to the door, card swipe sensors are usually used to improve the sensitivity and distance of card swipe detection.
[0003] However, in the current card swipe detection technology for door control, the system often wakes up and processes frequently due to the false wake-up operation of the device, consuming a lot of energy and system resources, thus affecting the overall performance of the door control system. In addition, frequent false wake-ups may also cause inconvenience to users during use, reducing the user's smart driving experience. Summary of the invention
[0004] The main purpose of the present invention is to provide a chip setting method, device, terminal equipment and storage medium, aiming to solve the technical problem that the card swiping function of the car door is mistakenly awakened or activated, resulting in energy consumption.
[0005] To achieve the above object, the present invention provides a chip setting method, the chip setting method comprising:
[0006] S10, calibrating the low power consumption detection LPCD system to obtain a first preset threshold;
[0007] S20, performing LPCD operation based on the calibrated LPCD system to obtain actual distance data;
[0008] S30, judging whether the calibrated LPCD system is successfully awakened according to the actual distance data and the first preset threshold;
[0009] S40, if yes, start the discovery cycle program, and identify and judge the detection device based on the discovery cycle program;
[0010] S50, if not, repeat steps S20 to S30 until the calibrated LPCD system is successfully awakened.
[0011] Optionally, the step of performing LPCD operation based on the calibrated LPCD system to obtain actual distance data includes:
[0012] Send specific signals to the detection equipment according to the parameters and setting information of the calibrated LPCD system;
[0013] Receiving the signal returned by the detection device through a first sensor, and extracting information based on the signal returned by the detection device to obtain time delay information and parameter values of the signal returned by the detection device;
[0014] The actual distance between the detection device and the calibrated LPCD system is obtained according to the time delay information and parameter values of the signal returned by the detection device.
[0015] Optionally, after the step of performing the LPCD operation based on the calibrated LPCD system to obtain actual distance data, the method further includes:
[0016] Set a wait timer;
[0017] By means of the waiting timer, a communication abnormal stop mode and a communication normal stop mode are set;
[0018] According to the abnormal communication stop mode and the normal communication stop mode, determining whether the detected LPCD execution operation is abnormal;
[0019] If it is detected that the LPCD performs an abnormal operation, interrupting the waiting timer to start the communication abnormal stop mode;
[0020] If it is detected that the LPCD performs the operation normally, the LPCD executes a termination instruction and starts the communication normal stop mode.
[0021] Optionally, the step of judging whether the calibrated LPCD is successfully awakened according to the actual distance data and the preset threshold comprises:
[0022] Calculating by using the actual distance data and the preset threshold value to obtain a difference between the actual distance data and the preset threshold value;
[0023] According to the difference between the actual distance data and the preset threshold, it is determined whether the calibrated LPCD system is successfully awakened.
[0024] Optionally, if yes, the step of starting a discovery cycle program, and identifying and judging the device based on the discovery cycle program includes:
[0025] Get the Discovery Cycle Program;
[0026] When it is detected that the calibrated LPCD is successfully awakened, starting the discovery cycle procedure;
[0027] Based on the discovery cycle procedure, identifying the type of the detection device by a second sensor;
[0028] Determining whether the type of the identified detection device is a target device;
[0029] If yes, continue to perform the communication operation;
[0030] If not, it means that a false wake-up operation is triggered, and steps S10 to S30 are repeated until the type of the detected device is identified as the target device.
[0031] Optionally, if yes, the step of continuing to perform the communication operation includes:
[0032] Initiate communication with the target device according to the type of the target device, and obtain an LPCD restart instruction;
[0033] Based on the LPCD restart instruction, steps S20 to S40 are repeated until the LPCD executes a termination instruction.
[0034] Optionally, if not, repeating step S10 to step S30 until the type of the detection device identified is the target device, further includes:
[0035] Receiving a false wake-up operation instruction;
[0036] Based on the false wake-up operation instruction, the LPCD system is recalibrated to determine a second preset threshold.
[0037] The present application also provides a chip setting device, the chip setting device comprising:
[0038] A calibration module, used for calibrating the low power consumption detection LPCD system and determining a preset distance threshold;
[0039] An execution module, used for executing LPCD operation based on the calibrated LPCD system to obtain actual distance data;
[0040] A judging module, configured to judge whether the calibrated LPCD system is successfully awakened according to the actual distance data and the preset distance data;
[0041] A device identification module, for starting a discovery cycle program if yes, and identifying and judging the detection device based on the discovery cycle program;
[0042] The loop control module is used to repeat step S20 to step S30 until the calibrated LPCD system is successfully awakened if no.
[0043] An embodiment of the present application further provides a chip setting terminal device, the chip setting terminal device comprising: a memory, a processor, and a chip setting program stored in the memory and executable on the processor, the chip setting program being configured to implement the steps of the chip setting method described above.
[0044] The embodiment of the present application further provides a storage medium, on which a chip setting program is stored. When the chip setting program is executed by a processor, the steps of the chip setting method described above are implemented.
[0045] Through the above-mentioned embodiment scheme, specifically through S10, the low power consumption detection LPCD system is calibrated to determine the first preset threshold; S20, based on the calibrated LPCD system, the LPCD operation is performed to obtain the actual distance data; S30, based on the actual distance data and the first preset threshold, it is determined whether the calibrated LPCD system is successfully awakened; S40, if yes, the discovery cycle program is started, and the detection device is identified and judged based on the discovery cycle program; S50, if no, steps S20 to S30 are repeated until the calibrated LPCD system is successfully awakened. This scheme combines the LPCD system and wireless communication technology, which can increase the card swipe detection distance, reduce false awakening operations, and achieve more efficient card swipe detection and user interaction experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a schematic diagram of the functional modules involved in the terminal device to which the chip setting device of the present application belongs;
[0047] Figure 2 A schematic diagram of a first exemplary embodiment of a chip setting method of the present application;
[0048] Figure 3 A schematic diagram of a second exemplary embodiment of a chip setting method of the present application;
[0049] Figure 4 A schematic diagram of a third exemplary embodiment of a chip setting method of the present application;
[0050] Figure 5 This is a flowchart of a specific scenario example of the chip setting method of this application.
[0051] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0053] The main solution of the embodiment of the present application is: S10, calibrate the low power consumption detection LPCD system and determine the first preset threshold; S20, based on the calibrated LPCD system, perform LPCD operation and obtain actual distance data; S30, judge whether the calibrated LPCD system is successfully awakened according to the actual distance data and the first preset threshold; S40, if yes, start the discovery cycle program, and identify and judge the detection device based on the discovery cycle program; S50, if no, repeat steps S20 to S30 until the calibrated LPCD system is successfully awakened. This solution combines the LPCD system and wireless communication technology, which can increase the card swipe detection distance, reduce false awakening operations, and achieve more efficient card swipe detection and user interaction experience.
[0054] The professional terms involved in this application are:
[0055] LPCD (Low Power Card Detection): A low-power card detection technology, mainly used in access control card swipe detection and other fields. This technology can still detect card swipe signals when the device enters low-power mode, and only wakes up the system for processing when a card swipe signal appears.
[0056] Discover loops: A common control structure in computer programming that is used to repeatedly execute a block of code.
[0057] Waiting timer: Perform a specific action after a specified time interval. By using a timer, you can achieve the effect of delaying the execution of code or perform a task regularly.
[0058] The embodiments of the present application take into account that the related technology may cause the system to frequently wake up and process due to the erroneous wake-up operation of the device, consuming a large amount of energy and system resources, and at the same time failing to optimize the card swiping detection distance.
[0059] Based on this, this embodiment proposes a solution, which can increase the card swiping detection distance, reduce false wake-up operations, and achieve more efficient card swiping detection and user interaction experience.
[0060] Specifically, refer to Figure 1 , Figure 1 This is a functional module diagram of the terminal device to which the chip setting device of this application belongs. The chip setting device can be a device that is independent of the terminal device and can perform data processing, and it can be carried on the terminal device in the form of hardware or software. The terminal device can be a personal computer, a mobile phone, a tablet computer, etc., which has sufficient processing power to support the operation of the chip setting device. This embodiment takes a personal computer as an example.
[0061] In this embodiment, the terminal device to which the chip setting apparatus belongs at least includes a timer management module 110 , a processor 120 , a memory 130 and a communication module 140 .
[0062] The memory 130 stores an operating system and a chip setting program. The chip setting device can store the parameters and setting information of the LPCD, the signal returned by the detection device, the actual distance data obtained, the false wake-up operation instructions, etc. in the memory 130; the timer management module 110 can include functions such as scheduled task setting, scheduled task editing and deletion, scheduled task execution status monitoring, and scheduled task trigger condition setting; the communication module 140 can include a USB interface, Bluetooth, Wi-Fi or other communication protocols.
[0063] When the chip setting program in the memory 130 is executed by the processor, the following steps are implemented:
[0064] S10, calibrating the low power consumption detection LPCD system to determine a first preset threshold;
[0065] S20, performing LPCD operation based on the calibrated LPCD system to obtain actual distance data;
[0066] S30, judging whether the calibrated LPCD system is successfully awakened according to the actual distance data and the first preset threshold;
[0067] S40, if yes, start the discovery cycle program, and identify and judge the detection device based on the discovery cycle program;
[0068] S50, if not, repeat steps S20 to S30 until the calibrated LPCD system is successfully awakened.
[0069] Furthermore, when the chip setting program in the memory 130 is executed by the processor, the following steps are also implemented:
[0070] Send specific signals to the detection equipment according to the parameters and setting information of the calibrated LPCD system;
[0071] Receiving the signal returned by the detection device through a first sensor, and extracting information based on the signal returned by the detection device to obtain time delay information and parameter values of the signal returned by the detection device;
[0072] The actual distance between the detection device and the calibrated LPCD system is obtained according to the time delay information and parameter values of the signal returned by the detection device.
[0073] Furthermore, when the chip setting program in the memory 130 is executed by the processor, the following steps are also implemented:
[0074] Set a wait timer;
[0075] By means of the waiting timer, a communication abnormal stop mode and a communication normal stop mode are set;
[0076] According to the abnormal communication stop mode and the normal communication stop mode, determining whether the detected LPCD execution operation is abnormal;
[0077] If it is detected that the LPCD performs an abnormal operation, interrupting the waiting timer to start the communication abnormal stop mode;
[0078] If it is detected that the LPCD performs the operation normally, the LPCD executes a termination instruction and starts the communication normal stop mode.
[0079] Furthermore, when the chip setting program in the memory 130 is executed by the processor, the following steps are also implemented:
[0080] Calculating by using the actual distance data and the preset threshold value to obtain a difference between the actual distance data and the preset threshold value;
[0081] According to the difference between the actual distance data and the preset threshold, it is determined whether the calibrated LPCD is successfully awakened.
[0082] Furthermore, when the chip setting program in the memory 130 is executed by the processor, the following steps are also implemented:
[0083] Get the Discovery Cycle Program;
[0084] When it is detected that the calibrated LPCD system is successfully awakened, starting the discovery cycle procedure;
[0085] Based on the discovery cycle procedure, identifying the type of the detection device by a second sensor;
[0086] Determining whether the type of the identified detection device is a target device;
[0087] If yes, continue to perform the communication operation;
[0088] If not, it means that a false wake-up operation is triggered, and steps S10 to S30 are repeated until the type of the detected device is identified as the target device.
[0089] Furthermore, when the chip setting program in the memory 130 is executed by the processor, the following steps are also implemented:
[0090] Initiate communication with the target device according to the type of the target device, and obtain an LPCD restart instruction;
[0091] Based on the LPCD restart instruction, steps S20 to S40 are repeated until the LPCD executes a termination instruction.
[0092] Furthermore, when the chip setting program in the memory 130 is executed by the processor, the following steps are also implemented:
[0093] Receiving a false wake-up operation instruction;
[0094] Based on the false wake-up operation instruction, the LPCD system is recalibrated to determine a second preset threshold.
[0095] This embodiment uses the above scheme, specifically through S10, to calibrate the low power detection LPCD to obtain the first preset threshold; S20, based on the calibrated LPCD system, perform LPCD operation to determine the actual distance data; S30, based on the actual distance data and the first preset threshold, determine whether the calibrated LPCD system is successfully awakened; S40, if yes, start the discovery cycle program, and identify and judge the detection device based on the discovery cycle program; S50, if no, repeat steps S20 to S30 until the calibrated LPCD system is successfully awakened. This scheme combines the LPCD system and wireless communication technology, which can increase the card swipe detection distance, reduce false awakening operations, and achieve more efficient card swipe detection and user interaction experience.
[0096] Based on the above terminal device architecture but not limited to the above architecture, an embodiment of the method of the present application is proposed.
[0097] Reference Figure 2 , Figure 2 1 is a flow chart of the first exemplary embodiment of the chip setting method of the present application. The chip setting method comprises:
[0098] Step S10, calibrating the low power consumption detection LPCD system to determine a first preset threshold.
[0099] Low power consumption detection LPCD is usually used to detect whether the device is in a low power consumption state, so as to take corresponding measures to reduce power consumption. In order to ensure accurate judgment of the power consumption state of the device, LPCD needs to have high accuracy. However, since LPCD may be affected by environmental factors, such as temperature, humidity, etc., or different devices may have differences, including hardware differences, power supply differences, etc. Therefore, calibration is required to make LPCD adapt to different environmental conditions and the detection requirements of different devices, so as to improve its stability and reliability.
[0100] In this embodiment, first, to calibrate the LPCD system, it is necessary to first write a calibration program, which also performs a series of tests and strategies on the LPCD to obtain accurate data.
[0101] The calibration procedure is started by connecting to the detection device. When the calibration procedure is run, data is collected, and the collected data is processed and analyzed to obtain the calibration result of the LPCD. The calibration result may include statistical indicators such as the calculated mean value, standard deviation, and correlation coefficient.
[0102] After obtaining the calibration result of the LPCD, it is necessary to verify the calibration result, which can be verified by comparing it with a known standard value to ensure its accuracy and reliability.
[0103] After the calibration result of the LPCD is verified, a first preset threshold is set according to the verified calibration result, and the first preset threshold can be a preset distance between the target device and the access control. This first preset threshold will be used in the subsequent low power consumption detection process to determine whether the target device is in a low power consumption state.
[0104] Through the above steps, the detection accuracy of LPCD can be improved, it can adapt to different environments, and ensure long-term stability, thereby improving the accuracy and reliability of low-power detection of equipment.
[0105] Step S20, based on the calibrated LPCD system, perform LPCD operation to obtain actual distance data.
[0106] In order to perform distance detection and positioning on the detection device in order to implement near-field communication card swiping technology, it is necessary to operate the LPCD to calculate the distance or position information between the detection device and the calibrated LPCD system, so as to obtain the actual distance data between the detection device and the target device.
[0107] Specifically, in this embodiment, after the calibration of the LPCD system is completed, the parameters and setting information of the LPCD system are obtained, and these parameters and setting information may include a first preset threshold, signal amplitude, frequency, etc. According to these parameters and setting information, a detection device for distance detection and positioning is selected, and the detection device must be a device that can receive and process signals, and may be a vehicle and traffic equipment, an Internet of Things device, a mobile device, or a smart home, etc.
[0108] After the detection device is determined, a specific signal suitable for the detection device to receive and process will be generated according to the parameters and setting information of the LPCD system. The specific signal can be a specific frequency, waveform or encoding method, etc. Then, the specific signal is sent to the detection device through the communication interface or control unit.
[0109] After receiving the specific signal sent by the LPCD system, the detection device will process and respond accordingly. The detection device will decode, process or generate a new signal as a response to the received signal. And return the new signal to the LPCD system that just sent the specific signal.
[0110] The LPCD system receives the signal returned by the detection device through the first sensor and performs information processing based on the signal. The first sensor is a radio frequency identification (RFID) sensor; the information processing includes operations such as demodulation, decoding, filtering and measurement of the signal to extract the required information.
[0111] By extracting information from the information returned by the detection device, the LPCD system can obtain the time delay information and parameter values of the signal. The time delay information represents the time delay of the signal from the LPCD system to the detection device and back; the parameter value represents the characteristics and status of the detection device.
[0112] After obtaining the time delay information and parameter values of the signal returned by the detection device, the transmission speed, such as the speed of light or the speed of sound, is also required. Based on the time delay information and the known propagation speed, the actual distance between the detection device and the LPCD system is calculated (actual distance = propagation speed * value of time delay information).
[0113] Through the above steps, according to the parameters and setting information of the calibrated LPCD system, communication and interaction with the detection device can be achieved, and the actual distance between the detection device and the LPCD system can be obtained, providing an important basis for the subsequent operation of waking up the LPCD system.
[0114] Step S30: judging whether the calibrated LPCD system is successfully awakened according to the actual distance data and the first preset threshold.
[0115] In order to confirm whether the LPCD system can accurately detect the detection device and take corresponding measures according to the detection results, it is also necessary to determine whether the calibrated LPCD system is successfully awakened based on the actual distance data and the first preset threshold.
[0116] Specifically, the difference between the actual distance data obtained in step S20 and the first preset threshold value obtained in step 10 is calculated, where the difference may represent the deviation or difference between the actual distance and the first preset threshold value.
[0117] Then, according to the difference between the actual distance data and the first preset threshold, the difference is compared with the preset condition threshold, so as to determine whether the calibrated LPCD system is successfully awakened. For example, if the difference is less than the preset condition threshold, it is determined that the LPCD system is successfully awakened; if the difference is greater than the preset condition threshold, it is determined that the LPCD system is not successfully awakened.
[0118] Through the above steps, it can be determined whether the calibrated LPCD system is successfully awakened according to the difference between the actual distance data and the first preset threshold value. This judgment can be used to determine the working status and accuracy of the LPCD system, and further take corresponding measures or adjust parameters to optimize the performance of the LPCD system.
[0119] Step S40: If yes, start the discovery cycle program, and identify and judge the device based on the discovery cycle program.
[0120] When the calibrated LPCD system is successfully awakened, the system may perform corresponding operations incorrectly. For example, in the case of a non-target device, the system may attempt to communicate with the non-target device or execute control instructions, resulting in unnecessary operations or waste of system resources. Therefore, in order to reduce the possibility of misjudgment and misoperation, it is also necessary to identify and judge the device accordingly.
[0121] Specifically, first, a discovery loop program is obtained, which is a loop program for detecting and identifying the detection device. It will continuously perform detection and identification operations until the target device is identified.
[0122] When it is detected that the calibrated LPCD system is successfully awakened, the start of the discovery loop procedure is triggered, and based on the discovery loop procedure, the type of the detection device is identified through the second sensor. The second sensor includes but is not limited to a touch sensor, a proximity sensor, a gesture sensor, a capacitive contact controller, etc., which can determine the type of the detection device.
[0123] After the type of the detection device is identified, the type of the detection device identified will be determined whether it is a target device. In the process of determination, determination can be made according to a preset target type, such as determining whether it is a device of a specific model or a device of a specific function.
[0124] If the type of the detected device identified is the target device, the subsequent communication operation will continue to be performed. Specifically, according to the identified target device type, the LPCD will start communication with the target device and obtain an LPCD restart instruction; and based on the LPCD restart instruction, steps S20 to S40 are repeated until the LPCD executes a termination instruction.
[0125] If the type of the detected device is not the target device, it means that a false wake-up operation is triggered. In this case, the loop will be re-entered to repeat steps S10 to S30 until the type of the detected device is the target device. This ensures that only the target device is used for communication operations, avoiding false operations with other devices.
[0126] In summary, by obtaining the discovery cycle program, identifying the type of the detection device and judging whether it is a target device, it is possible to realize the identification and communication operation of the target device and avoid misoperation with other devices.
[0127] Step S50: If not, repeat steps S20 to S30 until the calibrated LPCD is successfully awakened.
[0128] When it is detected that the calibrated LPCD system has not been successfully awakened, the system enters a loop program and repeats steps S20 to S30, that is, by recalibrating the LPCD system and executing and judging the recalibrated LPCD until the recalibrated LPCD system is successfully awakened.
[0129] By repeatedly executing step S20 to step S30 until the LPCD system is successfully awakened, it is not only possible to ensure that the LPCD system can work normally after calibration, but also to improve the reliability and accuracy of the LPCD system.
[0130] Further, refer to Figure 3 , Figure 3 1 is a flow chart of a second exemplary embodiment of the chip setting method of the present application. In this embodiment, based on the above step S20, based on the calibrated LPCD system, after performing the LPCD operation and obtaining the actual distance data, it also includes:
[0131] Step S21, setting a waiting timer;
[0132] Step S22, setting a communication abnormal stop mode and a communication normal stop mode through the waiting timer;
[0133] Step S23, judging whether the detected LPCD execution operation is abnormal according to the abnormal communication stop mode and the normal communication stop mode;
[0134] Step S24, if it is detected that the LPCD performs an abnormal operation, interrupting the waiting timer to start the communication abnormal stop mode;
[0135] Step S25: If it is detected that the LPCD performs the operation normally, the LPCD executes a termination instruction and starts the communication normal stop mode.
[0136] Compared with the above embodiment, this embodiment also includes a method of setting a waiting timer to periodically detect the LPCD.
[0137] In order to ensure the normal operation of the LPCD system and to monitor the changes in the surrounding environment in real time, the LPCD system needs to be periodically detected, and this periodic detection requirement requires setting a waiting timer. The waiting timer can automatically trigger the detection task at a predetermined time interval.
[0138] In this embodiment, a waiting timer is first set. In the LPCD system, the waiting timer is used to determine the time limit for the LPCD to perform an operation. By setting the waiting timer, the time for the LPCD to perform an operation can be controlled so that the operation can be stopped in time under abnormal circumstances and the corresponding stop mode can be started.
[0139] Then, by waiting for the timer, the communication abnormal stop mode and the communication normal stop mode are set. The communication abnormal stop mode refers to the communication stop mode adopted when an abnormality is detected in the LPCD execution operation; the communication normal stop mode refers to the communication stop mode adopted when the LPCD execution operation is detected to be normal.
[0140] During the waiting timer, the result of the LPCD execution operation is detected, and whether there is an abnormality in the LPCD execution operation is determined based on the detection return result, error code or other indicators.
[0141] If an abnormality is detected in the LPCD execution operation during the waiting timer, that is, the operation result does not meet expectations or an error occurs, the waiting timer is interrupted to start the communication abnormal stop mode. The communication abnormal stop mode stops sending further execution LPCD instructions to handle abnormal situations.
[0142] If it is detected that the LPCD performs the operation normally within the waiting timer, that is, the operation result meets the expectation and there is no error, then the LPCD operation is interrupted to start the communication normal stop mode. The communication normal stop mode is to continue to send operation instructions to maintain normal communication.
[0143] The above-mentioned communication abnormal stop mode and communication normal stop mode are two different stop modes, which are used to deal with different abnormal situations. By setting the waiting timer, the system can switch between these two stop modes.
[0144] Take the use of LPCD-based NFC access control card for access control card swipe detection as an example.
[0145] First, a wait timer needs to be set in the LPCD, indicating that the execution operation time of the LPCD is limited to a specified time.
[0146] When a user swipes an NFC access card on their phone to enter the access control area, the system will periodically detect the LPCD. When an abnormality is detected in the LPCD, such as card damage or communication error, the waiting timer will be interrupted immediately and the abnormal communication mode will be started to prevent illegal entry; if the LPCD is detected to be normal, the LPCD operation will be interrupted and the normal communication stop mode will be started, allowing the user to swipe the card to pass the access control smoothly.
[0147] Through the above steps, real-time monitoring and exception handling of card swiping operations can be achieved, achieving more efficient card swiping detection and improving user interaction experience.
[0148] Further, refer to Figure 4 , Figure 4 It is a flowchart of the third exemplary embodiment of the chip setting method of the present application. In this embodiment, based on the above step S50, if not, repeating steps S10 to S30 until the type of the detection device identified is the target device, it also includes:
[0149] Step S501, receiving a false wake-up operation instruction;
[0150] Step S502: Based on the false wake-up operation instruction, the LPCD system is recalibrated to determine a second preset threshold.
[0151] Compared with the above embodiment, this embodiment further includes some preparation work before repeating step S10 to step S30.
[0152] Specifically, first, after failing to identify the target device, the system will receive a false wake-up operation instruction, which is an instruction triggered by falsely identifying a device wake-up signal during the LPCD execution process.
[0153] After receiving the false wake-up operation instruction, the system performs a recalibration operation on the LPCD system according to the received false wake-up operation instruction and determines a second preset threshold. The recalibration operation refers to adjusting the parameters, configuration or algorithm of the LPCD system to improve the accuracy and reliability of the wake-up signal.
[0154] Through the recalibration operation, the LPCD system can adjust the sensitivity, noise filtering, model training, etc. of the LPCD system according to the information provided in the false awakening operation instruction to reduce the probability of false awakening and improve the accuracy of awakening. According to the result of the recalibration operation, the LPCD system can determine the second preset threshold, that is, the threshold for judging the awakening signal.
[0155] Through the above embodiment, by recalibrating and obtaining the second preset threshold, the system can quickly respond to the false awakening situation and make necessary adjustments to the LPCD system to ensure that it can accurately monitor the surrounding environment. This helps to improve the stability and reliability of the system and reduce erroneous or inaccurate detection results caused by false awakening. At the same time, it improves the accuracy of awakening, reduces the false awakening rate of the system, and improves user experience and performance.
[0156] The following describes the chip configuration method of the present application in detail by taking specific scenarios as examples.
[0157] For example, suppose there is a smart car equipped with an LPCD system and a card swiping device supporting NFC, and a user needs to swipe a card to open or close the door of the smart car. The flow chart of the card swiping operation on the door is as follows: Figure 5 shown.
[0158] During the vehicle manufacturing process, the LPCD system is calibrated to determine the reference distance when the door is opened or closed.
[0159] By testing and adjusting the LPCD system, a first preset threshold is determined, and the first preset threshold is used to determine whether the vehicle door is opened or closed.
[0160] When the user approaches the vehicle, he or she brings the detection device close to the card swiping device. At this time, the card swiping device reads the identity information in the detection device through NFC technology and sends it to the LPCD system.
[0161] When the LPCD system receives the identity information, it starts to perform the LPCD operation. The LPCD system sends a specific signal to the detection device held by the user. After receiving the specific signal sent by the LPCD system, the detection device will decode, process or generate a new signal as a response, and return the new signal to the LPCD system that just sent the specific signal. After performing the LPCD operation, a waiting timer can also be set to ensure that the LPCD system can be periodically detected to ensure the reliability of the system.
[0162] After obtaining the time delay information and parameter values of the signals returned by the detection devices, the LPCD system calculates the actual distance between the detection devices based on the time delay information and the known propagation speed.
[0163] After obtaining the actual distance between the vehicle door and the detection device, the LPCD system will calculate the measured actual distance data and the first preset threshold value to obtain the difference between them, wherein the difference value can represent the deviation or difference between the actual distance and the first preset threshold value.
[0164] Then, according to the difference between the actual distance data and the first preset threshold, the difference is compared with the preset condition threshold, so as to determine whether the calibrated LPCD is successfully awakened.
[0165] If the difference is less than a preset condition threshold, it means that the door is opened and the LPCD system is successfully awakened.
[0166] When the LPCD system is successfully awakened, the system may perform a corresponding erroneous awakening operation due to device recognition errors. For example, the detection device communicating and interacting with the LPCD system is not the target device, that is, not a mobile phone or NFC card, or there is no detection device corresponding to the user's identity information. Therefore, in order to reduce the possibility of misjudgment and misoperation, the detection device needs to be identified and judged accordingly.
[0167] First, when the LPCD system is successfully awakened, the vehicle control system will start the discovery cycle procedure.
[0168] The discovery loop program detects the device to identify the device type, and compares the identified device type with the target device, wherein in this embodiment, the target device may be a mobile phone or an NFC card.
[0169] If the type of the detected device is not a mobile phone or an NFC card, it means that a false wake-up operation has been triggered. In this case, the loop will be re-entered to repeat the LPCD system calibration and LPCD execution steps.
[0170] If the type of detection device identified is a mobile phone or NFC card, subsequent communication operations will continue to be executed, including that based on the identified mobile phone or NFC card, the LPCD system will initiate communication with the mobile phone or NFC card and obtain the LPCD restart instruction; and based on the LPCD restart instruction, repeat the LPCD execution operation until the LPCD execution termination instruction in the vehicle control system is executed.
[0171] If the difference is greater than a preset condition threshold, it means that the door is not opened and the LPCD system is not successfully awakened.
[0172] The LPCD system will obtain the LPCD false wake-up operation instruction, and re-enter the loop according to the instruction, recalibrate the LPCD system, obtain the second preset threshold, and execute and judge the recalibrated LPCD system according to the second preset threshold until the recalibrated LPCD system is successfully awakened.
[0173] In summary, users can use mobile phones or NFC cards to swipe cards, and the LPCD system detects the door's open and closed state, and determines whether the LPCD system is successfully awakened based on the actual distance data and the preset threshold, thereby starting the discovery cycle program for device identification and judgment. If the LPCD system is not successfully awakened, the system will continue to try until it succeeds. This not only improves the safety and convenience of controlling the door's open and closed state by swiping cards, but also improves the user's car experience.
[0174] Through the above-mentioned embodiment method, specifically through S10, the low power consumption detection LPCD system is calibrated to determine the first preset threshold; S20, based on the calibrated LPCD system, the LPCD operation is performed to obtain the actual distance data; S30, based on the actual distance data and the first preset threshold, it is determined whether the calibrated LPCD system is successfully awakened; S40, if yes, the discovery cycle program is started, and the detection device is identified and judged based on the discovery cycle program; S50, if no, steps S20 to S30 are repeated until the calibrated LPCD system is successfully awakened. This solution combines the LPCD system and wireless communication technology, which can increase the card swipe detection distance, reduce false awakening operations, and achieve more efficient card swipe detection and user interaction experience.
[0175] In addition, this embodiment also provides a chip setting device, the chip setting device comprising:
[0176] A calibration module, used for calibrating the low power consumption detection LPCD system and determining a first preset threshold;
[0177] An execution module, used for executing LPCD operation based on the calibrated LPCD system to obtain actual distance data;
[0178] A judging module, configured to judge whether the calibrated LPCD system is successfully awakened according to the actual distance data and the preset distance data;
[0179] A device identification module, for starting a discovery cycle program if yes, and identifying and judging the detection device based on the discovery cycle program;
[0180] The loop control module is used to repeat step S20 to step S30 until the calibrated LPCD system is successfully awakened if no.
[0181] For the principle and implementation process of implementing the chip configuration in this embodiment, please refer to the above embodiments and will not be described in detail here.
[0182] In addition, an embodiment of the present application also proposes a chip setting terminal device, which includes: a memory, a processor, and a chip setting program stored in the memory and executable on the processor, wherein the chip setting program is configured to implement the steps of the chip setting method described above.
[0183] Since all the technical solutions of all the aforementioned embodiments are adopted when the chip setting program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0184] In addition, an embodiment of the present application further provides a storage medium, on which a chip setting program is stored. When the chip setting program is executed by a processor, the steps of the chip setting method described above are implemented.
[0185] Since all the technical solutions of all the aforementioned embodiments are adopted when the chip setting program is executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.
[0186] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0187] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0188] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0189] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A chip setting method, characterized in that: The chip setting method comprises the following steps: S10, calibrating the low power consumption detection LPCD system to determine a first preset threshold; S20, performing LPCD operation based on the calibrated LPCD system to obtain actual distance data; S30, judging whether the calibrated LPCD system is successfully awakened according to the actual distance data and the first preset threshold; S40, if yes, start the discovery cycle program, and identify and judge the detection device based on the discovery cycle program; S50, if not, repeat steps S20 to S30 until the calibrated LPCD system is successfully awakened.
2. The chip setting method according to claim 1, characterized in that: The step of performing LPCD operation based on the calibrated LPCD system to obtain actual distance data includes: Send specific signals to the detection equipment according to the parameters and setting information of the calibrated LPCD system; Receiving the signal returned by the detection device through a first sensor, and extracting information based on the signal returned by the detection device to obtain time delay information and parameter values of the signal returned by the detection device; The actual distance between the detection device and the calibrated LPCD system is obtained according to the time delay information and parameter values of the signal returned by the detection device.
3. The chip setting method according to claim 2, characterized in that: After the step of performing LPCD operation based on the calibrated LPCD system to obtain actual distance data, the method further includes: Set a wait timer; By means of the waiting timer, a communication abnormal stop mode and a communication normal stop mode are set; According to the abnormal communication stop mode and the normal communication stop mode, determining whether the detected LPCD execution operation is abnormal; If it is detected that the LPCD performs an abnormal operation, interrupting the waiting timer to start the communication abnormal stop mode; If it is detected that the LPCD performs the operation normally, the LPCD executes a termination instruction and starts the communication normal stop mode.
4. The chip setting method according to claim 1, characterized in that: The step of judging whether the calibrated LPCD system is successfully awakened according to the actual distance data and the first preset threshold comprises: Calculating by using the actual distance data and the first preset threshold value to obtain a difference between the actual distance data and the first preset threshold value; According to the difference between the actual distance data and the first preset threshold, it is determined whether the calibrated LPCD system is successfully awakened.
5. The chip configuration method according to claim 1, wherein: If so, the steps of starting a discovery cycle program and identifying and judging the detection device based on the discovery cycle program include: Get the Discovery Cycle Program; When it is detected that the calibrated LPCD system is successfully awakened, starting the discovery cycle procedure; Based on the discovery cycle procedure, identifying the type of the detection device by a second sensor; Determining whether the type of the identified detection device is a target device; If yes, continue to perform the communication operation; If not, it means that a false wake-up operation is triggered, and steps S10 to S30 are repeated until the type of the detected device is identified as the target device.
6. The chip configuration method according to claim 5, wherein: If yes, the step of continuing to perform the communication operation includes: Initiate communication with the target device according to the type of the target device, and obtain an LPCD restart instruction; Based on the LPCD restart instruction, steps S20 to S40 are repeated until the LPCD executes a termination instruction.
7. The chip setting method according to claim 5, characterized in that: If not, repeating step S10 to step S30 until the type of the detection device identified is the target device, further comprising: Receiving a false wake-up operation instruction; Based on the false wake-up operation instruction, the LPCD system is recalibrated to determine a second preset threshold.
8. A chip setting device, characterized in that: The chip setting device comprises: A calibration module, used for calibrating the low power consumption detection LPCD system and determining a preset distance threshold; An execution module, used for executing LPCD operation based on the calibrated LPCD system to obtain actual distance data; A judging module, configured to judge whether the calibrated LPCD system is successfully awakened according to the actual distance data and the preset distance data; A device identification module, for starting a discovery cycle program if yes, and identifying and judging the detection device based on the discovery cycle program; The loop control module is used to repeat step S20 to step S30 until the calibrated LPCD system is successfully awakened if no.
9. A chip setting terminal device, characterized in that: The chip setting terminal device comprises: a memory, a processor, and a chip setting program stored in the memory and executable on the processor, wherein the chip setting program is configured to implement the steps of the chip setting method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a chip setting program, and when the chip setting program is executed by the processor, the steps of the chip setting method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Method and system for enhancing reliability of low-power-consumption detection card in near field communication
CN121078518A