NFC Chip Intelligent Adjustment Method, Device, Equipment and Storage Medium
By counting the number of false wake-up times of the NFC chip and adjusting the parameters according to the number of times, the wake-up sensitivity of the NFC chip is reduced, and the problem of useless power consumption increases caused by false wake-up of the NFC chip is solved, and a lower power consumption is achieved.
Patent Information
- Application Number
- CN202211045609.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-08-30
AI Technical Summary
NFC chips are easily awakened by mistake when no external induction card is detected, resulting in an increase in useless power consumption.
By counting the number of false wake-up times of the NFC chip in the second time interval, if the preset number threshold is exceeded, the adjustment parameters are determined based on the number of false wake-up times to reduce the wake-up sensitivity of the NFC chip, for example, by increasing the field strength change threshold or reducing the antenna output power of the radio frequency antenna.
This reduces the number of false wake-up times of NFC chips and reduces the increase in useless power consumption of electronic devices.
Smart Images

Figure CN115396860B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technologies, and in particular, to an intelligent adjustment method, device, equipment and storage medium for an NFC chip. Background Art
[0002] With the popularization of electronic devices, Near Field Communication (NFC) has been widely used. When an electronic device is configured with an NFC chip, it can perform data exchange with an inductive card when the inductive card is close. Through data exchange, events such as mobile payment, electronic ticketing, access control, mobile identity recognition, and anti-counterfeiting can be completed. The inductive card is a card with information storage function and can be read by the NFC chip. When the NFC chip does not detect an external inductive card approaching, it is in a standby state with extremely low power consumption; when the NFC chip detects an external inductive card approaching, the NFC chip will be awakened, and after awakening, it can complete data interaction with the inductive card. After the NFC chip is awakened, it will consume more power. The misawakening of the NFC chip will cause an increase in useless power consumption. Summary of the Invention
[0003] In view of the above, it is necessary to provide an intelligent adjustment method, device, equipment and storage medium for an NFC chip to reduce the number of times the NFC chip is misawakened.
[0004] In a first aspect, an intelligent adjustment method for an NFC chip is proposed in the embodiments of the present application, which is applied to an electronic device. The method includes: when the NFC chip is awakened and no inductive card information is read within a first time interval, counting the number of misawakening times of the NFC chip within a second time interval; if the number of misawakening times is greater than a preset number threshold, determining an adjustment parameter corresponding to the NFC chip according to the number of misawakening times; and reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter.
[0005] According to some embodiments of the present application, the adjustment parameter includes a threshold increase parameter, and the reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter includes:
[0006] Increasing the field strength change threshold of the NFC chip according to the threshold increase parameter.
[0007] According to some embodiments of the present application, the adjustment parameter includes a power reduction parameter, and the reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter includes:
[0008] Reducing the antenna output power of the RF antenna corresponding to the NFC chip according to the power reduction parameter.
[0009] According to some embodiments of the present application, the adjustment parameters include a threshold increase parameter and a power reduction parameter. According to the adjustment parameters, reducing the wake-up sensitivity of the NFC chip includes:
[0010] According to the threshold increase parameter, increasing the field strength change threshold of the NFC chip;
[0011] According to the power reduction parameter, reducing the antenna output power of the RF antenna corresponding to the NFC chip.
[0012] According to some embodiments of the present application, determining the adjustment parameter corresponding to the NFC chip according to the number of false wake-ups includes:
[0013] Based on a preset mapping table between the number of false wake-ups and one or more adjustment parameters and the number of false wake-ups, determining the adjustment parameter corresponding to the NFC chip.
[0014] According to some embodiments of the present application, based on the preset mapping table and the number of false wake-ups, determining the adjustment parameter corresponding to the NFC chip includes:
[0015] Based on the preset mapping table, determining the adjustment level corresponding to the number of false wake-ups;
[0016] According to the adjustment level, determining the adjustment parameter corresponding to the NFC chip.
[0017] According to some embodiments of the present application, after reducing the wake-up sensitivity of the NFC chip, the method further includes:
[0018] Counting the number of false wake-ups of the NFC chip with reduced wake-up sensitivity within a third preset time period;
[0019] If the number of false wake-ups is greater than the preset number threshold, generating a corresponding prompt according to a preset rule.
[0020] In a second aspect, an NFC chip intelligent adjustment device according to an embodiment of the present application runs on an electronic device. The NFC chip intelligent adjustment device includes:
[0021] A number counting module, configured to count the number of false wake-ups of the NFC chip within a second time interval when the NFC chip is awakened and no induction card information is read within a first time interval;
[0022] A parameter determination module, configured to, if the number of false wake-ups is greater than a preset number threshold, determine the adjustment parameter corresponding to the NFC chip according to the number of false wake-ups;
[0023] A parameter adjustment module, configured to reduce the wake-up sensitivity of the NFC chip according to the adjustment parameter.
[0024] In a third aspect, an embodiment of the present application further provides an electronic device, which includes:
[0025] a memory for storing computer-readable instructions; and
[0026] a processor for executing the computer-readable instructions stored in the memory to implement the NFC chip intelligent adjustment method.
[0027] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which computer-readable instructions are stored, and the computer-readable instructions are executed by a processor in an electronic device to implement the NFC chip intelligent adjustment method.
[0028] It can be seen from the above technical solutions that, in the embodiment of the present application, based on the misawakening event of the NFC chip, the misawakening situation of the NFC chip is monitored within a period of time, and the NFC chip is adaptively adjusted according to the monitored situation to reduce the number of misawakenings of the NFC chip, thereby reducing the increase in useless power consumption of the electronic device. Description of the Drawings
[0029] Figure 1 is a flowchart of an NFC chip intelligent adjustment method provided by an embodiment of the present application.
[0030] Figure 2 is a functional module diagram of an NFC chip intelligent adjustment device provided by an embodiment of the present application.
[0031] Figure 3 is a schematic structural diagram of an electronic device for implementing the NFC chip intelligent adjustment method provided by an embodiment of the present application. Detailed Embodiments
[0032] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary", "or", "for example" is intended to present related concepts in a specific manner.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. It should be understood that unless otherwise stated in this application, " / " means "or". For example, A / B can mean A or B. The "and / or" in this application is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone, these three situations. "At least one" means one or more. "Multiple" means two or more than two. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, a, b, and c, these seven situations. It should be understood that the order of the steps shown in the flowcharts herein can be changed and some can also be omitted.
[0034] With the popularization of electronic devices, NFC has been widely used. An electronic device can be configured with an NFC chip (hereinafter referred to as the NFC chip) to achieve data exchange with a contactless induction card when the induction card approaches. Through data exchange, events such as mobile payment, electronic ticketing, access control, mobile identity recognition, and anti-counterfeiting can be completed. The induction card is a card with information storage function that can be read by the NFC chip, and this card can be installed in other electronic devices. When the NFC chip does not detect an external induction card approaching, it is in a standby state, such as in the LowPower External Card Detect (LPCD) mode with extremely low power consumption; when the NFC chip detects an external induction card approaching, the NFC chip will be awakened, such as entering the reader communication mode from the LPCD mode. The NFC chip in the reader communication mode can complete data interaction with the induction card. After the NFC chip is awakened, it will consume more power.
[0035] Manufacturers produce NFC chips in electronic devices through mass production. Therefore, when the electronic device leaves the factory, fixed calibration parameters are usually determined based on a certain number of samples, and the NFC chips of the electronic device are debugged according to the determined fixed calibration parameters. However, due to certain differences in the hardware of different NFC chips in the mass-produced NFC chips, using fixed calibration parameters to debug NFC chips with large hardware differences may cause some of the debugged NFC chips to have the problem of being easily awakened. At the same time, sometimes with the change of the ambient temperature, it may also cause some of the debugged NFC chips to have the problem of being easily awakened. The false awakening of the NFC chip will lead to an increase in the useless power consumption of the electronic device.
[0036] To reduce the increase in useless power consumption caused by the accidental wake-up of the NFC chip, an embodiment of the present application provides an intelligent adjustment method for the NFC chip, which is applied to an electronic device. By adjusting the NFC chip in the electronic device, the accidental wake-up event of the NFC chip is reduced, thereby reducing the waste of power consumption. Exemplarily, the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (PDA), an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device, and / or a smart city device, etc. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device. The network where the electronic device is located includes, but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.
[0037] To make the objectives, technical solutions, and advantages of the intelligent adjustment method for the NFC chip provided by the embodiments of the present application clearer, the intelligent adjustment method for the NFC chip will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0038] Figure 1 It is a flowchart of an intelligent adjustment method for the NFC chip provided by the embodiment of the present application. According to different requirements, the order of the steps in this flowchart can be changed, and some steps can be omitted. As Figure 1 shown, the method includes:
[0039] 101. When the NFC chip is awakened and no induction card information is read within the first time interval, count the number of accidental wake-up times of the NFC chip within the second time interval.
[0040] The induction card information is the information corresponding to the card that can be read by the NFC chip, such as the near field communication induction card information. When the NFC chip is awakened and no near field communication induction card information is read within the first time interval, it is determined that the NFC chip is accidentally awakened. The number of times the NFC chip is awakened within the second time interval and no near field communication induction card information is read within the first time interval can be determined as the number of accidental wake-up times of the NFC chip within the second time interval. The first time interval and the second time interval correspond to different time lengths, and the time length corresponding to the second time interval is longer than the time length corresponding to the first time. The specific time lengths corresponding to them can be set according to the actual situation and are not limited here.
[0041] In order to better determine the frequency of the NFC chip being woken up by mistake, in some embodiments of the present application, the number of times of being woken up by mistake is the number of consecutive times the NFC chip is woken up by mistake within a second time interval. That is to say, during the process of counting the number of times the NFC chip is woken up by mistake within the second time interval, if the NFC chip is woken up normally once, that is, the induction card information is read within the first time interval after being woken up, this count stops and the method process ends. Wait until the NFC chip is woken up next time and the induction card information is not read within the first time interval, and then start a new count.
[0042] 102. If the number of times of being woken up by mistake is greater than a preset number threshold, determine the adjustment parameter corresponding to the NFC chip according to the number of times of being woken up by mistake.
[0043] A number threshold corresponding to being woken up by mistake is set in advance. If the counted number of times of being woken up by mistake is greater than the preset number threshold, it means that the wake-up sensitivity of this NFC chip is too high and it is easily woken up by mistake, and it is necessary to reduce the wake-up sensitivity of the NFC chip.
[0044] According to the number of times of being woken up by mistake, the degree to which the NFC chip is easily woken up by mistake can be determined. According to the degree to which the NFC chip is easily woken up by mistake, the adjustment parameter corresponding to the NFC chip can be determined more accurately, which can avoid the situation that the determined adjustment parameter is too high, resulting in a lower wake-up sensitivity of the adjusted NFC chip and being unable to normally identify other near-field communications, and can also avoid the situation that the determined adjustment parameter is too low, resulting in the wake-up sensitivity of the adjusted NFC chip still being relatively high and still being easily woken up by mistake.
[0045] In some embodiments of the present application, the determining the adjustment parameter corresponding to the NFC chip according to the number of times of being woken up by mistake includes:
[0046] Based on a preset mapping table between the number of times of being woken up by mistake and one or more adjustment parameters and the number of times of being woken up by mistake, determine the adjustment parameter corresponding to the NFC chip.
[0047] A preset mapping table between the number of times of being woken up by mistake and each adjustment parameter can be set in advance to obtain one or more preset tables. Each mapping table records the mapping relationship between the number of times of being woken up by mistake and the adjustment parameter, and one number of times of being woken up by mistake corresponds to one adjustment parameter. It can be understood that one adjustment parameter can correspond to one or more numbers of times of being woken up by mistake.
[0048] The adjustment parameter corresponding to the NFC chip can be quickly determined by querying the preset mapping table.
[0049] To avoid including too much data in the preset mapping table, the number of false wake-up times can be divided into multiple intervals. The number of false wake-up times within each interval corresponds to the same adjustment level, and the adjustment parameters corresponding to each adjustment level are preset. In some embodiments of the present application, determining the adjustment parameters corresponding to the NFC chip based on the preset mapping table and the number of false wake-up times includes: determining the adjustment level corresponding to the number of false wake-up times based on the preset mapping table; and determining the adjustment parameters corresponding to the NFC chip according to the adjustment level.
[0050] Through the above method, it is not necessary to store the adjustment parameters corresponding to each number of false wake-up times. Only the intervals corresponding to the number of false wake-up times need to be stored, which can reduce the data stored in the preset mapping table.
[0051] 103. According to the adjustment parameters, reduce the wake-up sensitivity of the NFC chip.
[0052] The adjustment parameters are parameters related to the wake-up sensitivity of the NFC chip. They can be adjustment values that need to be increased or decreased. The current parameters of the NFC chip are adjusted according to the adjustment values to reduce the wake-up sensitivity of the NFC chip. They can also be the target values after adjustment. The current parameters of the NFC chip are adjusted so that the adjusted target value is the target value.
[0053] In the initial state, the NFC chip will detect the field strength within the current detection range and record the detected field strength. When the induction card approaches within the detection range of the NFC chip, it will cause a change in the field strength within the detection range. When the change in the field strength within the detection range exceeds a certain field strength change threshold, the NFC chip will be awakened. Therefore, in some embodiments of the present application, the adjustment parameters include a threshold increase parameter. Reducing the wake-up sensitivity of the NFC chip according to the adjustment parameters includes: increasing the field strength change threshold of the NFC chip according to the threshold increase parameter. The target field strength change threshold corresponding to the NFC chip can be determined according to the threshold increase parameter. By increasing the field strength change threshold of the NFC chip, the wake-up sensitivity of the NFC chip can be reduced, thereby reducing the probability of the NFC chip being falsely awakened.
[0054] Each NFC chip has a corresponding radio frequency antenna, and the output magnitude of the radio frequency antenna is related to the detection range corresponding to the NFC chip. The larger the output of the radio frequency antenna corresponding to an NFC chip, the larger the detection range corresponding to the NFC chip; the smaller the output of the radio frequency antenna corresponding to an NFC chip, the smaller the detection range corresponding to the NFC chip. In some embodiments of the present application, the adjustment parameter includes a power reduction parameter, and reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter includes: reducing the antenna output power of the radio frequency antenna corresponding to the NFC chip according to the power reduction parameter. By reducing the antenna output power of the radio frequency antenna corresponding to the NFC chip, the wake-up sensitivity of the NFC chip can be reduced, thereby reducing the probability of the NFC chip being woken up by mistake.
[0055] In order to adjust the wake-up sensitivity of the NFC chip more precisely, multiple adjustment parameters can be combined for adjustment at the same time. In some embodiments of the present application, the adjustment parameters include a threshold increase parameter and a power reduction parameter, and reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter includes: increasing the field strength change threshold of the NFC chip according to the threshold increase parameter; reducing the antenna output power of the radio frequency antenna corresponding to the NFC chip according to the power reduction parameter. Through the threshold increase parameter and the power reduction parameter, the wake-up sensitivity of the NFC chip can be adjusted more precisely, so that the adjusted wake-up sensitivity can be closer to the target wake-up sensitivity.
[0056] Sometimes, the abnormal situation of the NFC chip will also cause false wake-up. At this time, even if the wake-up sensitivity of the NFC chip is reduced, the abnormal NFC chip is still likely to be woken up by mistake. In some embodiments of the present application, after reducing the wake-up sensitivity of the NFC chip, the method further includes:
[0057] Counting the number of false wake-up times of the NFC chip with reduced wake-up sensitivity within a third preset time period; if the number of false wake-up times is greater than the preset number threshold, generating a corresponding prompt according to a preset rule.
[0058] The specific duration corresponding to the third preset time period can be set according to the actual situation and is not limited here. The preset rule is used to generate an abnormal prompt corresponding to the NFC chip. The abnormal prompt may include one or more of a text prompt, a sound prompt, and a light-off prompt.
[0059] By continuing to monitor the false wake-up situation of the NFC chip after reducing the wake-up sensitivity of the NFC chip, to judge whether the NFC chip is abnormal through the monitoring result and give a prompt when the NFC chip is abnormal, the use of the NFC chip can be better guaranteed.
[0060] The NFC chip intelligent adjustment method provided by the above embodiments can monitor the false wake-up situation of the NFC chip for a period of time based on the false wake-up events of the NFC chip, and adaptively adjust the NFC chip according to the monitored situation, so as to reduce the number of false wake-ups of the NFC chip, thereby reducing the increase in useless power consumption of the electronic device.
[0061] As Figure 2 shown, it is a functional module diagram of an NFC chip intelligent adjustment device provided by an embodiment of the present application. The NFC chip intelligent adjustment device 100 includes a frequency statistics module 110, a parameter determination module 120, and a parameter adjustment module 130. The module / unit referred to in the embodiments of the present application refers to a series of computer-readable instruction segments that can be acquired by a processor and can complete fixed functions, and are stored in a memory. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.
[0062] The frequency statistics module 110 is configured to, when the NFC chip is awakened and no induction card information is read within a first time interval, count the number of false wake-ups of the NFC chip within a second time interval.
[0063] The induction card information is the information corresponding to the card that can be read by the NFC chip, such as near-field communication induction card information. When the NFC chip is awakened and no near-field communication induction card information is read within the first time interval, it is determined that the NFC chip is falsely awakened. The number of times the NFC chip is awakened within the second time interval and no near-field communication induction card information is read within the first time interval can be determined as the number of false wake-ups of the NFC chip within the second time interval. The first time interval and the second time interval correspond to different time lengths, and the time length corresponding to the second time interval is longer than the time length corresponding to the first time. The specific time lengths corresponding to them can be set according to actual situations and are not limited here.
[0064] In order to better determine the frequency of false wake-up of the NFC chip, in some embodiments of the present application, the number of false wake-ups is the number of consecutive false wake-ups of the NFC chip within the second time interval. That is to say, during the process of counting the number of false wake-ups of the NFC chip within the second time interval, if the NFC chip is normally awakened once, that is, the induction card information is read within the first time interval after being awakened, this count stops and the method flow ends. Wait until the NFC chip is awakened again and no induction card information is read within the first time interval, and a new count is restarted.
[0065] The parameter determination module 120 is configured to, if the number of false wake-ups is greater than a preset number threshold, determine an adjustment parameter corresponding to the NFC chip according to the number of false wake-ups.
[0066] Preset a threshold for the number of times corresponding to false wake-up. If the counted number of false wake-up times is greater than the preset number threshold, it indicates that the wake-up sensitivity of this NFC chip is too high and it is easily falsely woken up, and the wake-up sensitivity of the NFC chip needs to be reduced.
[0067] According to the number of false wake-up times, the degree of being easily falsely woken up corresponding to the NFC chip can be determined. According to the degree of being easily falsely woken up corresponding to the NFC chip, the adjustment parameter corresponding to the NFC chip can be determined more accurately, which can avoid the situation that the determined adjustment parameter is too high, resulting in a lower wake-up sensitivity of the adjusted NFC chip and being unable to normally identify other near-field communications, and can also avoid the situation that the determined adjustment parameter is too low, resulting in the wake-up sensitivity of the adjusted NFC chip still being relatively high and still being easily falsely woken up.
[0068] In some embodiments of the present application, the parameter determination module 120 determines the adjustment parameter corresponding to the NFC chip according to the number of false wake-up times, including:
[0069] Based on a preset mapping table between the number of false wake-up times and one or more adjustment parameters and the number of false wake-up times, determine the adjustment parameter corresponding to the NFC chip.
[0070] A preset mapping table between the number of false wake-up times and each adjustment parameter can be preset to obtain one or more preset tables. Each mapping table records the mapping relationship between the number of false wake-up times and the adjustment parameter, and one number of false wake-up times corresponds to one adjustment parameter. It can be understood that one adjustment parameter can correspond to one or more numbers of false wake-up times.
[0071] By querying the preset mapping table, the adjustment parameter corresponding to the NFC chip can be quickly determined.
[0072] In order to avoid too much data in the preset mapping table, the number of false wake-up times can be divided into multiple intervals. The number of false wake-up times within each interval corresponds to the same adjustment level, and the adjustment parameter corresponding to each adjustment level is preset. In some embodiments of the present application, the parameter determination module 120 determines the adjustment parameter corresponding to the NFC chip based on the preset mapping table and the number of false wake-up times, including: determining the adjustment level corresponding to the number of false wake-up times based on the preset mapping table; and determining the adjustment parameter corresponding to the NFC chip according to the adjustment level.
[0073] By the above method, it is not necessary to store the adjustment parameter corresponding to each number of false wake-up times, and only the interval corresponding to the number of false wake-up times needs to be stored, which can reduce the data stored in the preset mapping table.
[0074] A parameter adjustment module 130 is configured to reduce the wake-up sensitivity of the NFC chip according to the adjustment parameter.
[0075] The adjustment parameter is a parameter related to the wake-up sensitivity of the NFC chip. It can be an adjustment value that needs to be increased or decreased. The current parameter of the NFC chip is adjusted according to the adjustment value to reduce the wake-up sensitivity of the NFC chip. It can also be a target value after adjustment. The current parameter of the NFC chip is adjusted so that the adjusted target value is the target value.
[0076] In the initial state of the NFC chip, the NFC chip will detect the field strength within the current detection range and record the detected field strength. When an induction card approaches within the detection range of the NFC chip, it will cause a change in the field strength within the detection range. When the change in the field strength within the detection range exceeds a certain field strength change threshold, the NFC chip will be awakened. Therefore, in some embodiments of the present application, the adjustment parameter includes a threshold increase parameter. The parameter adjustment module 130 reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter includes: increasing the field strength change threshold of the NFC chip according to the threshold increase parameter. The target field strength change threshold corresponding to the NFC chip can be determined according to the threshold increase parameter. By increasing the field strength change threshold of the NFC chip, the wake-up sensitivity of the NFC chip can be reduced, thereby reducing the probability of the NFC chip being woken up by mistake.
[0077] Each NFC chip has a corresponding radio frequency antenna. The output size of the radio frequency antenna is related to the detection range corresponding to the NFC chip. The larger the output of the radio frequency antenna corresponding to an NFC chip, the larger the detection range corresponding to the NFC chip; the smaller the output of the radio frequency antenna corresponding to an NFC chip, the smaller the detection range corresponding to the NFC chip. In some embodiments of the present application, the adjustment parameter includes a power reduction parameter. Reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter includes: reducing the antenna output power of the radio frequency antenna corresponding to the NFC chip according to the power reduction parameter. By reducing the antenna output power of the radio frequency antenna corresponding to the NFC chip, the wake-up sensitivity of the NFC chip can be reduced, thereby reducing the probability of the NFC chip being woken up by mistake.
[0078] In order to more precisely adjust the wake-up sensitivity of the NFC chip, multiple adjustment parameters can be combined for adjustment. In some embodiments of the present application, the adjustment parameters include a threshold increase parameter and a power reduction parameter. The parameter adjustment module 130 reduces the wake-up sensitivity of the NFC chip according to the adjustment parameters, including: increasing the field strength change threshold of the NFC chip according to the threshold increase parameter; reducing the antenna output power of the RF antenna corresponding to the NFC chip according to the power reduction parameter. By using the threshold increase parameter and the power reduction parameter, the wake-up sensitivity of the NFC chip can be adjusted more precisely, so that the adjusted wake-up sensitivity can be closer to the target wake-up sensitivity.
[0079] Sometimes, abnormal conditions of the NFC chip may also cause false wake-up. At this time, even if the wake-up sensitivity of the NFC chip is reduced, the abnormal NFC chip is still prone to false wake-up. In some embodiments of the present application, after reducing the wake-up sensitivity of the NFC chip, the method further includes:
[0080] Counting the number of false wake-ups of the NFC chip with reduced wake-up sensitivity within a third preset time period; if the number of false wake-ups is greater than the preset number threshold, generating a corresponding prompt according to a preset rule.
[0081] The specific duration corresponding to the third preset time period can be set according to the actual situation and is not limited herein. The preset rule is used to generate an abnormal prompt for the NFC chip. The abnormal prompt may include one or more of a text prompt, a sound prompt, and a light-off prompt.
[0082] By continuing to monitor the false wake-up situation of the NFC chip after reducing the wake-up sensitivity of the NFC chip, it is possible to determine whether the NFC chip is abnormal based on the monitoring result and give a prompt when the NFC chip is abnormal, which can better guarantee the use of the NFC chip.
[0083] The NFC chip intelligent adjustment device provided in the above embodiments can monitor the false wake-up situation of the NFC chip within a period of time based on the false wake-up of the NFC chip, and perform adaptive adjustment on the NFC chip according to the monitoring situation, so as to reduce the number of false wake-ups of the NFC chip, thereby reducing the increase in useless power consumption of the electronic device.
[0084] As Figure 3 shown, it is a schematic structural diagram of an electronic device for implementing the NFC chip intelligent adjustment method provided by an embodiment of the present application.
[0085] In one embodiment of the embodiments of the present application, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer-readable instructions stored in the memory 12 and executable on the processor 13, such as an NFC chip intelligent adjustment program.
[0086] Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 1, and does not constitute a limitation on the electronic device 1. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the electronic device 1 may further include an input / output device, a network access device, a bus, etc.
[0087] The processor 13 may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor 13 is the operation core and control center of the electronic device 1, connecting various parts of the entire electronic device 1 through various interfaces and lines, and executing the operating system of the electronic device 1 and various installed application programs, program codes, etc.
[0088] Exemplarily, the computer-readable instructions may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 12 and executed by the processor 13 to complete the embodiments of the present application. The one or more modules / units may be a series of computer-readable instruction segments capable of performing specific functions, and these computer-readable instruction segments are used to describe the execution process of the computer-readable instructions in the electronic device 1. For example, the computer-readable instructions may be divided into a frequency statistics module 110, a parameter determination module 120, and a parameter adjustment module 130.
[0089] The memory 12 can be used to store the computer-readable instructions and / or modules. By running or executing the computer-readable instructions and / or modules stored in the memory 12, and by invoking the data stored in the memory 12, the processor 13 realizes various functions of the electronic device 1. The memory 12 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the electronic device. The memory 12 can include non-volatile and volatile memories, such as: hard disks, memory, plug-in hard disks, SmartMedia Cards (SMC), Secure Digital (SD) cards, Flash Cards, at least one magnetic disk storage device, flash memory device, or other storage devices.
[0090] The memory 12 can be an external memory and / or an internal memory of the electronic device 1. Further, the memory 12 can be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), etc.
[0091] If the modules / units integrated in the electronic device 1 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above method embodiments in this application embodiment, it can also be completed by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above method embodiments can be realized.
[0092] Among them, the computer-readable instructions include computer-readable instruction codes, and the computer-readable instruction codes can be in the form of source code, object code, executable files, or some intermediate forms, etc. The computer-readable medium can include: any entity or device capable of carrying the computer-readable instruction codes, recording media, USB flash drives, mobile hard disks, magnetic disks, optical disks, computer memories, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory).
[0093] Combined with Figure 1 , the memory 12 in the electronic device 1 stores computer-readable instructions to implement an NFC chip intelligent adjustment method, and the processor 13 can execute the computer-readable instructions to thereby realize:
[0094] When the NFC chip is awakened and no induction card information is read within the first time interval, the number of false awakenings of the NFC chip within the second time interval is counted;
[0095] If the number of false awakenings is greater than a preset number threshold, an adjustment parameter corresponding to the NFC chip is determined according to the number of false awakenings;
[0096] According to the adjustment parameter, the wake-up sensitivity of the NFC chip is reduced.
[0097] Specifically, for the specific implementation method of the above computer-readable instructions by the processor 13, reference may be made to Figure 1 the description of the relevant steps in the corresponding embodiment, which will not be elaborated here.
[0098] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0099] The computer-readable storage medium stores computer-readable instructions, wherein when the computer-readable instructions are executed by the processor 13, the following steps are implemented:
[0100] When the NFC chip is awakened and no induction card information is read within the first time interval, the number of false awakenings of the NFC chip within the second time interval is counted;
[0101] If the number of false awakenings is greater than a preset number threshold, an adjustment parameter corresponding to the NFC chip is determined according to the number of false awakenings;
[0102] According to the adjustment parameter, the wake-up sensitivity of the NFC chip is reduced.
[0103] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0104] In addition, in each embodiment of the embodiments of the present application, the functional modules can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a hardware plus software functional module.
[0105] Therefore, in any case, the embodiments should be regarded as exemplary and non-limiting. The scope of the embodiments of the present application is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be embraced within the embodiments of the present application. Any reference signs in the claims should not be construed as limiting the claims concerned.
[0106] In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. The described multiple elements or devices may also be implemented by one element or device through software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.
[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present application and not to limit them. Although the technical solutions of the embodiments of the present application have been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the embodiments of the present application can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An NFC chip intelligent adjustment method is applied to an electronic device, and the electronic device includes an NFC chip. Characterized in that, The method includes: When the NFC chip is awakened and no induction card information is read within the first time interval, it is determined that the NFC chip is awakened by mistake, and the number of false awakenings of the NFC chip within the second time interval is counted. The number of false awakenings represents the number of consecutive false awakenings of the NFC chip within the second time interval, and the time length corresponding to the second time interval is greater than the time length corresponding to the first time interval; If the number of false awakenings is greater than a preset number threshold, the adjustment parameter corresponding to the NFC chip is determined according to the number of false awakenings, and the adjustment parameter includes a threshold increase parameter; According to the adjustment parameter, the wake-up sensitivity of the NFC chip is reduced, including: according to the threshold increase parameter, the field strength change threshold of the NFC chip is increased.
2. The NFC chip intelligent adjustment method according to claim 1, Characterized in that, The adjustment parameter includes a power reduction parameter, and the step of reducing the wake-up sensitivity of the NFC chip according to the adjustment parameter includes: According to the power reduction parameter, the antenna output power of the RF antenna corresponding to the NFC chip is reduced.
3. The NFC chip intelligent adjustment method according to claim 1, Characterized in that, The step of determining the adjustment parameter corresponding to the NFC chip according to the number of false awakenings includes: Based on a preset mapping table between the number of false awakenings and one or more adjustment parameters and the number of false awakenings, the adjustment parameter corresponding to the NFC chip is determined.
4. The NFC chip intelligent adjustment method according to claim 3, Characterized in that, The step of determining the adjustment parameter corresponding to the NFC chip based on the preset mapping table and the number of false awakenings includes: Based on the preset mapping table, the adjustment level corresponding to the number of false awakenings is determined; According to the adjustment level, the adjustment parameter corresponding to the NFC chip is determined.
5. The NFC chip intelligent adjustment method according to claim 1, Characterized in that, After reducing the wake-up sensitivity of the NFC chip, the method further includes: Counting the number of false awakenings of the NFC chip with reduced wake-up sensitivity within the third preset time period; If the number of false awakenings is greater than the preset number threshold, a corresponding prompt is generated according to a preset rule.
6. An NFC chip intelligent adjustment device runs on an electronic device, Characterized in that, The NFC chip intelligent adjustment device includes: A number counting module is configured to count the number of false awakenings of the NFC chip within the second time interval when the NFC chip is awakened and no induction card information is read within the first time interval. The number of false awakenings represents the number of consecutive false awakenings of the NFC chip within the second time interval; A parameter determination module is configured to determine the adjustment parameter corresponding to the NFC chip according to the number of false awakenings if the number of false awakenings is greater than a preset number threshold, and the adjustment parameter includes a threshold increase parameter; A parameter adjustment module, configured to reduce the wake-up sensitivity of the NFC chip according to the adjustment parameter, includes: increasing the field strength change threshold of the NFC chip according to the threshold increase parameter.
7. An electronic device, characterized in that the electronic device includes: a memory storing computer-readable instructions; and a processor that executes the computer-readable instructions stored in the memory to implement the NFC chip intelligent adjustment method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: computer-readable instructions are stored in the computer-readable storage medium, and the computer-readable instructions are executed by a processor in an electronic device to implement the NFC chip intelligent adjustment method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Error wake-up signal shielding method and active electronic tag
CN103488961A
Vehicle detection method, device, terminal equipment and readable storage medium
CN113660547A
Intelligent mistaken touch prevention method and device, intelligent touch equipment and storage medium
CN114721551A