Method and device for extracting scanning result of handheld terminal equipment and server

The scan data of PDA devices is obtained and extracted through the Android broadcast mechanism, which solves the problems of poor device compatibility and complex system integration in the prior art, and achieves higher compatibility and simplified integration process.

CN120050608APending Publication Date: 2025-05-27HANGZHOU KEQIANG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510197788.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

When obtaining scan data, existing PDA devices rely on the SDK provided by manufacturers, resulting in poor device compatibility and high system integration complexity.

Method used

By using the Android broadcast mechanism, a collection of broadcast information generated by the handheld terminal device scanning the QR code is obtained, and a preset content string is used for broadcast filtering and extraction, and the target scanning results are determined.

Benefits of technology

Significantly improves the compatibility of handheld terminal devices, reduces the complexity of system integration, avoids dependence on specific SDKs, and supports multiple data formats and broadcast actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050608A_ABST
    Figure CN120050608A_ABST
Patent Text Reader

Abstract

The invention provides a handheld terminal equipment scanning result extraction method and device and a server, and relates to the technical field of mobile equipment data acquisition, and the method comprises the steps: obtaining a broadcast information set generated by each handheld terminal equipment through scanning each two-dimensional code; performing broadcast screening processing on the broadcast information set by using a preset content character string, and determining broadcast intention information in target broadcast information corresponding to the standard two-dimensional code; and based on the broadcast action information, carrying out broadcast monitoring processing on the handheld terminal equipment, determining a target broadcast information set corresponding to the handheld terminal equipment in the broadcast information set, carrying out broadcast extraction processing on various broadcast additional data information in the target broadcast information set, and determining a target scanning result of the handheld terminal equipment. According to the invention, the compatibility of handheld terminal equipment can be obviously improved, and the complexity of system integration is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile device data collection, and in particular, to a method, device, and server for extracting scanning results of a handheld terminal device. Background Art

[0002] Currently, PDA devices (handheld terminal devices) on the market are widely used in scenarios such as warehouse management and logistics distribution. These devices usually come with a barcode scanning function for quickly collecting information. Related technologies propose that the scanned data of the barcode can be sent to a broadcast receiver in the form of a broadcast. After receiving the scanned data, the broadcast receiver sends it to the currently active edit box for display. However, existing PDA devices usually rely on the SDK provided by the manufacturer to obtain data. Since there are significant differences in the data acquisition methods of PDA devices from different manufacturers, it is necessary to integrate and maintain the SDKs of different manufacturers, thus increasing the development cost and the complexity of system integration. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a method, device, and server for extracting scanning results of a handheld terminal device, which can significantly improve the compatibility with handheld terminal devices and reduce the complexity of system integration.

[0004] In a first aspect, an embodiment of the present invention provides a method for extracting scanning results of a handheld terminal device. The method includes: obtaining a set of broadcast information generated by each handheld terminal device for scanning various two-dimensional codes, where the two-dimensional codes include standard two-dimensional codes and two-dimensional codes to be parsed, and the standard two-dimensional code is a two-dimensional code generated by a preset content string; using the preset content string to perform broadcast screening processing on the set of broadcast information to determine the broadcast intent information in the target broadcast information corresponding to the standard two-dimensional code, where the broadcast intent information includes: broadcast action information and broadcast additional data information; based on the broadcast action information, performing broadcast monitoring processing on the handheld terminal device to determine a set of target broadcast information corresponding to the handheld terminal device in the set of broadcast information, and performing broadcast extraction processing on each piece of broadcast additional data information in the set of target broadcast information to determine the target scanning result of the handheld terminal device.

[0005] In an implementation manner, the step of using the preset content string to perform broadcast screening processing on the set of broadcast information to determine the broadcast intent information in the target broadcast information corresponding to the standard two-dimensional code includes: using the preset content string to perform dynamic matching processing on the set of broadcast information to determine the target broadcast information with successful matching; performing broadcast parsing processing on the target broadcast information to determine the broadcast intent information in the target broadcast information.

[0006] In one embodiment, the steps of performing broadcast monitoring processing on a handheld terminal device based on broadcast action information include: determining the manufacturer information of the handheld terminal device through the action name in the broadcast action information, and registering the broadcast receiver corresponding to the manufacturer information to perform broadcast monitoring processing on the handheld terminal device.

[0007] In one embodiment, the steps of performing broadcast extraction processing on each piece of broadcast additional data information in the target broadcast information set to determine the target scan result of the handheld terminal device include: performing data scan processing on each piece of broadcast additional data information in the target broadcast information set to extract scan data; performing data parsing processing on the scan data to determine the target scan result of the handheld terminal device for the two-dimensional code to be parsed.

[0008] In one embodiment, the steps of performing data parsing processing on the scan data to determine the target scan result of the handheld terminal device for the two-dimensional code to be parsed include: obtaining the data format of each piece of scan data, and using the preset parsing model corresponding to each data format to perform parsing processing on the scan data to determine the target scan result.

[0009] In one embodiment, after the steps of performing data parsing processing on the scan data to determine the target scan result of the handheld terminal device for the two-dimensional code to be parsed, it includes: storing the two-dimensional code to be parsed and the target scan result corresponding to the two-dimensional code to be parsed in a preset database.

[0010] In one embodiment, after the step of storing the two-dimensional code to be parsed and the target scan result corresponding to the two-dimensional code to be parsed in a preset database, it includes: feeding back the scan result to the display area of the handheld terminal device, and closing the registered broadcast receiver.

[0011] In a second aspect, an extraction device for the scan result of a handheld terminal device provided by an embodiment of the present invention includes: an information acquisition module, which acquires a set of broadcast information generated by each handheld terminal device scanning various two-dimensional codes, where the two-dimensional codes include a standard two-dimensional code and a two-dimensional code to be parsed, and the standard two-dimensional code is a two-dimensional code generated from a preset content string; a broadcast screening module, which uses the preset content string to perform broadcast screening processing on the set of broadcast information to determine the broadcast intention information in the target broadcast information corresponding to the standard two-dimensional code, where the broadcast intention information includes: broadcast action information and broadcast additional data information; a broadcast extraction module, which performs broadcast monitoring processing on the handheld terminal device based on the broadcast action information, determines the target broadcast information set corresponding to the handheld terminal device in the set of broadcast information, and performs broadcast extraction processing on each piece of broadcast additional data information in the target broadcast information set to determine the target scan result of the handheld terminal device.

[0012] In a third aspect, an embodiment of the present invention further provides a server, including a processor and a memory. The memory stores computer-executable instructions that can be executed by the processor. The processor executes the computer-executable instructions to implement the method according to any one of the first aspect.

[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the method according to any one of the first aspect.

[0014] The embodiments of the present invention bring the following beneficial effects:

[0015] A method, device and server for extracting scanning results of a handheld terminal device provided by an embodiment of the present invention. After obtaining a set of broadcast information generated by each handheld terminal device scanning various two-dimensional codes, the method performs broadcast screening processing on the set of broadcast information by using a preset content string to determine the broadcast intention information in the target broadcast information corresponding to the standard two-dimensional code. Then, based on the broadcast action information, the method performs broadcast monitoring processing on the handheld terminal device to determine the set of target broadcast information corresponding to the handheld terminal device in the set of broadcast information, and performs broadcast extraction processing on each piece of broadcast additional data information in the set of target broadcast information to determine the target scanning result of the handheld terminal device. The embodiments of the present invention can obtain and extract the scanning data of the handheld terminal device through the system broadcast mechanism, avoid relying on a specific SDK, thereby significantly improving the compatibility with the handheld terminal device and reducing the complexity of system integration.

[0016] Other features and advantages of the present invention will be described in the following specification, and part of them will become obvious from the specification or be understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the specification, claims and drawings.

[0017] To make the above objectives, features and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given in conjunction with the accompanying drawings and described in detail as follows. Description of the Drawings

[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1Schematic flowchart of a method for extracting scanning results of a handheld terminal device provided by an embodiment of the present invention;

[0020] Figure 2 Schematic diagram of a method for extracting scanning results of a handheld terminal device provided by an embodiment of the present invention;

[0021] Figure 3 Schematic structural diagram of an extraction device for scanning results of a handheld terminal device provided by an embodiment of the present invention;

[0022] Figure 4 Schematic structural diagram of a server provided by an embodiment of the present invention. Detailed implementation manners

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Apparently, the described embodiments are some, rather than all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0024] Currently, PDA devices (handheld terminal devices) on the market are widely used in scenarios such as warehouse management and logistics distribution. These devices usually come with a barcode scanning function for quickly collecting information. Related technologies propose that the scanning data of barcodes can be sent to a broadcast receiver in the form of a broadcast. After receiving the scanning data, the broadcast receiver sends it to the currently active edit box for display. However, existing PDA devices usually rely on the SDK provided by the manufacturer for data acquisition. Since there are significant differences in data acquisition methods among PDA devices of different manufacturers, it increases the development cost and the complexity of system integration. That is to say, the existing solutions have device compatibility problems. The existing solutions rely on specific SDKs, which limits their support for different devices and PDA models. In addition, it is necessary to integrate and maintain the SDK in the application, which increases the complexity of development and maintenance. Further, since it is impossible to obtain scanning data from devices that do not integrate the SDK, the support for different types of PDA devices is limited, and there are functional limitations. Therefore, how to design a general solution that does not rely on a specific manufacturer's SDK and uniformly obtains the scanning data of all PDA devices through the broadcast mechanism of Android has become an urgent problem to be solved currently. Based on this, the method, device, and server for extracting scanning results of a handheld terminal device provided by the embodiments of the present invention can significantly improve the compatibility with handheld terminal devices and reduce the complexity of system integration.

[0025] See Figure 1Flow schematic diagram of a method for extracting scanning results of a handheld terminal device, the method mainly including the following steps S102 to step S106:

[0026] Step S102, obtain a set of broadcast information generated by each handheld terminal device scanning various two-dimensional codes. Among them, the two-dimensional codes include standard two-dimensional codes and two-dimensional codes to be parsed. The standard two-dimensional code is a two-dimensional code generated by a preset content string. In an implementation manner, after generating a standard two-dimensional code from a known string (i.e., the preset content string), start the main thread, input the generated preset content string into the input box of the Settings Activity, and then obtain the broadcast information obtained after the handheld terminal device scans the standard two-dimensional code.

[0027] Step S104, perform broadcast screening processing on the set of broadcast information by using the preset content string to determine the broadcast intent information in the target broadcast information corresponding to the standard two-dimensional code. Among them, the broadcast intent information (broadcast Intent) includes: broadcast action information (broadcast Action) and broadcast additional data information (broadcast Extras). In an implementation manner, it is possible to traverse and parse the broadcast key-value pairs in all the broadcast information sent by the handheld terminal device, and perform dynamic matching through the content in the input box of the Settings Activity to filter out the key-value pairs whose values are consistent with the two-dimensional code content, so as to lock the Action of this broadcast (i.e., the broadcast action information) and obtain the field name of the value (i.e., the name of the broadcast Action. The name of the broadcast Action is defined by the manufacturer of the PDA device (i.e., the handheld terminal device) and is used to identify the scanning event), and then start to register a broadcast receiver.

[0028] Step S106, based on the broadcast action information, perform broadcast monitoring processing on the handheld terminal device to determine the set of target broadcast information corresponding to the handheld terminal device in the set of broadcast information, and perform broadcast extraction processing on each item of broadcast additional data information in the set of target broadcast information to determine the target scanning result of the handheld terminal device. In an implementation manner, after obtaining the broadcast action information and the field name of the value obtained, register a broadcast receiver in the main thread for broadcast monitoring. After the handheld terminal device scans an external two-dimensional code or barcode (i.e., the two-dimensional code to be parsed), it sends the scanning data to the above-registered broadcast receiver in the form of a broadcast. The broadcast receiver obtains the scanned content, that is, the two-dimensional code content, through the above-obtained value field name, and then sends it to the currently active edit box for display. The user can obtain the content scanned by the handheld terminal and then process and apply it according to actual needs. Among them, when the activity is closed, it is necessary to close the above-registered broadcast receiver.

[0029] That is to say, the objective of the present invention is to provide a system and method for uniformly obtaining PDA scan data by using the Android broadcast mechanism, which can realize the real-time acquisition of PDA device scan data through system-level broadcasts without relying on a specific SDK, reduce development costs, and improve the compatibility and scalability of the system. The difference from the existing solution is that the existing solution can only obtain the scanned content when the Action of the device broadcast and the corresponding fields for receiving the broadcast data values are known. If the device manufacturer does not inform the broadcast Action and the fields for receiving data values, the data cannot be obtained correspondingly. However, in this solution, all key-value pairs in the broadcasts sent by the device are dynamically traversed, the content of each key value is checked, so as to filter and obtain the Action of the broadcast and the fields for receiving values, and then the broadcast registration is performed.

[0030] Therefore, the method for extracting the scanning result of the handheld terminal device provided by the embodiment of the present invention automatically obtains and extracts PDA scan data through the system broadcast mechanism, avoids relying on a specific SDK, realizes flexible filtering and extraction of scan data in the broadcast receiver, supports multiple data formats and broadcast actions. In addition, a general solution is provided, which can be compatible with different PDA devices and improve the adaptability and scalability of the system.

[0031] See Figure 2 As shown in the schematic diagram of a method for extracting the scanning result of a handheld terminal device, the embodiment of the present invention also provides an implementation manner for extracting and processing the scanning result. Specifically, see the following (1) to (3):

[0032] (1) Dynamically match and process the broadcast information set by using a preset content string, determine the target broadcast information with successful matching, and perform broadcast parsing processing on the target broadcast information to determine the broadcast intent information in the target broadcast information. In practical applications, when the broadcast receiver receives a broadcast, it will obtain an Intent object. The Intent object contains the Action of the broadcast and other additional data. It is necessary to extract the Action from the Intent object and compare it with the expected broadcast Action to confirm whether the broadcast meets the conditions. Only when the Action matches will the broadcast data be further processed. For example, if the PDA sends ten broadcasts, 9 of which are broadcasts sent after scanning a two-dimensional code to be parsed, and 1 is a broadcast sent after scanning a standard two-dimensional code, the known characters for constructing the standard two-dimensional code are paired with each broadcast in turn to determine the broadcast with successful matching.

[0033] (2) Determine the manufacturer information of the handheld terminal device by broadcasting the action name in the action information, and register the broadcast receiver corresponding to the manufacturer information to perform broadcast monitoring processing on the handheld terminal device to determine the target broadcast information set. In practical applications, the Action of the broadcast is a string used to identify the broadcast type. Each broadcast Action corresponds to different broadcast messages. Usually, the Action name of the broadcast is defined by the PDA device manufacturer and is used to identify the scanning event. It is necessary to determine the corresponding broadcast Action name according to the PDA's documentation or relevant materials. This Action name is used as an identifier in the broadcast to distinguish different types of broadcast messages. For example, after receiving the broadcast, first determine the PDA device type according to the Action name (that is, which manufacturer's broadcast), and then determine the broadcast messages represented by different Actions according to the waveguide rules of this manufacturer (different broadcast actions represent different broadcast messages).

[0034] In addition, the additional data contained in the Intent object is the specific content of the broadcast. It is necessary to extract this additional data from the Intent and filter it according to the field name. Usually, the scan data is stored in the Extras in a certain format, which may be JSON, XML or other custom formats. It is necessary to extract the corresponding value from the Extras according to the expected data field (such as "scan_data").

[0035] (3) Perform data scanning processing on each piece of broadcast additional data information in the target broadcast information set to extract the scan data, and perform data parsing processing on the scan data to determine the target scan result of the handheld terminal device for the two-dimensional code to be parsed. Specifically, the data format of each piece of scan data can be obtained, and the scan data can be parsed using the preset parsing model corresponding to each data format to determine the target scan result. In one implementation, after determining the target scan result, it is necessary to store the two-dimensional code to be parsed and the target scan result corresponding to the two-dimensional code to be parsed in a preset database, and feedback the scan result to the display area of the handheld terminal device. Finally, close the registered broadcast receiver.

[0036] In practical applications, in a broadcast receiver, scan data is extracted from the Extras of an Intent. This data may exist in the form of strings, JSON objects, or other formats. Subsequently, fields related to the scan data need to be identified and extracted. Among them, these fields usually may have specific names (such as "scan_data") to identify the scan results. Since the extracted data needs to be further parsed to process the data, the data needs to be converted into a format that the application can understand. For example, if the data is in JSON format, the parsing process includes converting the JSON string into an object and extracting the required fields. The parsed scan data can be used for further processing, including displaying the scan results, storing the data, performing certain operations, etc., as well as saving the barcode data to a database or triggering certain business logics.

[0037] In summary, the present invention utilizes the system broadcast mechanism rather than a specific SDK, which can support obtaining scan data from various PDA devices, thereby achieving multi-device support. Specifically, different PDA devices may use different SDKs or APIs, but the system broadcast is a standard mechanism that can achieve compatibility between devices. By this method, the dependence on a single device manufacturer is reduced, and it can be widely applied to PDA devices of different brands and models. In addition, the present invention can also perform flexible broadcast processing, that is, the broadcast mechanism allows the application to process different types of broadcast messages, enabling it to adapt to the broadcast formats of different devices. Even if the device manufacturer changes the broadcast format or content, the application can adapt to these changes by adjusting the broadcast filtering and extraction logic, without the need to rewrite the entire data acquisition logic.

[0038] In addition, the present invention can also achieve diversified data parsing: the data in the broadcast may adopt various formats (such as JSON, XML, or custom formats). By designing a flexible data parsing mechanism, this solution can handle various data formats. This flexibility enables the system to adapt to new formats or standards that may emerge in the future, reducing the complexity of future maintenance. The system broadcast mechanism also allows applications to perform dynamic filtering based on different broadcast Actions and data contents. By matching specific Actions and parsing relevant data fields, applications can flexibly extract the required information from multiple broadcasts, thereby achieving dynamic broadcast filtering. The most difficult part of this dynamic filtering is to solve how to obtain the broadcast content, get the scanned data, and then process it when we don't know the Action of the broadcast sent by the PDA and the fields of the received values. The present invention generates a QR code from a known string, configures the string into the application, and then uses the PDA to scan the QR code. When the PDA triggers the scan, we traverse all key-value pairs in the broadcasts sent by the device in the application, check the content of each key, and when the value traversed from the broadcast is consistent with the string of the generated QR code, we can lock the Action of the broadcast and the fields for obtaining values, and dynamically configure them into our monitored broadcast. In this way, the subsequent scanned content of the device can obtain data through the new monitored broadcast. At the same time, we also support storing all possible key-value pairs in a configuration file or database and allowing dynamic updates. This dynamic filtering ability enables applications to extract useful scanned data from various broadcast messages, avoiding the dependence on a fixed data structure.

[0039] Furthermore, existing solutions may require specific SDKs when integrating PDA scanned data. These SDKs may have complex integration and configuration requirements. However, the present invention simplifies the integration process by adopting a broadcast mechanism. Applications only need to monitor and parse broadcasts without dealing with complex SDK integration issues, thereby reducing the development and maintenance workload. The use of the broadcast mechanism also reduces the dependence on device-specific SDKs, lowering the system maintenance cost. Since there is no need to follow the SDK updates or adapt to new versions of the SDK, the maintenance work of the application becomes simpler and more efficient. In addition, the standardized feature of the broadcast mechanism also reduces compatibility issues caused by device changes.

[0040] Meanwhile, the broadcast mechanism allows the application to receive and process the scanned data in real time. When the PDA device finishes scanning and broadcasts the data, the application can immediately obtain and process the data. This real-time data acquisition ability improves the system's response speed, enhances the data processing capacity, and enables faster completion of data processing and business operations. Through the standardized broadcast mechanism, the application can also ensure a certain degree of data integrity for the scanned data received from the PDA device. The broadcast mechanism provides a clear data transmission path, ensuring that the data will not be lost or damaged during transmission, thereby improving the reliability of data processing.

[0041] For the method for extracting the scanning result of the handheld terminal device provided in the foregoing embodiment, the embodiment of the present invention provides a device for extracting the scanning result of the handheld terminal device. Refer to Figure 3 the structural schematic diagram of a device for extracting the scanning result of a handheld terminal device as shown, and this device includes the following parts:

[0042] An information acquisition module 302, which acquires a set of broadcast information generated by each handheld terminal device scanning various two-dimensional codes. Among them, the two-dimensional codes include standard two-dimensional codes and two-dimensional codes to be parsed. The standard two-dimensional code is a two-dimensional code generated from a preset content string;

[0043] A broadcast screening module 304, which performs broadcast screening processing on the set of broadcast information by using a preset content string to determine the broadcast intention information in the target broadcast information corresponding to the standard two-dimensional code. Among them, the broadcast intention information includes: broadcast action information and broadcast additional data information;

[0044] A broadcast extraction module 306, which performs broadcast monitoring processing on the handheld terminal device based on the broadcast action information, determines a set of target broadcast information corresponding to the handheld terminal device in the set of broadcast information, and performs broadcast extraction processing on each item of broadcast additional data information in the set of target broadcast information to determine the target scanning result of the handheld terminal device.

[0045] The above-mentioned device for extracting the scanning result of the handheld terminal device provided by the embodiment of the present application can significantly improve the compatibility with the handheld terminal device and reduce the complexity of system integration.

[0046] In one implementation manner, when performing the step of performing broadcast screening processing on the set of broadcast information by using a preset content string to determine the broadcast intention information in the target broadcast information corresponding to the standard two-dimensional code, the above-mentioned broadcast screening module 304 is further configured to: perform dynamic matching processing on the set of broadcast information by using a preset content string to determine the target broadcast information with successful matching; perform broadcast parsing processing on the target broadcast information to determine the broadcast intention information in the target broadcast information.

[0047] In one implementation, when performing the step of performing broadcast monitoring processing on the handheld terminal device based on the broadcast action information, the above-mentioned broadcast extraction module 306 is further configured to: determine the manufacturer information of the handheld terminal device through the action name in the broadcast action information, and register the broadcast receiver corresponding to the manufacturer information to perform broadcast monitoring processing on the handheld terminal device.

[0048] In one implementation, when performing the step of performing broadcast extraction processing on each piece of broadcast additional data information in the target broadcast information set to determine the target scan result of the handheld terminal device, the above-mentioned broadcast extraction module 306 is further configured to: perform data scanning processing on each piece of broadcast additional data information in the target broadcast information set to extract scan data; perform data parsing processing on the scan data to determine the target scan result of the handheld terminal device for the two-dimensional code to be parsed.

[0049] In one implementation, when performing the step of performing data parsing processing on the scan data to determine the target scan result of the handheld terminal device for the two-dimensional code to be parsed, the above-mentioned broadcast extraction module 306 is further configured to: obtain the data format of each piece of scan data, and use the preset parsing model corresponding to each data format to perform parsing processing on the scan data to determine the target scan result.

[0050] In one implementation, after performing the step of performing data parsing processing on the scan data to determine the target scan result of the handheld terminal device for the two-dimensional code to be parsed, the above-mentioned broadcast extraction module 306 is further configured to: store the two-dimensional code to be parsed and the target scan result corresponding to the two-dimensional code to be parsed in a preset database.

[0051] In one implementation, after the step of storing the two-dimensional code to be parsed and the target scan result corresponding to the two-dimensional code to be parsed in a preset database, the above-mentioned broadcast extraction module 306 is further configured to: feedback the scan result to the display area of the handheld terminal device and close the registered broadcast receiver.

[0052] The device provided by the embodiment of the present invention has the same implementation principle and the same technical effects as those of the foregoing method embodiment. For a brief description, for the parts not mentioned in the device embodiment, reference may be made to the corresponding content in the foregoing method embodiment.

[0053] The embodiment of the present invention provides a server. Specifically, the server includes a processor and a storage device; a computer program is stored on the storage device, and when the computer program is run by the processor, it executes the method according to any one of the above-mentioned implementations.

[0054] Figure 4A schematic structural diagram of a server provided by an embodiment of the present invention. The server 100 includes: a processor 40, a memory 41, a bus 42, and a communication interface 43. The processor 40, the communication interface 43, and the memory 41 are connected through the bus 42. The processor 40 is configured to execute an executable module stored in the memory 41, such as a computer program.

[0055] Among them, the memory 41 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 43 (which may be wired or wireless), a communication connection is established between this system network element and at least one other network element, and the Internet, wide area network, local area network, metropolitan area network, etc. can be used.

[0056] The bus 42 may be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 4 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0057] Among them, the memory 41 is used to store a program. After receiving an execution instruction, the processor 40 executes the program. The method executed by the device defined by the flow process disclosed in any embodiment of the foregoing embodiments of the present invention can be applied to the processor 40 or implemented by the processor 40.

[0058] The processor 40 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 40 or the instructions in the form of software. The above-mentioned processor 40 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 41, and the processor 40 reads the information in the memory 41 and combines its hardware to complete the steps of the above method.

[0059] The computer program product of the readable storage medium provided by the embodiments of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For the specific implementation, reference can be made to the foregoing method embodiments, which will not be elaborated here.

[0060] If the above-described functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0061] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting them. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions described in the foregoing embodiments, or can easily conceive of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes, or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A method for extracting scanning results of a handheld terminal device, characterized in that: The method comprises: Acquire a broadcast information set generated by each handheld terminal device scanning each QR code, wherein the QR code includes a standard QR code and a QR code to be parsed, and the standard QR code is a QR code generated by a preset content string; Perform broadcast screening processing on the broadcast information set using a preset content character string to determine broadcast intent information in the target broadcast information corresponding to the standard QR code, wherein the broadcast intent information includes: broadcast action information and broadcast additional data information; Based on the broadcast action information, broadcast monitoring processing is performed on the handheld terminal device to determine the target broadcast information set corresponding to the handheld terminal device in the broadcast information set, and broadcast extraction processing is performed on each item of the broadcast additional data information in the target broadcast information set to determine the target scanning result of the handheld terminal device.

2. The method for extracting scanning results of a handheld terminal device according to claim 1, characterized in that: The step of performing broadcast screening processing on the broadcast information set by using a preset content character string to determine the broadcast intention information in the target broadcast information corresponding to the standard QR code includes: Performing dynamic matching processing on the broadcast information set using a preset content character string to determine the target broadcast information that has successfully matched; Perform broadcast parsing processing on the target broadcast information to determine the broadcast intent information in the target broadcast information.

3. The method for extracting scanning results of a handheld terminal device according to claim 1, characterized in that: The step of performing broadcast monitoring processing on the handheld terminal device based on the broadcast action information includes: The manufacturer information of the handheld terminal device is determined through the action name in the broadcast action information, and the broadcast receiver corresponding to the manufacturer information is registered to perform broadcast monitoring processing on the handheld terminal device.

4. The method for extracting scanning results of a handheld terminal device according to claim 1, characterized in that: The step of performing broadcast extraction processing on each item of the broadcast additional data information in the target broadcast information set to determine the target scanning result of the handheld terminal device includes: Performing data scanning processing on each item of the broadcast additional data information in the target broadcast information set to extract scan data; The scanned data is subjected to data analysis and processing to determine the target scanning result of the handheld terminal device on the two-dimensional code to be analyzed.

5. The method for extracting scanning results of a handheld terminal device according to claim 4, characterized in that: The step of performing data analysis on the scanned data to determine the target scanning result of the handheld terminal device on the two-dimensional code to be analyzed includes: The data formats of each item of the scan data are obtained, and the scan data are parsed and processed using a preset parsing model corresponding to each data format to determine the target scan result.

6. The method for extracting scanning results of a handheld terminal device according to claim 4, characterized in that: After the step of performing data analysis on the scanned data to determine the target scanning result of the handheld terminal device on the two-dimensional code to be analyzed, the method includes: The to-be-parsed two-dimensional code and the target scanning result corresponding to the to-be-parsed two-dimensional code are stored in a preset database.

7. The method for extracting scanning results of a handheld terminal device according to claim 6, characterized in that: After the step of storing the to-be-parsed two-dimensional code and the target scanning result corresponding to the to-be-parsed two-dimensional code in a preset database, the method further comprises: The scanning result is fed back to the display area of ​​the handheld terminal device, and the registered broadcast receiver is closed.

8. A device for extracting scanning results of a handheld terminal device, characterized in that: The device comprises: An information acquisition module is used to acquire a broadcast information set generated by scanning each QR code by each handheld terminal device, wherein the QR code includes a standard QR code and a QR code to be parsed, and the standard QR code is a QR code generated by a preset content string; A broadcast screening module, which performs broadcast screening processing on the broadcast information set using a preset content string, and determines the broadcast intention information in the target broadcast information corresponding to the standard QR code, wherein the broadcast intention information includes: broadcast action information and broadcast additional data information; The broadcast extraction module performs broadcast monitoring processing on the handheld terminal device based on the broadcast action information, determines the target broadcast information set corresponding to the handheld terminal device in the broadcast information set, and performs broadcast extraction processing on each item of the broadcast additional data information in the target broadcast information set to determine the target scanning result of the handheld terminal device.

9. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 7.