Anti-counterfeiting traceability method and system based on electronic tag
Through the proxy server processing and integrating electronic tag images, and synchronous querying of multiple application software backgrounds, the problem of insufficient data interoperability in the existing technology is solved, comprehensive acquisition and accurate identification of product information is achieved, and anti-counterfeiting and traceability efficiency is improved.
Patent Information
- Application Number
- CN202411517615.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-10-29
AI Technical Summary
When existing electronic tags are scanned by consumers through mobile phones, the data interoperability of existing electronic tags is insufficient, resulting in a complex process of anti-counterfeiting and traceability of goods, and the inability to effectively obtain product information, which increases obstacles.
Through a proxy server, the product image uploaded by the personal terminal is recognized and processed, and the tag image is generated, and the command group is integrated is sent to the personal terminal, so that all applications with the scanning function can be identified and queryed in the background, realizing the synchronization of multiple application software Query.
It effectively avoids the situation of fruitless inquiry, improves the comprehensiveness and accuracy of users' acquisition of product information, and supports the anti-counterfeiting and traceability needs of products.
Smart Images

Figure CN119313360A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of label anti-counterfeiting, and in particular to an anti-counterfeiting tracing method and system based on electronic labels. Background Art
[0002] Electronic tags, usually RFID tags, are a contactless automatic identification technology. RFID tags exchange data with readers via radio waves to identify, track and manage items.
[0003] Traditional electronic tags can only be read using special RFID reading devices, so as to obtain the product information carried by the electronic tags. Consumers are also very concerned about the authenticity of the products. It is obviously inappropriate for consumers to carry reading devices. Therefore, existing electronic tags will have barcodes or QR codes. Consumers can also view the product information by scanning the barcode or QR code on the electronic tag with their mobile phones, thereby meeting the needs of consumers in anti-counterfeiting and traceability.
[0004] In actual situations, consumers need to open special application software to scan electronic tags with their mobile phones. Of course, many mobile phone camera applications have integrated scanning functions. Even so, each scan is done by a single application. Nowadays, the products on the market are complex and diverse, and there is a lack of data interoperability. This leads to many consumers being unable to obtain relevant information about the products when they open an application to scan, which adds obstacles to the anti-counterfeiting and traceability of the products. Therefore, an anti-counterfeiting and traceability method and system based on electronic tags are proposed to solve the above problems. Summary of the invention
[0005] In view of the deficiencies in the prior art, the purpose of the present invention is to provide an anti-counterfeiting and traceability method and system based on electronic tags to solve the problems existing in the above-mentioned background technology.
[0006] The present invention is implemented as follows: an anti-counterfeiting and tracing method based on electronic tags, the method comprising the following steps:
[0007] The proxy server recognizes and processes the product image uploaded by the personal terminal to obtain a label image;
[0008] Generate an instruction group based on the application data of the personal terminal, and integrate the label image and send it to the personal terminal, so that the designated application in the personal terminal can recognize the label image in the background, and the designated application is all the applications or software with code scanning function in the personal terminal;
[0009] Receiving a request data packet uploaded by a personal terminal and performing screening processing to determine the parsing status of the electronic tag in the tag image by the designated application, wherein the request data packet includes a plurality of parameters for parsing the electronic tag by the designated application;
[0010] The proxy server queries the product information based on the parameters in the request data packet, and integrates and packages the query results into response data and sends them to the personal terminal.
[0011] As a further solution of the present invention: the step of obtaining a label image by identifying and processing the product image uploaded by the personal terminal through the proxy server specifically includes:
[0012] Receiving product images uploaded by a personal terminal through a proxy server;
[0013] Identify the features contained in the product image to determine whether the product image contains features of the electronic tag;
[0014] When the product image contains an electronic tag, the user behavior is judged based on the features of the electronic tag and the product image;
[0015] When a user searches for product information through the product image, the electronic tag features in the product image are extracted to obtain a tag image, and the tag image is processed using image enhancement technology.
[0016] As a further solution of the present invention: the step of judging the user behavior based on the features of the electronic tag and the product image specifically includes:
[0017] Selecting a region based on the electronic tag features in the product image to obtain a feature region;
[0018] Divide the product image into a central area and a peripheral area according to a set ratio;
[0019] Processing the characteristic region, the central region and the edge region in the product image in a coordinate format and calculating the relative positions of the three regions so that the characteristic region, the central region and the edge region are all represented in the form of coordinates;
[0020] When the feature area and the central area intersect, it is determined that the product image is used to query product information;
[0021] When the feature area is only located in the edge area, the proportion of the feature area relative to the product image is calculated through the coordinates. When the proportion is greater than a set value, it is determined that the product image is used to query product information.
[0022] As a further solution of the present invention: the step of generating an instruction group based on the application data of the personal terminal and integrating the label image and sending it to the personal terminal specifically includes:
[0023] The proxy server analyzes the application data of the user when using the personal terminal to obtain application information, wherein the application information is the application or software in the personal terminal;
[0024] Based on the application information, query the application metadata through the application store, where the metadata includes description information of the application in the application store;
[0025] Extracting keywords related to the code scanning function according to the metadata, and using them to determine a designated application in the personal terminal;
[0026] Generate corresponding instructions according to the specified application and integrate them to obtain an instruction group;
[0027] The label image and the instruction group are integrated and sent to the proxy application in the personal terminal. The proxy application is used to start other applications with code scanning function in the personal terminal. The proxy application has been authorized by the user.
[0028] As a further solution of the present invention: the method further comprises:
[0029] Receiving the instruction group and the label image from the server through the proxy application;
[0030] Start the corresponding designated application according to the content of the instruction in the instruction group, wherein the designated application is started in the background;
[0031] The background system detects the result of starting the specified application to determine whether the specified application is successfully started in the background;
[0032] When the detection is passed, the label image is shared to the designated application through the proxy application.
[0033] As a further solution of the present invention: the step of integrating the query results specifically includes:
[0034] Query multiple content information about products through the parameters in the request data packet;
[0035] Identify the content information of multiple products and generate a summary information table about the products to supplement the detailed information of the products;
[0036] Compare the content information of multiple products horizontally to filter out incorrect descriptions in the content information;
[0037] The product's overall information table is completed based on the comparison results.
[0038] Another object of the present invention is to provide an anti-counterfeiting and traceability system based on electronic tags, the system comprising:
[0039] An image processing module is used to identify and process the product image uploaded by the personal terminal through the proxy server to obtain a label image;
[0040] An instruction processing module generates an instruction group based on the application data of the personal terminal, and integrates the label image and sends it to the personal terminal, so that the designated application in the personal terminal can recognize the label image in the background. The designated application is all applications or software with a code scanning function in the personal terminal;
[0041] A request processing module, used to receive a request data packet uploaded by a personal terminal and perform screening processing to determine the parsing status of the electronic tag in the tag image by the designated application, wherein the request data packet includes a plurality of parameters for parsing the electronic tag by the designated application;
[0042] The information query module is used to query the information of commodities based on the parameters in the request data packet through the proxy server, and integrate and package the query results into response data and send them to the personal terminal.
[0043] As a further solution of the present invention: the image processing module includes:
[0044] An image receiving unit, used for receiving the commodity image uploaded by the personal terminal through the proxy server;
[0045] A feature recognition unit is used to recognize features contained in the product image and to distinguish whether the product image contains features of an electronic tag;
[0046] A judgment unit, used for judging the user behavior based on the characteristics of the electronic tag and the product image when the product image contains an electronic tag;
[0047] The image extraction unit is used to extract the electronic tag features in the product image to obtain a tag image when the user queries the product information through the product image, and process the tag image using image enhancement technology.
[0048] As a further solution of the present invention: the instruction processing module includes:
[0049] An application parsing unit, used to parse application data when a user uses a personal terminal through a proxy server to obtain application information, wherein the application information is an application or software in the personal terminal;
[0050] A tracing unit, which queries the metadata of the application through the application store based on the application information, wherein the metadata includes description information of the application in the application store;
[0051] An information extraction unit, configured to extract keywords related to the code scanning function according to the metadata, for determining a designated application in the personal terminal;
[0052] An integration unit, used to generate corresponding instructions according to a specified application and integrate them to obtain an instruction group;
[0053] The transmission unit is used to integrate the label image and the instruction group and send them to the proxy application in the personal terminal. The proxy application is used to start other applications with code scanning function in the personal terminal. The proxy application has been authorized by the user.
[0054] As a further solution of the present invention: the information query module includes:
[0055] A content retrieval unit, used to query multiple content information about the product through parameters in the request data packet;
[0056] An information complementation unit, used to identify the content information of multiple commodities and generate a summary information table about the commodities to supplement the detailed information of the commodities;
[0057] An information correction unit, used for horizontally comparing the content information of multiple products to filter out erroneous descriptions in the content information;
[0058] The information supplement unit is used to complete the product's overall information table according to the comparison result.
[0059] Compared with the prior art, the present invention has the following beneficial effects:
[0060] The present invention is different from the conventional method of using the personal terminal system itself or application software to parse and process the QR code or barcode on the electronic tag. After the personal terminal takes a picture of the product image, the product image will first be transmitted to the proxy server for processing to obtain the label image. Then the proxy server can identify all the application software with the code scanning function in the personal terminal, and then start these applications in the background through the instruction group, and send the label image for them to identify, use multiple applications or software to synchronously query the label, and then integrate the information of the product finally queried. In summary, when the user queries the information of the product through the electronic tag to distinguish its authenticity, multiple applications or software can be enabled to perform queries synchronously in the background, effectively avoiding the situation where the query is fruitless, thereby helping the user's needs for anti-counterfeiting and traceability of the product. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 The figure is a flow chart of an anti-counterfeiting and traceability method based on electronic tags.
[0062] Figure 2 The present invention is a flow chart of obtaining a label image by identifying and processing a product image uploaded by a personal terminal through a proxy server in an anti-counterfeiting and traceability method based on electronic tags.
[0063] Figure 3 The present invention is a flowchart of judging user behavior based on the features of electronic tags and product images in an anti-counterfeiting and traceability method based on electronic tags.
[0064] Figure 4 The present invention is a flowchart of generating an instruction group based on the application data of a personal terminal in an anti-counterfeiting and traceability method based on an electronic tag, and integrating the label image and sending it to the personal terminal.
[0065] Figure 5 The present invention is a flowchart for integrating query results in an anti-counterfeiting and traceability method based on electronic tags.
[0066] Figure 6 The figure is a structural diagram of an anti-counterfeiting and traceability system based on electronic tags.
[0067] Figure 7 The figure is a schematic diagram of the structure of an image processing module in an anti-counterfeiting and traceability system based on electronic tags.
[0068] Figure 8 The figure is a schematic diagram of the structure of the instruction processing module in an anti-counterfeiting and traceability system based on electronic tags.
[0069] Fig. 9 The figure is a schematic diagram of the structure of an information query module in an anti-counterfeiting and traceability system based on electronic tags. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0071] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments.
[0072] like Figure 1 As shown, an embodiment of the present invention provides an anti-counterfeiting and traceability method based on an electronic tag, the method comprising the following steps:
[0073] S100, identifying and processing the product image uploaded by the personal terminal through the proxy server to obtain a label image;
[0074] S200, generating an instruction group based on application data of the personal terminal, and integrating the label image and sending it to the personal terminal, so that a designated application in the personal terminal can recognize the label image in the background, and the designated application is all applications or software with a code scanning function in the personal terminal;
[0075] S300, receiving a request data packet uploaded by a personal terminal and performing screening processing to determine the parsing status of the electronic tag in the tag image by the designated application, wherein the request data packet includes a plurality of parameters for parsing the electronic tag by the designated application;
[0076] S400, query the information of the products based on the parameters in the request data packet through the proxy server, and integrate and package the query results into response data and send them to the personal terminal.
[0077] It should be noted that each scan is done by a single application. Today, the products on the market are complex and diverse, and there is a lack of data interoperability. This results in many consumers being unable to obtain relevant information about the product when they open an application to scan, which adds obstacles to product anti-counterfeiting and traceability. The proxy server is used to process images taken by personal terminals, and is also used to identify applications with scanning functions on personal terminals. The proxy server is also used to query product information on the corresponding target server based on different parameters. In simple terms, it is to add a transfer station in the data transmission process of product information query, because the existence of this transfer station makes it possible to synchronize multiple applications. Compared with the traditional situation where terminal applications and servers communicate directly with each other, this method can ensure that the information obtained is more comprehensive.
[0078] In the embodiment of the present invention, the present invention is different from the conventional method of using the personal terminal system itself or application software to parse and process the QR code or barcode on the electronic tag. After the personal terminal takes a picture of the product image, the product image will first be transmitted to the proxy server for processing to obtain the label image. Then the proxy server can identify all the application software with the code scanning function in the personal terminal, and then start these applications in the background through the instruction group, and send the label image for them to identify, use multiple applications or software to synchronously query the label, and then integrate the information of the product finally queried. In summary, when the user queries the information of the product through the electronic tag to identify its authenticity, multiple applications or software can be used to query synchronously in the background, effectively avoiding the situation where the query is fruitless, thereby helping the user's needs for anti-counterfeiting and traceability of the product.
[0079] like Figure 2 As shown, as a preferred embodiment of the present invention, the step of identifying and processing the commodity image uploaded by the personal terminal through the proxy server to obtain the label image specifically includes:
[0080] S101, receiving a product image uploaded by a personal terminal through a proxy server;
[0081] S102, identifying features contained in the product image to determine whether the product image contains features of an electronic tag;
[0082] S103, when the product image contains an electronic tag, judging the user behavior based on the features of the electronic tag and the product image;
[0083] S104, when the user searches for product information through the product image, the electronic label features in the product image are extracted to obtain a label image, and the label image is processed using image enhancement technology.
[0084] In the embodiment of the present invention, the processing and judgment process of the product image is mainly described. First, it is necessary to determine whether the product image taken by the user has the feature of the electronic tag, so as to determine whether the user uses the product image to query the information of the corresponding product. Of course, even if the product image includes the feature of the electronic tag, it does not necessarily guarantee that the user needs to query the information of the product. The consumer may only use it for record. Therefore, it is necessary to further judge the user behavior based on the product image to determine the user's needs. When the result is determined, it is necessary to extract the feature of the electronic tag in the product image to obtain a label image. The label image includes a barcode or a QR code carried on the electronic tag. In order to facilitate subsequent analysis through the barcode or QR code, the label image is processed using image enhancement technology. The image enhancement technology will adjust certain features of the label image to make it easier to be recognized. First, the histogram equalization technology will be used to expand the dynamic range of the image, thereby improving the contrast of the image. Secondly, various details of the image are enhanced by gamma correction and sharpening. The above method can significantly improve the quality of the label image.
[0085] like Figure 3 As shown, as a preferred embodiment of the present invention, the step of judging the user behavior based on the characteristics of the electronic tag and the product image specifically includes:
[0086] S113, selecting a region according to the electronic tag features in the product image to obtain a feature region;
[0087] S123, dividing the product image into a central area and a peripheral area according to a set ratio;
[0088] S133, coordinate processing is performed on the feature area, the center area and the edge area in the product image and the relative positions of the three are calculated, so that the feature area, the center area and the edge area are all expressed in the form of coordinates;
[0089] S143, when the feature area and the central area have an intersection, it is determined that the product image is used to query product information;
[0090] S153, when the feature area is only located in the edge area, the proportion of the feature area to the product image is calculated through the coordinates, and when the proportion is greater than a set value, it is determined that the product image is used to query product information.
[0091] In an embodiment of the present invention, the area of the electronic tag feature, that is, the feature area, is first identified based on the product image. The product image is divided into a central area and an edge area according to its distribution. When the feature area intersects with the central area, it can indicate that the user is focused on the electronic tag, thereby determining that the user has a need to query the product. Of course, the electronic tag may deviate due to problems with the user's photography, that is, the above-mentioned feature area is only located in the edge area. In this case, the proportion of the feature area relative to the entire product image is required, thereby indicating the proportion of the electronic tag relative to the product image. In this way, the user's focus can also be determined.
[0092] like Figure 4 As shown, as a preferred embodiment of the present invention, the step of generating an instruction group based on the application data of the personal terminal and integrating the label image and sending it to the personal terminal specifically includes:
[0093] S201, obtaining application information by parsing application data when a user uses a personal terminal through a proxy server, wherein the application information is an application or software in the personal terminal;
[0094] S202, querying metadata of the application through the application store based on the application information, where the metadata includes description information of the application in the application store;
[0095] S203, extracting keywords related to the code scanning function according to the metadata, for determining a designated application in the personal terminal;
[0096] S204, generating corresponding instructions according to the specified application and integrating them to obtain an instruction group;
[0097] S205, integrating the label image and the instruction group and sending them to the proxy application in the personal terminal, wherein the proxy application is used to start other applications with code scanning function in the personal terminal, and the proxy application has been authorized by the user.
[0098] S206, receiving the instruction group and the label image from the server through the proxy application;
[0099] S207, starting a corresponding designated application according to the content of the instruction in the instruction group, wherein the designated application is started in the background;
[0100] S208, detecting the result of starting the specified application through the background system to determine whether the specified application is successfully started in the background;
[0101] S209: When the detection is passed, the label image is shared to a designated application through a proxy application.
[0102] In the embodiment of the present invention, when using a personal terminal, a user will open various application software. The use of these application software is also accompanied by the process of data transmission. Because the proxy server may parse these application data, various applications included in the personal terminal can be discovered. Of course, for the sake of data security, this step requires the permission of the user. The application is downloaded from the application store that comes with the personal terminal. Through the description of the application function in the application store, it can be learned which applications in the personal terminal have the function of scanning the code, and then the instructions for starting can be generated according to these specified applications. Of course, it is unrealistic to directly control the startup of a certain application because it involves the permissions and security issues of the operating system. Modern mobile operating systems (such as Android and iOS) are strictly limited when they are designed. The ability of external systems (such as servers) to directly control applications on the device is restricted, but it can be achieved through a proxy, that is, the proxy application. The proxy application needs to be installed in the user's personal terminal. Of course, this operation also requires the user's permission. The instructions in the instruction group are not used to start the corresponding designated application, but are for the proxy application to identify. The corresponding designated application is started through the proxy application. At the same time, the background needs to be detected to ensure the success of the designated application, and then the label image is shared to the started designated application, so that multiple applications can perform parsing work synchronously. Of course, when multiple applications or software are started synchronously in the background for query, the computing power of the personal terminal needs to be considered first to avoid running crashes. Therefore, there is a process of identifying whether the designated application has been started successfully.
[0103] like Figure 5 As shown, as a preferred embodiment of the present invention, the step of integrating the query results specifically includes:
[0104] S401, querying multiple content information about products through parameters in the request data packet;
[0105] S402, identifying content information of multiple commodities and generating a summary information table of the commodities for supplementing detailed information of the commodities;
[0106] S403, performing a horizontal comparison on the content information of the multiple products to filter out erroneous descriptions in the content information;
[0107] S404: Complete the product assembly information table according to the comparison result.
[0108] In an embodiment of the present invention, after the content information of a product is queried through parameters, each content information includes a description of the specific circumstances of the product. Of course, depending on the data source, this information will be uneven, so it is necessary to integrate this information. The assembly information table includes items about the product. For example, one content information includes the name, price, weight, and origin of the product, while another content information includes the name, price, origin, production date, and size of the product. At this time, the assembly information table will include all indicators, so that the information finally fed back to the user is more complete. Of course, this information also includes some erroneous data, such as price and weight, which are incorrect values. Therefore, corrections can be made through horizontal comparison, so that the description of the product in the final assembly information table is more comprehensive and accurate.
[0109] like Figure 6 As shown, an embodiment of the present invention further provides an anti-counterfeiting and traceability system based on electronic tags, the system comprising:
[0110] The image processing module 100 is used to identify and process the product image uploaded by the personal terminal through the proxy server to obtain a label image;
[0111] The instruction processing module 200 generates an instruction group based on the application data of the personal terminal, and integrates the label image and sends it to the personal terminal, so that the designated application in the personal terminal can recognize the label image in the background. The designated application is all the applications or software with the code scanning function in the personal terminal;
[0112] The request processing module 300 is used to receive a request data packet uploaded by a personal terminal and perform screening processing to determine the parsing status of the electronic tag in the tag image by the designated application, wherein the request data packet includes a plurality of parameters for parsing the electronic tag by the designated application;
[0113] The information query module 400 is used to query the information of commodities based on the parameters in the request data packet through the proxy server, and integrate and package the query results into response data and send them to the personal terminal.
[0114] In the embodiments of the present invention, the present invention is different from the conventional method of parsing and processing the QR code or barcode on the electronic tag by using the personal terminal system itself or application software. After the personal terminal takes a picture of the product image, the product image will first be transmitted to the proxy server for processing to obtain the label image. Then the proxy server can identify all the application software with the code scanning function in the personal terminal, and then start these applications in the background through the instruction group, and send the label image for them to identify, use multiple applications or software to synchronously query the label, and then integrate the information of the product finally queried. In summary, when the user queries the information of the product through the electronic tag to identify its authenticity, multiple applications or software can be enabled to perform queries synchronously in the background, effectively avoiding the situation where the query is fruitless, thereby helping the user's needs for anti-counterfeiting and traceability of the product.
[0115] like Figure 7 As shown, as a preferred embodiment of the present invention, the image processing module 100 includes:
[0116] The image receiving unit 101 is used to receive the commodity image uploaded by the personal terminal through the proxy server;
[0117] The feature recognition unit 102 is used to recognize features contained in the product image, and to distinguish whether the product image contains features of the electronic tag;
[0118] The judging unit 103 is used to judge the user behavior based on the characteristics of the electronic tag and the product image when the product image contains an electronic tag;
[0119] The image extraction unit 104 is used to extract the electronic tag features in the product image to obtain a tag image when the user searches for product information through the product image, and process the tag image using image enhancement technology.
[0120] like Figure 8 As shown, as a preferred embodiment of the present invention, the instruction processing module 200 includes:
[0121] An application parsing unit 201 is used to parse application data when a user uses a personal terminal through a proxy server to obtain application information, where the application information is an application or software in the personal terminal;
[0122] The tracing unit 202 queries the metadata of the application through the application store based on the application information, where the metadata includes description information of the application in the application store;
[0123] An information extraction unit 203, configured to extract keywords related to the code scanning function according to the metadata, for determining a designated application in the personal terminal;
[0124] An integration unit 204, used to generate corresponding instructions according to a specified application and integrate them to obtain an instruction group;
[0125] The transmission unit 205 is used to integrate the label image and the instruction group and send them to the proxy application in the personal terminal. The proxy application is used to start other applications with code scanning function in the personal terminal. The proxy application has been authorized by the user.
[0126] like Fig. 9 As shown, as a preferred embodiment of the present invention, the information query module 400 includes:
[0127] Content retrieval unit 401, used to query multiple content information about commodities through parameters in the request data packet;
[0128] The information complementation unit 402 is used to identify the content information of multiple commodities and generate a summary information table about the commodities to supplement the detailed information of the commodities;
[0129] An information correction unit 403, used to compare content information of multiple products horizontally to filter out erroneous descriptions in the content information;
[0130] The information supplement unit 404 is used to complete the product assembly information table according to the comparison result.
[0131] The above only describes in detail the preferred embodiments of the present invention, which is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0132] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0133] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0134] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the disclosure in the specification and examples. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
Claims
1. An anti-counterfeiting and traceability method based on electronic tags, characterized in that: The method comprises the following steps: The proxy server recognizes and processes the product image uploaded by the personal terminal to obtain a label image; Generate an instruction group based on the application data of the personal terminal, and integrate the label image and send it to the personal terminal, so that the designated application in the personal terminal can recognize the label image in the background, and the designated application is all the applications or software with code scanning function in the personal terminal; Receiving a request data packet uploaded by a personal terminal and performing screening processing to determine the parsing status of the electronic tag in the tag image by the designated application, wherein the request data packet includes a plurality of parameters for parsing the electronic tag by the designated application; The proxy server queries the product information based on the parameters in the request data packet, and integrates and packages the query results into response data and sends them to the personal terminal.
2. The anti-counterfeiting and tracing method based on electronic tags according to claim 1 is characterized in that: The step of identifying and processing the commodity image uploaded by the personal terminal to obtain the label image through the proxy server specifically includes: Receiving product images uploaded by a personal terminal through a proxy server; Identify the features contained in the product image to determine whether the product image contains features of the electronic tag; When the product image contains an electronic tag, the user behavior is judged based on the features of the electronic tag and the product image; When a user searches for product information through the product image, the electronic tag features in the product image are extracted to obtain a tag image, and the tag image is processed using image enhancement technology.
3. The anti-counterfeiting and tracing method based on electronic tags according to claim 2 is characterized in that: The step of judging the user behavior based on the features of the electronic tag and the product image specifically includes: Selecting a region based on the electronic tag features in the product image to obtain a feature region; Divide the product image into a central area and a peripheral area according to a set ratio; Processing the characteristic region, the central region and the edge region in the product image in a coordinate format and calculating the relative positions of the three regions so that the characteristic region, the central region and the edge region are all represented in the form of coordinates; When the feature area and the central area intersect, it is determined that the product image is used to query product information; When the feature area is only located in the edge area, the proportion of the feature area relative to the product image is calculated through the coordinates. When the proportion is greater than a set value, it is determined that the product image is used to query product information.
4. The anti-counterfeiting and tracing method of electronic tags according to claim 1, characterized in that: The step of generating an instruction group based on the application data of the personal terminal and integrating the label image and sending it to the personal terminal specifically includes: The proxy server analyzes the application data of the user when using the personal terminal to obtain application information, wherein the application information is the application or software in the personal terminal; Based on the application information, query the application metadata through the application store, where the metadata includes description information of the application in the application store; Extracting keywords related to the code scanning function according to the metadata, and using them to determine a designated application in the personal terminal; Generate corresponding instructions according to the specified application and integrate them to obtain an instruction group; The label image and the instruction group are integrated and sent to the proxy application in the personal terminal. The proxy application is used to start other applications with code scanning function in the personal terminal. The proxy application has been authorized by the user.
5. The anti-counterfeiting and tracing method of electronic tags according to claim 4, characterized in that: The method further comprises: Receiving the instruction group and the label image from the server through the proxy application; Start the corresponding designated application according to the content of the instruction in the instruction group, wherein the designated application is started in the background; The background system detects the result of starting the specified application to determine whether the specified application is successfully started in the background; When the detection is passed, the label image is shared to the designated application through the proxy application.
6. The anti-counterfeiting and tracing method of electronic tags according to claim 1, characterized in that: The step of integrating the query results specifically includes: Query multiple content information about products through the parameters in the request data packet; Identify the content information of multiple products and generate a summary information table about the products to supplement the detailed information of the products; Compare the content information of multiple products horizontally to filter out incorrect descriptions in the content information; The product's overall information table is completed based on the comparison results.
7. An anti-counterfeiting and traceability system based on electronic tags, characterized in that: The system comprises: An image processing module is used to identify and process the product image uploaded by the personal terminal through the proxy server to obtain a label image; An instruction processing module generates an instruction group based on the application data of the personal terminal, and integrates the label image and sends it to the personal terminal, so that the designated application in the personal terminal can recognize the label image in the background. The designated application is all applications or software with a code scanning function in the personal terminal; A request processing module, used to receive a request data packet uploaded by a personal terminal and perform screening processing to determine the parsing status of the electronic tag in the tag image by the designated application, wherein the request data packet includes a plurality of parameters for parsing the electronic tag by the designated application; The information query module is used to query the information of commodities based on the parameters in the request data packet through the proxy server, and integrate and package the query results into response data and send them to the personal terminal.
8. The anti-counterfeiting and traceability system based on electronic tags according to claim 7 is characterized in that: The image processing module comprises: An image receiving unit, used for receiving the commodity image uploaded by the personal terminal through the proxy server; A feature recognition unit is used to recognize features contained in the product image and to distinguish whether the product image contains features of an electronic tag; A judgment unit, used for judging the user behavior based on the characteristics of the electronic tag and the product image when the product image contains an electronic tag; The image extraction unit is used to extract the electronic tag features in the product image to obtain a tag image when the user queries the product information through the product image, and process the tag image using image enhancement technology.
9. The anti-counterfeiting and traceability system based on electronic tags according to claim 7 is characterized in that: The instruction processing module comprises: An application parsing unit, used to parse application data when a user uses a personal terminal through a proxy server to obtain application information, wherein the application information is an application or software in the personal terminal; A tracing unit, which queries the metadata of the application through the application store based on the application information, wherein the metadata includes description information of the application in the application store; An information extraction unit, configured to extract keywords related to the code scanning function according to the metadata, for determining a designated application in the personal terminal; An integration unit, used to generate corresponding instructions according to a specified application and integrate them to obtain an instruction group; The transmission unit is used to integrate the label image and the instruction group and send them to the proxy application in the personal terminal. The proxy application is used to start other applications with code scanning function in the personal terminal. The proxy application has been authorized by the user.
10. The anti-counterfeiting and traceability system based on electronic tags according to claim 7, characterized in that: The information query module include:. A content retrieval unit, used to query multiple content information about the product through parameters in the request data packet; An information complementation unit, used to identify the content information of multiple commodities and generate a summary information table about the commodities to supplement the detailed information of the commodities; An information correction unit, used for horizontally comparing the content information of multiple products to filter out erroneous descriptions in the content information; The information supplement unit is used to complete the product's overall information table according to the comparison result.
Citation Information
Patent Citations
Artificial intelligence tagging method and system
CN107491801A
Picture identification method and device
CN108764003A
Identification method and electronic equipment
CN111026464A
Anti-counterfeiting method and device, storage medium and terminal
CN113095844A
Multi-platform price comparison method and device, storage medium and computer equipment
CN118096245A