Radio frequency processing method and system and medium
By synchronizing clock frequency and time between readers in logistics scenarios, the problem of tag information reading failure caused by radio frequency signal interference is solved, and the read success rate is improved.
Patent Information
- Application Number
- CN202311051004.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-18
- Publication Date
- 2025-02-21
AI Technical Summary
In a logistics scenario, when the physical distance between the two setting devices is close, the radio frequency signals emitted by the reader and writer may interfere with each other, resulting in the failure to read the tag information and the missed tag reading.
By synchronizing clock frequency and time between the master and slave readers, the interference caused by signal out-of-synchronization is reduced. The specific method includes the main reader and write to generate and send a synchronization signal, listen to the synchronization signal from the reader and write and update its local clock frequency and time to achieve synchronization.
By synchronizing the clock frequency and time between the master and slave readers, the interference between the radio frequency signals is reduced and the success rate of tag information is improved.
Smart Images

Figure CN119494349A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet of Things technology, and in particular to a radio frequency processing method, system and medium. Background Art
[0002] With the development of Internet of Things technology, RFID (Radio Frequency Identification) technology has developed rapidly in logistics, libraries and other scenarios. For example, the application of RFID technology in the field of logistics can shorten the operation process, increase the throughput of the distribution / delivery center, improve the speed and accuracy of inventory operations, improve management transparency, and make information transmission faster and more accurate.
[0003] In logistics scenarios, readers are usually set on set equipment such as access doors, conveyor belts, weighing platforms, inventory trucks and forklifts to count the tags set on logistics objects. For example, the entrance and exit of a warehouse is equipped with access doors. When a logistics object passes through the access door, the reader set on the access door can read the tag information from the tag of the logistics object.
[0004] In actual applications, when the physical distance between two setting devices is short, the radio frequency signals emitted by the two readers corresponding to the two setting devices may interfere with each other, resulting in failure to read the tag information, that is, causing tag miss reading. Summary of the invention
[0005] The embodiment of the present application provides a radio frequency processing method, which can achieve synchronization between the clock frequencies and times corresponding to the master reader and the slave reader, reduce interference between readers and writers due to signal asynchrony, and further improve the success rate of reading tag information.
[0006] Correspondingly, the embodiment of the present application also provides a radio frequency processing system and a storage medium to realize the implementation and application of the above system.
[0007] In order to solve the above problems, the present application discloses a radio frequency processing method, which includes:
[0008] The main reader generates a first synchronization signal according to the local clock frequency and time;
[0009] The main reader sends a first synchronization signal according to a first preset period; the first preset period is a first preset multiple of a working period; the working period is a communication period between the main reader and the tag;
[0010] The slave reader / writer monitors the synchronization signal according to the first preset stage corresponding to the second preset period; the second preset period is a second preset multiple of the working period, and the second preset multiple is greater than the first preset multiple;
[0011] The slave reader / writer updates the local clock frequency and time according to the interception result, so as to synchronize the clock frequency and time of the slave reader / writer with the clock frequency and time of the reader / writer where the interception result is located.
[0012] In order to solve the above problems, an embodiment of the present application discloses a radio frequency processing system, which includes: a master reader and a slave reader; wherein the master reader and the slave reader execute the above method.
[0013] In order to solve the above problems, an embodiment of the present application discloses a machine-readable medium on which executable code is stored. When the executable code is executed, the processor executes the method as described in any one of the above embodiments.
[0014] The embodiments of the present application include the following advantages:
[0015] In the technical solution of the embodiment of the present application, the master reader sends the first synchronization signal according to the first preset period, and the slave reader listens to the synchronization signal according to the first preset stage corresponding to the second preset period, and updates the local clock frequency and time according to the listening result. Since the slave reader updates the local clock frequency and time, the clock frequency and time of the slave reader can be synchronized with the clock frequency and time of the reader (such as the master reader) where the listening result is located; therefore, the embodiment of the present application can achieve synchronization between the clock frequencies and times corresponding to the master reader and the slave reader.
[0016] While achieving synchronization between the clock frequencies and times corresponding to the master reader / writer and the slave reader / writer, the embodiments of the present application enable multiple readers / writers to communicate with the tags according to the synchronized clock frequencies and times, for example, simultaneously sending instructions to the tags, or simultaneously receiving reply information from the tags, etc.; in this way, the embodiments of the present application can reduce the interference between the radio frequency signals emitted by the two readers / writers; therefore, the success rate of reading tag information can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a schematic diagram of a channel door reading tag information according to an embodiment of the present application;
[0018] Figure 2 is a structural schematic diagram of a radio frequency processing system according to an embodiment of the present application;
[0019] Figure 3It is a schematic diagram of synchronization between a master reader and multiple levels of slave readers in one embodiment of the present application;
[0020] Figure 4 It is a schematic diagram of a working cycle of an embodiment of the present application;
[0021] Figure 5 is a flowchart of the steps of a radio frequency processing method according to an embodiment of the present application;
[0022] Figure 6 is a flowchart of the steps of a radio frequency processing method according to an embodiment of the present application;
[0023] Figure 7 is a flowchart of the steps of a radio frequency processing method according to an embodiment of the present application;
[0024] Figure 8 is a structural schematic diagram of a radio frequency processing device according to an embodiment of the present application;
[0025] Fig. 9 is a structural schematic diagram of a radio frequency processing device according to an embodiment of the present application;
[0026] Fig.10 is a structural schematic diagram of a radio frequency processing system according to an embodiment of the present application;
[0027] Fig.11 It is a schematic diagram of the structure of an exemplary device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0029] In the embodiment of the present application, the working principle of RFID technology is: when the tag is close to the reader, the energy contained in the radio frequency signal emitted by the reader is used to send the information stored in its own chip to the reader, so that the reader can obtain the tag information. The tag information may include: EPC (Electronic Product Code) corresponding to the data object and other information.
[0030] A data object can be a composite representation of information understood by software. A data object can correspond to an entity, which can be something that exists objectively and can be distinguished from each other.
[0031] Examples of data objects may include: logistics objects, etc. Logistics objects may be express, express mail, parcels, etc. in the field of logistics. In actual applications, goods may be packaged to obtain logistics objects; or, items requested by users may be packaged to obtain logistics objects. Logistics objects may be accompanied by packaging, or may not be accompanied by packaging, and packaging may include: packaging boxes, packaging bags, etc. In the field of logistics, logistics objects may be circulated together with packaging. Logistics waybills refer to documents used in the field of logistics to record information about the sender, recipient, logistics object, and price and other related information during the transportation of logistics objects. The logistics waybill identifier may be the unique identifier of the logistics object.
[0032] The embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data may be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).
[0033] In logistics scenarios, readers are usually installed on set equipment such as channel doors, conveyor belts, weighing platforms, inventory trucks and forklifts, and are used to count the tags set on logistics objects.
[0034] Reference Figure 1 , shows a schematic diagram of a channel door reading tag information in an embodiment of the present application, wherein a channel door 1 is provided at the entrance and exit of a warehouse, and when a logistics object 2 passes through the channel door, a reader / writer provided on the channel door 1 can read tag information from the tag of the logistics object 2. In practical applications, a carrying tool such as an AGV (Automated Guided Vehicle) or a forklift can be used to carry the logistics object 2.
[0035] In actual applications, when the physical distance between two setting devices is short, the radio frequency signals emitted by the two readers corresponding to the two setting devices may interfere with each other, resulting in failure to read the tag information, that is, causing tag miss reading.
[0036] In view of the technical problem in the related art that the radio frequency signals emitted by two readers may interfere with each other, resulting in failure to read tag information, an embodiment of the present application provides a radio frequency processing system, which specifically includes: a master reader and a slave reader; the master reader or the slave reader communicates with the tag according to a working cycle;
[0037] The master reader sends a first synchronization signal according to a first preset period; the first synchronization signal may be a signal generated according to a clock frequency and time of the master reader; the first preset period may be a first preset multiple of the working period;
[0038] The slave reader / writer listens to the synchronization signal according to the first preset stage corresponding to the second preset period, and updates the local clock frequency and time according to the listening result, so as to synchronize the clock signal of the slave reader / writer with the clock frequency and time of the reader / writer where the listening result is located; the second preset period can be a second preset multiple of the working cycle.
[0039] In the technical solution of the embodiment of the present application, the master reader sends a first synchronization signal according to a first preset period, and the slave reader listens to the synchronization signal according to a first preset stage corresponding to a second preset period, and updates the local clock frequency and time according to the listening result. Since the slave reader updates the local clock frequency and time, the clock signal of the slave reader can be synchronized with the clock frequency and time of the reader (such as the master reader) where the listening result is located; therefore, the embodiment of the present application can achieve synchronization between the clock frequencies and times corresponding to the master reader and the slave reader.
[0040] While achieving synchronization between the clock signals corresponding to the master reader and the slave reader, the embodiment of the present application enables multiple readers to communicate with the tag at the synchronized clock frequency and time, for example, simultaneously sending instructions to the tag, or simultaneously receiving reply information from the tag, etc.; in this way, the embodiment of the present application can reduce the interference between the radio frequency signals emitted by the two readers, and therefore can improve the success rate of reading tag information.
[0041] System Example
[0042] The radio frequency processing system of the embodiment of the present application specifically includes: a master reader and a slave reader. The slave reader may include: M levels of slave readers, where M may be a positive integer. Those skilled in the art may determine the value of M according to actual application requirements. For example, M may be 1, or M may be greater than 1.
[0043] In practical applications, those skilled in the art can determine a master reader and M levels of slave readers from multiple readers based on the features of the readers in the scene. The features of the readers may include: displacement features, position features, or area range features, etc.
[0044] The displacement characteristics may include: static characteristics or moving characteristics. The static characteristics may mean that the displacement of the reader / writer may not change. For example, the displacement of the reader / writer corresponding to the passage door or the weighing platform usually does not change, so the reader / writer corresponding to the passage door or the weighing platform may correspond to a static characteristic. The moving characteristics may mean that the displacement of the reader / writer may not change. For example, the displacement of the reader / writer corresponding to the conveyor belt, the inventory counting vehicle, or the forklift usually changes, so the reader / writer corresponding to the conveyor belt, the inventory counting vehicle, or the forklift may correspond to a moving characteristic.
[0045] In one implementation, the master reader may correspond to a static feature, and the static feature corresponding to the master reader may improve the coverage of the first synchronization signal sent by the master reader.
[0046] In one implementation, the slave reader may correspond to a moving feature. In practical applications, the level corresponding to the slave reader may be determined based on the area range corresponding to the slave reader. The area range may be characterized by area features such as area or displacement distance. In the embodiment of the present application, a first mapping relationship between a level and a set area range may be preset, so that a search may be performed in the first mapping relationship based on the area range corresponding to the slave reader to obtain the level corresponding to the slave reader.
[0047] In another implementation, the level corresponding to the slave reader can also be determined based on the distance between the slave reader and the master reader. The embodiment of the present application can preset a second mapping relationship between the level and the distance, so that the level corresponding to the slave reader can be obtained by searching in the second mapping relationship based on the distance between the slave reader and the master reader. It should be noted that in the case where the slave reader corresponds to a mobile feature, the distance between the slave reader and the master reader can be a dynamic distance, and the dynamic distance can correspond to a distance range [distance lower limit value, distance upper limit value]. The embodiment of the present application can search in the second mapping relationship based on the distance upper limit value of the dynamic distance to obtain the level corresponding to the slave reader.
[0048] In one example, among the M levels of slave readers, the distance between at least some of the slave readers of the i-th level and the master reader is not greater than the distance between at least some of the slave readers of the (i+1)-th level and the master reader; i is a positive integer not greater than M. At least some of the slave readers of the i-th level may include: some or all of the slave readers of the i-th level. At least some of the slave readers of the (i+1)-th level may include: some or all of the slave readers of the (i+1)-th level. The distance here may be a dynamic distance at a certain moment, which may include: an upper limit value of the dynamic distance. In other words, in some cases, the greater the distance between the slave reader and the master reader, the higher the corresponding level.
[0049] In another example, among the M levels of slave readers, at least some of the i-th level slave readers correspond to an area range that is not larger than at least some of the (i+1)-th level slave readers correspond to an area range. In other words, in some cases, the larger the area range corresponding to the slave reader, the higher the corresponding level.
[0050] Reference Figure 2 , shows a schematic diagram of the structure of a radio frequency processing system according to an embodiment of the present application, which may specifically include: a master reader and three levels of slave readers. It can be understood that Figure 2 The number of master readers and slave readers in the RF processing system can be used as an example, and the embodiment of the present application does not limit the specific number of master readers and slave readers in the RF processing system. For example, the number of master readers can be greater than 1.
[0051] In addition, it can be understood that the slave reader / writer corresponds to a moving feature only as an optional embodiment. In fact, the slave reader / writer may also correspond to a stationary feature.
[0052] In other implementations of the present application, assuming that multiple target readers and writers corresponding to static features are set within a preset distance range, the first target reader and writer can be selected from the multiple target readers and writers corresponding to static features according to the position features as the master reader and writer; and the second target reader and writer other than the first target reader and writer can be selected as the slave reader and writer.
[0053] The positional relationship or distance between the first target reader and the second target reader may meet the first preset condition. For example, the position coordinates corresponding to the multiple target readers in a certain direction are first sorted in order from small to large, and the first target reader is in the middle position in the first sorting result. Alternatively, the sum of the distances between the first target reader and the multiple second target readers meets the second preset condition. The sum of the distances between a target reader and the other target readers may be determined, and the sum of the distances corresponding to the multiple target readers may be second sorted in order from small to large, and the first target reader is in the front position in the second sorting result.
[0054] In an application example of the present application, assuming that there are two target readers with static characteristics, one of the target readers can be used as the main reader. Alternatively, assuming that there are three target readers with static characteristics, the target reader in the middle position in the first sorting result corresponding to the horizontal coordinate or the vertical coordinate can be used as the main reader. Assuming that there are more than three target readers with static characteristics, the main reader can be determined based on the sum of the distances between each target reader and other target readers.
[0055] Here, the structure of a master reader or a slave reader is described. The reader may include: a control module, a radio frequency module, an interface and an antenna.
[0056] The control module is the core of the reader, which usually includes: FPGA (Field Programmable Gate Array), microprocessor, RF Transceiver and RF module. The signal processed by the control module is transmitted to the antenna through the RF module and then emitted by the antenna. The data exchange between the control module and the application software can be completed through the interface of the reader.
[0057] The functions of the control module specifically include any one or a combination of the following functions:
[0058] (1) Communicate with the application software and execute the commands sent by the application software.
[0059] (2) Control the communication process with the electronic tag, that is, the tag identification layer is implemented.
[0060] (3) Signal encoding and decoding, modulation and demodulation, that is, physical layer implementation.
[0061] (4) Execute anti-collision algorithm.
[0062] (5) Encrypt and decrypt data transmitted between the tag and the reader.
[0063] (6) Perform identity authentication between the tag and the reader.
[0064] The RF module may include: a transmitting circuit and a receiving circuit. The transmitting circuit is used to process the digital baseband signal processed by the control module, and then send the information to the tag through the antenna. The receiving circuit is used to demodulate the modulated signal received by the antenna, restore the digital baseband signal, and then send it to the control module.
[0065] Data exchange between the control module and the application software can be achieved through the reader / writer interface.
[0066] Antenna is a device used to transmit or receive radio waves. Readers and tags use radio waves to transmit information. Taking radio waves as electromagnetic waves as an example, when signals are transmitted in space through electromagnetic waves, the generation and reception of electromagnetic waves must be completed by antennas.
[0067] In an embodiment of the present application, after a reader / writer is determined as a master reader / writer or a slave reader / writer of a certain level, the corresponding type information can be saved in the reader / writer. The type information can indicate the type of the reader / writer, that is, it can indicate whether the reader / writer is a master reader / writer or a slave reader / writer of a certain level.
[0068] The type information may include: a master reader / writer type or a slave reader / writer type. The slave reader / writer type may include: slave reader / writer types corresponding to M levels respectively.
[0069] The computer program instructions corresponding to the master reader / writer type can be used to execute the following process: the master reader / writer sends a first synchronization signal according to a first preset period; the first synchronization signal can be a signal generated according to the clock frequency and time of the master reader / writer; the first preset period can be a first preset multiple of the working cycle.
[0070] In practical applications, the master reader / writer may generate a first synchronization signal according to a local clock frequency and time, and send the first synchronization signal according to a first preset period.
[0071] Clock is a term used in computer science and related fields. Clock signals are usually used in synchronous circuits to play the role of timers. Clock edge trigger signals mean that all state changes occur at the arrival of the clock edge. When the synchronization signal arrives, the related trigger can change the output state according to the input signal, so that the related electronic components can operate synchronously. Whether the rising edge or the falling edge of the clock signal controls the change of the state quantity of the logic unit depends on the specific logic design.
[0072] The first synchronization signal may carry a pseudo-random sequence, and it is understood that the embodiment of the present application does not limit the specific type of the pseudo-random sequence. In a specific implementation, when the first preset period arrives, the main reader can encode and modulate the pseudo-random sequence according to the local clock frequency and time to obtain the first synchronization signal, and send the first synchronization signal using the radio frequency module and the antenna.
[0073] The first preset period may be a first preset multiple N of the working period, and N may be a positive integer. In this way, the master reader may send the first synchronization signal once every N working periods. The specific value of N may be determined by those skilled in the art according to actual application requirements. Generally speaking, the smaller N is, the better the synchronization performance is, but the more time it takes.
[0074] The computer program instructions corresponding to the slave reader / writer type can be used to execute the following process: the M levels of slave readers / writers listen to the synchronization signal according to the first preset stage corresponding to the second preset period, and update the local clock frequency and time according to the listening result to synchronize the clock frequency and time of the slave reader / writer with the clock frequency and time of the reader / writer where the listening result is located; the second preset period can be a second preset multiple of the working cycle.
[0075] The above process of updating the local clock frequency and time may include: obtaining the synchronous pseudo-random sequence contained in the interception result; generating a local pseudo-random sequence according to the local clock signal; determining the correlation value between the synchronous pseudo-random sequence and the local pseudo-random sequence; and updating the local clock frequency and time according to the correlation value. For example, the correlation value may correspond to an upper limit value, and the moment corresponding to the upper limit value of the correlation value may be used as the beginning of a new cycle of the local time, and the local clock frequency may be calibrated. In this way, the clock frequency and time of the slave reader and the clock frequency and time of the reader where the interception result is located can be synchronized. The reader where the interception result is located may include: a master reader or other slave readers.
[0076] In a specific implementation, when the first preset stage of the second preset cycle arrives, the M levels of slave readers and writers monitor the synchronization signal.
[0077] The second preset period may be a second preset multiple P of the duty cycle, and P may be a positive integer. The specific value of P may be determined by those skilled in the art according to actual application requirements. Generally speaking, P may be greater than or equal to N, and P may be a multiple of N. Optionally, P may be the product of (M+1) and N.
[0078] In the embodiment of the present application, the second preset period may include: a preset number (Q) of stages. Q may be a positive integer, and the specific value of Q is determined by those skilled in the art according to actual application requirements. For example, Q may be less than or equal to (M+1).
[0079] The computer program instructions corresponding to the slave reader / writer type can also be used to execute the following process: at least some of the M levels of slave readers / writers send a second synchronization signal according to a second preset stage corresponding to a second preset period; the second synchronization signal can be a synchronization signal generated based on the clock frequency and time of at least some of the slave readers / writers.
[0080] It should be noted that, before sending the second synchronization signal, at least some of the slave readers can update the local clock frequency and time signal according to the first synchronization signal sent by the master reader. Therefore, the second synchronization signal can be a synchronization signal generated according to the updated clock frequency and time. In this way, at least some of the slave readers can transfer the clock frequency and time that have been synchronized with the master reader to other slave readers, thereby achieving synchronization between multiple readers.
[0081] At least some of the slave readers may be part or all of the M levels. For example, the first set corresponding to the M levels = {1, 2, 3…M}, then the second set corresponding to at least some of the slave readers may be a subset of the first set, for example, the second set = {1, 2, 3…(M-1)}. Alternatively, at least some of the slave readers may be part of the j-th level or some of the slave readers. For example, all the slave readers of the j-th level correspond to the third set, then the fourth set corresponding to at least some of the slave readers may be a subset of the third set.
[0082] In practical applications, when the distance between the slave reader and the master reader does not exceed the distance threshold, the slave reader can successfully detect the first synchronization signal of the master reader. However, when the distance between the slave reader and the master reader exceeds the distance threshold, the slave reader may not be able to detect the first synchronization signal of the master reader. Therefore, the embodiment of the present application uses at least some of the slave readers to send the second synchronization signal to increase the success rate of other slave readers to detect the synchronization signal.
[0083] The second preset period may be a synchronization period of the slave reader. The second preset period may include: at least one first preset phase and at least one second preset phase. The first preset phase may correspond to a listening state, and the second preset phase may correspond to a sending state of a synchronization signal.
[0084] At least part of the slave readers and writers may be determined by those skilled in the art according to actual application requirements, and the embodiments of the present application do not limit the specific at least part of the slave readers and writers.
[0085] In a specific implementation, the number of stages included in the first preset stage corresponding to the j-th level slave reader / writer can be equal to j, and the number of stages included in the second preset stage corresponding to the j-th level slave reader / writer can be equal to the difference between the preset number and j; j is a positive integer not greater than M.
[0086] Reference Figure 3 , shows a schematic diagram of synchronization between a master reader and multiple levels of slave readers in one embodiment of the present application, wherein the master reader sends a first synchronization signal according to a first preset period, and the first preset period may be N working periods. In other words, the master reader sends a first synchronization signal every N working periods.
[0087] Figure 3 In the process, the three levels of slave readers monitor the synchronization signal according to the first preset stage corresponding to the second preset period, and update the local clock frequency and time according to the monitoring result to synchronize the clock signal of the slave reader with the clock frequency and time of the reader where the monitoring result is located. Figure 3 In the embodiment, the second preset period may be 4N working periods.
[0088] The number of stages included in the first preset stage corresponding to slave readers of different levels may be different. Figure 3 In the embodiment, the number of stages included in the first preset stage corresponding to the first-level slave reader / writer may be 1, the number of stages included in the first preset stage corresponding to the second-level slave reader / writer may be 2, and the number of stages included in the first preset stage corresponding to the third-level slave reader / writer may be 3.
[0089] At least some of the three levels of slave readers can send a second synchronization signal according to a second preset stage corresponding to a second preset period; the second synchronization signal can be a synchronization signal generated according to the clock frequency and time of at least some of the slave readers.
[0090] The number of stages included in the second preset stage corresponding to the j-th level slave reader / writer may be different. Figure 3 In the embodiment, the number of stages included in the second preset stage corresponding to the first-level slave reader / writer may be 3, the number of stages included in the second preset stage corresponding to the second-level slave reader / writer may be 2, and the number of stages included in the first preset stage corresponding to the third-level slave reader / writer may be 1.
[0091] Figure 3 In the example, at time T1, the master reader can send a first synchronization signal, the first-level slave reader, the second-level slave reader, and the third-level slave reader can be in the first preset stage of the second preset cycle, and the three-level slave readers can intercept the first synchronization signal sent by the master reader. The three-level slave readers can also update the local clock frequency and time according to the interception result to synchronize the clock signal of the slave reader with the clock frequency and time of the master reader.
[0092] At time T2, the master reader can send a first synchronization signal. The first-level slave reader can send a second synchronization signal. The second-level slave reader and the third-level slave reader can be in the first preset stage of the second preset cycle, and the second-level slave reader and the third-level slave reader can listen to the first synchronization signal sent by the master reader, and can also listen to the second synchronization signal sent by the first-level slave reader. The second-level slave reader and the third-level slave reader can also update the local clock frequency and time according to the listening result, so as to synchronize the clock frequency and time of the slave reader with the clock frequency and time of the reader where the listening result is located.
[0093] In practical applications, when the distance between the slave reader and the master reader does not exceed the distance threshold, the slave reader can successfully detect the first synchronization signal of the master reader. However, when the distance between the slave reader and the master reader exceeds the distance threshold, the slave reader may not be able to detect the first synchronization signal of the master reader. Therefore, in the embodiment of the present application, at time T2, the first-level slave reader sends the second synchronization signal, which can increase the success rate of the second-level slave reader and the third-level slave reader for detecting the synchronization signal.
[0094] At time T3, the master reader can send a first synchronization signal, the first-level slave reader can send a second synchronization signal, and the second-level slave reader can send a second synchronization signal. The third-level slave reader can be in the first preset stage of the second preset cycle, and the third-level slave reader can listen to the first synchronization signal sent by the master reader, the second synchronization signal sent by the first-level slave reader, or the second synchronization signal sent by the second-level slave reader. The third-level slave reader can also update the local clock frequency and time according to the listening result to synchronize the clock signal of the slave reader with the clock frequency and time of the reader where the listening result is located.
[0095] By using the technical solution of the embodiment of the present application, the slave reader / writer at the (i+1)th level can listen to the first synchronization signal sent by the master reader / writer, and can also listen to the second synchronization signal sent by the slave readers / writer at the i-th level or the (i-1)-th level or the previous level. In the embodiment of the present application, the area range corresponding to at least some of the slave readers / writers at the i-th level is not larger than the area range corresponding to at least some of the slave readers / writers at the i+1th level; thus, for the frequently moving slave readers / writers, the number of stages included in the first preset stage corresponding to them can be a larger value, so as to improve their success rate of listening to the synchronization signal.
[0096] Therefore, in an embodiment of the present application, the number of stages included in the first preset stage corresponding to the (i+1)th level slave reader / writer may be greater than the number of stages included in the first preset stage corresponding to the i-th level slave reader / writer; and / or, the number of stages included in the second preset stage corresponding to the (i+1)th level slave reader / writer may be less than the number of stages included in the second preset stage corresponding to the i-th level slave reader / writer.
[0097] At time T4, the master reader can send the first synchronization signal, the first-level slave reader can send the second synchronization signal, the second-level slave reader can send the second synchronization signal, and the third-level slave reader can send the second synchronization signal. Of course, it is also feasible for the third-level slave reader not to send the second synchronization signal but to monitor the synchronization signal.
[0098] At time T5, the master reader can send a first synchronization signal, the first-level slave reader, the second-level slave reader and the third-level slave reader can be in the first preset stage of the second preset cycle, and the three-level slave readers can listen to the first synchronization signal sent by the master reader. Since the processing flow at time T5 is similar to that at time T1, it will not be repeated here, and can be referred to each other.
[0099] In the embodiment of the present application, the first synchronization signal or the second synchronization signal may conform to a modulation mode corresponding to PIE (Pulse-interval encoding). In other words, the first synchronization signal or the second synchronization signal may be a modulation signal.
[0100] The embodiment of the present application can design the first synchronization signal or the second synchronization signal by using the PIE modulation mode provided in the RFID standard; in other words, the first synchronization signal or the second synchronization signal can match the PIE modulation mode provided in the RFID standard. In this way, the master reader or the slave reader can reuse the existing modulation module in the reader to reduce the synchronization cost of the reader.
[0101] In the PIE modulation mode provided in the RFID standard, the PIE modulation signal may include: a delimiter part, a data 0 (Data0) part, a forward calibration (Rtcal) part, a backward calibration (Trcal) part, a code (Code) part, and a message (Message) part. The PIE modulation signal can be used for communication between the reader and the tag.
[0102] Among them, for the target parts such as the delimiter part, the data 0 part, the forward calibration part and the backward calibration part, the first synchronization signal or the second synchronization signal can multiplex the field content of the PIE modulation signal for the target part.
[0103] For the code part, the field content corresponding to the first synchronization signal or the second synchronization signal may be different from the field content corresponding to the PIE modulation signal. For example, the field content corresponding to the code part of the PIE modulation signal is 1000, while the field content corresponding to the code part of the first synchronization signal or the second synchronization signal may be 1110.
[0104] The first synchronization signal or the second synchronization signal may carry a message header and message data in the message part. The message data may include: data corresponding to a pseudo-random sequence. The field content of the PIE modulation signal for the message header may be multiplexed. For example, if the PIE modulation signal carries the configuration information of the PIE modulation in the message header, the first synchronization signal or the second synchronization signal may also carry the configuration information of the PIE modulation in the message header. After receiving the first synchronization signal sent by the master reader, the slave reader may obtain the message header from the first synchronization signal, and configure the PIE modulation according to the configuration information of the PIE modulation in the message header, thereby realizing the function of sharing the configuration between the master reader and the slave reader.
[0105] In the embodiment of the present application, the process of the master reader or the slave reader communicating with the tag according to the working cycle may specifically include:
[0106] Send query instructions to the tag;
[0107] Waiting for the tag to reply RN16 information;
[0108] When receiving RN16 information or not receiving RN16 information, an ACK command is sent to the tag;
[0109] Waiting for the EPC information from the tag.
[0110] According to the RFID standard, the reader / writer can obtain the EPC process of the tag including four links. Among them, the first link is the Query link, the second link is the RN16 (16-bit random or pseudo-random number) link, the third link is the ACK (acknowledged) link, and the fourth link is the EPC link. The first link is used to send a query instruction to the tag. The second link is used to wait for the RN16 information replied by the tag. The third link is used to send an ACK instruction to the tag when the RN16 information is received. The fourth link is used to wait for the EPC information replied by the tag.
[0111] According to the RFID standard, if the RN16 message from the tag is not received, the third step will not be executed. In other words, the third step will be executed only when the RN16 message is received.
[0112] In order to achieve synchronization of query instructions sent between different readers and writers, the embodiment of the present application improves the RFID standard. In the improved RFID standard, even if the RN16 information is not received, the third and fourth steps will also be executed. In other words, even if the RN16 information is not received, an ACK instruction will be sent to the tag, and the EPC information of the tag reply will be waited for. In this way, different readers and writers can send query instructions according to the same steps, so the synchronization of query instructions sent between different readers and writers can be achieved.
[0113] Reference Figure 4 , shows a schematic diagram of a working cycle of an embodiment of the present application, wherein the first working cycle may include: Query, Wait RN16, ACK and Wait EPC; the second working cycle may include: QueryRep, Wait RN16, ACK and Wait EPC. QueryRep indicates the start of the next working cycle.
[0114] In summary, in the RF processing system of the embodiment of the present application, the master reader sends the first synchronization signal according to the first preset period, and the M levels of slave readers listen to the synchronization signal according to the first preset stage corresponding to the second preset period, and update the local clock frequency and time according to the listening result. Since the slave reader updates the local clock frequency and time, the clock signal of the slave reader can be synchronized with the clock signal of the reader where the listening result is located (such as the master reader); therefore, the embodiment of the present application can achieve synchronization between the clock frequency and time corresponding to the master reader and the slave reader.
[0115] While achieving synchronization between the clock frequencies and times corresponding to the master reader / writer and the slave reader / writer, the embodiments of the present application enable multiple readers / writers to communicate with the tags according to the synchronized clock frequencies and times, for example, simultaneously sending instructions to the tags, or simultaneously receiving reply information from the tags, etc.; in this way, the embodiments of the present application can reduce the interference between the radio frequency signals emitted by the two readers / writers, and therefore can improve the success rate of reading tag information.
[0116] Furthermore, when the distance between the slave reader and the master reader exceeds the distance threshold, the slave reader may not be able to detect the first synchronization signal of the master reader. In view of the above situation, the embodiment of the present application uses at least some of the slave readers to send the second synchronization signal, which can increase the success rate of other slave readers to detect the synchronization signal.
[0117] In addition, the slave reader of the embodiment of the present application can use the air interface to listen to the synchronization signal sent by the master reader or other slave readers, and the synchronization signal can reuse the modulation mode of the existing radio frequency identification standard for the PIE signal. Therefore, the embodiment of the present application can achieve synchronization between the clock frequency and time corresponding to the master reader and the slave reader without increasing the hardware module, that is, without increasing the hardware cost.
[0118] Method Example 1
[0119] Reference Figure 5 , shows a flowchart of the steps of a radio frequency processing method according to an embodiment of the present application, which can be applied to a master reader and writer, and specifically may include the following steps:
[0120] Step 501: Generate a first synchronization signal according to a local clock frequency and time;
[0121] Step 502: Send a first synchronization signal according to a first preset period; the first preset period may be a first preset multiple of a working period; the working period may be a communication period between the main reader and the tag.
[0122] After a reader is determined as the master reader, the computer program instructions matching the master reader can be stored in the storage module corresponding to the master reader. The computer program instructions matching the master reader can be executed by the microprocessor of the master reader to implement the process related to the master reader.
[0123] Alternatively, after starting the master reader / writer, a computer program instruction matching the master reader / writer may be loaded into the master reader / writer so that the microprocessor of the master reader / writer executes the computer program instruction to implement the process related to the master reader / writer.
[0124] In practical applications, the master reader / writer may generate a first synchronization signal according to a local clock frequency and time, and send the first synchronization signal according to a first preset period.
[0125] The first synchronization signal may carry a pseudo-random sequence, and it is understood that the embodiment of the present application does not limit the specific type of the pseudo-random sequence. In a specific implementation, when the first preset period arrives, the master reader can encode and modulate the pseudo-random sequence according to the local clock frequency and time to obtain the first synchronization signal, and send the first synchronization signal.
[0126] In practical applications, the master reader may have a static feature. The master reader with the static feature sends a first synchronization signal, which can enable slave readers within a certain distance to detect the first synchronization signal, that is, the success rate of the slave readers detecting the first synchronization signal can be improved.
[0127] In a specific implementation, the first synchronization signal may conform to a modulation mode corresponding to the pulse interval coding. The first synchronization signal may include: a delimiter part, a data 0 part, a forward calibration part, a backward calibration part, a code part and a message part.
[0128] Among them, for the target parts such as the delimiter part, the data 0 part, the forward calibration part and the backward calibration part, the first synchronization signal can multiplex the field content of the PIE modulation signal for the target part.
[0129] For the code part, the field content corresponding to the first synchronization signal may be different from the field content corresponding to the PIE modulation signal. For example, the field content corresponding to the code part of the PIE modulation signal is 1000, while the field content corresponding to the code part of the first synchronization signal may be 1110.
[0130] The first synchronization signal may carry a message header and message data in the message part. The message data may include: data corresponding to the pseudo-random sequence. The first synchronization signal may carry configuration information of PIE modulation in the message header. After receiving the first synchronization signal sent by the master reader, the slave reader may obtain the message header from the first synchronization signal, and configure the PIE modulation according to the configuration information of the PIE modulation in the message header, thereby realizing the function of sharing the configuration between the master reader and the slave reader.
[0131] The method of the embodiment of the present application may further include: the main reader communicates with the tag according to the working cycle;
[0132] Among them, the above-mentioned process of communicating with the tag specifically includes: sending a query instruction to the tag; waiting for the first information replied by the tag; sending an ACK instruction to the tag when RN16 information is received or not received; waiting for the EPC information replied by the tag.
[0133] Since the embodiment of the present application will also send a confirmation instruction to the tag and wait for the EPC information replied by the tag when the RN16 information is not received, different readers can send query instructions according to the same link, so the synchronization of sending query instructions between different readers can be achieved.
[0134] The main reader can receive the EPC information replied by the tag, which can also include: RSSI (Received Signal Strength Indicator) value.
[0135] In practical applications, the main reader can send EPC information to the server, so that the server performs preset processing on the EPC information.
[0136] The preset processing may include: summary processing, etc. For example, in the warehousing scenario of logistics objects, summary processing may obtain the information of the logistics objects entering the warehousing.
[0137] In the embodiment of the present application, when the clock frequencies and times corresponding to the master reader and the slave reader are synchronized, the same tag may be acquired by multiple readers, which can increase the number of times the tag is read and provide the server with more samples for judging serial reading of tags.
[0138] The server's decision process for serial reading tags may include: based on the RSSI values of the same tag obtained by multiple readers at the same time, determining which reader the tag is closer to, thereby determining which reader's coverage area the tag is currently located in, that is, obtaining the destination reader corresponding to the tag.
[0139] The RSSI value can represent the distance between the tag and the reader. Multiple readers can be sorted in descending order of RSSI values, and the target reader can be determined based on the sorting result. The target reader can be the reader ranked in the first X positions in the sorting result, where X can be a positive integer such as 1.
[0140] Furthermore, the embodiment of the present application can perform preset processing on the data object corresponding to the tag according to the destination reader. For example, when a tag is acquired by readers set on multiple conveyor belts such as conveyor belt A and conveyor belt B, assuming that the RSSI value corresponding to the reader set on conveyor belt A is greater than the RSSI value corresponding to the reader set on conveyor belt B, the reader set on conveyor belt A can be used as the destination reader corresponding to the tag; and the data object corresponding to the tag can be placed on the shelf corresponding to conveyor belt A.
[0141] In summary, in the RF processing method of the embodiment of the present application, the master reader sends the first synchronization signal according to the first preset period, which can enable the slave reader to monitor the synchronization signal according to the first preset stage corresponding to the second preset period, and update the local clock frequency and time according to the monitoring result. Since the slave reader updates the local clock frequency and time, the clock frequency and time of the slave reader can be synchronized with the clock frequency and time of the reader (such as the master reader) where the monitoring result is located; therefore, the embodiment of the present application can achieve synchronization between the clock frequencies and times corresponding to the master reader and the slave reader.
[0142] Furthermore, the master reader of the embodiment of the present application will also send an ACK command to the tag and wait for the EPC information of the tag to reply even if it does not receive the RN16 information. In this way, different readers can send query instructions according to the same link, so the synchronization of query instructions sent between different readers can be achieved.
[0143] Method Example 2
[0144] Reference Figure 6 , shows a flowchart of the steps of a radio frequency processing method according to an embodiment of the present application, which can be applied to a slave reader / writer and can specifically include the following steps:
[0145] Step 601: Listen for a synchronization signal according to a first preset stage corresponding to a second preset period; wherein the master reader sends a first synchronization signal according to the first preset period; the first preset period may be a first preset multiple of the working period; the second preset period may be a second preset multiple of the working period, and the second preset multiple may be greater than the first preset multiple;
[0146] Step 602: Update the local clock frequency and time according to the interception result, so as to synchronize the clock frequency and time of the slave reader with the clock frequency and time of the reader where the interception result is located.
[0147] In one implementation of the present application, a slave reader may correspond to a mobile feature. In practical applications, the level corresponding to the slave reader may be determined based on the area range corresponding to the slave reader. The area range may be characterized by area features such as area or displacement distance. The present application embodiment may preset a first mapping relationship between the level and the set area range, so that a search may be performed in the first mapping relationship based on the area range corresponding to the slave reader to obtain the level corresponding to the slave reader.
[0148] In another implementation of the present application, the level corresponding to the slave reader can also be determined based on the distance between the slave reader and the master reader. The embodiment of the present application can preset a second mapping relationship between the level and the distance, so that the level corresponding to the slave reader can be obtained by searching in the second mapping relationship based on the distance between the slave reader and the master reader. It should be noted that in the case where the slave reader corresponds to a mobile feature, the distance between the slave reader and the master reader can be a dynamic distance, and the dynamic distance can correspond to a distance range [lower limit value of distance, upper limit value of distance]. The embodiment of the present application can search in the second mapping relationship based on the upper limit value of the dynamic distance to obtain the level corresponding to the slave reader.
[0149] In one example, among the M levels of slave readers, the distance between at least some of the slave readers of the i-th level and the master reader is not greater than the distance between at least some of the slave readers of the (i+1)-th level and the master reader; i is a positive integer not greater than M. At least some of the slave readers of the i-th level may include: some or all of the slave readers of the i-th level. At least some of the slave readers of the (i+1)-th level may include: some or all of the slave readers of the (i+1)-th level. The distance here may be a dynamic distance at a certain moment, which may include: an upper limit value of the dynamic distance. In other words, in some cases, the greater the distance between the slave reader and the master reader, the higher the corresponding level.
[0150] In another example, among the M levels of slave readers, at least some of the i-th level slave readers correspond to an area range that is not larger than at least some of the (i+1)-th level slave readers correspond to an area range. In other words, in some cases, the larger the area range corresponding to the slave reader, the higher the corresponding level.
[0151] After a reader is determined as a slave reader, the computer program instructions matching the slave reader can be stored in a storage module corresponding to the slave reader, wherein the computer program instructions matching the slave reader can be executed by the microprocessor of the slave reader to implement the process related to the slave reader.
[0152] Alternatively, after starting the slave reader / writer, computer program instructions matching the slave reader / writer may be loaded into the slave reader / writer so that the microprocessor of the slave reader / writer executes the computer program instructions to implement the process related to the slave reader / writer.
[0153] The slave reader may also correspond to a level, and different levels may correspond to different first preset stages. In a specific implementation, the second preset period may include: a preset number of stages; the number of stages included in the first preset stage corresponding to the slave reader of the jth level is equal to j; or, the number of stages included in the first preset stage corresponding to the slave reader of the (i+1)th level may be greater than the number of stages included in the first preset stage corresponding to the slave reader of the ith level; j is a positive integer not greater than M.
[0154] The number of stages included in the first preset stage corresponding to the j-th level slave reader / writer is equal to j, and the number of stages included in the second preset stage corresponding to the j-th level slave reader / writer is equal to the difference between the preset number and j; j is a positive integer not greater than M; or
[0155] The number of stages included in the first preset stage corresponding to the slave reader / writer of the (i+1)th level may be greater than the number of stages included in the first preset stage corresponding to the slave reader / writer of the i-th level; or
[0156] The number of stages included in the second preset stage corresponding to the slave reader / writer of the (i+1)th level may be smaller than the number of stages included in the second preset stage corresponding to the slave reader / writer of the i-th level.
[0157] The above-mentioned process of updating the local clock frequency and time may include: obtaining the synchronous pseudo-random sequence contained in the interception result; generating a local pseudo-random sequence according to the local clock frequency and time; determining the correlation value between the synchronous pseudo-random sequence and the local pseudo-random sequence; and updating the local clock frequency and time according to the correlation value. For example, the correlation value may correspond to an upper limit value, and the moment corresponding to the upper limit value of the correlation value may be used as the beginning of a new clock cycle of the local time, and the local clock frequency may be calibrated. In this way, the clock frequency and time of the slave reader and the clock frequency and time of the reader where the interception result is located can be synchronized. The reader where the interception result is located may include: a master reader or other slave readers.
[0158] In a specific implementation, when the first preset stage of the second preset cycle arrives, the M levels of slave readers and writers monitor the synchronization signal.
[0159] The method of the embodiment of the present application may further include: sending a second synchronization signal according to a second preset stage corresponding to a second preset cycle; the second synchronization signal is a signal generated according to the clock frequency and time of the slave reader / writer.
[0160] In a specific implementation, the second preset period may include: a preset number of stages;
[0161] The number of stages included in the second preset stage corresponding to the j-th level slave reader / writer may be equal to the difference between the preset number and j; j is a positive integer not greater than M; or
[0162] The number of stages included in the second preset stage corresponding to the slave reader / writer of the (i+1)th level may be smaller than the number of stages included in the second preset stage corresponding to the slave reader / writer of the i-th level.
[0163] In practical applications, when the distance between the slave reader and the master reader does not exceed the distance threshold, the slave reader can successfully detect the first synchronization signal of the master reader. However, when the distance between the slave reader and the master reader exceeds the distance threshold, the slave reader may not be able to detect the first synchronization signal of the master reader. Therefore, the embodiment of the present application uses the slave reader to send the second synchronization signal to increase the success rate of other slave readers to detect the synchronization signal.
[0164] It should be noted that before sending the second synchronization signal, the slave reader can update the local clock frequency and time according to the first synchronization signal sent by the master reader. Therefore, the second synchronization signal can be obtained according to the updated clock frequency and time. In this way, the slave reader can transfer the clock frequency and time that have been synchronized with the master reader to other slave readers, thereby achieving synchronization between multiple readers.
[0165] In a specific implementation, the second synchronization signal may conform to a modulation mode corresponding to the pulse interval coding. The second synchronization signal may include: a delimiter part, a data 0 part, a forward calibration part, a backward calibration part, a code part and a message part.
[0166] Among them, for the target parts such as the delimiter part, the data 0 part, the forward calibration part and the backward calibration part, the second synchronization signal can multiplex the field content of the PIE modulation signal for the target part.
[0167] For the code part, the field content corresponding to the second synchronization signal may be different from the field content corresponding to the PIE modulation signal. For example, the field content corresponding to the code part of the PIE modulation signal is 1000, while the field content corresponding to the code part of the second synchronization signal may be 1110.
[0168] The second synchronization signal may carry a message header and message data in the message part. The message data may include: data corresponding to the pseudo-random sequence. The second synchronization signal may carry configuration information of PIE modulation in the message header. After receiving the second synchronization signal sent by the first slave reader, the second slave reader may obtain the message header from the second synchronization signal, and configure the PIE modulation according to the configuration information of PIE modulation in the message header, thereby realizing the function of sharing the configuration between the slave readers.
[0169] The method of the embodiment of the present application may further include: communicating with the tag from the reader according to the working cycle;
[0170] Among them, the above-mentioned process of communicating with the tag specifically includes: sending a query instruction to the tag; waiting for the RN16 information replied by the tag; sending an ACK instruction to the tag when the RN16 information is received or not received; waiting for the EPC information replied by the tag.
[0171] Since the embodiment of the present application will also send a confirmation instruction to the tag and wait for the EPC information replied by the tag when the RN16 information is not received, different readers can send query instructions according to the same link, so the synchronization of sending query instructions between different readers can be achieved.
[0172] The EPC information received from the tag by the reader may also include: RSSI value.
[0173] In actual applications, the main reader can send EPC information to the server so that the server performs preset processing on the second information. The preset processing may include: summary processing, etc. For example, in the warehousing scenario of logistics objects, summary processing can obtain the logistics object information entering the warehouse.
[0174] In summary, in the RF processing method of the embodiment of the present application, the slave reader / writer listens to the synchronization signal according to the first preset stage corresponding to the second preset period, and updates the local clock frequency and time according to the listening result. Since the slave reader / writer updates the local clock frequency and time, the clock frequency and time of the slave reader / writer can be synchronized with the clock frequency and time of the reader / writer (such as the master reader / writer) where the listening result is located; therefore, the embodiment of the present application can achieve synchronization between the clock frequencies and times corresponding to the master reader / writer and the slave reader / writer.
[0175] Furthermore, the slave reader of the embodiment of the present application will also send an ACK command to the tag and wait for the EPC information of the tag reply even if it does not receive the RN16 information. In this way, different readers can send query instructions according to the same link, so the synchronization of query instructions sent between different readers can be achieved.
[0176] In addition, when the distance between the slave reader and the master reader exceeds the distance threshold, the slave reader may not be able to detect the first synchronization signal of the master reader. In view of the above situation, the embodiment of the present application uses at least some of the slave readers to send the second synchronization signal, which can increase the success rate of other slave readers to detect the synchronization signal.
[0177] Method Example 3
[0178] Reference Figure 7 , shows a flowchart of a radio frequency processing method according to an embodiment of the present application, which method may specifically include the following steps:
[0179] Step 701: The master reader generates a first synchronization signal according to the local clock frequency and time;
[0180] Step 702: The master reader sends a first synchronization signal according to a first preset period; the first preset period may be a first preset multiple of a working period; the working period may be a communication period between the master reader and the tag;
[0181] Step 703: The slave reader / writer monitors the synchronization signal according to the first preset stage corresponding to the second preset period; the second preset period may be a second preset multiple of the working period, and the second preset multiple may be greater than the first preset multiple;
[0182] Step 704: The slave reader updates the local clock frequency and time according to the interception result, so as to synchronize the clock frequency and time of the slave reader with the clock frequency and time of the reader where the interception result is located.
[0183] In the radio frequency processing method of the embodiment of the present application, the master reader sends a first synchronization signal according to a first preset period, and the slave reader listens to the synchronization signal according to a first preset stage corresponding to a second preset period, and updates the local clock frequency and time according to the listening result. Since the slave reader updates the local clock frequency and time, the clock frequency and time of the slave reader can be synchronized with the clock frequency and time of the reader (such as the master reader) where the listening result is located; therefore, the embodiment of the present application can achieve synchronization between the clock frequencies and times corresponding to the master reader and the slave reader.
[0184] While achieving synchronization between the clock frequencies and times corresponding to the master reader / writer and the slave reader / writer, the embodiments of the present application enable multiple readers / writers to communicate with the tags according to the synchronized clock frequencies and times, for example, simultaneously sending instructions to the tags, or simultaneously receiving reply information from the tags, etc.; in this way, the embodiments of the present application can reduce the interference between the radio frequency signals emitted by the two readers / writers; therefore, the success rate of reading tag information can be improved.
[0185] In practical applications, the slave reader / writer may specifically include: M levels of slave readers / writers; M may be a positive integer;
[0186] Among the M levels of slave readers, the distance between at least some of the slave readers of the i-th level and the master reader is not greater than the distance between at least some of the slave readers of the i+1-th level and the master reader; i is a positive integer not greater than M; and / or
[0187] Among the M levels of slave readers and writers, the area range corresponding to at least part of the slave readers and writers at the i-th level is not larger than the area range corresponding to at least part of the slave readers and writers at the (i+1)th level.
[0188] In practical applications, the method may further include: the slave reader sends a second synchronization signal according to a second preset stage corresponding to a second preset period; the second synchronization signal may be a signal generated according to the local clock frequency and time of at least part of the slave reader. The embodiment of the present application uses at least part of the slave reader to send the second synchronization signal, which can increase the success rate of other slave readers to listen to the synchronization signal.
[0189] In practical applications, the slave reader / writer may specifically include: M levels of slave readers / writers; at least some of the M levels of slave readers / writers send the second synchronization signal according to the second preset stage corresponding to the second preset period;
[0190] The at least part of slave readers / writers include: slave readers / writers of the jth level, where j is a positive integer not greater than M.
[0191] In practical applications, the second preset period may specifically include: a preset number of stages;
[0192] The number of stages included in the first preset stage corresponding to the j-th level slave reader / writer is equal to j, and the number of stages included in the second preset stage corresponding to the j-th level slave reader / writer is equal to the difference between the preset number and j; j is a positive integer not greater than M; or
[0193] The number of stages included in the first preset stage corresponding to the slave reader / writer of the (i+1)th level is greater than the number of stages included in the first preset stage corresponding to the slave reader / writer of the i-th level; or
[0194] The number of stages included in the second preset stage corresponding to the slave reader / writer of the (i+1)th level is smaller than the number of stages included in the second preset stage corresponding to the slave reader / writer of the i-th level.
[0195] In practical applications, the master reader / writer may correspond to a stationary feature, and the slave reader / writer may correspond to a mobile feature.
[0196] In practical applications, the level corresponding to the slave reader / writer can be determined according to the area range corresponding to the slave reader / writer and / or the distance between the slave reader / writer and the master reader / writer.
[0197] In actual applications, the process of the master reader or the slave reader communicating with the tag according to the working cycle may specifically include: sending a query instruction to the tag; waiting for the RN16 information replied by the tag; sending an ACK instruction to the tag when the RN16 information is received or not received; waiting for the EPC information replied by the tag.
[0198] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0199] Device Embodiment
[0200] Reference Figure 8 , shows a schematic diagram of the structure of a radio frequency processing device according to an embodiment of the present application, the device is applied to a main reader and may specifically include the following modules:
[0201] A generating module 801, configured to generate a first synchronization signal according to a local clock frequency and time;
[0202] The sending module 802 is used to send a first synchronization signal according to a first preset period; the first preset period is a first preset multiple of a working period; the working period is a communication period between the main reader and the tag.
[0203] Optionally, the master reader / writer corresponds to a static feature.
[0204] Optionally, the device may further include: a tag communication module, configured to communicate with the tag according to a working cycle;
[0205] The process of communicating with the tag according to the working cycle includes:
[0206] Send query instructions to the tag;
[0207] Waiting for the tag to reply RN16 information;
[0208] In case of receiving the first information or not receiving the RN16 information, sending a confirmation instruction to the tag;
[0209] Waiting for the EPC information from the tag.
[0210] Optionally, the first synchronization signal complies with a modulation mode corresponding to pulse interval coding.
[0211] Reference Fig. 9 , shows a schematic diagram of the structure of a radio frequency processing device according to an embodiment of the present application, the device is applied to a slave reader / writer, and may specifically include the following modules:
[0212] The monitoring module 901 is used to monitor the synchronization signal according to the first preset stage corresponding to the second preset period; wherein the master reader sends the first synchronization signal according to the first preset period; the first preset period is a first preset multiple of the working period; the second preset period is a second preset multiple of the working period, and the second preset multiple is greater than the first preset multiple;
[0213] The updating module 902 is used to update the local clock frequency and time according to the interception result, so as to synchronize the clock frequency and time of the slave reader with the clock frequency and time of the reader where the interception result is located.
[0214] Optionally, the level corresponding to the slave reader / writer may be determined according to the area range corresponding to the slave reader / writer and / or the distance between the slave reader / writer and the master reader / writer.
[0215] Optionally, the main reader / writer may correspond to a mobile feature.
[0216] Optionally, the device further comprises:
[0217] The sending module is used to send a second synchronization signal according to a second preset stage corresponding to a second preset cycle; the second synchronization signal can be a signal generated according to the clock frequency and time of the at least partially slave reader / writer.
[0218] Optionally, the device may further include: a tag communication module, configured to communicate with the tag according to a working cycle;
[0219] The process of communicating with the tag according to the working cycle includes:
[0220] Send query instructions to the tag;
[0221] Waiting for the tag to reply RN16 information;
[0222] In the case of receiving RN16 information or not receiving RN16 information, a confirmation instruction is sent to the tag;
[0223] Waiting for the EPC information of the tag to reply.
[0224] Optionally, the second synchronization signal complies with a modulation mode corresponding to pulse interval coding.
[0225] Reference Fig.10 , shows a schematic structural diagram of a radio frequency processing system according to an embodiment of the present application, which may specifically include: a master reader 1001 and a slave reader 1002.
[0226] The main reader / writer 1001 may specifically include:
[0227] A generating module, used for generating a first synchronization signal according to a local clock frequency and time;
[0228] A first sending module, used for sending a first synchronization signal according to a first preset period; the first preset period is a first preset multiple of a working period; the working period is a communication period between the main reader and the tag;
[0229] The slave reader 1002 may specifically include:
[0230] A listening module, configured to listen to a synchronization signal according to a first preset stage corresponding to a second preset period; wherein the master reader sends a first synchronization signal according to the first preset period; the first preset period is a first preset multiple of the working period; the second preset period is a second preset multiple of the working period, and the second preset multiple is greater than the first preset multiple;
[0231] The updating module is used to update the local clock frequency and time according to the monitoring result, so as to synchronize the clock frequency and time of the slave reader with the clock frequency and time of the reader where the monitoring result is located.
[0232] Optionally, the slave reader 1002 may further include:
[0233] The second sending module is used to send a second synchronization signal according to a second preset stage corresponding to a second preset cycle; the second synchronization signal can be a signal generated according to the clock frequency and time of the at least partially slave reader / writer.
[0234] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.
[0235] The present application embodiment provides one or more machine-readable media, on which instructions are stored, and when executed by one or more processors, an electronic device executes one or more methods as described in the above embodiments. In the present application embodiment, the electronic device includes a server, a terminal device, and the like.
[0236] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as a server (cluster), a terminal, etc. Fig.11 An exemplary apparatus 1700 that can be used to implement various embodiments described in this application is schematically illustrated.
[0237] For one embodiment, Fig.11 An exemplary apparatus 1700 is shown having one or more processors 1702, a control module (chip set) 1704 coupled to at least one of the (one or more) processors 1702, a memory 1706 coupled to the control module 1704, a non-volatile memory (NVM) / storage device 1708 coupled to the control module 1704, one or more input / output devices 1680 coupled to the control module 1704, and a network interface 1682 coupled to the control module 1704.
[0238] The processor 1702 may include one or more single-core or multi-core processors, and the processor 1702 may include any combination of general-purpose processors or dedicated processors (such as radio frequency processors, application processors, baseband processors, etc.). In some embodiments, the device 1700 can be used as a server, terminal, or other device described in the embodiments of the present application.
[0239] In some embodiments, the device 1700 may include one or more computer-readable media (e.g., memory 1706 or NVM / storage device 1708) having instructions 1684 and one or more processors 1702 configured to execute the instructions 1684 in combination with the one or more computer-readable media to implement the module to perform the actions described in the present disclosure.
[0240] For one embodiment, the control module 1704 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 1702 and / or any suitable device or component in communication with the control module 1704 .
[0241] The control module 1704 may include a memory controller module to provide an interface to the memory 1706. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0242] The memory 1706 may be used, for example, to load and store data and / or instructions 1684 for the device 1700. For one embodiment, the memory 1706 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 1706 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0243] For one embodiment, control module 1704 may include one or more input / output controllers to provide an interface to NVM / storage device 1708 and input / output device(s) 1680 .
[0244] For example, NVM / storage 1708 may be used to store data and / or instructions 1684. NVM / storage 1708 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).
[0245] NVM / storage device 1708 may include storage resources that are part of the device on which apparatus 1700 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 1708 may be accessed via (one or more) input / output devices 1680 over a network.
[0246] (One or more) input / output devices 1680 may provide an interface for the apparatus 1700 to communicate with any other appropriate device, and the input / output device 1680 may include a communication component, an audio component, a sensor component, etc. The network interface 1682 may provide an interface for the apparatus 1700 to communicate through one or more networks, and the apparatus 1700 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, accessing a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.
[0247] For one embodiment, at least one of the processor(s) 1702 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 1704. For one embodiment, at least one of the processor(s) 1702 may be packaged together with the logic of one or more controllers of the control module 1704 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 1702 may be integrated on the same die with the logic of one or more controllers of the control module 1704. For one embodiment, at least one of the processor(s) 1702 may be integrated on the same die with the logic of one or more controllers of the control module 1704 to form a system-on-chip (SoC).
[0248] In various embodiments, the device 1700 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 1700 may have more or fewer components and / or a different architecture. For example, in some embodiments, the device 1700 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0249] Among them, the main control chip can be used as a processor or control module in device 1700, sensor data, location information, etc. are stored in a memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.
[0250] An embodiment of the present application further provides an electronic device, comprising: a processor; and a memory, on which executable code is stored, and when the executable code is executed, the processor executes one or more methods described in the embodiments of the present application.
[0251] The embodiments of the present application also provide one or more machine-readable media on which executable codes are stored. When the executable codes are executed, the processor executes one or more methods described in the embodiments of the present application.
[0252] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0253] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0254] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable radio frequency processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable radio frequency processing terminal device generate a device for implementing the functions specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0255] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable radio frequency processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0256] These computer program instructions can also be loaded onto a computer or other programmable RF processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce computer-implemented processing, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0257] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0258] Finally, 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 terminal 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 terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0259] The above is a detailed introduction to a radio frequency processing method, a radio frequency processing system and a storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A radio frequency processing method, characterized in that: The main reader generates a first synchronization signal according to the local clock frequency and time; The main reader sends a first synchronization signal according to a first preset period; the first preset period is a first preset multiple of a working period; the working period is a communication period between the main reader and the tag; The slave reader / writer monitors the synchronization signal according to the first preset stage corresponding to the second preset period; The second preset period is a second preset multiple of the working period, and the second preset multiple is greater than the first preset multiple; The slave reader / writer updates the local clock frequency and time according to the interception result, so as to synchronize the clock frequency and time of the slave reader / writer with the clock frequency and time of the reader / writer where the interception result is located.
2. The method according to claim 1, characterized in that The slave reader / writer includes: M levels of slave readers / writers; M is a positive integer; Among the M levels of slave readers, the distance between at least some of the slave readers of the i-th level and the master reader is not greater than the distance between at least some of the slave readers of the i+1-th level and the master reader; i is a positive integer not greater than M; and / or Among the M levels of slave readers and writers, the area range corresponding to at least part of the slave readers and writers at the i-th level is not larger than the area range corresponding to at least part of the slave readers and writers at the (i+1)th level.
3. The method according to claim 1, characterized in that The method further comprises: The slave reader / writer sends a second synchronization signal according to a second preset stage corresponding to a second preset cycle; the second synchronization signal is a signal generated according to the local clock frequency and time of the slave reader / writer.
4. The method according to claim 3, characterized in that The slave reader / writer includes: M levels of slave readers / writers; at least some of the M levels of slave readers / writers send a second synchronization signal according to a second preset stage corresponding to a second preset period; The at least part of slave readers / writers include: slave readers / writers of the jth level, where j is a positive integer not greater than M.
5. The method according to claim 3, characterized in that: The second preset period includes: a preset number of stages; The number of stages included in the first preset stage corresponding to the j-th level slave reader / writer is equal to j, and the number of stages included in the second preset stage corresponding to the j-th level slave reader / writer is equal to the difference between the preset number and j; j is a positive integer not greater than M; or The number of stages included in the first preset stage corresponding to the slave reader / writer of the (i+1)th level is greater than the number of stages included in the first preset stage corresponding to the slave reader / writer of the i-th level; or The number of stages included in the second preset stage corresponding to the slave reader / writer of the (i+1)th level is smaller than the number of stages included in the second preset stage corresponding to the slave reader / writer of the i-th level.
6. The method according to any one of claims 1 to 5, characterized in that: The master reader / writer corresponds to a stationary feature, and the slave reader / writer corresponds to a moving feature.
7. The method according to any one of claims 1 to 5, characterized in that: The level corresponding to the slave reader is determined according to the area range corresponding to the slave reader and / or the distance between the slave reader and the master reader.
8. The method according to any one of claims 1 to 5, characterized in that: The process in which the master reader or the slave reader communicates with the tag according to the working cycle includes: Send query instructions to the tag; Waiting for the tag to reply to the RN16 message; When receiving RN16 information or not receiving RN16 information, sending ACK instruction to the tag; Waiting for the EPC information of the tag to reply.
9. A radio frequency processing system, characterized in that: The system comprises: a master reader and a slave reader; Wherein, the master reader and the slave reader execute any one of the methods described in claims 1 to 8.
10. A machine-readable medium having executable codes stored thereon, which, when executed, causes a processor to perform the method according to any one of claims 1 to 8.