Product information inspection method and device, computer device and readable storage medium
Patent Information
- Application Number
- CN202310567432.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-19
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2043-05-19
AI Technical Summary
[0004]针对现有技术中所存在的不足,本发明提供的产品信息检验方法、装置、计算机设备和可读存储介质,其解决了现有技术中的产品信息检验方法存在检测效率低和误检漏检率高的问题,本发明通过自动获取待检验产品中部署的多个第三方软件以及每个第三方软件中存储的检验产品信息,最后将检验产品信息与本地数据库中的目标产品信息进行自动对比,替代人工检验,提高了检测效率低和准确性
[0019]本发明通过向待检验产品中部署的多个第三方软件分别对应的目标服务器发送检验请求,使每个目标服务器更检验请求中的产品序列号返回相对应的检验产品信息,再根据所述检验产品信息与生产厂家本地数据库中存储的目标产品信息进行比较,从而可以得到待检验产品中每个第三方软件的产品信息检验结果;因此,本发明通过自动获取待检验产品中部署的多个第三方软件以及每个第三方软件中存储的检验产品信息,最后将检验产品信息与本地数据库中的目标产品信息进行自动对比,替代人工检验,提高了检测效率低和准确性。
Smart Images

Figure CN116663976B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information verification technology, specifically to a product information verification method, apparatus, computer equipment, and readable storage medium. Background Technology
[0002] With the rapid development of electronic products, various fields have begun to engage in deeper and broader cross-industry cooperation. In the daily production process, manufacturers are responsible for writing product information and loading customer-customized third-party software projects. In order to prevent the production information of products from being tampered with, the product information displayed on the third-party software is usually manually queried and verified before the products are put into storage. As the number of customer-customized third-party software projects in products increases and the steps for querying product information on the third-party software are relatively cumbersome, it is easy to miss or misdetect the information.
[0003] It is evident that existing product information inspection methods suffer from low detection efficiency and high rates of false positives and false negatives, thereby reducing production efficiency and quality. Summary of the Invention
[0004] To address the shortcomings of existing technologies, the present invention provides a product information inspection method, apparatus, computer equipment, and readable storage medium. These methods solve the problems of low detection efficiency and high false positive and false negative rates in existing product information inspection methods. The present invention automatically acquires multiple third-party software deployed on the product to be inspected and the inspection product information stored in each third-party software. Finally, it automatically compares the inspection product information with the target product information in a local database, replacing manual inspection and improving both detection efficiency and accuracy.
[0005] In a first aspect, the present invention provides a product information verification method, the method comprising: obtaining a product serial number of a product to be verified and identifiers of multiple third-party software deployed in the product to be verified; sending verification requests to multiple target servers according to the multiple third-party software identifiers, such that each target server returns a corresponding information response signal according to the verification request; wherein the information response signal includes a third-party software identifier, a product serial number, and verification product information matching the product serial number; retrieving target product information corresponding to the product serial number of the product to be verified from a target database according to the product serial number of the product to be verified; the target database being a local database of the manufacturer; and comparing the target product information with the verification product information in each information response signal to obtain a product information verification result for each third-party software in the product to be verified.
[0006] Optionally, based on the plurality of third-party software identifiers, verification requests are sent to multiple target servers respectively, including: obtaining the corresponding target server address based on the current third-party software identifier; generating a verification request corresponding to the current third-party software using the current third-party software identifier, verification request type, and product serial number; encoding and grouping the verification request to obtain plaintext to be transmitted, which includes multiple plaintext groups; encrypting each plaintext group in the plaintext to be transmitted using a different key according to a key group to obtain ciphertext for transmission, and sending the ciphertext for transmission to the corresponding target server according to the target server address.
[0007] Optionally, each target server returns a corresponding information response signal based on the verification request, including: the target server decrypts and deencodes the received transmitted ciphertext according to the key group to obtain the verification request; based on the verification request type in the verification request, it retrieves product information from the database of the target server that matches both the third-party software identifier and the product serial number, and uses the product information as verification product information to generate an information response signal with the third-party software identifier and the product serial number, and then encodes, groups, and encrypts the information response signal before sending it to the product information verification terminal.
[0008] Optionally, when the product information inspection result is that the product information is inconsistent, the method further includes: obtaining the target third-party software identifier for which the product information inspection result is inconsistent; sending the target product information to the target server corresponding to the target third-party software identifier, so that the target server updates the inspection product information stored in the database corresponding to the product serial number according to the target product information.
[0009] Optionally, obtaining the identifiers of multiple third-party software deployed in the product under test includes: acquiring an initial visual image of the boot-up display page of the product under test; performing image recognition on the initial visual image to obtain multiple third-party software icons; and obtaining the identifiers of multiple third-party software deployed in the product under test based on the multiple third-party software images.
[0010] Optionally, image recognition is performed on the initial visual image to obtain multiple third-party software icons, including: segmenting the initial visual image to obtain several sub-image blocks, and obtaining the X-direction gradient value and Y-direction gradient value of each pixel in each sub-image block; calculating the directional features of each sub-image block based on the X-direction gradient value and Y-direction gradient value of each pixel; quantizing the directional features of each sub-image block to obtain a preprocessed image of each sub-image block; and performing feature extraction and feature matching on the preprocessed image of each sub-image block to obtain the corresponding third-party software icon.
[0011] Optionally, the formula for calculating the directional features of each sub-image block based on the X-direction gradient value and Y-direction gradient value of each pixel is as follows:
[0012]
[0013]
[0014] Among them, S x and S y Let f(i,j) represent the Sobel operator function, f(i,j) represent the gray value of each pixel, and u and v represent the operator factors.
[0015] Secondly, the present invention provides a product information inspection device, the device comprising: a software identifier acquisition module, configured to acquire the product serial number of the product to be inspected and multiple third-party software identifiers deployed in the product to be inspected; an inspection request sending module, configured to send inspection requests to multiple target servers according to the multiple third-party software identifiers, such that each target server returns a corresponding information response signal according to the inspection request; wherein the information response signal includes the third-party software identifier, the product serial number, and inspection product information matching the product serial number; a product information acquisition module, configured to acquire target product information corresponding to the product serial number of the product to be inspected from a target database according to the product serial number of the product to be inspected; the target database is a local database of the manufacturer; and a product information comparison module, configured to compare the target product information with the inspection product information in each information response signal to obtain the product information inspection result for each third-party software in the product to be inspected.
[0016] Thirdly, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps: obtaining the product serial number of a product to be inspected and multiple third-party software identifiers deployed in the product to be inspected; sending inspection requests to multiple target servers according to the multiple third-party software identifiers, causing each target server to return a corresponding information response signal according to the inspection request; wherein the information response signal includes the third-party software identifier, the product serial number, and inspection product information matching the product serial number; obtaining target product information corresponding to the product serial number of the product to be inspected from a target database according to the product serial number of the product to be inspected; the target database is a local database of the manufacturer; comparing the target product information with the inspection product information in each information response signal to obtain the product information inspection result for each third-party software in the product to be inspected.
[0017] Fourthly, the present invention provides a readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, performs the following steps: obtaining the product serial number of a product to be inspected and multiple third-party software identifiers deployed in the product to be inspected; sending inspection requests to multiple target servers according to the multiple third-party software identifiers, causing each target server to return a corresponding information response signal according to the inspection request; wherein the information response signal includes the third-party software identifier, the product serial number, and inspection product information matching the product serial number; obtaining target product information corresponding to the product serial number of the product to be inspected from a target database according to the product serial number of the product to be inspected; the target database is a local database of the manufacturer; comparing the target product information with the inspection product information in each information response signal to obtain the product information inspection result of each third-party software in the product to be inspected.
[0018] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0019] This invention sends inspection requests to target servers corresponding to multiple third-party software deployed in the product to be inspected. Each target server returns corresponding inspection product information based on the product serial number in the inspection request. This inspection product information is then compared with target product information stored in the manufacturer's local database. This allows the invention to obtain the inspection results for each third-party software in the product to be inspected. Therefore, this invention automatically acquires the multiple third-party software deployed in the product to be inspected and the inspection product information stored in each third-party software, and then automatically compares the inspection product information with the target product information in the local database, replacing manual inspection and improving both efficiency and accuracy. Attached Figure Description
[0020] Figure 1 The diagram shown is a flowchart illustrating a product information verification method provided in an embodiment of the present invention.
[0021] Figure 2 The diagram shown is a flowchart of an image recognition method provided by an embodiment of the present invention;
[0022] Figure 3 The diagram shown is a flowchart of another product information verification method provided by an embodiment of the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0024] Figure 1 The diagram shown is a flowchart illustrating a product information verification method provided in an embodiment of the present invention; as follows: Figure 1 As shown, the product information verification method specifically includes the following steps:
[0025] Step S101: Obtain the product serial number of the product to be inspected and the identifiers of multiple third-party software deployed in the product to be inspected.
[0026] In this embodiment, the product to be inspected includes, but is not limited to, electronic products such as televisions, set-top boxes, and mobile phones. The product serial number of the product to be inspected can be obtained by scanning the barcode or QR code on the product, or by image recognition of the product label.
[0027] In this embodiment, multiple third-party software programs are deployed during the production process of the product to be inspected, such as video software like Tencent Video and iQiyi on mobile phones and TVs. The product information of the product to be inspected includes, but is not limited to, serial number, MAC address, hardware configuration parameters, etc. Product information can also be queried through the interface of each third-party software. In order to verify the accuracy of the product information displayed on each third-party software, the consistency of product information must be checked before the product is put into storage.
[0028] In this embodiment, obtaining the identifiers of multiple third-party software deployed in the product under test includes: acquiring an initial visual image of the boot-up display page of the product under test; performing image recognition on the initial visual image to obtain multiple third-party software icons; and obtaining the identifiers of multiple third-party software deployed in the product under test based on the multiple third-party software images.
[0029] Among them, such as Figure 2 As shown, image recognition is performed on the initial visual image to obtain multiple third-party software icons, specifically including the following steps:
[0030] Step S201: Perform image segmentation on the initial visual image to obtain several sub-image blocks, and obtain the X-direction gradient value and Y-direction gradient value of each pixel in each sub-image block;
[0031] Step S202: Calculate the directional features of each sub-image block based on the X-direction gradient value and Y-direction gradient value of each pixel.
[0032] Step S203: Quantize the directional features of each sub-image block to obtain a preprocessed image of each sub-image block;
[0033] Step S204: Perform feature extraction and feature matching on the preprocessed image of each sub-image block to obtain the corresponding third-party software icon.
[0034] It should be noted that after the product to be tested is powered on, visual images of the screen display page are captured, and multiple third-party software icons are obtained from the visual images. Software identifiers are obtained based on the icons.
[0035] In this embodiment, image preprocessing is a crucial step in image recognition. The purpose of preprocessing is to remove noise from the image, transforming it into a clear dot-line diagram to facilitate the extraction of correct image features. Because of its realism and ability to intuitively reflect the most basic morphological features of an image in a simplified form, the directional pattern is widely used in key processing stages of image recognition, such as image enhancement, image feature extraction, automatic image classification, and directional template matching. The steps for extracting the directional pattern are as follows:
[0036] (1) Divide the image into several sub-image blocks, for example, divide the image into 16*16 non-overlapping blocks.
[0037] (2) For each pixel in each sub-image block, calculate its X-direction gradient value and Y-direction gradient value using the Sobel operator. The specific calculation formula is as follows:
[0038]
[0039]
[0040] Among them, S x and S y Let f(i,j) represent the Sobel operator function, f(i,j) represent the gray value of each pixel, and u and v represent the operator factors.
[0041] (3) Based on the gradient values in the X and Y directions of each pixel, the formula for calculating the directional features of each sub-image block is as follows:
[0042]
[0043] Where w represents the width of the image block, which is 16 here. After obtaining θ, it is quantized into 8 directions to obtain the direction of the image, which is the preprocessed image of each sub-image block. The quantization process can be achieved by existing technology, which will not be elaborated here.
[0044] This embodiment achieves image feature extraction and classification by pre-analyzing global structural features such as direction patterns and singularities. The specific extraction method is as follows: a 3*3 template is used to extract features of power outages and branch points from the preprocessed image. M is taken as the point to be detected, and P1, P2, P3, ... P8 arranged clockwise around it are its 8 neighborhood points. R(1), R(2), R(3), ... R(8) are the gray values of P1, P2, P3, ... P8, respectively. If point M is an endpoint, its neighborhood points satisfy the following formula:
[0045]
[0046] If point M is a branch point, then its neighborhood points satisfy the following formula:
[0047]
[0048] By analyzing the image, we can find its feature points and record their type and location. Then, we can use the minimum likelihood method to perform feature matching and find the corresponding third-party software icon in the matching database.
[0049] Step S102: Based on the multiple third-party software identifiers, send verification requests to multiple target servers respectively, so that each target server returns a corresponding information response signal according to the verification request.
[0050] In this embodiment, verification requests are sent to multiple target servers based on the multiple third-party software identifiers, including: obtaining the corresponding target server address based on the current third-party software identifier; generating a verification request corresponding to the current third-party software using the current third-party software identifier, verification request type, and product serial number; encoding and grouping the verification request to obtain plaintext to be transmitted, which includes multiple plaintext groups; encrypting each plaintext group in the plaintext to be transmitted using a different key according to a key group to obtain ciphertext for transmission; and sending the ciphertext for transmission to the corresponding target server based on the target server address.
[0051] In block ciphers, plaintext is divided into blocks of a certain length, and the output is also ciphertext of a fixed length. The plaintext blocks are encrypted to obtain ciphertext blocks, and the ciphertext blocks are decrypted to restore the plaintext blocks. After the plaintext X is encoded into a numerical sequence x1, x2, ..., xm, it is divided into plaintext blocks X = (x1, x2, ..., xm) of length m. Each block is then converted into a ciphertext block Y = (y1, y2, ..., ym) of length m under the control of the key set K = (k1, k2, ..., km).
[0052] In this embodiment, each target server returns a corresponding information response signal based on the verification request, including: the target server decrypts and de-encodes the received transmitted ciphertext according to the key group to obtain the verification request; according to the verification request type in the verification request, it retrieves product information from the database of the target server that matches both the third-party software identifier and the product serial number, and uses the product information as verification product information to generate an information response signal with the third-party software identifier and the product serial number, and then encodes, groups, and encrypts the information response signal before sending it to the product information verification terminal.
[0053] The information response signal includes a third-party software identifier, a product serial number, and inspection product information that matches the product serial number.
[0054] Step S103: Based on the product serial number of the product to be inspected, obtain the target product information corresponding to the product serial number of the product to be inspected from the target database.
[0055] It should be noted that the target database is the manufacturer's local database.
[0056] Step S104: Compare the target product information with the inspection product information in each information response signal to obtain the product information inspection result of each third-party software in the product to be inspected.
[0057] It should be noted that the product information verification result includes product information consistency and product information inconsistency; when the product information verification result is product information inconsistency, the method further includes: obtaining the target third-party software identifier for which the product information verification result is product information inconsistency; sending the target product information to the target server corresponding to the target third-party software identifier, so that the target server updates the verification product information stored in the database corresponding to the product serial number according to the target product information.
[0058] Compared with the prior art, the present invention has the following beneficial effects:
[0059] This invention sends inspection requests to target servers corresponding to multiple third-party software deployed in the product to be inspected. Each target server returns corresponding inspection product information based on the product serial number in the inspection request. This inspection product information is then compared with target product information stored in the manufacturer's local database. This allows the invention to obtain the inspection results for each third-party software in the product to be inspected. Therefore, this invention automatically acquires the multiple third-party software deployed in the product to be inspected and the inspection product information stored in each third-party software, and then automatically compares the inspection product information with the target product information in the local database, replacing manual inspection and improving both efficiency and accuracy.
[0060] To address the problems in the background technology, this invention provides another embodiment including a computer tool. The computer tool adapts to different product models based on configuration and displays graphical information. When a product is powered on, it sends data in a continuous workflow. Upon receiving a request, the tool automatically detects production information (SN / MAC, etc.) and verifies it against the database before displaying it on the interface. If the tool fails to display the information, the product needs to be removed for repair. For devices without a serial port, a QR code displaying production information can be shown by hiding a button. The entire process eliminates the need for manual comparison by employees. Compared to traditional inspection methods, this method allows one person to simultaneously complete production information detection. This achieves the goals of improving production efficiency, reducing manual operation, and improving production quality.
[0061] like Figure 3 As shown, the specific implementation process is as follows:
[0062] 1. Information from third-party software and computer tools begins: STBINFO, the valid data structure for printing consists of production information description + separator + data.
[0063] 2. The operator configures the tool according to different projects. After configuration, opening the tool will display the corresponding detection items. After clicking the start button, the tool will wait for agreed data from the product side. If there is no serial port, it is necessary to verify the various production data by scanning the QR code.
[0064] 3. For testing on products with serial ports, the serial port must be connected first, and then the device must be powered on. Third-party software will print data during the power-on process.
[0065] 4. For products with serial ports, after receiving production information, the tool first performs data analysis, extracts valid data, and verifies it against the database. If the verification fails, the interface will turn red to alert the production operator to check.
[0066] 5. For product testing without a serial port, third-party software needs to display production information via a QR code by hiding the button. Operators can then scan the QR code to verify the production information.
[0067] 6. After the tool-side verification is completed, the verification results are uploaded to the production database, and the success rate for the day is displayed on a specific interface. Users can also query past production success and failure rates.
[0068] Therefore, this invention uses a third-party software and a computer tool to agree on an interactive string. The computer tool interface is configurable to adapt to different projects. Operators configure the tool according to the product inspection items. The tool continuously captures information via serial port or obtains data by scanning QR codes in the third-party software. After obtaining the data, the tool performs database verification and returns the inspection results to the tool and saves the verification results to the production database. This reduces quality accidents caused by human error in inspection and improves production efficiency.
[0069] In one embodiment of the present invention, a product information verification device is provided, the device comprising:
[0070] The software identifier acquisition module is used to acquire the product serial number of the product to be inspected and the identifiers of multiple third-party software deployed in the product to be inspected.
[0071] The inspection request sending module is used to send inspection requests to multiple target servers according to the multiple third-party software identifiers, so that each target server returns a corresponding information response signal according to the inspection request; wherein, the information response signal includes the third-party software identifier, the product serial number, and inspection product information matching the product serial number;
[0072] The product information acquisition module is used to retrieve target product information corresponding to the product serial number of the product to be inspected from the target database based on the product serial number of the product to be inspected; the target database is the manufacturer's local database.
[0073] The product information comparison module is used to compare the target product information with the inspection product information in each information response signal to obtain the product information inspection result of each third-party software in the product to be inspected.
[0074] In one embodiment of the present invention, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps: obtaining a product serial number of a product to be inspected and multiple third-party software identifiers deployed in the product to be inspected; sending inspection requests to multiple target servers according to the multiple third-party software identifiers, causing each target server to return a corresponding information response signal according to the inspection request; wherein the information response signal includes a third-party software identifier, a product serial number, and inspection product information matching the product serial number; obtaining target product information corresponding to the product serial number of the product to be inspected from a target database according to the product serial number of the product to be inspected; the target database is a local database of the manufacturer; comparing the target product information with the inspection product information in each information response signal to obtain the product information inspection result for each third-party software in the product to be inspected.
[0075] In another embodiment of the present invention, a readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program performs the following steps: obtaining the product serial number of a product to be inspected and multiple third-party software identifiers deployed in the product to be inspected; sending inspection requests to multiple target servers according to the multiple third-party software identifiers, causing each target server to return a corresponding information response signal according to the inspection request; wherein, the information response signal includes the third-party software identifier, the product serial number, and inspection product information matching the product serial number; obtaining target product information corresponding to the product serial number of the product to be inspected from a target database according to the product serial number of the product to be inspected; the target database is a local database of the manufacturer; comparing the target product information with the inspection product information in each information response signal to obtain the product information inspection result of each third-party software in the product to be inspected.
[0076] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0077] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A product information verification method, characterized in that, The method includes: Obtain the product serial number of the product to be inspected and the identifiers of multiple third-party software deployed in the product to be inspected; Based on the multiple third-party software identifiers, verification requests are sent to multiple target servers, and each target server returns a corresponding information response signal according to the verification request; wherein, the information response signal includes the third-party software identifier, the product serial number, and verification product information matching the product serial number; Based on the product serial number of the product to be inspected, the target product information corresponding to the product serial number of the product to be inspected is obtained from the target database; the target database is the manufacturer's local database. The target product information is compared with the inspection product information in each information response signal to obtain the product information inspection result of each third-party software in the product to be inspected.
2. The product information verification method as described in claim 1, characterized in that, Based on the aforementioned multiple third-party software identifiers, verification requests are sent to multiple target servers, including: Based on the current third-party software identifier, obtain the corresponding target server address; Generate the inspection request corresponding to the current third-party software using the current third-party software identifier, inspection request type, and product serial number; The verification request is encoded and grouped to obtain plaintext to be transmitted, which includes multiple plaintext groups; Each plaintext group in the plaintext to be transmitted is encrypted using a different key according to the key set to obtain the ciphertext to be transmitted, and the ciphertext to be transmitted is sent to the corresponding target server according to the target server address.
3. The product information verification method as described in claim 2, characterized in that, Each target server returns a corresponding information response signal based on the verification request, including: The target server decrypts and reverse-encodes the received transmitted ciphertext according to the key group to obtain the verification request; Based on the inspection request type in the inspection request, product information that matches both the third-party software identifier and the product serial number is obtained from the database in the target server. The product information is then used as inspection product information to generate an information response signal along with the third-party software identifier and the product serial number. The information response signal is then encoded, grouped, and encrypted before being sent to the product information inspection terminal.
4. The product information verification method as described in claim 1, characterized in that, When the product information verification result indicates that the product information is inconsistent, the method further includes: The product information verification results identify the target third-party software with inconsistent product information. The target product information is sent to the target server corresponding to the target third-party software identifier, so that the target server updates the inspection product information corresponding to the product serial number stored in the database according to the target product information.
5. The product information verification method as described in claim 1, characterized in that, Obtain the identifiers of multiple third-party software deployed in the product to be tested, including: Acquire the initial visual image of the power-on display page of the product to be inspected; Image recognition is performed on the initial visual image to obtain multiple third-party software icons; Based on the multiple third-party software icons, the identifiers of multiple third-party software deployed in the product to be tested are obtained.
6. The product information verification method as described in claim 5, characterized in that, Image recognition was performed on the initial visual image to obtain multiple third-party software icons, including: The initial visual image is segmented to obtain several sub-image blocks, and the X-direction gradient value and Y-direction gradient value of each pixel in each sub-image block are obtained; Based on the X-direction gradient value and Y-direction gradient value of each pixel, the directional features of each sub-image block are calculated; The directional features of each sub-image block are quantized to obtain a preprocessed image of each sub-image block; Feature extraction and feature matching are performed on the preprocessed image of each sub-image block to obtain the corresponding third-party software icon.
7. The product information verification method as described in claim 6, characterized in that, Based on the X-direction gradient value and Y-direction gradient value of each pixel, the formula for calculating the directional features of each sub-image block is as follows: in, and Represents the Sobel operator function. represents the grayscale value of each pixel, and u and v represent operator factors.
8. A product information verification device, characterized in that, The device includes: The software identifier acquisition module is used to acquire the product serial number of the product to be inspected and the identifiers of multiple third-party software deployed in the product to be inspected. The inspection request sending module is used to send inspection requests to multiple target servers according to the multiple third-party software identifiers, so that each target server returns a corresponding information response signal according to the inspection request; wherein, the information response signal includes the third-party software identifier, the product serial number, and inspection product information matching the product serial number; The product information acquisition module is used to retrieve target product information corresponding to the product serial number of the product to be inspected from the target database based on the product serial number of the product to be inspected; the target database is the manufacturer's local database. The product information comparison module is used to compare the target product information with the inspection product information in each information response signal to obtain the product information inspection result of each third-party software in the product to be inspected.
9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of any one of claims 1 to 7.
10. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and system for loading third-party software
CN101398873A
Dnssec and dane protocols based trustful verification method
WO2015169095A1