CN117421169A - Device information detection method for electronic device, terminal device and storage medium - Google Patents

Device information detection method for electronic device, terminal device and storage medium Download PDF

Info

Publication number
CN117421169A
CN117421169A CN202311450436.6A CN202311450436A CN117421169A CN 117421169 A CN117421169 A CN 117421169A CN 202311450436 A CN202311450436 A CN 202311450436A CN 117421169 A CN117421169 A CN 117421169A
Authority
CN
China
Prior art keywords
equipment
field value
information
data
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311450436.6A
Other languages
Chinese (zh)
Inventor
刘雨
禹孟初
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Longzhiyuan Technology Co Ltd
Original Assignee
Shenzhen Longzhiyuan Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Longzhiyuan Technology Co Ltd filed Critical Shenzhen Longzhiyuan Technology Co Ltd
Priority to CN202311450436.6A priority Critical patent/CN117421169A/en
Publication of CN117421169A publication Critical patent/CN117421169A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a device information detection method, a terminal device and a storage medium of electronic devices, wherein the method comprises the following steps: requesting and receiving equipment data from a target address based on the label information, and acquiring a test log corresponding to equipment to be detected; acquiring a first field value corresponding to a preset comparison field from the equipment data, and acquiring a second field value corresponding to the preset comparison field from the test log; and generating a device information detection result of the device to be detected according to the comparison result of the first field value and the second field value. The technical problems of easy error and low detection efficiency of manual detection are solved, and the technical effects of accurate detection result and high detection efficiency are achieved.

Description

Device information detection method for electronic device, terminal device and storage medium
Technical Field
The present invention relates to the field of data identification of electronic devices, and in particular, to a device information detection method, a terminal device, and a storage medium for an electronic device.
Background
The 4G (the 4th generation mobile communication technology, fourth generation mobile communication technology system) product generally refers to products based on 4G network technology, including mobile phones, tablet computers, routers, cameras, and other electronic devices. After the maintenance and assembly of the 4G product are completed, staff is required to verify the information of each item of the parts so as to prevent the parts of other products from being erroneously assembled on the product in the maintenance and assembly process.
In the related scheme for detecting the fitting information of the 4G product, a worker typically detects a product having a problem therein and performs secondary assembly by acquiring the fitting information of the 4G product on a customer website and comparing the acquired fitting information with the fitting information of the 4G product which has been assembled and maintained. Because manual detection is easy to make mistakes, and detection efficiency is low, bad products can flow out.
The foregoing is merely provided to facilitate an understanding of the principles of the present application and is not admitted to be prior art.
Disclosure of Invention
The application provides a device information detection method of electronic devices, terminal equipment and a storage medium, and aims to solve the problems that due to the fact that manual inspection is prone to error and inspection efficiency is low, bad products flow out.
In order to achieve the above object, the present application provides a method for detecting device information of an electronic device, where the method for detecting device information of an electronic device includes the following steps:
requesting and receiving equipment data from a target address based on the label information, and acquiring a test log corresponding to equipment to be detected;
acquiring a first field value corresponding to a preset comparison field from the equipment data, and acquiring a second field value corresponding to the preset comparison field from the test log;
And generating a device information detection result of the device to be detected according to the comparison result of the first field value and the second field value.
Optionally, the step of requesting and receiving device data from a target address based on the tag information and obtaining a test log corresponding to the device to be detected includes:
outputting an equipment information comparison interface, wherein the equipment information comparison interface comprises an address input box, a label information input box and a log data input box;
determining the target address according to the link data received by the address input box, determining the tag information according to the tag data received by the tag information input box, and acquiring the test log according to the file address received by the log data input box;
generating a data request according to the tag information, and sending the data request to the target address;
and receiving the equipment data corresponding to the data request.
Optionally, after the step of obtaining the first field value corresponding to the preset contrast field in the device data and the step of obtaining the second field value corresponding to the preset contrast field in the test log, the method further includes:
Outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises an equipment data display frame, an equipment data display frame to be tested and a test control;
acquiring the first field value in the equipment data and displaying the first field value in the equipment data display frame;
acquiring the second field value in the test log and displaying the second field value in the data display frame of the equipment to be tested;
and when the test control is triggered, performing a comparison action according to the first field value and the second field value.
Optionally, the step of generating the device information detection result of the device to be detected according to the comparison result of the first field value and the second field value includes:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a comparison result display frame;
when the first field value is matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a first preset method;
and when the first field value is not matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a second preset method.
Optionally, before the step of requesting and receiving the device data from the target address based on the tag information and obtaining the test log corresponding to the device to be detected, the method further includes:
acquiring address information corresponding to the equipment to be detected;
and acquiring label information corresponding to the equipment to be detected based on the address information, and associating the label information with the equipment to be detected.
Optionally, after the step of acquiring the tag information corresponding to the device to be detected based on the address information and associating the tag information with the device to be detected, the method further includes:
when the connection of the memory card and the equipment to be detected is detected, acquiring configuration data of the equipment to be detected, generating the test log based on the configuration data, and storing the test log in the memory card;
and after receiving the export instruction, acquiring the test log stored in the memory card.
Optionally, after the step of generating the device information detection result of the device to be detected according to the comparison result of the first field value and the second field value, the method further includes:
obtaining a comparison result of the first field and the second field, if the comparison result is matching, self-adding the matching times, and if the comparison result is not matching, self-adding the unmatched times;
Obtaining a total value according to the matching times and the unmatched times;
generating a completion rate according to the matching times and the total value, and generating an unfinished rate according to the unmatched times and the total value;
and storing the total value, the completion rate and the incompletion rate so that the equipment information comparison interface displays the total value, the completion rate and the incompletion rate.
Optionally, the step of saving the total value, the completion rate, and the incompletion rate so that the device information comparison interface displays the total value, the completion rate, and the incompletion rate includes:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a statistical result output frame and a confirmation completion control;
and after the confirmation completion control is triggered, displaying the total number value, the completion rate and the incompletion rate in the statistical result output box.
In addition, to achieve the above object, the present application further provides a terminal device, including: the system program of the device information detection method of the electronic device is executed by the processor to realize the steps of the device information detection method of the electronic device as described above.
Further, in order to achieve the above object, the present application also provides a storage medium having stored thereon a system program of a device information detection method of an electronic device, the system program of the device information detection method of the electronic device being executed by a processor to implement the steps of the device information detection method of the electronic device as described above.
The application provides a device information detection method of electronic devices, terminal devices and storage media. Requesting and receiving equipment data from a target address based on label information, and acquiring a test log corresponding to equipment to be detected; acquiring a first field value corresponding to a preset comparison field from the equipment data, and acquiring a second field value corresponding to the preset comparison field from the test log; and generating a device information detection result of the device to be detected according to the comparison result of the first field value and the second field value. The corresponding device data is obtained through the label information, and the first field value for comparison in the device data is obtained, so that the device data is compared with the second field value for comparison in the pre-stored test log, and a detection result is generated, and therefore the technical effects of accurate detection result and high detection efficiency are achieved.
Drawings
FIG. 1 is a flow chart of a first embodiment of a device information detection method of an electronic device of the present application;
FIG. 2 is an interface schematic diagram of a device information comparison interface according to an embodiment of the present application;
fig. 3 is a flowchart of a second embodiment of a device information detection method of an electronic device according to the present application;
fig. 4 is a flowchart of a third embodiment of a device information detection method of the electronic device of the present application;
fig. 5 is a schematic architecture diagram of a hardware operating environment of a terminal device according to an embodiment of the present application;
the achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
According to the equipment information detection method of the electronic equipment, equipment data is requested and received from a target address based on tag information, and a test log corresponding to equipment to be detected is obtained; acquiring a first field value corresponding to a preset comparison field from the equipment data, and acquiring a second field value corresponding to the preset comparison field from the test log; and generating a device information detection result of the device to be detected according to the comparison result of the first field value and the second field value. Therefore, the technical problems of easy error and low inspection efficiency of manual inspection are solved.
In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
Referring to fig. 1, in a first embodiment, device information detection of the electronic device includes the steps of:
step S10: and requesting and receiving equipment data from the target address based on the label information, and acquiring a test log corresponding to the equipment to be detected.
In this embodiment, the tag information is obtained by the terminal device by parsing the tag, and the tag may be a two-dimensional code, a bar code, or the like for carrying the feature information identification code, and carrying the tag is the device to be detected. When the equipment to be detected needs to be detected, the terminal equipment is connected with the image recognition device, and the image recognition device reads the label, so that the label is analyzed and label information is obtained. The target address is carried by the tag information, and the terminal device can directly acquire the target address contained in the tag information, and further can send an acquisition request to the target address, so that a website background or a system server corresponding to the target address sends corresponding device data. The test log may be stored in a storage medium in advance, and may be obtained through an operation instruction or a file path, where the test log is a log file generated by the device to be tested in a running process. It should be understood that the action of obtaining the test log corresponding to the device to be detected may be performed simultaneously with the above action, or may be performed after the above action is completed, and is not limited to executing the corresponding steps in statement order.
As an alternative implementation manner, the device data may be obtained by going to a website or system corresponding to the target address, determining a keyword in advance, and querying the device data corresponding to the keyword. Because the target address is not limited to a website of the device to be detected, the communication times between the servers can be reduced by adopting a mode of predetermining the keyword and then searching the corresponding device data, thereby accelerating the efficiency of acquiring the device data.
Optionally, in this embodiment, the step S10 includes:
outputting an equipment information comparison interface, wherein the equipment information comparison interface comprises an address input box, a label information input box and a log data input box; determining the target address according to the link data received by the address input box, determining the tag information according to the tag data received by the tag information input box, and acquiring the test log according to the file address received by the log data input box; generating a data request according to the tag information, and sending the data request to the target address; and receiving the equipment data corresponding to the data request.
Specifically, as shown in fig. 2, fig. 2 is a device interface diagram related to an embodiment of the present application, where the device information comparison interface includes an address input box, a tag information input box, and a log data input box. The corresponding link data can be obtained by analyzing the tag information, the link data is displayed in the address input box, the corresponding target address is determined through the link data, a data request corresponding to the target address is generated, and the data request is sent to the target address based on a protocol, so that the server corresponding to the target address feeds back the equipment data. The log input box can be used for inputting a file path of the test log in advance, and a corresponding log file can be obtained through the file path.
The label can be stuck on the equipment body of the equipment to be detected, or can be displayed in the equipment to be detected in the form of an electronic label. The personnel can read the tag through a code scanner or other image recognition device with a wireless radio frequency recognition technology RFID (Radio Frequency Identification). It should be understood that the code scanning gun or the image recognition device is connected with the terminal device, so that when the image recognition device recognizes the tag, the tag is uploaded to the terminal, the terminal device analyzes the tag through a tag processing algorithm to obtain corresponding tag information, and the terminal device automatically displays the link data in the address input box by acquiring the link data in the tag information.
As an alternative implementation manner, when the tag information is missing or the tag cannot be identified due to objective reasons, the corresponding address information can be input into the address input box of the device information comparison interface, so that the program can normally acquire the corresponding device data from the target address.
For example, assuming that the image recognition device used by the staff is a code scanner and the device to be detected is a camera, each item of configuration information of the camera needs to be detected after the camera is assembled. Staff can scan the two-dimensional code on the camera through the code scanning gun, so that a client website corresponding to the camera is obtained. The server of the system sends a data acquisition request to the client website to call related data on the client website, the related data is displayed on a panel of software, and equipment information such as a model name, an IMEI, a SIM card number and the like corresponding to the camera is acquired. The worker also selects a file path of the pre-stored test log and inputs the file path in the log data input box.
Step S20: and acquiring a first field value corresponding to a preset comparison field from the equipment data, and acquiring a second field value corresponding to the preset comparison field from the test log.
In this embodiment, the first field value obtained from the device data is a field value to be detected preset in the program, and the field value is used as a keyword, so that the first field value to be compared in the device data can be queried and obtained. The second field value corresponding to the test log can be obtained by the method.
The device data and the test log include software and hardware information of devices such as a model name, an IMEI, a SIM card number, a DSP software version, an MCU version, a 4G module software version, and the like, and other hardware and system software which do not need to be reassembled are included, so that information for comparison needs to be selected. Such information in the device data is obtained from the customer's website, while such data in the test log is obtained from the device to be tested.
Further, in this embodiment, after the step S20, the method further includes:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises an equipment data display frame, an equipment data display frame to be tested and a test control; acquiring the first field value in the equipment data and displaying the first field value in the equipment data display frame; acquiring the second field value in the test log and displaying the second field value in the data display frame of the equipment to be tested; and when the test control is triggered, performing a comparison action according to the first field value and the second field value.
Specifically, as shown in fig. 2, the device information comparison interface includes a device data display frame, a device to be tested data display frame, and a test control. The device data display frame is used for displaying a first field acquired from device data, the device data display frame to be tested is used for displaying a second field value acquired from a test log, and the test control is used for triggering a comparison process of the two field values.
As an alternative implementation manner, when the equipment data obtained from the client website is not complete or the corresponding comparison field value is found to be missing, the staff can input the missing data in the equipment data display box as a comparison source so as to ensure the integrity of the information in the information comparison process.
Step S30: and generating a device information detection result of the device to be detected according to the comparison result of the first field value and the second field value.
In this embodiment, after the test control is triggered, or after the first field value and the second field value are obtained, a comparison process between the first field and the second field is performed.
Optionally, the first field and the second field comparing process are performed by using algorithms including, but not limited to, a string matching algorithm (KMP), a hash algorithm.
Specifically, the string matching algorithm is used for searching the appearance position of a pattern string P in a text string S, and unnecessary comparison in the text string is avoided by using the matched partial information. The algorithm records the length of the longest identical prefix suffix before each position in the pattern string by constructing a partial match table. In the matching process, when unmatched characters appear, the pattern string is moved rightward by a certain number of bits according to the information in the partial matching table, and matching is continued. Unnecessary backtracking is avoided in the matching process, and the matching efficiency is improved.
Optionally, in this embodiment, the step S30 includes:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a comparison result display frame; when the first field value is matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a first preset method; and when the first field value is not matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a second preset method.
Specifically, as shown in fig. 2, the device information comparison interface includes a comparison result display frame, where the comparison result display frame is configured to display the comparison result of the first field value and the second field in the comparison result display frame. When the comparison result is matching, outputting the specific color of the values of the two fields, such as green, in a comparison display frame, and displaying the comparison result as OK; when the comparison result is unmatched, outputting the unmatched field values in red fonts, outputting the matched field values in green fonts, and displaying the comparison result as NG, so that staff can distinguish the unmatched field values. It should be understood that the color of the field values described in this embodiment is only used to distinguish between two comparison results, so that the staff can more intuitively distinguish the unmatched field values, and the method is not limited to the scheme of the application.
As an alternative implementation manner, in a scenario that the equipment operation working chamber is separated from the equipment detection working chamber, the detection results may be recorded in a document or a table, the detection results of a plurality of equipment to be detected are packaged according to the document or the table, and the packaged file is transmitted to the corresponding equipment operation working chamber, so that a worker of the equipment operation working chamber processes the corresponding equipment according to the file. By the method, when the equipment operation flow is separated from the equipment detection flow, the detection result of the detected equipment can be timely transmitted to the corresponding equipment operation flow, so that the working efficiency of the whole flow is improved.
For example, it is assumed that in a situation that the comparison result is unmatched, the two-dimension code of the body of the product a is attached to the product B, the IMEI, the SIM card number and the like are unmatched, the main board of the product a is wrongly attached to the shell B during repair and disassembly, the IMEI, the SIM card number and the like are unmatched, the SIM card bound by the product a is wrongly attached to the product B during repair, the SIM card numbers are unmatched, the main boards of different software versions are used together to cause the software versions to be inconsistent, the software version columns are unmatched, the main board of the US version 4G module is wrongly attached to the work order of the EURO version, the modem column is unmatched, the machine type name is selected in error during the process of selecting the machine type name by the two-dimension code station of the printer body, and the machine type name is unmatched. And further, the unmatched field values, such as IMEI, SIM card number, software version column, modem column and the like, are displayed in the interface of the program in red field color.
In the technical scheme provided by the embodiment, the device data is acquired from the target address through the tag information, so that complete and correct device information of the device to be detected can be acquired, and the current device information of the device to be detected can be acquired through acquiring the test log corresponding to the device to be detected; and then the first field value to be detected in the complete and correct equipment information is obtained and compared with the second field value to be detected in the test log, and finally the comparison result is output, so that the accuracy of the comparison result can be improved, and the detection efficiency is improved. The first field value and the second field value of the test log in the equipment data are displayed in the information comparison interface, so that a worker can conveniently check whether the preset field value has errors or not, and the input data can be adjusted according to the displayed field value. According to the embodiment, different comparison results are displayed in the information comparison interface by different preset methods, so that workers can more intuitively check unmatched field values in the comparison results, and purposefully find problematic software versions or hardware configurations in equipment to be detected based on the unmatched field values.
Example two
Referring to fig. 3, in the second embodiment, before the step S10, the method further includes the following steps:
step S40: and obtaining address information corresponding to the equipment to be detected.
In this embodiment, the address information is a website address provided by a client of the device to be detected, or a link storing device information of the device to be detected. The address information can be stored in the equipment to be detected or stored in a storage medium in advance by a system, and only needs to be called.
As an alternative implementation manner, when the corresponding website address or link is not provided, a file containing the device data sent by the client of the device to be detected may also be directly received, and the file is used as a comparison source.
For example, assuming that the device to be detected is a camera and the corresponding client is sony, the corresponding address information is a camera website provided by sony, and a model corresponding to the camera to be detected is selected on the website.
Step S50: and acquiring label information corresponding to the equipment to be detected based on the address information, and associating the label information with the equipment to be detected.
In this embodiment, the website corresponding to the address information may be jumped to based on the address information, and the tag information corresponding to the device to be detected is selected on the website, where the tag information is a tag used for carrying feature information, such as a two-dimensional code or a bar code. And then associate the tag information with the device to be detected.
Alternatively, the method of associating the tag information with the device to be detected may be that the tag is attached to a body of the device to be detected; the label information can be associated with the equipment number of the equipment to be detected and stored in a database, and when the label information needs to be used, the corresponding label information can be queried in the database through the equipment number of the equipment to be detected.
Further, in this embodiment, after the step S50, the method further includes:
when the connection of the memory card and the equipment to be detected is detected, acquiring configuration data of the equipment to be detected, generating the test log based on the configuration data, and storing the test log in the memory card; and after receiving the export instruction, acquiring the test log stored in the memory card.
Specifically, after the equipment to be detected is assembled or repaired, the memory card is connected with the equipment to be detected. After connection is completed, the device to be detected is operated, so that a corresponding test log which stores configuration data can be generated. Before receiving the export instruction, the memory card needs to be connected with the terminal equipment, so that the test log stored in the memory card can be output according to the export instruction. The storage can be a TF (Trans-flash Card), which is a very small flash memory Card and is mainly applied to electronic devices such as mobile phones, cameras and the like.
For example, after the camera is assembled or maintained, the camera is provided with a TF card, and the camera is powered on and operated for about 15 minutes, and a log file for recording software and hardware information of the product is generated in the TF card. The TF card with the log file stored is taken down from the product, connected to a test computer through a card reader, comparison software is opened on the test computer, a log file path is set on the panel, and corresponding data can be obtained according to the file path.
In the technical scheme provided by the embodiment, the corresponding label information is obtained through the address information corresponding to the equipment to be detected, so that the accuracy of the data source of the comparison source can be ensured. And exporting the configuration information of the product through the TF card, and determining the existing configuration information of the assembled product so as to improve the accuracy of the acquired configuration data.
Example III
Referring to fig. 4, in the third embodiment, after the step S30, the method further includes the following steps:
step S60: obtaining a comparison result of the first field and the second field, if the comparison result is matching, self-adding the matching times, and if the comparison result is not matching, self-adding the unmatched times; and obtaining a total value according to the matching times and the unmatched times.
Step S70: and generating a completion rate according to the matching times and the total value, and generating an unfinished rate according to the unmatched times and the total value.
In this embodiment, the number of matches is added by 1 to the number of matches, and the number of non-matches is added by 1 to the number of non-matches. The total number is a value obtained by adding the matching times to the unmatched times, and it should be understood that the number of times of adding the matching times and the unmatched times is based on the number of comparison results, that is, the number of times of adding corresponds to the number of detection devices, the matching times and the unmatched times update their own numbers after each self-adding, and when the device detects the completion of the detection, or after detecting the action of manually ending the comparison process by a worker, the final matching times and unmatched times are counted, and the matching times and the unmatched times at this time are added to obtain the total number.
It should be understood that after the number of matches and the number of mismatches are added to obtain the total value, the percentage of the number of matches and the total value, and the percentage of the number of mismatches and the total value are calculated, respectively.
Step S80: and storing the total value, the completion rate and the incompletion rate so that the equipment information comparison interface displays the total value, the completion rate and the incompletion rate.
In this embodiment, after the corresponding total number value, completion rate and incompletion rate are calculated, the obtained final value is displayed in the information comparison interface.
Optionally, in this embodiment, the step S80 includes:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a statistical result output frame and a confirmation completion control; and after the confirmation completion control is triggered, displaying the total number value, the completion rate and the incompletion rate in the statistical result output box.
Specifically, as shown in fig. 2, the device information comparison interface includes a statistics result output box and a confirmation completion box, where the statistics result output box is used to display the total value of the detected device, and the calculated completion rate and the calculated incompletion rate. The confirmation completion control is used for ending the whole comparison process and triggering to display the total value, the completion rate and the incompletion rate in the statistics result output frame.
For example, assuming that there are 10 devices to be detected, after detecting one device, adding 1 to the corresponding matching number or unmatched number according to the detection result, and so on until all devices are detected. Obviously, the total value is 10, and 3 devices are assumed to be problematic, so that the incomplete rate is 30%, the corresponding completion rate is 70%, and the total value of 10, the completion rate of 70% and the incomplete rate of 30% are displayed in a statistical result display frame of a comparison interface for a tester to check.
In the technical scheme provided by the embodiment, the output result is counted, the corresponding yield and the corresponding poor yield are calculated, and finally the result is displayed in the interface of the information comparison program, so that the staff can check the yield of the corresponding equipment, and the workshop mode is adjusted based on the result.
Since the system described in the embodiments of the present application is a system for implementing the method of the embodiments of the present application, based on the method described in the first embodiment of the present application, a person skilled in the art can understand the specific structure and the modification of the system, and thus the detailed description is omitted herein. All systems used in the methods of the embodiments of the present application are within the scope of the protection sought herein.
Fig. 5 is a schematic architecture diagram of a hardware running environment of a terminal device according to an embodiment of the present application.
As shown in fig. 5, the terminal device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a network interface 1003, and a memory 1004. Wherein the communication bus 1002 is used to enable connected communication between these components. The network interface 1003 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1004 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 1004 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is not limiting and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 5, an operating system, a network communication module, and a device information detection program of the electronic device may be included in the memory 1004 as one type of storage medium. The operating system is a program for managing and controlling hardware and software resources of the terminal device, and the device information detection of the electronic device and the running of other software or programs.
In the terminal device shown in fig. 5, the network interface 1003 is mainly used for connecting a terminal, and performs data communication with the terminal; the processor 1001 may be used to invoke a device information detection program of the electronic device stored in the memory 1004.
In this embodiment, the terminal device includes: a memory 1004, a processor 1001, and a device information detection program of an electronic device stored on the memory and operable on the processor, wherein:
in one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
Requesting and receiving equipment data from a target address based on the label information, and acquiring a test log corresponding to equipment to be detected;
acquiring a first field value corresponding to a preset comparison field from the equipment data, and acquiring a second field value corresponding to the preset comparison field from the test log;
and generating a device information detection result of the device to be detected according to the comparison result of the first field value and the second field value.
In one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
outputting an equipment information comparison interface, wherein the equipment information comparison interface comprises an address input box, a label information input box and a log data input box;
determining the target address according to the link data received by the address input box, determining the tag information according to the tag data received by the tag information input box, and acquiring the test log according to the file address received by the log data input box;
generating a data request according to the tag information, and sending the data request to the target address;
And receiving the equipment data corresponding to the data request.
In one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises an equipment data display frame, an equipment data display frame to be tested and a test control;
acquiring the first field value in the equipment data and displaying the first field value in the equipment data display frame;
acquiring the second field value in the test log and displaying the second field value in the data display frame of the equipment to be tested;
and when the test control is triggered, performing a comparison action according to the first field value and the second field value.
In one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a comparison result display frame;
when the first field value is matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a first preset method;
And when the first field value is not matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a second preset method.
In one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
acquiring address information corresponding to the equipment to be detected;
and acquiring label information corresponding to the equipment to be detected based on the address information, and associating the label information with the equipment to be detected.
In one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
when the connection of the memory card and the equipment to be detected is detected, acquiring configuration data of the equipment to be detected, generating the test log based on the configuration data, and storing the test log in the memory card;
and after receiving the export instruction, acquiring the test log stored in the memory card.
In one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
Obtaining a comparison result of the first field and the second field, if the comparison result is matching, self-adding the matching times, and if the comparison result is not matching, self-adding the unmatched times;
obtaining a total value according to the matching times and the unmatched times;
generating a completion rate according to the matching times and the total value, and generating an unfinished rate according to the unmatched times and the total value;
and storing the total value, the completion rate and the incompletion rate so that the equipment information comparison interface displays the total value, the completion rate and the incompletion rate.
In one embodiment, when the processor 1001 invokes a device information detection program of an electronic device stored in the memory 1004, the following operations are performed:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a statistical result output frame and a confirmation completion control;
and after the confirmation completion control is triggered, displaying the total number value, the completion rate and the incompletion rate in the statistical result output box.
Furthermore, it will be appreciated by those of ordinary skill in the art that implementing all or part of the processes in the methods of the above embodiments may be accomplished by computer programs to instruct related hardware. The computer program comprises program instructions, and the computer program may be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the terminal device to carry out the flow steps of the embodiments of the method described above.
Accordingly, the present application also provides a storage medium storing a device information detection program of an electronic device, which when executed by a processor, implements the respective steps of the device information detection method of an electronic device as described in the above embodiments.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, etc. which may store the program code.
It should be noted that, because the storage medium provided in the embodiments of the present application is a storage medium used to implement the method in the embodiments of the present application, based on the method described in the embodiments of the present application, a person skilled in the art can understand the specific structure and the modification of the storage medium, and therefore, the description thereof is omitted herein. All storage media used in the methods of the embodiments of the present application are within the scope of protection intended in the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (10)

1. The device information detection method of the electronic device is characterized by comprising the following steps of:
requesting and receiving equipment data from a target address based on the label information, and acquiring a test log corresponding to equipment to be detected;
acquiring a first field value corresponding to a preset comparison field from the equipment data, and acquiring a second field value corresponding to the preset comparison field from the test log;
and generating a device information detection result of the device to be detected according to the comparison result of the first field value and the second field value.
2. The device information detection method of an electronic device according to claim 1, wherein the step of requesting and receiving device data from a target address based on the tag information and acquiring a test log corresponding to the device to be detected includes:
outputting an equipment information comparison interface, wherein the equipment information comparison interface comprises an address input box, a label information input box and a log data input box;
determining the target address according to the link data received by the address input box, determining the tag information according to the tag data received by the tag information input box, and acquiring the test log according to the file address received by the log data input box;
generating a data request according to the tag information, and sending the data request to the target address;
and receiving the equipment data corresponding to the data request.
3. The method for detecting device information of an electronic device according to claim 1, wherein after the step of obtaining a first field value corresponding to a preset contrast field in the device data and obtaining a second field value corresponding to the preset contrast field in the test log, the method further comprises:
Outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises an equipment data display frame, an equipment data display frame to be tested and a test control;
acquiring the first field value in the equipment data and displaying the first field value in the equipment data display frame;
acquiring the second field value in the test log and displaying the second field value in the data display frame of the equipment to be tested;
and when the test control is triggered, performing a comparison action according to the first field value and the second field value.
4. The device information detection method of an electronic device according to claim 1, wherein the step of generating the device information detection result of the device to be detected based on the comparison result of the first field value and the second field value includes:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a comparison result display frame;
when the first field value is matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a first preset method;
and when the first field value is not matched with the second field value, displaying the first field value and the second field value in the comparison result display frame according to a second preset method.
5. The device information detection method of an electronic device according to claim 1, wherein before the step of requesting and receiving device data from a target address based on the tag information and acquiring a test log corresponding to the device to be detected, further comprises:
acquiring address information corresponding to the equipment to be detected;
and acquiring label information corresponding to the equipment to be detected based on the address information, and associating the label information with the equipment to be detected.
6. The method for detecting device information of an electronic device according to claim 4, wherein after the step of acquiring tag information corresponding to the device to be detected based on the address information and associating the tag information with the device to be detected, further comprises:
when the connection of the memory card and the equipment to be detected is detected, acquiring configuration data of the equipment to be detected, generating the test log based on the configuration data, and storing the test log in the memory card;
and after receiving the export instruction, acquiring the test log stored in the memory card.
7. The device information detection method of an electronic device according to claim 1, wherein after the step of generating the device information detection result of the device to be detected according to the comparison result of the first field value and the second field value, the method further comprises:
Obtaining a comparison result of the first field and the second field, if the comparison result is matching, self-adding the matching times, and if the comparison result is not matching, self-adding the unmatched times;
obtaining a total value according to the matching times and the unmatched times;
generating a completion rate according to the matching times and the total value, and generating an unfinished rate according to the unmatched times and the total value;
and storing the total value, the completion rate and the incompletion rate so that the equipment information comparison interface displays the total value, the completion rate and the incompletion rate.
8. The device information detection method of an electronic device according to claim 7, wherein the step of saving the total value, the completion rate, and the incompletion rate so that the device information comparison interface shows the total value, the completion rate, and the incompletion rate includes:
outputting the equipment information comparison interface, wherein the equipment information comparison interface comprises a statistical result output frame and a confirmation completion control;
and after the confirmation completion control is triggered, displaying the total number value, the completion rate and the incompletion rate in the statistical result output box.
9. A terminal device, characterized in that the terminal device comprises: a memory, a processor, and a system program of a device information detection method of an electronic device stored on the memory and operable on the processor, the system program of the device information detection method of an electronic device being executed by the processor to implement the steps of the device information detection method of an electronic device as claimed in any one of claims 1 to 8.
10. A storage medium, wherein a system program of a device information detection method of an electronic device is stored on the storage medium, the system program of the device information detection method of an electronic device being executed by a processor to implement the steps of the device information detection method of an electronic device according to any one of claims 1 to 8.
CN202311450436.6A 2023-11-01 2023-11-01 Device information detection method for electronic device, terminal device and storage medium Pending CN117421169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311450436.6A CN117421169A (en) 2023-11-01 2023-11-01 Device information detection method for electronic device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311450436.6A CN117421169A (en) 2023-11-01 2023-11-01 Device information detection method for electronic device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN117421169A true CN117421169A (en) 2024-01-19

Family

ID=89522497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311450436.6A Pending CN117421169A (en) 2023-11-01 2023-11-01 Device information detection method for electronic device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN117421169A (en)

Similar Documents

Publication Publication Date Title
US10216840B2 (en) Asset tag template creation from readable elements
CN111767350A (en) Data warehouse testing method and device, terminal equipment and storage medium
WO2023245892A1 (en) Order processing method and system based on handheld terminals, computer device, and medium
CN111598535B (en) Basic material importing method, system and computer equipment
CN112348530A (en) Automatic server production inspection and repair method
CN112990800A (en) Method, system and storage medium for managing materials
CN111966600B (en) Webpage testing method, webpage testing device, computer equipment and computer readable storage medium
CN110955603B (en) Automated testing method, apparatus, electronic device and computer readable storage medium
CN111126030B (en) Label typesetting processing method, device and system
CN117421169A (en) Device information detection method for electronic device, terminal device and storage medium
CN111611465A (en) Product detection system, method, device, computer equipment and storage medium
CN113628077B (en) Method, terminal and readable storage medium for generating non-repeated questions
JP7035326B2 (en) Server equipment, asset management systems, control methods, and programs
CN110807034B (en) Traceable data generation method, traceable data generation device and readable storage medium
CN111679983B (en) JAVA interface static test method and device
JP2015101424A (en) Commodity inventory system
CN114115826A (en) Code generation method, terminal and readable storage medium
CN105227333B (en) The method and apparatus of network element device data maintenance
CN110598527B (en) Method and related equipment for identifying claim warranty number based on machine learning
CN108701390B (en) Method and system for testing kitchen printing function of cash register
JP2015141696A (en) Provided commodity confirmation system, provided commodity confirmation method, and provided commodity confirmation program
CN113190277A (en) Equipment identification method, equipment identification device and terminal equipment
CN112052184B (en) Automatic generation method, automatic generation device and storage medium for test script
CN111291105B (en) PCB board inspection data processing method, device and storage medium
CN112862390B (en) Warehouse inventory query method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination