Working mode control method of wireless radio frequency chip and wireless radio frequency chip
By extracting the data distribution characteristics of the wireless radio frequency chip and identifying the working scenarios, establishing a feature model and determining the target working mode, the problem that traditional technology cannot effectively adapt to the response time requirements of the application scenarios is solved, and flexible working mode management and low standby power consumption are achieved.
Patent Information
- Application Number
- CN202411909295.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-12-24
AI Technical Summary
The working mode management of traditional wireless RF chips cannot effectively adapt to the requirements of beacon tag response time in various application scenarios, especially when there is no data transmission and reception task for a long time, the standby power consumption is low but the response time becomes longer.
By extracting data distribution characteristics from the historical data sent and received by the wireless radio frequency chip, identifying the work scenarios, establishing a feature model, determining the target working mode, and controlling the chip to switch to the target mode to flexibly manage the work mode conversion.
It realizes flexible working mode management of wireless radio frequency chips in various application scenarios, improves the flexibility and adaptability of response time, and reduces standby power consumption.
Smart Images

Figure CN119647509A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a working mode control method of a wireless radio frequency chip and a wireless radio frequency chip. Background Art
[0002] Radio frequency chips are widely used as beacon tags in many fields. For example, radio frequency chips are used as positioning beacon tags for people, vehicles and even commodities for indoor and outdoor positioning and navigation in shopping malls, parking lots, airports or railway stations and other large places. Radio frequency chips are attached to fixed assets as asset management beacon tags for enterprise asset management. Radio frequency chips are attached to goods as tracking beacon tags for cargo tracking in logistics transportation. Radio frequency chips are installed in industrial, office and home environments as intelligent control beacon tags to realize the control and linkage of industrial equipment or smart home devices. In the above application scenarios, in many cases, radio frequency chips as beacon tags require a certain degree of mobility, that is, they cannot be connected to the mains power supply at the location of use. Therefore, beacon tags usually need to carry micro batteries such as button batteries to make them portable while being mobile.
[0003] Since the power of the built-in micro battery is limited, the power consumption and battery life of the beacon tag are extremely important. The beacon tag usually enters a low-power working mode when there is no data transmission and reception task for a long time. For example, the power supply voltage and current of most non-critical devices such as power amplifiers, Gaussian frequency shift keying modulators, and transmission filters are cut off, and the clock frequency and refresh frequency of devices such as baseband controllers and caches are reduced. In this working mode, the standby power consumption of the beacon tag is low, but because it needs to wake up the powered-off device when responding to commands, including re-powering, restoring its hardware logic state, and re-initializing registers and controllers, its response time becomes longer, and it can only be used in some scenarios where the real-time response is not required. The working mode management of traditional wireless RF chips cannot well adapt to the requirements of the response time of beacon tags in various possible situations in actual application scenarios. Summary of the invention
[0004] Based on the above problems, the present invention proposes a working mode control method of a wireless radio frequency chip and a wireless radio frequency chip, which can flexibly manage the working mode conversion of the wireless radio frequency chip as a beacon tag in various application scenarios.
[0005] In view of this, a first aspect of the present invention proposes a method for controlling a working mode of a wireless radio frequency chip, comprising: Extracting a first data distribution feature of the wireless radio frequency chip from historical transceiver data of the wireless radio frequency chip, where the first data distribution feature is a distribution feature of the amount of data received and / or sent by the wireless radio frequency chip relative to a time dimension; Identify a working scenario of the wireless radio frequency chip, wherein the working scenario includes a working environment type of the wireless radio frequency chip and a type of an object to which the wireless radio frequency chip is attached; Establishing a feature model of the wireless radio frequency chip according to the first data distribution feature and the working scenario, wherein the feature model is a data model composed of feature data obtained by statistically analyzing the amount of received data and / or sent data of the wireless radio frequency chip with a pre-configured time period as a statistical period; Determine a second data distribution feature of the wireless radio frequency chip in a current statistical period based on the feature model; Determine a target working mode of the wireless radio frequency chip in a current statistical period according to the working scenario and the second data distribution feature; Control the wireless radio frequency chip to switch to the target working mode.
[0006] Furthermore, the step of extracting the first data distribution feature of the wireless radio frequency chip from the historical transceiver data of the wireless radio frequency chip specifically includes: Reading historical transceiver data of the wireless radio frequency chip from a database, wherein the historical transceiver data includes a historical receiving data set and a historical sending data set of the wireless radio frequency chip; The statistical period is divided into consecutive sub-periods; According to the correspondence between the receiving or sending time of the historical transceiver data and the sub-time period, the historical receiving data set and the historical sending data set in the historical transceiver data are divided into receive data subsets and Send a subset of data; right receive data subsets and The first data distribution feature of the wireless radio frequency chip is obtained by performing feature analysis on each of the transmitted data subsets.
[0007] Further, according to the correspondence between the receiving or sending time of the historical transceiver data and the sub-time period, the historical receiving data set and the historical sending data set in the historical transceiver data are divided into receive data subsets and The steps of sending a data subset specifically include: Get the number of statistical cycles in the historical sending and receiving data ; From 1 to Sequentially traverse each statistical period; Determine the traversed statistical period as the target statistical period to perform the following steps: Initialize count range from 1 to Count variable By order The value in the initial state is 1; Get the target statistical period Number of data received in a sub-period and the number of times data is sent ; Initialize count range from 1 to Count variable and counts from 1 to Count variable ; Get the target statistical period In the sub-period The amount of data received and The amount of data sent ; Calculate the target statistical period The cumulative amount of received data in each sub-period is: , and the cumulative amount of data sent: ; The accumulated received data volume Write the historical received data set of the received data subsets, and The accumulated amount of data sent Write the historical transmission data set Send data subset; when When Add 1 and execute again to obtain the first Number of data received in a sub-period and the number of times data is sent The accumulated received data volume Write the historical received data set received data subsets, and the accumulated sent data amount Write the historical transmission data set The first step is to send a subset of data.
[0008] Furthermore, the first data distribution feature includes a first receiving peak feature, a first sending peak feature, a first receiving valley feature and a first sending valley feature for evaluating the amount of data sent and received by the wireless radio frequency chip in each sub-time period, and a second receiving peak feature, a second sending peak feature, a second receiving peak feature and a second receiving valley feature for evaluating the data distribution density of the historical sent and received data in each sub-time period. receive data subsets and The step of performing feature analysis on each of the sent data subsets to obtain the first data distribution feature of the wireless radio frequency chip specifically includes: In each received data subset, a , , , , so that it satisfies: ; Will , , , Respectively determine as a first receiving peak characteristic, a first transmitting peak characteristic, a first receiving valley characteristic and a first transmitting valley characteristic of the wireless radio frequency chip; Calculate the target statistical period Cumulative number of receptions in each sub-period: , and the cumulative number of times sent: ; Determine a , , , , so that it satisfies: ; Will , , , The second reception peak characteristic, the second transmission peak characteristic, the second reception peak characteristic and the second reception valley characteristic of the wireless radio frequency chip are respectively determined.
[0009] Furthermore, the step of establishing the feature model of the wireless radio frequency chip according to the first data distribution feature and the working scenario specifically includes: Generate a model object instance for storing a characteristic model of the wireless radio frequency chip, wherein the model object includes a working scene attribute, a characteristic attribute of the amount of data sent and received, and a data distribution density attribute; Obtaining a working scene code of the wireless radio frequency chip to write into the working scene attribute; Writing the first receiving peak feature, the first sending peak feature, the first receiving valley feature and the first sending valley feature in the first data distribution feature of the wireless radio frequency chip into the characteristic attribute of the amount of data sent and received; The second receiving peak feature, the second transmitting peak feature, the second receiving peak feature and the second receiving valley feature in the first data distribution feature of the wireless radio frequency chip are written into the data distribution density attribute.
[0010] Further, the second data distribution feature includes a first received data distribution feature and a first sent data distribution feature for evaluating the amount of data sent and received by the wireless radio frequency chip in each sub-time period of the current statistical period, and a second received data distribution feature and a second sent data distribution feature for evaluating the data distribution density of the wireless radio frequency chip in each sub-time period of the current statistical period. The step of determining the second data distribution feature of the wireless radio frequency chip in the current statistical period based on the feature model specifically includes: Determine the sub-time period number that the current time falls into ; Initialize count range from 1 to Count variable By order The value in the initial state is 1; Get the current statistical period Number of data received in a sub-period and the number of times data is sent ; Initialize count range from 1 to Count variable and counts from 1 to Count variable ; Get the current statistical period In the sub-period The amount of data received and The amount of data sent ; Calculate the current statistical period The cumulative amount of received data in each sub-period is: , and the cumulative amount of data sent: ; Will , respectively determine as a first received data distribution feature and a first sent data distribution feature of the wireless radio frequency chip in a current statistical period; Will , The second received data distribution feature and the second sent data distribution feature of the wireless radio frequency chip in the current statistical period are respectively determined.
[0011] Further, the step of determining the target working mode of the wireless radio frequency chip in the current statistical period according to the working scenario and the second data distribution feature specifically includes: Reading the working scene attribute, the characteristic attribute of the amount of data sent and received, and the data distribution density attribute in the characteristic model of the wireless radio frequency chip; Determine whether the current working scene of the wireless radio frequency chip matches the working scene attribute in the feature model; When the current working scene of the wireless radio frequency chip matches the working scene attribute in the feature model, calculating the interval coefficient of the first received data distribution feature and the first sent data distribution feature relative to the sent and received data volume characteristic attribute in the feature model, the interval coefficient being the correlation coefficient of the first received data distribution feature and the first sent data distribution feature with the sent and received data volume characteristic attribute in the feature model; Get the current real time; Determine whether the real time falls within a peak interval or a valley interval in the feature model; When the real time falls into the valley interval, determining the target working mode as a first standby mode, wherein the first standby mode is a standby mode with minimized average current consumption; When the real time does not fall within the peak interval and does not fall within the valley interval, the target operating mode is determined as a second standby mode, where the second standby mode is a standby mode in which a clock buffer corresponding to the interval coefficient is in an active state.
[0012] Further, the step of calculating the interval coefficients of the first received data distribution feature and the first sent data distribution feature relative to the sent and received data volume characteristic attribute in the characteristic model specifically includes: The receiving interval coefficient is calculated based on the first receiving data distribution feature of the current statistical period and the first receiving peak feature and the first receiving valley feature in the characteristic attribute of the receiving and sending data volume of the characteristic model: ; The transmission interval coefficient is calculated based on the first transmission data distribution feature of the current statistical period and the first transmission peak feature and the first transmission valley feature in the transmission and reception data volume feature attribute of the feature model: ; The interval coefficient is calculated according to the receiving interval coefficient and the sending interval coefficient: .
[0013] Furthermore, the step of controlling the wireless radio frequency chip to switch to the target working mode specifically includes: When the target operating mode is the second standby mode, based on the interval coefficient determining an active number of clock buffers in the second standby mode; The state of the clock buffer is configured according to the active quantity.
[0014] A second aspect of the present invention provides a wireless radio frequency chip, comprising a processor and a memory, wherein the processor executes a computer program stored in the memory to implement the working mode control method of the wireless radio frequency chip according to any one of the first aspects of the present invention.
[0015] The present invention proposes a working mode control method for a wireless radio frequency chip and a wireless radio frequency chip. The method extracts a first data distribution feature from historical transceiver data of the wireless radio frequency chip and identifies its working scenario. A feature model of the wireless radio frequency chip is established according to the first data distribution feature and the working scenario. The feature model is a data model composed of feature data obtained by statistically analyzing the amount of received data and / or the amount of sent data of the wireless radio frequency chip in a preset statistical period. Based on the feature model, a second data distribution feature of the wireless radio frequency chip in a current statistical period is determined. According to the working scenario and the second data distribution feature, a target working mode of the wireless radio frequency chip in the current statistical period is determined. The wireless radio frequency chip is controlled to switch to the target working mode. The method can flexibly manage the working mode conversion of the wireless radio frequency chip as a beacon tag in various application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The present invention provides a flowchart of a method for controlling a working mode of a wireless radio frequency chip according to an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0018] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0019] In the description of the present invention, the term "multiple" refers to two or more. Unless otherwise clearly defined, the orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation of the present invention. The terms "connection", "installation", "fixation", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. In addition, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first", "second", etc. can explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, the meaning of "multiple" is two or more.
[0020] In the description of this specification, the description of the terms "one embodiment", "some implementations", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0021] A method for controlling a working mode of a wireless radio frequency chip and a wireless radio frequency chip provided according to some embodiments of the present invention will be described below with reference to the accompanying drawings.
[0022] like Figure 1 In view of this, a first aspect of the present invention proposes a method for controlling a working mode of a wireless radio frequency chip, comprising: Extracting a first data distribution feature of the wireless radio frequency chip from historical transceiver data of the wireless radio frequency chip, where the first data distribution feature is a distribution feature of the amount of data received and / or sent by the wireless radio frequency chip relative to a time dimension; Identify a working scenario of the wireless radio frequency chip, wherein the working scenario includes a working environment type of the wireless radio frequency chip and a type of an object to which the wireless radio frequency chip is attached; Establishing a feature model of the wireless radio frequency chip according to the first data distribution feature and the working scenario, wherein the feature model is a data model composed of feature data obtained by statistically analyzing the amount of received data and / or sent data of the wireless radio frequency chip with a pre-configured time period as a statistical period; Determine a second data distribution feature of the wireless radio frequency chip in a current statistical period based on the feature model; Determine a target working mode of the wireless radio frequency chip in a current statistical period according to the working scenario and the second data distribution feature; Control the wireless radio frequency chip to switch to the target working mode.
[0023] Specifically, the amount of data received and sent at a single time by the wireless RF chip as a beacon tag is usually relatively fixed, so the amount of data received and sent by the wireless RF chip within a period of time is basically determined by its data receiving frequency and data sending frequency. The data receiving frequency and data sending frequency of the wireless RF chip are mainly related to its working scenario. For example, when the wireless RF chip is used as a tracking beacon tag for goods, it can be configured to have a relatively small data receiving frequency and data sending frequency, while when it is used as a remote control beacon tag for industrial equipment, it may be configured to have a higher data receiving frequency and data sending frequency. Of course, depending on the configured wake-up conditions, the amount of data received and sent by the wireless RF chip within a period of time may also be related to external factors, and the data that generates these external factors is usually provided by the device or sensor connected to the wireless RF chip.
[0024] As mentioned above, the wireless radio frequency chip may be used as a beacon tag in many different working scenarios. These working scenarios can usually be described by the type of environment in which the wireless radio frequency chip is located, the type of object to which the wireless radio frequency chip is attached, and / or the functional purpose of the wireless radio frequency chip, such as the working scenario of positioning a vehicle in a parking lot, the working scenario of tracking goods in a warehouse, and the working scenario of controlling smart appliances in a home or office environment. Furthermore, the working scenario can be written into the wireless radio frequency chip in the form of manual configuration, or it can be identified through data provided by a device or sensor connected to the wireless radio frequency chip.
[0025] The characteristic model is a time distribution model of the amount of received data and the amount of sent data of the wireless radio frequency chip in a certain specific working scenario within a preset statistical period, and the time distribution model is composed of a number of characteristic data reflecting the data distribution characteristics of the amount of received data and / or sent data of the wireless radio frequency chip in the working scenario within the statistical period. Preferably, the statistical period is configured as one day.
[0026] In the technical solution of the present invention, for any wireless radio frequency chip, after establishing a feature model for it, each data transmission and reception event of the wireless radio frequency chip is monitored, and after each data transmission and reception event of the wireless radio frequency chip, or after several data transmission and reception events, a step of determining the second data distribution feature of the wireless radio frequency chip in the current statistical period based on the feature model is performed, wherein the current statistical period is the statistical period in which the step of determining the second data distribution feature of the wireless radio frequency chip in the current statistical period based on the feature model is performed. The second data distribution feature refers to the distribution characteristics of the amount of received data and / or the amount of sent data of the wireless radio frequency chip relative to the time dimension in the current statistical period, earlier than the time period of performing the step of determining the second data distribution feature of the wireless radio frequency chip in the current statistical period based on the feature model.
[0027] Furthermore, the step of extracting the first data distribution feature of the wireless radio frequency chip from the historical transceiver data of the wireless radio frequency chip specifically includes: Reading historical transceiver data of the wireless radio frequency chip from a database, wherein the historical transceiver data includes a historical receiving data set and a historical sending data set of the wireless radio frequency chip; The statistical period is divided into consecutive sub-periods; According to the correspondence between the receiving or sending time of the historical transceiver data and the sub-time period, the historical receiving data set and the historical sending data set in the historical transceiver data are divided into receive data subsets and Send a subset of data; right receive data subsets and The first data distribution feature of the wireless radio frequency chip is obtained by performing feature analysis on each of the transmitted data subsets.
[0028] It should be known that, in the technical solution of the present invention, the historical transceiver data of the wireless radio frequency chip stored in the database is only used to extract the first data distribution feature of the wireless radio frequency chip to establish the feature model of the wireless radio frequency chip. Therefore, in the actual implementation process, it is not necessary to store all the historical transceiver data of the wireless radio frequency chip in the database, but to selectively store the historical transceiver data of several consecutive statistical periods of the wireless radio frequency chip in the database, and the time length of the stored historical transceiver data, that is, the number of statistical periods, can be configured according to the implementation needs and the occupancy of the storage space.
[0029] The number of consecutive sub-time periods in a statistical period The length of a statistical period is expressed as , then the length of each sub-time period is For example, when dividing the statistical period into In the steps of consecutive sub-time periods, the statistical period For a day, the number of its sub-time periods For example, the time length of each sub-time period is 1 hour. In the technical solution of this implementation, 8 o'clock to 9 o'clock is a sub-time period, and there is a receiving data subset and a sending data subset in this sub-time period. The receiving data subset contains all the historical receiving data whose receiving time falls between 8 o'clock and 9 o'clock in the historical receiving and sending data, and the sending data subset contains all the historical sending data whose sending time falls between 8 o'clock and 9 o'clock in the historical receiving and sending data. Similarly, 9 o'clock to 10 o'clock is another sub-time period, and there is also a receiving data subset and a sending data subset in this sub-time period. The receiving data subset contains all the historical receiving data whose receiving time falls between 9 o'clock and 10 o'clock in the historical receiving and sending data, and the sending data subset contains all the historical sending data whose sending time falls between 9 o'clock and 10 o'clock in the historical receiving and sending data.
[0030] Further, according to the correspondence between the receiving or sending time of the historical transceiver data and the sub-time period, the historical receiving data set and the historical sending data set in the historical transceiver data are divided into receive data subsets and The steps of sending a data subset specifically include: Get the number of statistical cycles in the historical sending and receiving data ; From 1 to Sequentially traverse each statistical period; Determine the traversed statistical period as the target statistical period to perform the following steps: Initialize count range from 1 to Count variable By order The value in the initial state is 1; Get the target statistical period Number of data received in a sub-period and the number of times data is sent ; Initialize count range from 1 to Count variable and counts from 1 to Count variable ; Get the target statistical period In the sub-period The amount of data received and The amount of data sent ; Calculate the target statistical period The cumulative amount of received data in each sub-period is: , and the cumulative amount of data sent: ; The accumulated received data volume Write the historical received data set of the received data subsets, and The accumulated amount of data sent Write the historical transmission data set Send data subset; when When Add 1 and execute again to obtain the first Number of data received in a sub-period and the number of times data is sent The accumulated received data volume Write the historical received data set received data subsets, and the accumulated sent data amount Write the historical transmission data set The first step is to send a subset of data.
[0031] As mentioned above, the number of statistical cycles in the historical transmission and reception data is a number that is pre-configured according to actual implementation needs. In the technical solution of the above implementation, the counting variable , , All are positive integers.
[0032] After executing, the historical receiving data set and the historical sending data set in the historical receiving and sending data are divided into receive data subsets and After the steps of sending data subsets, each received data subset should have The cumulative amount of received data and The cumulative amount of sent data corresponds to a historical statistical period.
[0033] For convenience of representation, define a positive integer count variable , making the The first The cumulative amount of received data is expressed as , No. The first in the sent data subset The cumulative amount of data sent is expressed as Similarly, the first In the statistical period The number of data received in each sub-time period is expressed as , the first In the statistical period The number of data transmissions in a sub-time period is expressed as .
[0034] Furthermore, the first data distribution feature includes a first receiving peak feature, a first sending peak feature, a first receiving valley feature and a first sending valley feature for evaluating the amount of data sent and received by the wireless radio frequency chip in each sub-time period, and a second receiving peak feature, a second sending peak feature, a second receiving peak feature and a second receiving valley feature for evaluating the data distribution density of the historical sent and received data in each sub-time period. receive data subsets and The step of performing feature analysis on each of the sent data subsets to obtain the first data distribution feature of the wireless radio frequency chip specifically includes: In each received data subset, a , , , , so that it satisfies: ; Will , , , Respectively determine as a first receiving peak characteristic, a first transmitting peak characteristic, a first receiving valley characteristic and a first transmitting valley characteristic of the wireless radio frequency chip; Calculate the target statistical period Cumulative number of receptions in each sub-period: , and the cumulative number of times sent: ; Determine a , , , , so that it satisfies: ; Will , , , The second reception peak characteristic, the second transmission peak characteristic, the second reception peak characteristic and the second reception valley characteristic of the wireless radio frequency chip are respectively determined.
[0035] In the technical solution of the above-mentioned implementation mode, the first receiving peak characteristic, the first transmitting peak characteristic, the first receiving valley characteristic and the first transmitting valley characteristic are all one having A data sequence of data elements, that is, the first receiving peak characteristic, the first transmitting peak characteristic, the first receiving valley characteristic and the first transmitting valley characteristic of the wireless RF chip have a one-to-one correspondence with each sub-time period of the statistical period. More specifically, each sub-time period corresponds to one and only one first receiving peak characteristic. Similarly, each sub-time period corresponds to one and only one first transmitting peak characteristic, first receiving peak characteristic and first receiving valley characteristic. The second receiving peak characteristic, the second transmitting peak characteristic, the second receiving peak characteristic and the second receiving valley characteristic are all single characteristic values. It should be known that the sub-time period of the statistical period referred to here does not specifically refer to the sub-time period in a certain statistical period.
[0036] Furthermore, the step of establishing the feature model of the wireless radio frequency chip according to the first data distribution feature and the working scenario specifically includes: Generate a model object instance for storing a characteristic model of the wireless radio frequency chip, wherein the model object includes a working scene attribute, a characteristic attribute of the amount of data sent and received, and a data distribution density attribute; Obtaining a working scene code of the wireless radio frequency chip to write into the working scene attribute; Writing the first receiving peak feature, the first sending peak feature, the first receiving valley feature and the first sending valley feature in the first data distribution feature of the wireless radio frequency chip into the characteristic attribute of the amount of data sent and received; The second receiving peak feature, the second transmitting peak feature, the second receiving peak feature and the second receiving valley feature in the first data distribution feature of the wireless radio frequency chip are written into the data distribution density attribute.
[0037] Specifically, the model object instance is generated based on a pre-built model object including a work scene attribute, a characteristic attribute of the amount of data sent and received, and a data distribution density attribute. The characteristic attribute of the amount of data sent and received is a number of attributes having A data sequence of data elements.
[0038] Furthermore, the model object instance also includes a reading and writing method for reading and writing the working scene attributes, the characteristic attributes of the amount of data sent and received, and the data distribution density attributes, a method for constructing the first data distribution characteristic curve of the wireless RF chip based on the first data distribution characteristics of the wireless RF chip, etc.
[0039] The working scenario code is an identification code pre-configured for each standard working scenario. The so-called standard working scenario is a plurality of common working scenarios corresponding to the combination of the pre-configured common working environment types of the wireless radio frequency chip and the types of attached objects.
[0040] The first receiving peak feature, the first transmitting peak feature, the first receiving valley feature and the first transmitting valley feature in the first data distribution feature of the wireless radio frequency chip are all discrete data sequences, which can be respectively expressed as: ; ; ; .
[0041] The lengths of the first receiving peak feature, the first transmitting peak feature, the first receiving valley feature and the first transmitting valley feature in the first data distribution feature of the wireless radio frequency chip are all , that is, each discrete data sequence contains data elements.
[0042] Further, the second data distribution feature includes a first received data distribution feature and a first sent data distribution feature for evaluating the amount of data sent and received by the wireless radio frequency chip in each sub-time period of the current statistical period, and a second received data distribution feature and a second sent data distribution feature for evaluating the data distribution density of the wireless radio frequency chip in each sub-time period of the current statistical period. The step of determining the second data distribution feature of the wireless radio frequency chip in the current statistical period based on the feature model specifically includes: Determine the sub-time period number that the current time falls into ; Initialize count range from 1 to Count variable By order The value in the initial state is 1; Get the current statistical period Number of data received in a sub-period and the number of times data is sent ; Initialize count range from 1 to Count variable and counts from 1 to Count variable ; Get the current statistical period In the sub-period The amount of data received and The amount of data sent ; Calculate the current statistical period The cumulative amount of received data in each sub-period is: , and the cumulative amount of data sent: ; Will , respectively determine as a first received data distribution feature and a first sent data distribution feature of the wireless radio frequency chip in a current statistical period; Will , The second received data distribution feature and the second sent data distribution feature of the wireless radio frequency chip in the current statistical period are respectively determined.
[0043] Specifically, the so-called current time refers to the time of executing the step of determining the second data distribution feature of the wireless radio frequency chip in the current statistical period based on the feature model, and the sub-time period number of the current time refers to the sequential number of the sub-time period in which the current time falls in the sub-time period within a statistical period. Still taking one day as a statistical period and one hour as a sub-time period as an example, the sub-time period between 0:00 and 1:00 in the morning is numbered 1, the sub-time period between 1:00 and 2:00 in the morning is numbered 2, and so on.
[0044] In the technical solution of the above embodiment, the first received data distribution feature, the first sent data distribution feature, the second received data distribution feature and the second sent data distribution feature are all one having A data sequence of data elements.
[0045] Further, the step of determining the target working mode of the wireless radio frequency chip in the current statistical period according to the working scenario and the second data distribution feature specifically includes: Reading the working scene attribute, the characteristic attribute of the amount of data sent and received, and the data distribution density attribute in the characteristic model of the wireless radio frequency chip; Determine whether the current working scene of the wireless radio frequency chip matches the working scene attribute in the feature model; When the current working scene of the wireless radio frequency chip matches the working scene attribute in the feature model, calculating the interval coefficient of the first received data distribution feature and the first sent data distribution feature relative to the sent and received data volume characteristic attribute in the feature model, the interval coefficient being the correlation coefficient of the first received data distribution feature and the first sent data distribution feature with the sent and received data volume characteristic attribute in the feature model; Get the current real time; Determine whether the real time falls within a peak interval or a valley interval in the feature model; When the real time falls into the valley interval, determining the target working mode as a first standby mode, wherein the first standby mode is a standby mode with minimized average current consumption; When the real time does not fall within the peak interval and does not fall within the valley interval, the target operating mode is determined as a second standby mode, where the second standby mode is a standby mode in which a clock buffer corresponding to the interval coefficient is in an active state.
[0046] Specifically, the real-time time is the time for executing the step of determining the target working mode of the wireless radio frequency chip in the current statistical period according to the working scenario and the second data distribution feature.
[0047] In the technical scheme of the above-mentioned implementation mode, the peak interval is a time interval composed of continuous sub-time periods in which the difference between the cumulative amount of received data in the feature model and the corresponding first receiving peak feature or the difference between the cumulative amount of sent data and the corresponding first sending peak feature is less than a preset deviation threshold, and the valley interval is a time interval composed of continuous sub-time periods in which the difference between the cumulative amount of received data in the feature model and the corresponding first receiving valley feature or the difference between the cumulative amount of sent data and the corresponding first sending valley feature is less than a preset deviation threshold.
[0048] Further, after the step of writing the first receiving peak feature, the first sending peak feature, the first receiving valley feature and the first sending valley feature in the first data distribution feature of the wireless radio frequency chip into the characteristic attribute of the amount of transmitted and received data, it also includes: Generate a data sequence of the cumulative amount of received data: , and the cumulative amount of data sent data sequence: ; Calculate the relationship between each data element in the cumulative received data amount data sequence and the first received peak characteristic The difference of gets the first difference sequence: ; Calculate the relationship between each data element in the cumulative transmitted data amount data sequence and the first transmission peak characteristic The second difference sequence of the difference: ; in: , ; Each element in the first difference value sequence and the second difference value sequence corresponds to a sub-time period.
[0049] Further, in calculating the relationship between each data element in the cumulative received data amount data sequence and the first received peak characteristic The difference between the first difference sequence and the first transmission peak characteristic is obtained by calculating the difference between each data element in the cumulative transmission data amount data sequence and the first transmission peak characteristic After the step of obtaining the second difference sequence of differences, the method further comprises: Get the preset deviation threshold ; Calculate the deviation between each data element in the first difference sequence and the deviation threshold The difference of gets the third difference sequence: ;; Calculate the deviation between each data element in the second difference sequence and the deviation threshold The difference of gets the fourth difference order sequence: ; in: , ; Each element in the third difference sequence and the fourth difference sequence corresponds to a sub-time period; The time interval corresponding to the continuous sub-time periods corresponding to the data elements less than zero in the third difference sequence and the fourth difference sequence is determined as the peak interval of the feature model.
[0050] Further, after the step of writing the first receiving peak feature, the first sending peak feature, the first receiving valley feature and the first sending valley feature in the first data distribution feature of the wireless radio frequency chip into the characteristic attribute of the amount of transmitted and received data, it also includes: Calculate the relationship between each data element in the cumulative received data amount data sequence and the first received valley value feature The difference of gets the fifth difference sequence: ; Calculate the relationship between each data element in the cumulative sent data amount data sequence and the first sent valley value feature The sixth difference sequence of the difference: ; in: , ; Each element in the fifth difference value sequence and the sixth difference value sequence corresponds to a sub-time period.
[0051] Further, in calculating the relationship between each data element in the cumulative received data amount data sequence and the first received valley value feature The fifth difference sequence is obtained by the difference between the accumulated sent data amount and the first sent valley value feature. After the step of the sixth difference sequence of differences, the step further comprises: Get the preset deviation threshold ; Calculate the deviation between each data element in the fifth difference sequence and the deviation threshold The difference of gets the seventh difference sequence: ;; Calculate the deviation between each data element in the sixth difference sequence and the deviation threshold The difference of gets the eighth difference sequence: ; in: , ; Each element in the seventh difference sequence and the first difference sequence corresponds to a sub-time period; The time interval corresponding to the continuous sub-time periods corresponding to the data elements less than zero in the seventh difference sequence and the eighth difference sequence is determined as the valley interval of the feature model.
[0052] Further, the step of calculating the interval coefficients of the first received data distribution feature and the first sent data distribution feature relative to the sent and received data volume characteristic attribute in the characteristic model specifically includes: The receiving interval coefficient is calculated based on the first receiving data distribution feature of the current statistical period and the first receiving peak feature and the first receiving valley feature in the characteristic attribute of the receiving and sending data volume of the characteristic model: ; The transmission interval coefficient is calculated based on the first transmission data distribution feature of the current statistical period and the first transmission peak feature and the first transmission valley feature in the transmission and reception data volume feature attribute of the feature model: ; The interval coefficient is calculated according to the receiving interval coefficient and the sending interval coefficient: .
[0053] Furthermore, the step of controlling the wireless radio frequency chip to switch to the target working mode specifically includes: When the target operating mode is the second standby mode, based on the interval coefficient determining an active number of clock buffers in the second standby mode; The state of the clock buffer is configured according to the active quantity.
[0054] Specifically, when the target working mode is the first standby mode, only the crystal oscillator is kept in an active state to wake up the wireless RF chip after a preset sleep time. Compared with the first standby mode, the second standby mode has more additional clock buffers in an active state. Although the wireless RF chip consumes more current in the second standby mode, when a new data packet is uploaded to its FIFO (First Input First Output) queue, its phase-locked loop will start to send the data packet at a faster speed with a lower delay. In the technical solution of the above implementation, the interval coefficient The interval coefficient is proportional to the number of clock buffers that are active in the second standby mode. The larger the value, the more clock buffers are active, resulting in faster startup.
[0055] A second aspect of the present invention provides a wireless radio frequency chip, comprising a processor and a memory, wherein the processor executes a computer program stored in the memory to implement the working mode control method of the wireless radio frequency chip according to any one of the first aspects of the present invention.
[0056] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device 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 device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0057] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for controlling the working mode of a wireless radio frequency chip, characterized in that: include: Extracting a first data distribution feature of the wireless radio frequency chip from historical transceiver data of the wireless radio frequency chip, where the first data distribution feature is a distribution feature of the amount of data received and / or sent by the wireless radio frequency chip relative to a time dimension; Identify a working scenario of the wireless radio frequency chip, wherein the working scenario includes a working environment type of the wireless radio frequency chip and a type of an object to which the wireless radio frequency chip is attached; Establishing a feature model of the wireless radio frequency chip according to the first data distribution feature and the working scenario, wherein the feature model is a data model composed of feature data obtained by statistically analyzing the amount of received data and / or sent data of the wireless radio frequency chip with a pre-configured time period as a statistical period; Determine a second data distribution feature of the wireless radio frequency chip in a current statistical period based on the feature model; Determine a target working mode of the wireless radio frequency chip in a current statistical period according to the working scenario and the second data distribution feature; Control the wireless radio frequency chip to switch to the target working mode.
2. The working mode control method of the wireless radio frequency chip according to claim 1, characterized in that: The step of extracting the first data distribution feature of the wireless radio frequency chip from the historical transceiver data of the wireless radio frequency chip specifically includes: Reading historical transceiver data of the wireless radio frequency chip from a database, wherein the historical transceiver data includes a historical receiving data set and a historical sending data set of the wireless radio frequency chip; The statistical period is divided into consecutive sub-periods; According to the correspondence between the receiving or sending time of the historical transceiver data and the sub-time period, the historical receiving data set and the historical sending data set in the historical transceiver data are divided into receive data subsets and Send a subset of data; right receive data subsets and The first data distribution feature of the wireless radio frequency chip is obtained by performing feature analysis on each of the transmitted data subsets.
3. The working mode control method of the wireless radio frequency chip according to claim 2, characterized in that: According to the correspondence between the receiving or sending time of the historical transceiver data and the sub-time period, the historical receiving data set and the historical sending data set in the historical transceiver data are divided into receive data subsets and The steps of sending a data subset specifically include: Get the number of statistical cycles in the historical sending and receiving data ; From 1 to Sequentially traverse each statistical period; Determine the traversed statistical period as the target statistical period to perform the following steps: Initialize count range from 1 to Count variable By order The value in the initial state is 1; Get the target statistical period Number of data received in a sub-period and the number of times data is sent ; Initialize count range from 1 to Count variable and counts from 1 to Count variable ; Get the target statistical period In the sub-period The amount of data received and The amount of data sent ; Calculate the target statistical period The cumulative amount of received data in each sub-period is: , and the cumulative amount of data sent: ; The accumulated received data volume Write the historical received data set of the received data subsets, and The accumulated amount of data sent Write the historical transmission data set Send data subset; when When Add 1 and execute again to obtain the first Number of data received in a sub-period and the number of times data is sent The accumulated received data volume Write the historical received data set received data subsets, and the accumulated sent data amount Write the historical transmission data set The first step is to send a subset of data.
4. The working mode control method of the wireless radio frequency chip according to claim 3, characterized in that: The first data distribution feature includes a first receiving peak feature, a first sending peak feature, a first receiving valley feature, and a first sending valley feature for evaluating the amount of data sent and received by the wireless radio frequency chip in each sub-time period, and a second receiving peak feature, a second sending peak feature, a second receiving peak feature, and a second receiving valley feature for evaluating the data distribution density of the historical sent and received data in each sub-time period. receive data subsets and The step of performing feature analysis on each of the sent data subsets to obtain the first data distribution feature of the wireless radio frequency chip specifically includes: In each received data subset, a , , , , so that it satisfies: ; Will , , , Respectively determine as a first receiving peak characteristic, a first transmitting peak characteristic, a first receiving valley characteristic and a first transmitting valley characteristic of the wireless radio frequency chip; Calculate the target statistical period Cumulative number of receptions in each sub-period: , and the cumulative number of times sent: ; Determine a , , , , so that it satisfies: ; Will , , , The second reception peak characteristic, the second transmission peak characteristic, the second reception peak characteristic and the second reception valley characteristic of the wireless radio frequency chip are respectively determined.
5. The working mode control method of the wireless radio frequency chip according to claim 4, characterized in that: The step of establishing the feature model of the wireless radio frequency chip according to the first data distribution feature and the working scenario specifically includes: Generate a model object instance for storing a characteristic model of the wireless radio frequency chip, wherein the model object includes a working scene attribute, a characteristic attribute of the amount of data sent and received, and a data distribution density attribute; Obtaining a working scene code of the wireless radio frequency chip to write into the working scene attribute; Writing the first receiving peak feature, the first sending peak feature, the first receiving valley feature and the first sending valley feature in the first data distribution feature of the wireless radio frequency chip into the characteristic attribute of the amount of data sent and received; The second receiving peak feature, the second transmitting peak feature, the second receiving peak feature and the second receiving valley feature in the first data distribution feature of the wireless radio frequency chip are written into the data distribution density attribute.
6. The working mode control method of the wireless radio frequency chip according to claim 5, characterized in that: The second data distribution feature includes a first received data distribution feature and a first sent data distribution feature for evaluating the amount of data sent and received by the wireless radio frequency chip in each sub-time period of the current statistical period, and a second received data distribution feature and a second sent data distribution feature for evaluating the data distribution density of the wireless radio frequency chip in each sub-time period of the current statistical period. The step of determining the second data distribution feature of the wireless radio frequency chip in the current statistical period based on the feature model specifically includes: Determine the sub-time period number that the current time falls into ; Initialize count range from 1 to Count variable By order The value in the initial state is 1; Get the current statistical period Number of data received in a sub-period and the number of times data is sent ; Initialize count range from 1 to Count variable and counts from 1 to Count variable ; Get the current statistical period In the sub-period The amount of data received and The amount of data sent ; Calculate the current statistical period The cumulative amount of received data in each sub-period is: , and the cumulative amount of data sent: ; Will , respectively determine as a first received data distribution feature and a first sent data distribution feature of the wireless radio frequency chip in a current statistical period; Will , The second received data distribution feature and the second sent data distribution feature of the wireless radio frequency chip in the current statistical period are respectively determined.
7. The working mode control method of the wireless radio frequency chip according to claim 6, characterized in that: The step of determining the target working mode of the wireless radio frequency chip in the current statistical period according to the working scenario and the second data distribution feature specifically includes: Reading the working scene attribute, the characteristic attribute of the amount of data sent and received, and the data distribution density attribute in the characteristic model of the wireless radio frequency chip; Determine whether the current working scene of the wireless radio frequency chip matches the working scene attribute in the feature model; When the current working scene of the wireless radio frequency chip matches the working scene attribute in the feature model, calculating the interval coefficient of the first received data distribution feature and the first sent data distribution feature relative to the sent and received data volume characteristic attribute in the feature model, the interval coefficient being the correlation coefficient of the first received data distribution feature and the first sent data distribution feature with the sent and received data volume characteristic attribute in the feature model; Get the current real time; Determine whether the real time falls within a peak interval or a valley interval in the feature model; When the real time falls into the valley interval, determining the target working mode as a first standby mode, wherein the first standby mode is a standby mode with minimized average current consumption; When the real time does not fall within the peak interval and does not fall within the valley interval, the target operating mode is determined as a second standby mode, where the second standby mode is a standby mode in which a clock buffer corresponding to the interval coefficient is in an active state.
8. The working mode control method of the wireless radio frequency chip according to claim 7, characterized in that: The step of calculating the interval coefficients of the first received data distribution feature and the first sent data distribution feature relative to the sent and received data volume characteristic attribute in the characteristic model specifically includes: The receiving interval coefficient is calculated based on the first receiving data distribution feature of the current statistical period and the first receiving peak feature and the first receiving valley feature in the characteristic attribute of the receiving and sending data volume of the characteristic model: ; The transmission interval coefficient is calculated based on the first transmission data distribution feature of the current statistical period and the first transmission peak feature and the first transmission valley feature in the transmission and reception data volume feature attribute of the feature model: ; The interval coefficient is calculated according to the receiving interval coefficient and the sending interval coefficient: 。 9. The working mode control method of the wireless radio frequency chip according to claim 8, characterized in that: The step of controlling the wireless radio frequency chip to switch to the target working mode specifically includes: When the target operating mode is the second standby mode, based on the interval coefficient determining an active number of clock buffers in the second standby mode; The state of the clock buffer is configured according to the active quantity.
10. A wireless radio frequency chip, characterized in that: It comprises a processor and a memory, wherein the processor executes a computer program stored in the memory to implement the working mode control method of the wireless radio frequency chip according to any one of claims 1 to 9.
Citation Information
Patent Citations
Linux system based radio frequency identification reading and writing device and the method for such reading and writing
CN105844313A
Multi-channel wireless sensing monitoring system based on CC1310 chip
CN113708795A
Communication management method and device, network equipment and storage medium
CN113938936A
Network card power consumption adjusting method and device, network card, electronic equipment and storage medium
CN117729114A
Detecting malware campaigns based on analysis of composite time series of telemetry data
US20220342990A1