WO2020020358A1 - Procédé et appareil permettant de déterminer une durée de temps de résidence, dispositif et support de stockage - Google Patents

Procédé et appareil permettant de déterminer une durée de temps de résidence, dispositif et support de stockage Download PDF

Info

Publication number
WO2020020358A1
WO2020020358A1 PCT/CN2019/097953 CN2019097953W WO2020020358A1 WO 2020020358 A1 WO2020020358 A1 WO 2020020358A1 CN 2019097953 W CN2019097953 W CN 2019097953W WO 2020020358 A1 WO2020020358 A1 WO 2020020358A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
rfid
collection
rfid data
time
Prior art date
Application number
PCT/CN2019/097953
Other languages
English (en)
Chinese (zh)
Inventor
李聪
史超
赵尚宇
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2020020358A1 publication Critical patent/WO2020020358A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Definitions

  • the present application relates to the field of data processing technologies, and in particular, to a method, a device, a device, and a storage medium for determining a residence time.
  • RFID Radio Frequency Identification
  • front-end collection equipment can collect hundreds of millions of RFID data every day.
  • These RFID data are RFID tags carried by the carrier.
  • the carrier includes a person or a moving object. Based on these RFID data, the residence time of the carrier in a certain place can be calculated in real time, which provides a basis for subsequent relevant regulatory measures (such as tracking the travel path of the carrier) of the carrier.
  • the RFID tag When the RFID tag enters the acquisition area of the acquisition device (for example, the magnetic field area of the acquisition device), the RFID tag can send the first frequency signal to the acquisition device through the transmitter device, and then the acquisition device times the first frequency signal and sends it to the statistics device.
  • the second frequency signal is sent, so that the statistical device analyzes the timing information of the second frequency signal, thereby obtaining the residence time of the RFID tag in the above-mentioned collection area.
  • the above method can only calculate the residence time of the RFID tag in the acquisition area where it is currently located, and cannot accurately count the residence time of the RFID tag in the acquisition area of each acquisition device.
  • the present application provides a method, a device, a device, and a storage medium for determining the dwell time, which can accurately count the dwell time of the RFID tag in the collection area of each collection device.
  • a method for determining the length of stay including:
  • the dwell time of the target RFID tag in the each collection area is determined according to the difference.
  • a device for determining residence time including:
  • the query request receiving module is configured to receive a query request for querying a dwell time of a target RFID tag, where the query request includes identification information of the target RFID tag;
  • a tag data query module configured to query a plurality of pieces of RFID data of the target RFID tag in each collection area from a database according to the identification information, and each piece of RFID data includes a data collection time;
  • a time difference determining module configured to determine a difference between data collection times of each two adjacent data in the plurality of RFID data
  • the dwell time determining module is configured to determine a dwell time of the target RFID tag in each acquisition area according to the difference value.
  • an electronic device includes:
  • Memory configured to store processor-executable instructions
  • the processor is configured to execute the method for determining a dwell duration described in the first aspect.
  • a computer-readable storage medium on which a computer program is stored.
  • the program is processed by a processor, the method for determining the dwell time described in the first aspect is implemented.
  • the method, device, device and storage medium for determining the dwell time receive a query request for querying the dwell time of a target RFID tag, and the query request includes identification information of the target RFID tag, and Querying a plurality of pieces of RFID data of the target RFID tag in each collection area from the database according to the identification information, each piece of RFID data including a data collection time, and then determining that among the plurality of pieces of RFID data, each adjacent
  • the difference between the data collection time of the two data, and then the residence time of the target RFID tag in each collection area is determined according to the difference, and the target RFID tag can be determined at each of the multiple RFID data collection times.
  • the dwell time of the collection area can accurately calculate the dwell time of multiple collection areas of an RFID tag, which is conducive to taking relevant monitoring measures for the target RFID tag carrier based on the dwell time to meet user needs.
  • FIG. 1 is a flowchart of a method for determining a dwell time shown in an exemplary embodiment of the present application
  • FIG. 2 is a flowchart illustrating how to determine a difference between data collection times of each two adjacent pieces of data in the multiple pieces of RFID data according to an exemplary embodiment of the present application;
  • FIG. 3 is a flowchart of a method for determining a dwell time period according to another exemplary embodiment of the present application.
  • FIG. 4 is a flowchart illustrating how to transfer RFID data to be stored to a database for storage according to an exemplary embodiment of the present application
  • FIG. 5 is a flowchart illustrating how to query the RFID data of a target RFID tag from a database according to an exemplary embodiment of the present application
  • FIG. 6 is a structural block diagram of a device for determining a dwell time shown in an exemplary embodiment of the present application.
  • FIG. 7 is a structural block diagram of a device for determining a dwell time, shown in still another exemplary embodiment of the present application.
  • Fig. 8 is a structural block diagram of an electronic device according to an exemplary embodiment of the present application.
  • first, second, third, etc. may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information.
  • word “if” as used herein can be interpreted as “at” or "when” or "in response to determination”.
  • FIG. 1 is a flowchart of a method for determining a dwell time shown in an exemplary embodiment of the present application; this embodiment can be used for a server (for example, a server cluster or a server cluster composed of multiple servers), or Used for terminal equipment (such as mobile phones, tablets, PCs, etc.). As shown in Figure 1, the method includes the following steps:
  • S101 Receive a query request for querying the dwell time of a target RFID tag.
  • the query request includes identification information of the target RFID tag.
  • the identification information may include a number, a name, an ID (identifier), and the like, which is not limited in this embodiment.
  • the server may receive a query request sent by the user, and the query request may be used to query the residence time of the target RFID tag in the collection area of each collection device.
  • the above-mentioned acquisition device may include an RFID-capable device, such as a fixed or handheld RFID tag reader.
  • the content of the above query request may be set by the developer according to actual business needs, such as the time range of the query or the minimum expected residence time. Etc. (This value can be used to filter data that the calculation result of the dwell time does not satisfy the minimum value), which is not limited in this embodiment.
  • S102 Query a plurality of pieces of RFID data of the target RFID tag in each collection area from the database according to the identification information.
  • multiple pieces of RFID data of the target RFID tag in each collection area may be stored in a database in advance.
  • a database for specific storage methods, refer to the embodiment shown in FIG. 3 below, which will not be described in detail here.
  • the server after the server receives a query request for querying the dwell time of the target RFID tag, it can query the database of the target RFID tag in each collection area according to the identification information of the target RFID tag. RFID data.
  • each piece of the RFID data may include identification information of a target RFID tag, identification information of a collection device to which the corresponding collection area belongs, and collection time of the piece of data.
  • the identification information of the target RFID tag is "123”
  • the identification information of the collection device is "ABC”
  • the data collection time is "15:30:00, May 12, 2018”
  • the The RFID data is "tag identification information:” 123 “; collection equipment identification information:” ABC “; collection time:” 1526110200000 “, where the collection time is stored in the form of a timestamp.
  • the collection device may collect RFID data of the target RFID tag based on a preset time window. Taking the target RFID tag "123" as an example, if the target RFID tag is located in the acquisition area of the acquisition device "ABC" from 15:30:00 on May 12, 2018 to 15:40:00 on May 12, 2018, And the preset time window is 5 minutes, the collection device can collect multiple pieces of RFID data, and transmit the multiple pieces of RFID data to a database for storage.
  • the storage manner of the above-mentioned RFID data can also refer to the embodiment shown in FIG. 3 below, which will not be described in detail here.
  • the server can query the database for multiple pieces of RFID data of the target RFID tag in the collection area based on the identification information.
  • S103 Determine the difference between the data collection times of each two adjacent pieces of data in the plurality of pieces of RFID data.
  • the server after the server queries the database for multiple pieces of RFID data of the target RFID tag in each collection area, it can calculate the data collection time of each adjacent two pieces of data in the multiple pieces of RFID data. Difference.
  • multiple pieces of RFID data can be queried to determine the time when the target RFID tag "123" is in the acquisition area of the acquisition device "ABC" (that is, the acquisition time of the data is expressed in the form of a timestamp) As follows:
  • S104 Determine the dwell time of the target electronic tag in each collection area according to the difference.
  • the above-mentioned target RFID tag "123" is still taken as an example.
  • the adjacent timestamps can be accumulated.
  • the difference and other methods calculate that the residence time of the target electronic tag "123" in the acquisition area of the acquisition device "ABC” is 600s, that is, 10 minutes.
  • the traveling path of the target RFID tag can be tracked according to the residence time of the target RFID tag in each collection area.
  • the query request includes identification information of the target RFID tag, and queries from a database according to the identification information.
  • FIG. 2 is a flowchart illustrating how to determine a difference between data collection times of each two adjacent pieces of data in the multiple pieces of RFID data according to an exemplary embodiment of the present application; based on the foregoing embodiment, How to determine the difference between the data collection time of each two adjacent data among the multiple pieces of RFID data is taken as an example for example.
  • determining the difference between the data collection times of each two adjacent data among the multiple pieces of RFID data described in step S103 may include the following steps S201-S202:
  • S201 Sort the collection time of the multiple pieces of RFID data in each of the collection areas to obtain the collection time of the sorted pieces of RFID data.
  • the collection time of multiple pieces of RFID data of each collection area obtained from the database may not be arranged in order.
  • the collection time of the plurality of RFID data of each of the collection areas may be sorted first to obtain the collection time of the sorted multiple pieces of RFID data.
  • the collection time of the plurality of pieces of RFID data in each of the collection areas may be arranged in ascending or descending order, which is not limited in this embodiment.
  • S202 Calculate the difference between the collection times of two adjacent RFID data among the sorted collection times of the RFID data to form a difference set.
  • the difference between the two adjacent data collection times can be calculated, that is, the next data collection time. Subtract the value from the previous data acquisition time.
  • the difference between the collection times of the two adjacent RFID data may be calculated, that is, the previous one. Data acquisition time minus the value of the next data acquisition time.
  • determining the residence time of the target electronic tag in each collection area according to the difference in step S104 may include:
  • the difference values in the difference set that are less than or equal to a preset time threshold are accumulated to obtain a residence time of the target electronic tag in each of the collection areas.
  • the difference between the difference values that is less than or equal to a preset time threshold may be accumulated to obtain the target electronic tag at The dwell time of each of the acquisition areas.
  • the difference between the two adjacent RFID data collection times can be calculated It is "30 seconds, 40 seconds, 20 seconds", and it can be determined that these differences are less than a preset time threshold. By accumulating these differences, the residence time of the target electronic tag in the acquisition area is 90 seconds.
  • the difference between two adjacent RFID data collection times is greater than a preset time threshold, it can be determined that the target RFID tag has left the above-mentioned collection area halfway, and then entered the above-mentioned collection area again, resulting in before and after collection.
  • the interval between the two RFID data collection times is too large (that is, the difference is greater than a preset time threshold).
  • the time that the target RFID tag leaves the collection area should not be counted as the dwell time, so the difference between the two adjacent RFID data collection times is greater than the preset time threshold and does not meet the preset difference condition.
  • this embodiment sorts the collection time of the multiple pieces of RFID data in each of the collection areas to obtain the collection time of the sorted pieces of RFID data, and calculates the sorted pieces of RFID data.
  • the acquisition time the difference between the acquisition times of two adjacent RFID data, and then the difference between the difference values that is less than or equal to a preset time threshold is accumulated to obtain the target electronic tag in each of the
  • the residence time of the collection area can quickly and accurately determine the residence time of the target electronic tag in each collection area based on the data collection time of multiple pieces of RFID data.
  • FIG. 3 is a flowchart of a method for determining a dwell time shown in another exemplary embodiment of the present application; this embodiment may be used for a server (for example, a server cluster or a server cluster composed of multiple servers), and Can be used for terminal equipment (such as mobile phones, tablets, PCs, etc.). As shown in FIG. 1, the method includes steps S301-S308:
  • S301 Receive multiple pieces of RFID data of the target RFID tag.
  • the multiple pieces of data may be sent to the server.
  • the above-mentioned acquisition device sends RFID data to the server in real time, or it can send RFID data to the server according to a preset period.
  • the period can be set by the developer according to actual needs. This embodiment does not perform this. limited.
  • the server can establish a communication connection with the acquisition device in a wired or wireless manner, and then can receive multiple pieces of RFID data sent by the acquisition device based on the established communication connection.
  • S302 Preprocess the received pieces of RFID data to obtain RFID data to be stored in a first preset format.
  • the server can pre-process the received multiple pieces of RFID data in the following two ways:
  • the server may first perform deduplication processing on the multiple pieces of RFID data, and then filter out interference data from the deduplicated RFID data.
  • the second method the server may first filter out interference data from the multiple pieces of RFID data, and then perform deduplication processing on the filtered RFID data.
  • the interference data may be set by a developer, and this embodiment is not limited thereto.
  • the deduplication processing in the above two manners may include:
  • the server may combine multiple pieces of RFID data of the target RFID tag in the same collection area in a preset time window to obtain one piece of combined data.
  • the combined data may include the collection time points of the multiple pieces of RFID data, and a new "collection time set" may be added to save the collection time points of multiple pieces of RFID data, and the same collection area corresponds to The same acquisition equipment.
  • the foregoing preset time window can be set by a developer according to actual business requirements, such as 2 minutes, 5 minutes, and the like, which is not limited in this embodiment.
  • the preset time window is 5 minutes
  • the multiple pieces of RFID data received by the server are:
  • Identification information of the label "123”; identification information of the collection device: “ABC”; collection time: “1526110200000”;
  • Identification information of the label “123”; identification information of the collection device: “ABC”; collection time: “1526110201000”;
  • Identification information of the label "123”; identification information of the collection device: “ABC”; collection time: “1526110202000”;
  • Identification information of the label “123”; identification information of the collection device: “ABC”; collection time: “1526110499000”;
  • Identification information of the label "123”; identification information of the collection device: “ABC”; collection time: “1526110500000”;
  • the above data are all RFID data of the same RFID tag collected by the same collection device, that is, the RFID data of the RFID tag "123" is collected by the collection device "ABC", so multiple pieces of RFID data in each preset time window can be combined A piece of data containing the collection time of each piece of RFID data is obtained, and then the combined data of the preset time window can be obtained, as shown below:
  • Identification information of the label "123”; identification information of the collection device: “ABC”; collection time: “1526110200000”; collection time collection: “1526110200000, 1526110230000, ..., 1526110500000”;
  • S303 Convert the RFID data to be stored from the first preset format to a second preset format.
  • the above-mentioned first preset format may include a format that the RFID data sent by the acquisition device to the server has after deduplication processing.
  • the second preset format may be a data format for storing in a database
  • the data format may be set by a developer according to the characteristics of the database and the storage and query rules of the database. Not limited.
  • the RFID data to be stored may be converted from a first preset format to a second preset format for subsequent transmission and storage to a database.
  • S304 Transfer the RFID data to be stored in the second preset format to a database for storage.
  • the RFID data to be stored in the second preset format may be transferred to a database for storage.
  • the server can establish a communication connection with the database in a wired or wireless manner, and can further send the above-mentioned RFID data to be stored in the second preset format to the database based on the established communication connection.
  • S305 Receive a query request for querying the dwell time of the target RFID tag, where the query request includes identification information of the target RFID tag.
  • S306 Query a plurality of RFID data of the target RFID tag in each collection area from the database according to the identification information;
  • each piece of RFID data includes a data collection time.
  • S307 Determine the difference between the data collection times of each two adjacent pieces of data in the plurality of pieces of RFID data.
  • S308 Determine the dwell time of the target electronic tag in each collection area according to the difference.
  • each RFID of the target RFID tag queried from the database in step S306 is processed.
  • the data includes a data collection time set, and then in step S307, the target electronic tag may be determined in each of the collections according to a difference set of data collection times of each two adjacent data in the multiple pieces of RFID data that are sorted. The duration of the area.
  • the RFID data to be stored in a first preset format is obtained, and then The RFID data to be stored is converted from the first preset format to the second preset format, and the RFID data to be stored in the second preset format is transferred to a database for storage, which can realize the storage of the target RFID tag in the database.
  • the RFID data can be used to query multiple RFID data of the target RFID tag in each collection area based on the database, and calculate the residence time of the target electronic tag in each collection area.
  • Fig. 4 is a flow chart showing how to transfer RFID data to be stored to a database for storage according to an exemplary embodiment of the present application; on the basis of the above embodiment, this embodiment uses the database as a distributed storage system HBASE.
  • the example in which the second preset format is a RowKey format is described as an example.
  • transmitting the RFID data to be stored in the second preset format to a database for storage as described in step S304 may include the following steps S401-S402:
  • S401 Construct a plurality of regions for storing RFID data according to a preset region region design rule.
  • the distributed storage system HBASE since the distributed storage system HBASE is used to store RFID data, multiple regions for storing RFID data may be constructed according to a preset partition region design rule.
  • the above region design rules can be set by a developer according to actual business needs and experience of balancing data load.
  • multiple regions for storing RFID data may be constructed according to the year and month of collection time and a preset region number. For example, a fixed number of regions can be constructed in advance according to the year, month, and region number of the data collection time. When the region number is less than three digits, they are filled with 0. When the region number exceeds three digits, you can directly follow the year, month, and year The region number constructs a fixed number of regions in advance.
  • S402 Store the RFID data to be stored in the second preset format to a target region in the multiple regions that matches the RFID data to be stored.
  • a target region matching the RFID data to be stored may be determined from the multiple regions, and the RFID to be stored in the second preset format may be further described.
  • the data is stored in the determined target region.
  • the second preset format may be a RowKey format
  • the format of the RowKey may be as shown in the following formula (1):
  • [YyyyMM] is the year and month of the collection time
  • [xxx] is the hash value of the identification information of the target RFID tag
  • [RFID_id] is the identification information of the target RFID tag
  • [collect_time] is the corresponding time of the collection time Timestamp.
  • the above [RFID_id] can be completed with 0 to M digits (for example, to 18 digits) to be compatible with ID naming rules of RFID tags manufactured by different manufacturers.
  • the above [xxx] may be 0-completion to N-digits (eg, completion to 3 digits).
  • a corresponding hash rule may be set so that the calculated hash values [xxx] are between 000 and 019, thereby ensuring data load balance, that is, ensuring that RFID data is stored more uniformly in Among the 20 regions already constructed above.
  • multiple regions for storing RFID data are constructed according to a preset design rule of a partitioned region, and the RFID data to be stored in the second preset format is stored in the multiple regions.
  • the target region matching the RFID data to be stored can ensure that the RFID data collected by the same RFID tag in the same month is stored in a continuous region of the same region. In this way, when querying the RFID data of the RIFD tag, the entire data of the RFID tag can be quickly obtained through a scan operation, thereby improving the efficiency of subsequent calculation of the dwell time of the RFID tag.
  • FIG. 5 is a flowchart showing how to query the RFID data of a target RFID tag from a database according to an exemplary embodiment of the present application; based on the above embodiment, this embodiment uses the query request to further include a start time and The end time is taken as an example for illustrative purposes.
  • querying multiple pieces of RFID data of the target RFID tag in each collection area from the database as described in step S102 may include the following steps S501-S504:
  • S501 Generate a StartRowKey in the format of the RowKey according to the start time and the identification information.
  • the StartRowKey is one of the information identifiers of the corresponding region, that is, the starting RowKey of the region.
  • a StartRowKey with a RowKey format can be generated according to the start time in the query request and the identification information of the target RFID tag.
  • S502 Generate an EndRowKey in the format of the RowKey according to the end time and the identification information.
  • the aforementioned EndRowKey is one of the information identifiers of the corresponding region, that is, the ending RowKey of the region.
  • an EndRowKey with a RowKey format can be generated according to the end time in the query request and the identification information of the target RFID tag.
  • S503 Generate a scan request for sending to the HBASE according to the StartRowKey and the EndRowKey.
  • a scan request for sending to the HBASE may be generated according to the generated StartRowKey and EndRowKey.
  • S504 Receive multiple pieces of RFID data of the target RFID tag in each collection area returned by the HBASE based on the Scan request.
  • multiple pieces of RFID data of the target RFID tag in each collection area returned by the HBASE based on the Scan request may be received.
  • this embodiment generates a StartRowKey in the format of the RowKey according to the start time and the identification information, and generates an EndRowKey in the format of the RowKey according to the end time and the identification information, and then Generating a Scan Scan request for sending to the HBASE according to the StartRowKey and EndRowKey, and then receiving multiple pieces of RFID data of the target RFID tag in each collection area returned by the HBASE based on the Scan request, The full amount of data of the RFID tag can be quickly obtained through a scan operation, thereby improving the efficiency of subsequent calculation of the residence time of the RFID tag.
  • FIG. 6 is a structural block diagram of an apparatus for determining a dwell time shown in an exemplary embodiment of the present application; as shown in FIG. 6, the apparatus includes: a query request receiving module 110, a tag data query module 120, and a time difference determination The module 130 and the dwell duration determination module 140.
  • the query request receiving module 110 is configured to receive a query request for querying a dwell time of a target RFID tag, where the query request includes identification information of the target RFID tag;
  • the tag data query module 120 is configured to query a plurality of pieces of RFID data of the target RFID tag in each collection area from the database according to the identification information, and each piece of the RFID data includes a data collection time;
  • a time difference determining module 130 is configured to determine a difference between data collection times of each two adjacent data in the multiple pieces of RFID data.
  • the dwell duration determination module 140 is configured to determine a dwell duration of the target electronic tag in each collection area according to the difference value.
  • FIG. 7 is a structural block diagram of a device for determining dwell time shown in still another exemplary embodiment of the present application; wherein, a query request receiving module 220, a tag data query module 230, a time difference determination module 240, and a dwell time determination
  • the functions of the module 250 are the same as those of the query request receiving module 110, the tag data query module 120, the time difference determination module 130, and the dwell duration determination module 140 in the embodiment shown in FIG. 6 described above, and details are not described herein.
  • the time difference determination module 240 may include:
  • a collection time acquisition unit 241 is configured to sort the collection times of the multiple pieces of RFID data in each of the collection areas to obtain the collection times of the multiple pieces of RFID data after sorting;
  • the time difference calculation unit 242 is configured to calculate a difference between the acquisition times of two adjacent RFID data among the sorted multiple pieces of RFID data to form a difference set.
  • the dwell duration determination module 250 may include:
  • the dwell duration determination unit 251 is configured to accumulate differences in the difference set that are less than or equal to a preset time threshold to obtain a dwell duration of the target electronic tag in each of the collection areas;
  • the content of the above query request may be set by the developer according to actual business needs, such as the time range of the query or the minimum expected residence time. Etc. (This value can be used to filter data that the calculation result of the dwell time does not satisfy the minimum value), which is not limited in this embodiment.
  • the above device may further include: a tag data storage module 210;
  • the tag data storage module 210 may include:
  • a tag data receiving unit 211 configured to receive multiple pieces of RFID data of the target RFID tag
  • a data pre-processing unit 212 configured to pre-process the received pieces of RFID data to obtain RFID data to be stored in a first preset format
  • a data format conversion unit 213, configured to convert the RFID data to be stored from the first preset format to a second preset format
  • the tag data storage unit 214 is configured to transfer the RFID data to be stored in the second preset format to a database for storage.
  • the database may include a distributed storage system HBASE, and the second preset format may include a RowKey format;
  • the tag data storage unit 214 may also be used for:
  • the tag data storage unit 214 may be further configured to:
  • a plurality of regions for storing RFID data are constructed according to the year and month of collection time and a preset region number.
  • the format of the above-mentioned RowKey may be shown by the following formula (1):
  • [YyyyMM] is the year and month of the collection time
  • [xxx] is the hash value of the identification information of the target RFID tag
  • [RFID_id] is the identification information of the target RFID tag
  • [collect_time] is the corresponding time of the collection time Timestamp.
  • the query request may further include a start time and an end time
  • the tag data query module 230 may include:
  • a start row key generating unit 231, configured to generate a StartRowKey in the format of the RowKey according to the start time and the identification information;
  • An end row key generating unit 232 configured to generate an EndRowKey in the format of the RowKey according to the end time and the identification information;
  • a scan request generating unit 233 configured to generate a scan request for sending to the HBASE according to the StartRowKey and the EndRowKey;
  • a tag data receiving unit 234 is configured to receive multiple pieces of RFID data of the target RFID tag in each collection area returned by the HBASE based on the Scan request.
  • the data pre-processing unit 212 may be further configured to:
  • Interference data is filtered from the multiple pieces of RFID data, and deduplication processing is performed on the filtered RFID data.
  • the data pre-processing unit 212 may be further configured to:
  • the embodiment of the apparatus for determining the residence time provided in the present application may be applied to a network device.
  • the device embodiments may be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the device in which it is located.
  • FIG. 8 it is a hardware structure diagram of the device where the device for determining the residence time is located, except for the processor, network interface, memory, and non-volatile memory shown in FIG. 8.
  • the device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing packets. From the perspective of the hardware structure, the device may also be a distributed device, which may include multiple interface cards. In order to expand the message processing at the hardware level.
  • An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored on a computer-readable storage medium.
  • the relevant part may refer to the description of the method embodiment.
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, may be located One place, or it can be distributed across multiple network elements. Some or all of these modules can be selected according to actual needs to achieve the purpose of the solution of this application. Those of ordinary skill in the art can understand and implement without creative efforts.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)

Abstract

La présente invention concerne un procédé et un appareil pour déterminer une durée de temps de résidence, ainsi qu'un dispositif et un support de stockage. Le procédé comprend les étapes consistant à : recevoir une demande d'interrogation utilisée pour interroger la durée de temps de résidence d'une étiquette RFID cible, la demande d'interrogation comprenant les informations d'identification de l'étiquette RFID cible ; interroger, à partir d'une base de données selon les informations d'identification, de multiples éléments de données RFID de l'étiquette RFID cible dans chaque zone de collecte, chaque élément de données RFID comprenant un temps de collecte de données ; déterminer une valeur de différence entre le temps de collecte de données de chaque paire d'éléments de données adjacents dans les multiples éléments de données RFID ; et déterminer la durée de temps de résidence de l'étiquette RFID cible dans chaque zone de collecte en fonction de la valeur de différence.
PCT/CN2019/097953 2018-07-26 2019-07-26 Procédé et appareil permettant de déterminer une durée de temps de résidence, dispositif et support de stockage WO2020020358A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810837641.0 2018-07-26
CN201810837641.0A CN110766102B (zh) 2018-07-26 2018-07-26 一种确定驻留时长的方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020020358A1 true WO2020020358A1 (fr) 2020-01-30

Family

ID=69181351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097953 WO2020020358A1 (fr) 2018-07-26 2019-07-26 Procédé et appareil permettant de déterminer une durée de temps de résidence, dispositif et support de stockage

Country Status (2)

Country Link
CN (1) CN110766102B (fr)
WO (1) WO2020020358A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000893A (zh) * 2020-09-29 2020-11-27 北京百度网讯科技有限公司 常驻区域预测方法、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103210426A (zh) * 2010-06-21 2013-07-17 布鲁罗恩有限公司 确定实体的行进时间
US20130191175A1 (en) * 2012-01-25 2013-07-25 Haul-It Nationwide Limited Personnel activity recording terminal, personnel management system and method for controlling such a system
CN205644663U (zh) * 2016-02-02 2016-10-12 北京安云科创科技发展有限责任公司 一种区域驻留时长统计系统
CN106303424A (zh) * 2016-08-15 2017-01-04 深圳市校联宝科技有限公司 一种监控方法及监控系统

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761277B (zh) * 2004-10-11 2010-07-14 中兴通讯股份有限公司 一种对话单进行动态分析的装置及动态分析方法
US20120242453A1 (en) * 2006-12-26 2012-09-27 Lockheed Martin Corporation Energy management in rfid systems with long term active sensing
US8456282B2 (en) * 2009-05-01 2013-06-04 L-3 Communications Integrated Systems L.P. Synchronization of devices in a RFID communications environment
CN102915346B (zh) * 2012-09-26 2015-07-01 中国科学院软件研究所 面向物联网智能感知的数据索引建立与查询方法
CN203192045U (zh) * 2013-01-08 2013-09-11 江苏海事职业技术学院 Rfid考勤管理装置
CN103473574B (zh) * 2013-09-01 2018-07-31 湖南人文科技学院 一种基于时序关系的非确定性rfid数据处理方法
CN103955722B (zh) * 2014-04-25 2016-08-24 江苏物联网研究发展中心 基于有源rfid的室内定位系统中标签管理方法
CN106303370A (zh) * 2015-05-12 2017-01-04 杭州海康威视数字技术股份有限公司 确定目标对象位置的方法、装置及系统
CN105426442B (zh) * 2015-11-06 2020-01-14 广东湛数大数据有限公司 一种基于分布式数据库消息数据管理方法及系统
CN106303420A (zh) * 2016-08-15 2017-01-04 深圳市校联宝科技有限公司 一种应用于运动目标的监控方法及监控系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103210426A (zh) * 2010-06-21 2013-07-17 布鲁罗恩有限公司 确定实体的行进时间
US20130191175A1 (en) * 2012-01-25 2013-07-25 Haul-It Nationwide Limited Personnel activity recording terminal, personnel management system and method for controlling such a system
CN205644663U (zh) * 2016-02-02 2016-10-12 北京安云科创科技发展有限责任公司 一种区域驻留时长统计系统
CN106303424A (zh) * 2016-08-15 2017-01-04 深圳市校联宝科技有限公司 一种监控方法及监控系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000893A (zh) * 2020-09-29 2020-11-27 北京百度网讯科技有限公司 常驻区域预测方法、装置、设备及存储介质
CN112000893B (zh) * 2020-09-29 2024-04-12 北京百度网讯科技有限公司 常驻区域预测方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN110766102A (zh) 2020-02-07
CN110766102B (zh) 2021-04-27

Similar Documents

Publication Publication Date Title
CN102236581B (zh) 用于数据中心的映射化简方法和系统
US10102227B2 (en) Image-based faceted system and method
US9589004B2 (en) Data storage method and apparatus
CN107992356A (zh) 区块链事务区块处理方法、电子装置及可读存储介质
WO2017219858A1 (fr) Dispositif et procédé réparti de traitement de données en flux continu distribué
CN110648195B (zh) 一种用户识别方法、装置、计算机设备
CN105871585A (zh) 终端关联方法及装置
CN112632129A (zh) 一种码流数据管理方法、装置及存储介质
WO2019144803A1 (fr) Procédé et appareil de statistiques de trafic, support de stockage et appareil électronique
CN103856462A (zh) 一种会话的管理方法及系统
CN113987002A (zh) 基于海量数据分析平台的数据交换方法
CN111859127A (zh) 消费数据的订阅方法、装置及存储介质
CN110245155A (zh) 数据处理方法、装置、计算机可读存储介质及终端设备
Xu The analytics and applications on supporting big data framework in wireless surveillance networks
CN115314499A (zh) 适用于电力领域的多终端协同工作方法及系统
WO2020020358A1 (fr) Procédé et appareil permettant de déterminer une durée de temps de résidence, dispositif et support de stockage
CN107665229A (zh) 信息搜索方法、装置及设备
CN110533906A (zh) 一种路况信息的获取方法及相关装置
US20240022507A1 (en) Information flow recognition method, network chip, and network device
CN106533728A (zh) 服务器信息收集方法和装置
CN108197050A (zh) 一种设备识别方法、装置及系统
CN116089431A (zh) 数据仓库的数据处理方法、装置、电子设备和存储介质
CN110673965A (zh) 捕获秒杀商品的方法及装置
CN107360098B (zh) 一种物联网终端信息寻址方法及装置
CN115146142A (zh) 一种基于互联网的多源数据筛选系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19840299

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19840299

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24/08/2021)