Equipment identification method and system, mobile terminal and storage medium
A device identification and identification technology, which is applied in the direction of program control design, structured data retrieval, program control device, etc., can solve the shortage of IO interface resources and other problems, and achieve the effect of preventing the shortage of IO interface resources and reducing maintenance costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] see figure 1 , is a flow chart of the device identification method provided in the first embodiment of the present invention, including steps:
[0047] Step S10, obtaining the data of the equipment to be identified, and comparing the structure to be identified in the data of the equipment to be identified with the preset equipment type identification code;
[0048] Wherein, the device data to be identified (dtbs package) is stored in a designated partition of flash, and the dtbs package includes at least one structure to be identified and a device tree (dtb) matching it;
[0049]Specifically, a corresponding type code is stored in each structure to be identified, and the type code is used to characterize the device type of the device corresponding to the dtb. Therefore, in this step, the structure to be identified in the data of the device to be identified is Compare with the preset device type identification code to obtain the structure of the same type as the preset ...
Embodiment 2
[0062] see figure 2 , is a flow chart of the device identification method provided in the second embodiment of the present invention, which is used to further refine step S10 in the first embodiment, including steps:
[0063] Step S11, obtaining the total number of structures of the structures to be identified in the device data to be identified, and constructing target fields according to the total number of structures and preset fields;
[0064] The structure of the device type identification code (hwversion) in the present embodiment is A-B-C-D-E, and the definition of each field is:
[0065]
[0066] The first field A is used to describe the device type name, and the remaining fields are used to describe the hardware differences of devices of the same type. A unique identification code can be defined for each type of device through hwvers ion.
[0067] Specifically, in this step, the structure of the dtbs package is:
[0068]
[0069]
[0070] The dts of each ...
Embodiment 3
[0089] see image 3 , is a schematic structural diagram of the device identification system 100 provided in the third embodiment of the present invention, including: a structure comparison module 10, a device identification module 11 and a device association module 12, wherein:
[0090] The structure comparison module 10 is used to obtain the data of the equipment to be identified, and compare the structure to be identified in the data of the equipment to be identified with the preset equipment type identification code; Based on the comparison results between the preset device type identification codes, the type of the structure to be identified is screened to obtain the target structure.
[0091] Wherein, the structure comparison module 10 is also used to: obtain the total number of structures of the structure to be identified in the device data to be identified, and construct a target field according to the total number of structures and preset fields;
[0092] Matching the...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com