Data processing method and device

By integrating and deduplication of multiple radio frequency data, the problem of low response efficiency of equipment identification in the prior art is solved, efficient data processing and timely alarm prompts are realized, and the efficiency of warehousing operations is improved.

CN114579551BActive Publication Date: 2025-08-22BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210208830.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-04
Publication Date
2025-08-22
Estimated Expiration
2042-03-04

AI Technical Summary

Technical Problem

The existing RFID technology cannot efficiently integrate and deduplicate multi-channel RF data in the warehousing field, resulting in low device identification response efficiency, untimely alarm prompts and repeated processing, which affects operating efficiency.

Method used

By obtaining the historical integrated data of multiple radio frequency data, generating the current integrated data, and traversing these data to determine the effective data, sending it to the control system, realizing data integration and deduplication, and improving processing efficiency.

Benefits of technology

It realizes the integration and batch processing of multi-channel RF data, improves the rapid response efficiency after equipment identification and the timeliness of alarms, and improves the friendliness and efficiency of operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114579551B_ABST
    Figure CN114579551B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a data processing method and device. The data processing method includes: first, in response to receiving multiple channels of radio frequency data, respectively obtaining multiple historical integrated data corresponding to the multiple channels of radio frequency data, wherein the historical integrated data represents the data after the radio frequency data is processed; then, based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, generating multiple current integrated data corresponding to the multiple channels of radio frequency data; traversing the multiple current integrated data corresponding to the multiple channels of radio frequency data, determining valid data for sending to a control system; and finally receiving a processing result returned by the control system based on the valid data, thereby integrating and batch processing the multiple channels of radio frequency data and improving the efficiency of multi-channel processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the fields of computer technology and Internet technology, specifically to the field of radio frequency identification technology, and more particularly to a data processing method and apparatus. Background Art

[0002] At present, radio frequency identification (RFID) technology is being used more and more in the warehousing field, which has improved the operation efficiency. In warehousing operations, radio frequency identification technology is often used to identify container numbers and product codes. In the operation of goods or containers leaving the warehouse, it is often used to detect whether the goods or containers are legally leaving the warehouse. Alarm indicator lights are used for valid and invalid outbound operations. The alarm colors are commonly used in three ways: blue (operation color), red (illegal color), and green (legal color). How to realize whether the entry and exit of goods or containers is legal, display different color prompts. The current technical implementation is the goods / containers of radio frequency identification technology. They need to be identified one by one and fed back to the upper system to judge the legality of the goods / containers, so as to issue alarm prompts.

[0003] The hardware equipment reports the sensed radio frequency data very quickly and can also repeatedly report items within the sensing range, that is, it can report on multiple channels. However, the current control system can only process each report one by one, and cannot integrate and batch process the reported data, nor can it deduplicate the reported data, and cannot improve the rapid response efficiency after equipment identification. At the same time, there is a repeated processing process, which increases excessive repetitive processing, and the alarm prompts are not efficient enough, often taking a long time, and there are freezes and stagnation. Summary of the Invention

[0004] Embodiments of the present disclosure provide a data processing method, apparatus, electronic device, and computer-readable medium.

[0005] In a first aspect, an embodiment of the present disclosure provides a data processing method, which includes: in response to receiving multiple channels of radio frequency data, respectively obtaining multiple historical integrated data corresponding to the multiple channels of radio frequency data, wherein the historical integrated data represents data after data processing of the radio frequency data; based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, generating multiple current integrated data corresponding to the multiple channels of radio frequency data; traversing the multiple current integrated data corresponding to the multiple channels of radio frequency data to determine valid data for sending to a control system; and receiving processing results returned by the control system based on the valid data.

[0006] In some embodiments, the current integrated data includes the number of collection times and historical collection time points corresponding to the multiple channels of radio frequency data; and traversing the multiple current integrated data corresponding to the multiple channels of radio frequency data to determine the valid data for sending to the control system, including: traversing the multiple current integrated data corresponding to the multiple channels of radio frequency data one by one, and judging whether the current integrated data appears for the first time based on the number of collection times and historical collection time points; in response to determining that the current integrated data appears for the first time, treating the current integrated data as valid data; until the traversal is completed, packaging the valid data and sending it to the control system.

[0007] In some embodiments, the method further includes: in response to determining that the current integrated data does not appear for the first time, determining whether the difference between the current time and the historical collection time point is greater than a first preset threshold; in response to determining that the difference between the current time and the historical collection time point is greater than the first preset threshold, deleting the current integrated data; in response to determining that the difference between the current time and the historical collection time point is not greater than the first preset threshold, retaining the current integrated data.

[0008] In some embodiments, the method further includes: in response to receiving the processing result, generating a first control instruction corresponding to the multiple channels of radio frequency data based on the processing result.

[0009] In some embodiments, the method further includes: in response to generating a corresponding first control instruction, detecting whether there is new integrated data corresponding to new multi-channel radio frequency data; in response to determining that the new integrated data is a null value, recording the determination time when the new integrated data is determined to be a null value; judging whether the time difference between the current time and the determined time is greater than a second preset threshold; in response to determining that the time difference between the current time and the determined time is greater than the second preset threshold, generating a second control instruction.

[0010] In some embodiments, the method further includes: in response to determining that the time difference between the current time and the determined time is not greater than a second preset threshold, starting a sleep program; in response to determining that a preset condition is met, starting a wake-up program to receive new multi-channel radio frequency data.

[0011] In a second aspect, an embodiment of the present disclosure provides a data processing device, which includes: an acquisition module, configured to, in response to receiving multiple channels of radio frequency data, respectively acquire multiple historical integrated data corresponding to the multiple channels of radio frequency data, wherein the historical integrated data represents data after data processing of the radio frequency data; a first generation module, configured to generate multiple current integrated data corresponding to the multiple channels of radio frequency data based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data; a determination module, configured to traverse the multiple current integrated data corresponding to the multiple channels of radio frequency data, and determine valid data for sending to the control system; and a receiving module, configured to receive the processing results returned by the control system based on the valid data.

[0012] In some embodiments, the current integrated data includes the number of collection times and historical collection time points corresponding to the multiple channels of radio frequency data; and the determination module is further configured to: traverse the multiple current integrated data corresponding to the multiple channels of radio frequency data one by one, and determine whether the current integrated data appears for the first time based on the number of collection times and historical collection time points; in response to determining that the current integrated data appears for the first time, treat the current integrated data as valid data; until the traversal is completed, package the valid data and send it to the control system.

[0013] In some embodiments, the device further includes: a judgment module, configured to judge whether the difference between the current time and the historical collection time point is greater than a first preset threshold in response to determining that the current integrated data does not appear for the first time; a deletion module, configured to delete the current integrated data in response to determining that the difference between the current time and the historical collection time point is greater than the first preset threshold; and a retention module, configured to retain the current integrated data in response to determining that the difference between the current time and the historical collection time point is not greater than the first preset threshold.

[0014] In some embodiments, the apparatus further includes: a second generating module configured to, in response to receiving the processing result, generate a first control instruction corresponding to the multiple channels of radio frequency data based on the processing result.

[0015] In some embodiments, the device also includes: a detection module, configured to detect whether there is new integrated data corresponding to new multi-channel radio frequency data in response to generating a corresponding first control instruction; a recording module, configured to record the determination time when the new integrated data is determined to be a null value in response to determining that the new integrated data is a null value; a judgment module, configured to judge whether the time difference between the current time and the determined time is greater than a second preset threshold; and a generation module, configured to generate a second control instruction in response to determining that the time difference between the current time and the determined time is greater than the second preset threshold.

[0016] In some embodiments, the device further includes: a startup module; the startup module is configured to: in response to determining that the time difference between the current time and the determined time is not greater than a second preset threshold, start a sleep program; in response to determining that a preset condition is met, start a wake-up program and receive new multi-channel radio frequency data.

[0017] In a third aspect, an embodiment of the present disclosure provides an electronic device comprising: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by one or more processors, the one or more processors implement the data processing method described in any embodiment of the first aspect.

[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the data processing method as described in any embodiment of the first aspect.

[0019] The data processing method and device provided by the embodiments of the present disclosure are as follows: the execution subject first responds to receiving multiple channels of radio frequency data, respectively obtains multiple historical integrated data corresponding to the multiple channels of radio frequency data, and the historical integrated data represents the data after data processing of the radio frequency data; then, based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, generates multiple current integrated data corresponding to the multiple channels of radio frequency data, traverses the multiple current integrated data corresponding to the multiple channels of radio frequency data, determines valid data for sending to the control system, and finally receives the processing results returned by the control system based on the valid data, thereby realizing the integration and deduplication of the multiple channels of radio frequency data reported by the multiple channels of radio frequency devices; then, the determined valid data is fed back to the control system, and the multiple channels of radio frequency data can be integrated and batch processed, and the reported data can be deduplicated, thereby improving the efficiency of multi-channel processing, thereby improving the efficiency of rapid response after device identification, and improving the timeliness and friendliness of the alarm. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Other features, objects and advantages of the present disclosure will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following drawings:

[0021] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;

[0022] Figure 2 is a flow chart of an embodiment of a data processing method according to the present disclosure;

[0023] Figure 3 is a schematic diagram of an application scenario of the data processing method according to the present disclosure;

[0024] Figure 4 is a flow chart of one embodiment of determining valid data according to the present disclosure;

[0025] Figure 5 is a flow chart of an embodiment of data processing on current integrated data according to the present disclosure;

[0026] Figure 6 is a flow chart of another embodiment of a data processing method according to the present disclosure;

[0027] Figure 7 is a structural diagram of an embodiment of generating a second control instruction according to the present disclosure;

[0028] Figure 8is a structural diagram of an embodiment of a data processing device according to the present disclosure;

[0029] Figure 9 It is a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION

[0030] The present disclosure is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the relevant disclosure and are not intended to limit the disclosure. It should also be noted that, for ease of description, only portions relevant to the relevant disclosure are shown in the accompanying drawings.

[0031] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0032] Figure 1 An exemplary system architecture 100 is shown to which the data processing method and data processing apparatus according to the embodiments of the present disclosure can be applied.

[0033] like Figure 1 As shown, system architecture 100 may include terminal devices 104, 105, 106, a network 107, and servers 101, 102, 103. Network 107 is a medium for providing communication links between terminal devices 104, 105, 106 and servers 101, 102, 103. Network 107 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0034] Users can interact with servers 101, 102, and 103 belonging to the same server cluster via terminal devices 104, 105, and 106 via network 107 to receive or send information. Various applications can be installed on terminal devices 104, 105, and 106, such as item display applications, data analysis applications, and search applications.

[0035] Terminal devices 104, 105, and 106 can be either hardware or software. If the terminal device is hardware, it can be any electronic device with a display screen that supports communication with the server, including but not limited to smartphones, tablet computers, laptop computers, and desktop computers. If the terminal device is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software programs or software modules, or as a single software program or software module. This is not specifically limited here.

[0036] Terminal devices 104, 105, and 106 can receive multiple channels of radio frequency data, and respectively obtain multiple historical integrated data corresponding to the multiple channels of radio frequency data, where the historical integrated data represents the data after data processing of the radio frequency data. Then, based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, multiple current integrated data corresponding to the multiple channels of radio frequency data are generated, and the multiple current integrated data corresponding to the multiple channels of radio frequency data are traversed to determine the valid data to be sent to the control system, and finally, the processing results returned by the control system based on the valid data are received.

[0037] Servers 101, 102, and 103 may be servers that provide various services, such as backend servers that receive requests sent by terminal devices that establish communication connections therewith. The backend servers may receive and analyze the requests sent by the terminal devices and generate processing results.

[0038] Servers 101, 102, and 103 can also receive multiple channels of radio frequency data, and respectively obtain multiple historical integrated data corresponding to the multiple channels of radio frequency data, where the historical integrated data represents the data after data processing of the radio frequency data. Then, based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, multiple current integrated data corresponding to the multiple channels of radio frequency data are generated, and the multiple current integrated data corresponding to the multiple channels of radio frequency data are traversed to determine the valid data to be sent to the control system, and finally the processing results returned by the control system based on the valid data are received.

[0039] It should be noted that a server can be either hardware or software. When the server is hardware, it can be various electronic devices that provide various services to terminal devices. When the server is software, it can be implemented as multiple software programs or software modules that provide various services to terminal devices, or it can be implemented as a single software program or software module that provides various services to terminal devices. This is not specifically limited here.

[0040] It should be noted that the data processing method provided in the embodiments of the present disclosure can be executed by the terminal devices 104, 105, 106 or the servers 101, 102, 103. Accordingly, the data processing apparatus is provided in the terminal devices 104, 105, 106 or the servers 101, 102, 103.

[0041] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0042] Continue to refer Figure 2 , shows a process 200 of an embodiment of a data processing method according to the present disclosure. The data processing method includes the following steps:

[0043] Step 210 : In response to receiving multiple channels of radio frequency data, respectively obtain a plurality of historical integrated data corresponding to the multiple channels of radio frequency data.

[0044] In this step, the execution subject (e.g. Figure 1 The terminal devices 104, 105, 106 or the servers 101, 102, 103) can receive multiple channels of radio frequency data collected by multiple radio frequency devices. The multiple channels of radio frequency data can include multiple channels of radio frequency data obtained by scanning and identifying the radio frequency tags of the same object by multiple radio frequency devices, and can also include multiple channels of radio frequency data obtained by scanning and identifying the radio frequency tags of different objects. For example, the above-mentioned objects can be warehouse items, each item can be configured with a corresponding radio frequency tag, and the radio frequency data can be data obtained by scanning the radio frequency tag of each item. After receiving the multiple channels of radio frequency data, the above-mentioned execution entity can perform data analysis on the multiple channels of radio frequency data to determine whether there is radio frequency data corresponding to the same radio frequency tag. If there is radio frequency data corresponding to the same radio frequency tag, these radio frequency data are merged as one channel of radio frequency data.

[0045] After the above-mentioned execution entity determines multiple channels of radio frequency data, each channel of radio frequency data can be used as identification information, and the historical integrated data corresponding to each channel of radio frequency data can be read locally, thereby obtaining multiple historical integrated data corresponding to the multiple channels of radio frequency data. The historical integrated data can be the data after data processing is performed on each channel of radio frequency data. The data processing can include data integration and data merging, etc., that is, data processing operations such as data integration and data merging can be performed on the associated data of the radio frequency data to obtain the historical integrated data corresponding to each channel of radio frequency data. The historical integrated data can include the number of collection times corresponding to the radio frequency data, the data corresponding to the radio frequency data itself, the business data corresponding to the radio frequency data, and the historical collection time point. Among them, the business data corresponding to the radio frequency data can be the compiled data corresponding to the radio frequency data, which is used to send data to the control system, and the historical collection time point can be the last collection timestamp corresponding to the radio frequency data.

[0046] Step 220 : Generate a plurality of current integrated data corresponding to the multiple channels of radio frequency data based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data.

[0047] In this step, after the above-mentioned execution entity obtains multiple historical integrated data corresponding to multiple channels of radio frequency data, it can integrate the received radio frequency data according to the historical integrated data corresponding to each channel of radio frequency data, update the historical integrated data corresponding to each channel of radio frequency data, and generate multiple current integrated data corresponding to the multiple channels of radio frequency data.

[0048] The above-mentioned execution entity can update the collection times in the historical integrated data based on the multi-channel radio frequency data, update the data corresponding to the radio frequency data itself, update the business data corresponding to the radio frequency data, and update the historical collection time point, thereby obtaining multiple current integrated data corresponding to the multi-channel radio frequency data.

[0049] Step 230 , traverse multiple current integrated data corresponding to the multiple channels of radio frequency data to determine valid data for sending to the control system.

[0050] In this step, after the execution entity obtains the multiple current integrated data corresponding to the multiple channels of radio frequency data, it can store the multiple current integrated data corresponding to the multiple channels of radio frequency data in a data queue. The execution entity can traverse the multiple current integrated data corresponding to the multiple channels of radio frequency data in the data queue, perform data judgment on the multiple current integrated data, and select the current integrated data that meets the data requirements as valid data to be sent to the control system. The valid data can be the current integrated data that meets the data requirements or time requirements and is intended to be sent to the control system.

[0051] The data requirement or time requirement is not specifically limited here, and may be a requirement on data type, collection time, etc., and may be set as needed.

[0052] Step 240 receives the processing result returned by the control system based on the valid data.

[0053] In this step, after the execution subject sends the valid data to the control system, the control system can perform data analysis on the valid data, generate a corresponding processing result based on the data analysis result, and send the processing result to the execution subject. The execution subject can receive the processing result returned by the control system based on the data processing of the valid data. The processing result can correspond to the valid data one-to-one, and is used to represent the processing result corresponding to the event involved in the multi-channel radio frequency data. For example, the multi-channel radio frequency data is the radio frequency tag data involved in the warehouse entry and exit, and the event involved in the multi-channel radio frequency data can be an item outgoing event or an item incoming event, etc. The corresponding processing result can be an item passing out of the warehouse, an item failing to pass out of the warehouse, or an item passing to enter the warehouse, an item failing to enter the warehouse, etc.

[0054] Continue to see Figure 3 , Figure 3 This is a schematic diagram of an application scenario of the data processing method according to this embodiment. Figure 3In an application scenario, a multi-channel RF device 301 can be installed at the entrance or exit of a warehouse. Each item in the warehouse is equipped with an RF tag. The multi-channel RF device 301 can scan and identify the goods entering and leaving the warehouse, obtain multiple channels of RF data, and upload the multiple channels of RF data to a terminal 302. Terminal 302 receives the multiple channels of RF data and obtains multiple historical integrated data corresponding to each of the multiple channels of RF data. The historical integrated data represents the data after data processing of the RF data. Terminal 302 can then generate multiple current integrated data corresponding to the multiple channels of RF data based on the multiple historical integrated data. Terminal 302 also traverses the multiple current integrated data corresponding to the multiple channels of RF data to determine valid data to be sent to the control system. Finally, terminal 302 can send the valid data to the control system 303. Control system 303 processes the valid data, generates a processing result, and feeds the processing result back to terminal 302. Terminal 302 receives the processing result returned by the control system and, based on the processing result, determines whether the goods have passed the entry or exit of the warehouse, and sends subsequent prompt information based on the processing result.

[0055] The data processing method provided by the embodiment of the present disclosure is as follows: the execution subject first obtains multiple historical integrated data corresponding to the multiple radio frequency data in response to receiving multiple channels of radio frequency data, and the historical integrated data represents the data after data processing of the radio frequency data; then, based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, multiple current integrated data corresponding to the multiple channels of radio frequency data are generated, and the multiple current integrated data corresponding to the multiple channels of radio frequency data are traversed to determine the valid data for sending to the control system; finally, the control system receives the processing result returned based on the valid data, thereby realizing the integration and deduplication of the multiple channels of radio frequency data reported by the multiple channels of radio frequency devices; then, the determined valid data is fed back to the control system, and the multiple channels of radio frequency data can be integrated and batch processed, and the reported data can be deduplicated, thereby improving the efficiency of multi-channel processing, thereby improving the efficiency of rapid response after device identification, and improving the timeliness and friendliness of the alarm.

[0056] refer to Figure 4 , Figure 4 A flowchart of an embodiment of determining valid data is shown, i.e., step 230 above, traversing multiple current integrated data corresponding to multiple channels of radio frequency data to determine valid data for sending to the control system, which may include the following steps:

[0057] Step 410 : traverse the multiple current integrated data corresponding to the multiple channels of radio frequency data one by one, and determine whether the current integrated data appears for the first time based on the number of acquisitions and the historical acquisition time point.

[0058] The current integrated data includes the collection times and historical collection time points corresponding to multiple channels of RF data. The collection times can be used to record the number of unprocessed repeated collections and the number of repeated collections of RF data. The historical collection time point can record the timestamp of the last reported data for time calculation and policy processing.

[0059] In this step, after obtaining the multiple current integrated data corresponding to the multiple channels of radio frequency data, the execution entity may store the multiple current integrated data corresponding to the multiple channels of radio frequency data in a data queue. The execution entity may individually traverse the multiple current integrated data corresponding to the multiple channels of radio frequency data in the data queue, obtain the historical collection time point and collection count for each current integrated data, and determine whether the current integrated data appears for the first time based on the historical collection time point and collection count.

[0060] In step 420 , in response to determining that the current integrated data appears for the first time, the current integrated data is taken as valid data.

[0061] In this step, the execution entity determines that the current integrated data appears for the first time based on the historical collection time points and collection times in the current integrated data, and then uses the current integrated data as valid data.

[0062] Step 430: After the traversal is completed, the valid data is packaged and sent to the control system.

[0063] In this step, the execution subject traverses the multiple current integrated data corresponding to the multiple channels of radio frequency data in the data queue one by one until the traversal is completed, determines all valid data, and then packages the valid data and sends it to the control system.

[0064] In this implementation, multiple current integrated data corresponding to multiple channels of radio frequency data are traversed and judged one by one, and then the determined valid data is fed back to the control system. Multiple channels of radio frequency data can be integrated and processed in batches, and the reported data can be deduplicated, thereby improving the efficiency of multi-channel processing.

[0065] refer to Figure 5 , Figure 5 A flowchart showing an embodiment of data processing for current integrated data may include the following steps:

[0066] Step 510 : In response to determining that the current integrated data does not appear for the first time, it is determined whether the difference between the current time and the historical collection time point is greater than a first preset threshold.

[0067] In this step, the execution entity determines that the current integrated data is not the first occurrence based on the historical collection time points and collection counts in the current integrated data. The execution entity then obtains the current time and calculates the difference between the current time and the historical collection time points. The execution entity then determines whether the difference between the current time and the historical collection time points is greater than a first preset threshold. The first preset threshold can be set as needed, such as 3 seconds, and is not specifically limited.

[0068] Step 520 : In response to determining that the difference between the current time and the historical collection time point is greater than a first preset threshold, deleting the current integrated data.

[0069] In this step, the execution entity compares the difference between the current time and the historical collection time point with the first preset threshold value, and determines that if the difference between the current time and the historical collection time point is greater than the first preset threshold value, it indicates that the processing task corresponding to the radio frequency data is too far away from the current time, and the current integrated data can be deleted.

[0070] Step 530 : In response to determining that the difference between the current time and the historical collection time point is not greater than a first preset threshold, retain the current integrated data.

[0071] In this step, the execution entity compares the difference between the current time and the historical collection time point with the first preset threshold value, and determines that the difference between the current time and the historical collection time point is not greater than the first preset threshold value. The current integrated data can be further updated to process the collected radio frequency data.

[0072] In this implementation, by processing the current integrated data that does not appear for the first time in different situations, different situations corresponding to multiple channels of radio frequency data can be processed accordingly, filtering out data that does not need to be reported to the control system, and improving the efficiency of multi-channel processing.

[0073] refer to Figure 6 , Figure 6 A flow chart showing another embodiment of a data processing method may include the following steps:

[0074] Step 610: In response to receiving multiple channels of radio frequency data, respectively obtain a plurality of historical integrated data corresponding to the multiple channels of radio frequency data.

[0075] Step 610 of this embodiment can be performed in accordance with Figure 2 Step 210 in the illustrated embodiment is performed in a similar manner and will not be described in detail here.

[0076] Step 620 : Generate a plurality of current integrated data corresponding to the multiple channels of radio frequency data based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data.

[0077] Step 620 of this embodiment can be performed in accordance with Figure 2 Step 220 in the illustrated embodiment is performed in a similar manner and will not be described in detail here.

[0078] Step 630 , traverse multiple current integrated data corresponding to the multiple channels of radio frequency data to determine valid data for sending to the control system.

[0079] Step 630 of this embodiment can be performed in accordance with Figure 2 Step 230 in the illustrated embodiment is performed in a similar manner and will not be described in detail here.

[0080] Step 640: Receive the processing result returned by the control system based on the valid data.

[0081] Step 640 of this embodiment can be performed in accordance with Figure 2 Step 240 in the illustrated embodiment is performed in a similar manner and will not be described in detail here.

[0082] Step 650: In response to receiving the processing result, generate a first control instruction corresponding to the multiple channels of radio frequency data based on the processing result.

[0083] In this step, after the execution subject receives the processing result returned by the control system, it can analyze and process the processing result, and generate a corresponding first control instruction based on the received processing result. The first control instruction can correspond to the multiple channels of radio frequency data one by one, and can include different indication information corresponding to different radio frequency data. It can be an instruction to send different prompt information based on different processing results, or it can be an instruction to display indicator lights of different colors based on different processing results. The processing result can include whether the event involved in the multiple channels of radio frequency data passes or fails. Different processing results can correspond to the first control instruction to display indicator lights of different colors. Then, the first control instruction corresponding to the event involved in the multiple channels of radio frequency data passes can be a control instruction to start the green indicator light, and the first control instruction corresponding to the event involved in the multiple channels of radio frequency data fails can be a control instruction to start the red indicator light. The present disclosure does not specifically limit the color of the indicator light.

[0084] For example, the multi-channel radio frequency data is the radio frequency tag data involved in the warehouse entry and exit, and the events involved in the multi-channel radio frequency data may be an item outgoing event or an item incoming event, etc., then the corresponding processing results may be an item passing outgoing, an item failing outgoing, or an item passing incoming, an item failing incoming, etc., then the first control instruction may include the first control instruction corresponding to the passing of an item outgoing and the passing of an item incoming, which may be a control instruction to start a green indicator light, and may also include the first control instruction corresponding to the failing of an item outgoing and the failing of an item incoming, which may be a control instruction to start a red indicator light.

[0085] Furthermore, after generating the corresponding first control instruction, the execution subject may delete the stored radio frequency data and the current integrated data to release more resources for storing unprocessed radio frequency data.

[0086] In this embodiment, by further generating first control instructions corresponding to multiple channels of radio frequency data based on the processing results, corresponding first control instructions can be generated based on the received processing results, and corresponding control operations can be performed for different processing results, thereby improving the timeliness and friendliness of the alarm.

[0087] refer to Figure 7 , Figure 7 A flow chart of an embodiment of generating a control instruction for starting a blue indicator light is shown, which may include the following steps:

[0088] Step 710 : In response to generating the corresponding first control instruction, detecting whether there is new integrated data corresponding to the new multi-channel radio frequency data.

[0089] In this step, after the above-mentioned execution entity generates the corresponding first control instruction based on the processing results fed back by the control system, it can also perform real-time detection on whether new multi-channel radio frequency data is received, or perform real-time detection on the data queue storing the integrated data corresponding to the multi-channel radio frequency data to determine whether there is new integrated data corresponding to the new multi-channel radio frequency data.

[0090] Step 720 : In response to determining that the new integrated data is a null value, record the time when the new integrated data is determined to be a null value.

[0091] In this step, the execution entity may determine through detection that the new integrated data is a null value, and then record the time when the new integrated data is determined to be a null value as the determination time.

[0092] Step 730: Determine whether the time difference between the current time and the determined time is greater than a second preset threshold.

[0093] In this step, the above-mentioned execution entity can obtain the current time in real time, calculate the time difference between the current time and the determined time, and determine whether the time difference between the current time and the determined time is greater than a second preset threshold. The second preset threshold can be set as needed, and can be 3 seconds, etc., without specific limitation.

[0094] Step 740 : In response to determining that the time difference between the current time and the determined time is greater than a second preset threshold, generate a second control instruction.

[0095] In this step, the above-mentioned execution subject can generate a second control instruction by judging that the time difference between the current time and the determined time is greater than the second preset threshold. The second control instruction can be a control instruction corresponding to the situation when there is no data to be processed, indicating that it is currently in a working state, for example, it can include an indicator light for starting the working state, or sending a prompt message that the work can be performed, etc.

[0096] The execution subject can stop the indicator light corresponding to the first control instruction previously generated and start the indicator light of the color corresponding to the second control instruction, for example, starting the blue indicator light, that is, replacing the indicator light of the first control instruction with the blue indicator light. At the same time, the execution subject can start the sleep program and release computer resources by releasing the shared resource lock through the thread.

[0097] In this implementation, by judging the time when the new integrated data is determined to be a null value, that is, determining that the multi-channel radio frequency equipment has not continued to sense and collect, a second control instruction can be generated, that is, clearing the color of the previous indicator light so that the indicator light displays the running color, that is, blue, thereby improving the flexibility of data processing.

[0098] Continue to refer Figure 7 , the above embodiment may further include the following steps:

[0099] Step 750 : In response to determining that the time difference between the current time and the determined time is not greater than a second preset threshold, starting a sleep program.

[0100] In this step, the above-mentioned execution subject can start the hibernation program by judging that the time difference between the current time and the determined time is not greater than the second preset threshold, and release the computer resources by releasing the shared resource lock through the thread. At this time, the color of the indicator light does not need to be changed.

[0101] Step 760 : In response to determining that the preset condition is met, start a wake-up procedure to receive new multi-channel radio frequency data.

[0102] In this step, the execution entity may determine the time and the data queue storing the integrated data. If the time difference between the current time and the determined time is greater than a second preset threshold, or if the integrated data in the real-time detection data queue changes, then the predetermined condition is determined to be satisfied. This predetermined condition may represent a condition for initiating a wake-up procedure. After the execution entity determines that the predetermined condition is satisfied, it may initiate the wake-up procedure and begin receiving new multi-channel RF data to re-traverse the multiple integrated data and determine valid data for transmission to the control system.

[0103] In this implementation, by judging the preset conditions to start the sleep program or the wake-up program, computer resources can be saved and resource utilization can be improved.

[0104] Further references Figure 8 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a data processing device. Figure 2 The method embodiment shown corresponds to the embodiment shown.

[0105] like Figure 8 As shown, the data processing device 800 of this embodiment may include: an acquisition module 810 , a first generation module 820 , a determination module 830 and a receiving module 840 .

[0106] The acquisition module 810 is configured to, in response to receiving multiple channels of radio frequency data, respectively acquire a plurality of historical integrated data corresponding to the multiple channels of radio frequency data, wherein the historical integrated data represents data after data processing of the radio frequency data;

[0107] The first generating module 820 is configured to generate a plurality of current integrated data corresponding to the multiple channels of radio frequency data based on the plurality of historical integrated data corresponding to the multiple channels of radio frequency data;

[0108] The determination module 830 is configured to traverse a plurality of current integrated data corresponding to the multi-channel radio frequency data and determine valid data for sending to the control system;

[0109] The receiving module 840 is configured to receive a processing result returned by the control system based on the valid data.

[0110] In some optional implementations of the present embodiment, the current integrated data includes the number of collection times and historical collection time points corresponding to the multiple channels of radio frequency data; and the determination module is further configured to: traverse the multiple current integrated data corresponding to the multiple channels of radio frequency data one by one, and determine whether the current integrated data appears for the first time based on the number of collection times and historical collection time points; in response to determining that the current integrated data appears for the first time, treat the current integrated data as valid data; until the traversal is completed, package the valid data and send it to the control system.

[0111] In some optional implementations of this embodiment, the device also includes: a judgment module, configured to judge whether the difference between the current time and the historical collection time point is greater than a first preset threshold in response to determining that the current integrated data does not appear for the first time; a deletion module, configured to delete the current integrated data in response to determining that the difference between the current time and the historical collection time point is greater than the first preset threshold; and a retention module, configured to retain the current integrated data in response to determining that the difference between the current time and the historical collection time point is not greater than the first preset threshold.

[0112] In some optional implementations of this embodiment, the apparatus further includes: a second generating module configured to, in response to receiving the processing result, generate a first control instruction corresponding to the multiple channels of radio frequency data based on the processing result.

[0113] In some optional implementations of this embodiment, the device also includes: a detection module, configured to detect whether there is new integrated data corresponding to new multi-channel radio frequency data in response to generating a corresponding first control instruction; a recording module, configured to record the determination time when the new integrated data is determined to be a null value in response to determining that the new integrated data is a null value; a judgment module, configured to judge whether the time difference between the current time and the determined time is greater than a second preset threshold; and a generation module, configured to generate a second control instruction in response to determining that the time difference between the current time and the determined time is greater than the second preset threshold.

[0114] In some optional implementations of this embodiment, the device also includes: a startup module; the startup module is configured to: start the sleep program in response to determining that the time difference between the current time and the determined time is not greater than a second preset threshold; start the wake-up program in response to determining that the preset condition is met, and receive new multi-channel radio frequency data.

[0115] The data processing device provided by the above-mentioned embodiment of the present disclosure, the above-mentioned execution subject first responds to receiving multiple channels of radio frequency data, respectively obtains multiple historical integrated data corresponding to the multiple channels of radio frequency data, and the historical integrated data represents the data after data processing of the radio frequency data, and then generates multiple current integrated data corresponding to the multiple channels of radio frequency data based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, and traverses the multiple current integrated data corresponding to the multiple channels of radio frequency data to determine the valid data for sending to the control system, and finally receives the processing result returned by the control system based on the valid data, thereby realizing the integration and deduplication of the multiple channels of radio frequency data reported by the multiple channels of radio frequency devices, and then feeds back the determined valid data to the control system, which can integrate and batch process the multiple channels of radio frequency data, realize deduplication of the reported data, improve the efficiency of multi-channel processing, thereby improving the rapid response efficiency after equipment identification, and improving the timeliness and friendliness of the alarm.

[0116] Those skilled in the art will appreciate that the above-mentioned device also includes some other well-known structures, such as a processor, a memory, etc. In order to unnecessarily obscure the embodiments of the present disclosure, these well-known structures are not described in detail. Figure 8 Not shown in the figure.

[0117] Reference below Figure 9, which shows a schematic structural diagram of an electronic device 900 suitable for implementing the embodiments of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as smart screens, laptop computers, PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 9 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0118] like Figure 9 As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. Various programs and data required for the operation of the electronic device 900 are also stored in the RAM 903. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0119] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 9 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead. Figure 9 Each block shown in the figure may represent one device, or may represent multiple devices as needed.

[0120] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium of the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wire, optical cable, RF (radio frequency), etc., or any suitable combination thereof.

[0121] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0122] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.

[0123] The units involved in the embodiments described in this application may be implemented by software or hardware. The units described may also be provided in a processor. For example, it may be described as follows: a processor includes an acquisition module, a first generation module, a determination module, and a receiving module, wherein the names of these modules do not, in some cases, constitute limitations on the modules themselves.

[0124] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device; or may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: in response to receiving multiple channels of radio frequency data, obtains multiple historical integrated data corresponding to the multiple channels of radio frequency data, wherein the historical integrated data represents data after data processing of the radio frequency data; based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, generates multiple current integrated data corresponding to the multiple channels of radio frequency data; traverses the multiple current integrated data corresponding to the multiple channels of radio frequency data to determine valid data for sending to the control system; and receives the processing results returned by the control system based on the valid data.

[0125] The above description is merely a preferred embodiment of the present disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also encompass other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned inventive concept. For example, a technical solution formed by mutually replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims

1. A data processing method, comprising: In response to receiving multiple channels of radio frequency data, respectively acquiring a plurality of historical integrated data corresponding to the multiple channels of radio frequency data, wherein the historical integrated data represents data obtained after data processing of the radio frequency data, and the multiple channels of radio frequency data include radio frequency data obtained by scanning and identifying radio frequency tags of different objects; Based on the multiple historical integrated data corresponding to the multiple channels of radio frequency data, generating multiple current integrated data corresponding to the multiple channels of radio frequency data, the current integrated data including the number of collection times and historical collection time points corresponding to the multiple channels of radio frequency data; traversing the plurality of current integrated data corresponding to the multi-channel radio frequency data one by one, and determining whether the current integrated data appears for the first time based on the number of acquisitions and the historical acquisition time point; in response to determining that the current integrated data appears for the first time, treating the current integrated data as valid data; and packaging the valid data and sending it to a control system after the traversal is completed; Receive a processing result returned by the control system based on the valid data.

2. The method according to claim 1, further comprising: In response to determining that the current integrated data does not appear for the first time, determining whether a difference between the current time and the historical collection time point is greater than a first preset threshold; In response to determining that the difference between the current time and the historical collection time point is greater than the first preset threshold, deleting the current integrated data; In response to determining that the difference between the current time and the historical collection time point is not greater than the first preset threshold, the current integrated data is retained.

3. The method according to claim 1, further comprising: In response to receiving the processing result, a first control instruction corresponding to the multiple channels of radio frequency data is generated based on the processing result.

4. The method according to claim 3, further comprising: In response to generating the corresponding first control instruction, detecting whether there is new integrated data corresponding to the new multi-channel radio frequency data; In response to determining that the new integrated data is a null value, recording a time of determining that the new integrated data is a null value; Determining whether a time difference between the current time and the determined time is greater than a second preset threshold; In response to determining that the time difference between the current time and the determined time is greater than the second preset threshold, a second control instruction is generated.

5. The method according to claim 4, further comprising: In response to determining that the time difference between the current time and the determined time is not greater than the second preset threshold, starting a hibernation procedure; In response to determining that the preset condition is met, a wake-up procedure is started to receive the new multi-channel radio frequency data.

6. A data processing device, comprising: an acquisition module configured to, in response to receiving multiple channels of radio frequency data, respectively acquire a plurality of historical integrated data corresponding to the multiple channels of radio frequency data, wherein the historical integrated data represents data obtained after data processing of the radio frequency data, and the multiple channels of radio frequency data include radio frequency data obtained by scanning and identifying radio frequency tags of different objects; A first generating module is configured to generate a plurality of current integrated data corresponding to the multiple channels of radio frequency data based on a plurality of historical integrated data corresponding to the multiple channels of radio frequency data, wherein the current integrated data includes a collection number and a historical collection time point corresponding to the multiple channels of radio frequency data; a determination module configured to traverse the plurality of current integrated data corresponding to the multi-channel radio frequency data one by one, and determine whether the current integrated data appears for the first time based on the number of acquisitions and the historical acquisition time point; in response to determining that the current integrated data appears for the first time, treat the current integrated data as valid data; and after the traversal is completed, package the valid data and send it to the control system; The receiving module is configured to receive a processing result returned by the control system based on the valid data.

7. The device according to claim 6, wherein The device further comprises: a judgment module configured to, in response to determining that the current integrated data does not appear for the first time, judge whether a difference between a current time and the historical collection time point is greater than a first preset threshold; a deleting module configured to delete the current integrated data in response to determining that the difference between the current time and the historical collection time point is greater than the first preset threshold; The retaining module is configured to retain the current integrated data in response to determining that the difference between the current time and the historical collection time point is not greater than the first preset threshold.

8. The device according to claim 6, wherein The device further comprises: The second generating module is configured to generate a first control instruction corresponding to the multiple channels of radio frequency data based on the processing result in response to receiving the processing result.

9. The device according to claim 8, wherein The device further comprises: a detection module configured to detect whether there is new integrated data corresponding to the new multi-channel radio frequency data in response to generating the corresponding first control instruction; a recording module configured to, in response to determining that the new integrated data is a null value, record a time of determining that the new integrated data is a null value; a determination module configured to determine whether a time difference between the current time and the determined time is greater than a second preset threshold; The generating module is configured to generate a second control instruction in response to determining that the time difference between the current time and the determined time is greater than the second preset threshold.

10. The device according to claim 9, wherein The apparatus further includes a startup module, wherein the startup module is configured to: In response to determining that the time difference between the current time and the determined time is not greater than the second preset threshold, starting a hibernation procedure; In response to determining that the preset condition is met, a wake-up procedure is started to receive the new multi-channel radio frequency data.

11. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method according to any one of claims 1 to 5.

12. A computer-readable medium having a computer program stored thereon, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Product data management method and device, and computer readable storage medium

    CN110515945A