Component attribute information verification method and device, electronic equipment and storage medium

Through automated checksum storage of component attribute information, the problems of high manual inspection time cost and low data security are solved, efficient checksum secure storage of component attribute information is realized, and the accuracy and consistency of schematic design is ensured. sex.

CN119106650AInactive Publication Date: 2024-12-10SHANGHAI LECHENG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411258395.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-12-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the checking of component attribute information relies on manual labor, resulting in high time cost and low accuracy, and component libraries stored on local disks are prone to loss or information leakage, resulting in errors in schematic design.

Method used

Provide a method and device for verifying component attribute information, which automatically obtains and verifys component attribute information. If the verification is passed, the logical symbols and attribute information will be sent to the server storage through the application programming interface to ensure data security and consistency.

Benefits of technology

It improves the accuracy and speed of component attribute information verification, avoids component library loss or information leakage caused by disk corruption, and ensures the accuracy and data security of schematic design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119106650A_ABST
    Figure CN119106650A_ABST
Patent Text Reader

Abstract

The invention provides a component attribute information verification method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the attribute verification of the obtained component attribute information, obtaining a verification result, and when the verification result is that the verification is passed, carrying out the verification of the component attribute information; and sending the component logic symbol and the component attribute information to a server through an application programming interface, so that the server stores the component logic symbol and the component attribute information, and automatically performs information verification on the component attribute information to obtain a verification result. A user does not need to check the attribute information of the component in a manual checking manner, so that the accuracy and speed of checking the attribute information of the component are improved; and when the verification result is that the verification is passed, sending the component logic symbol and the component attribute information to a server through an application programming interface, so that the server stores the component logic symbol and the component attribute information, and the data security of the component logic symbol and the component attribute information is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic design automation technology, and in particular to a component attribute information verification method, device, electronic equipment and storage medium. Background Art

[0002] At present, after engineers use electronic design automation (EDA) tools to mark component attribute information and draw component logic symbols, they mainly use manual inspection to determine whether the component attribute information is correctly marked; if the component attribute information is correctly marked, the engineer manually stores the component attribute information and component logic symbols in the component library on the local disk. When engineers are designing schematics, they can directly call the component attribute information and component logic symbols in the component library from the local disk for schematic design, or they can call the component logic symbols from the company's server and then call the component attribute information from the local disk for schematic design.

[0003] However, there is a lot of component attribute information, and manual inspection of component attribute information consumes a lot of time and is prone to errors. The inspection accuracy is low and the inspection speed is slow, which reduces the design efficiency of engineers' schematics. Component attribute information is stored in the component library on the local disk. Due to disk damage, the component library may be lost or the component attribute information in the component library may be leaked. In addition, if engineers call component attribute information from other databases that store component attribute information for schematic design, the component attribute information stored in the database may not match the component logic symbol stored on the local disk, resulting in schematic design errors. Summary of the invention

[0004] The present invention provides a component attribute information verification method, device, electronic device and storage medium, which can automatically verify the component attribute information to obtain a verification result, without the need for a user to manually check whether the component attribute information is correctly marked, thereby improving the accuracy and speed of determining whether the component attribute information is correctly marked; when the verification result is that the verification passes, the component logic symbol and the component attribute information are sent to a server through an application programming interface, so that the server stores the component logic symbol and the component attribute information, thereby improving the data security of the component logic symbol and the component attribute information; and, since the component logic symbol and the component attribute information are both stored in the server, the user can directly call the component logic symbol and the component attribute information corresponding to the component logic symbol from the server to perform schematic design, thereby ensuring the consistency of the component logic symbol and the component attribute information, thereby improving the accuracy and speed of schematic design.

[0005] According to a first aspect of the present invention, a method for verifying attribute information of a component is provided, the method comprising:

[0006] Get the component logic symbol and component attribute information of the current component;

[0007] Performing attribute verification on the component attribute information to obtain a verification result;

[0008] When the verification result is that the verification is passed, the component logic symbol and the component attribute information are sent to the server through an application programming interface, so that the server stores the component logic symbol and the component attribute information.

[0009] According to a second aspect of the present invention, there is provided a device for verifying attribute information of a component, the device comprising:

[0010] An information acquisition module, used to acquire component logic symbols and component attribute information of the current component;

[0011] An information verification module, used to perform attribute verification on the attribute information of the component to obtain a verification result;

[0012] The information storage module is used to send the component logic symbol and the component attribute information to the server through the application programming interface when the verification result is verification passed, so that the server stores the component logic symbol and the component attribute information.

[0013] According to a third aspect of the present invention, there is provided an electronic device, comprising a processor and a memory.

[0014] The memory is used to store codes and related data;

[0015] The processor is used to execute the code in the memory to implement the component attribute information verification method as described in any one of the embodiments of the present invention.

[0016] According to a fourth aspect of the present invention, there is provided a storage medium having a computer program stored thereon, which, when executed by a processor, implements a component attribute information verification method as described in any one of the embodiments of the present invention.

[0017] In an embodiment of the present invention, the component logic symbol and component attribute information of the current component are obtained, and the component attribute information is attribute-verified to obtain a verification result. When the verification result is that the verification passes, the component logic symbol and component attribute information are sent to the server through the application programming interface, so that the server stores the component logic symbol and component attribute information. That is, the technical solution of the present invention can obtain the component logic symbol drawn by the user for the current component and the component attribute information added by the user for the current component, automatically verify the component attribute information to obtain the verification result, and the user does not need to take manual inspection to determine whether the component attribute information is correctly marked, thereby reducing the time cost of determining whether the component attribute information is correctly marked, and improving the accuracy and speed of determining whether the component attribute information is correctly marked; when the verification result is that the verification passes, the component logic symbol and the component attribute information are sent to the server through the application programming interface, so that the server stores the component logic symbol and the component attribute information, that is, the component logic symbol and the component attribute information are stored in the server, so as to avoid the problem of component library loss or component attribute information leakage in the component library due to disk damage, thereby improving the data security of the component logic symbol and the component attribute information; and, since the component logic symbol and the component attribute information are stored in the server In the device, the user can directly call the component logic symbol and the component attribute information corresponding to the component logic symbol from the server to perform schematic design, thereby ensuring the consistency of the component logic symbol and the component attribute information, solving the problem of schematic design errors caused by the mismatch between the component attribute information stored in the database and the component logic symbol stored in the local disk, and improving the accuracy and speed of schematic design; in addition, the technical solution of the present invention, when the server is an internal server of the enterprise, can store the component logic symbol and the component attribute information to the internal server of the enterprise, and when calling the component logic symbol and the component attribute information corresponding to the component logic symbol for schematic design, it can ensure that the component attribute information corresponding to the component logic symbol used by the user is derived from the internal server of the enterprise, that is, the consistency of the component logic symbol and the component attribute information can be guaranteed, and the data security of the component logic symbol and the component attribute information of the enterprise can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1It is a flowchart of a component attribute information verification method provided by an embodiment of the present invention;

[0020] Figure 2 is another flowchart of a component attribute information verification method provided by an embodiment of the present invention;

[0021] Figure 3 It is a structural schematic diagram of a device for verifying attribute information of a component provided by an embodiment of the present invention;

[0022] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] The terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.

[0025] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0026] Figure 1 The present invention provides a flowchart of a component attribute information verification method provided by an embodiment of the present invention. The method can be executed by a component attribute information verification device, which can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated into an electronic device, such as a computer, a server, etc. The following embodiments will be described by taking the device integrated into an electronic device as an example. Figure 1 , the method may specifically include the following steps:

[0027] Step 101, obtaining the component logic symbol and component attribute information of the current component.

[0028] Among them, the component logic symbol can be understood as the graphic symbol of the component; the component attribute information can be understood as the description information of various parameters and characteristics of the component.

[0029] In an optional implementation, a user may utilize an electronic design automation tool to draw a component logic symbol for a current component and to add attribute information to the current component; after the user completes drawing the component logic symbol and adding the component attribute information, the user may directly obtain the component logic symbol and component attribute information of the current component.

[0030] Step 102, verify the component attribute information to obtain a verification result.

[0031] In an optional implementation, the device identification of the current component can be obtained, and the preset information of the current component can be obtained according to the device identification; and the verification result is determined based on the component attribute information and the preset information. Among them, the device identification can be understood as the device name of the current component, and the preset information can be understood as the preset attribute information of the current component.

[0032] Specifically, it can be determined whether the component attribute information and the preset information are the same; when it is determined that the component attribute information and the preset information are the same, the verification result is determined to be passed; when it is determined that the component attribute information and the preset information are not the same, the verification result is determined to be failed.

[0033] For example, the current component is a resistor, the device identification of the current component is A, and the component attribute information of the current component is: resistance s, temperature coefficient t, material is carbon film, and length l; the preset information corresponding to the device identification A of the current component is: resistance s, temperature coefficient t, material is carbon film, and length l; the device identification A of the current component can be obtained, and the preset information of the current component (resistance s, temperature coefficient t, material is carbon film, and length l) can be obtained according to the device identification; it can be determined that the component attribute information is the same as the preset information, and then the verification result is determined to be passed.

[0034] Step 103 , when the verification result is that the verification is passed, the component logic symbol and the component attribute information are sent to the server through the application programming interface, so that the server stores the component logic symbol and the component attribute information.

[0035] The application programming interface can be understood as a predefined function required to establish a communication connection between a client and a server; the target storage area can be understood as an area in the server for storing component logic symbols and component attribute information.

[0036] For example, the current component is a resistor, the device identification of the current component is A, and the component attribute information of the current component is: resistance value s, temperature coefficient t, material is carbon film, and length l; the component logic symbol of the current component is R; when the verification result is that the verification passes, the component logic symbol (R) and the component attribute information (resistance value s, temperature coefficient t, material is carbon film, and length l) are sent to the server through the application programming interface, so that the server stores the component logic symbol and the component attribute information.

[0037] As another example, the server can be an internal server of the enterprise. When the verification result is passed, the component logic symbol (R) and component attribute information (resistance s, temperature coefficient t, material is carbon film, length l) are sent to the internal server of the enterprise through the application programming interface, so that the internal server of the enterprise stores the component logic symbol and component attribute information. This can ensure the consistency of the component logic symbol and the component attribute information, and can also ensure the data security of the component logic symbol and component attribute information of the enterprise.

[0038] In an embodiment of the present invention, the component attribute information is automatically verified to obtain a verification result, and there is no need for the user to manually check whether the component attribute information is correctly marked, thereby reducing the time cost of determining whether the component attribute information is correctly marked, and improving the accuracy and speed of determining whether the component attribute information is correctly marked; when the verification result is that the verification is passed, the component logic symbol and the component attribute information are sent to the server through the application programming interface, so that the server stores the component logic symbol and the component attribute information, that is, the component logic symbol and the component attribute information are stored in the server, avoiding the problem of component library loss or component attribute information leakage in the component library due to disk damage, thereby improving the data security of the component logic symbol and the component attribute information; and, since the component logic symbol and the component attribute information are stored in the server, the user can directly call the component logic symbol from the server to obtain the component attribute information. And calling the component attribute information corresponding to the component logic symbol for schematic design, ensuring the consistency of the component logic symbol and the component attribute information, solving the problem of schematic design errors caused by the mismatch between the component attribute information stored in the database and the component logic symbol stored in the local disk, and improving the accuracy and speed of schematic design; in addition, the technical solution of the present invention, when the server is an internal server of the enterprise, can store the component logic symbol and the component attribute information to the internal server of the enterprise, when calling the component logic symbol and calling the component attribute information corresponding to the component logic symbol for schematic design, it can ensure that the component attribute information corresponding to the component logic symbol used by the user is derived from the internal server of the enterprise, that is, the consistency of the component logic symbol and the component attribute information can be guaranteed, and the data security of the component logic symbol and the component attribute information of the enterprise can be guaranteed.

[0039] In some embodiments, a user's information editing request can be obtained and sent to a server through an application programming interface, so that when the server determines that the user has editing authority based on the information editing request, the server allows the user to edit component logic symbols and component attribute information. In this way, only users with editing authority can edit the component attribute information and component logic symbols stored on the server, thereby better ensuring the data security of the component attribute information and component logic symbols of the current component stored on the server, and solving the data security problem of component information (component attribute information and component logic symbols).

[0040] The information editing request may include a user identifier and a device identifier of the current component.

[0041] In an optional implementation, the server may query the permission information according to the user identifier to obtain the user permission, and when the user permission includes the editing permission, it may be determined that the user has the editing permission. The permission information may include the user permissions corresponding to each user identifier.

[0042] For example, in the permission information, the user ID of user 1 is 1, and the user permissions corresponding to user 1 include editing permission, calling permission, and saving permission. The user's information editing request can be obtained, and the information editing request can be sent to the server through the application programming interface, so that the server queries the permission information according to the user ID (1) to obtain the user permissions (editing permission, calling permission, and saving permission). The server can determine that the user permissions include editing permission, and when the server determines that the user has editing permission, the user is allowed to edit component logic symbols and component attribute information.

[0043] The following further describes the component attribute information verification method provided by the embodiment of the present invention. Figure 2 As shown, Figure 2 FIG. 4 is another flow chart of a component attribute information verification method provided by an embodiment of the present invention, which may specifically include the following steps:

[0044] Step 201, obtaining the component logic symbol and component attribute information of the current component.

[0045] Step 202, obtaining a component identification of the current component, and obtaining preset information of the current component according to the component identification.

[0046] Step 203 , determining whether the component attribute information is the same as the preset information, if so, executing step 204 , if not, executing step 206 .

[0047] In an optional implementation, character matching is performed on component attribute information and preset information to obtain a matching result; when the matching result is a successful match, it is determined that the component attribute information and the preset information are the same; when the matching result is a failed match, it is determined that the component attribute information and the preset information are not the same.

[0048] For example, the current component is a resistor, the device identifier of the current component is A, and the component attribute information of the current component is: resistance s, temperature coefficient t, material is carbon film, length l; the preset information corresponding to the device identifier A of the current component is: resistance s, temperature coefficient t, material is carbon film, length l. Character matching can be performed on the component attribute information (resistance s, temperature coefficient t, material is carbon film, length l) and the preset information (resistance s, temperature coefficient t, material is carbon film, length l) to obtain a matching result of successful matching, and then determine that the component attribute information is the same as the preset information, so that the user does not need to manually check whether the component attribute information is fully marked, reduce the time cost of determining whether the component attribute information is fully marked, and improve the accuracy and speed of determining whether the component attribute information is fully marked.

[0049] Step 204, determine that the verification result is passed.

[0050] Step 205 : sending the component logic symbol and the component attribute information to the server through the application programming interface, so that the server stores the component logic symbol and the component attribute information.

[0051] Step 206, determining that the verification result is verification failure.

[0052] Step 207, generating a verification report for the current component according to the component attribute information and the preset information.

[0053] In an optional implementation, component attribute information and preset information may be stored in a document to obtain a verification report, so that the user may determine the reason for failure of the verification based on the component attribute information and preset information in the verification report, and promptly modify erroneous attribute information in the component attribute information, thereby improving the verification pass rate of the component attribute information verification.

[0054] In an embodiment of the present invention, a component logic symbol and component attribute information of a current component are obtained, a device identification of the current component is obtained, and preset information of the current component is obtained based on the device identification, and it is determined whether the component attribute information and the preset information are the same. If so, it is determined that the verification result is a passed verification, and the component logic symbol and the component attribute information are sent to a server through an application programming interface, so that the server stores the component logic symbol and the component attribute information; if not, a verification report for the current component is generated based on the component attribute information and the preset information. That is, the technical solution of the present invention automatically verifies the component attribute information to obtain a verification result, without the need for the user to manually check whether the component attribute information is correctly marked, thereby reducing the time cost of determining whether the component attribute information is correctly marked, and improving the accuracy and speed of determining whether the component attribute information is correctly marked; when the verification result is that the verification passes, the component logic symbol and the component attribute information are sent to the server through the application programming interface, so that the server stores the component logic symbol and the component attribute information, that is, the component logic symbol and the component attribute information are stored in the server, thereby avoiding the problem of component library loss or component attribute information leakage in the component library due to disk damage, and improving the data security of the component logic symbol and the component attribute information; and, since the component logic symbol and the component attribute information are stored Stored in the server, the user can directly call the component logic symbols and the component attribute information corresponding to the component logic symbols from the server to perform schematic design, thereby ensuring the consistency of the component logic symbols and the component attribute information and improving the accuracy and speed of the schematic design; in addition, the technical solution of the present invention, when the server is an internal server of an enterprise, can store the component logic symbols and the component attribute information on the internal server of the enterprise, and when calling the component logic symbols and the component attribute information corresponding to the component logic symbols for schematic design, it can be ensured that the component attribute information corresponding to the component logic symbols used by the user is derived from the internal server of the enterprise, that is, the consistency of the component logic symbols and the component attribute information can be guaranteed, and the data security of the component logic symbols and component attribute information of the enterprise can be guaranteed.

[0055] In some embodiments, after determining that the verification result is a verification failure, information in the component attribute information that is different from the preset information can also be determined as difference information, information keywords in the difference information are determined, and information with information keywords in the preset information is determined as target information in the preset information that replaces the difference information, and the difference information is replaced with the target information. In this way, information in the component attribute information that is different from the preset information can be replaced in batches, without the user having to manually adjust the information in the component information that is different from the preset information, thereby saving time in modifying the component attribute information, and thereby improving the speed and efficiency of component attribute information verification.

[0056] For example, the current component is a resistor, the device identifier of the current component is A, and the component attribute information of the current component is: resistance s, temperature coefficient t, material is carbon film, length l; the preset information corresponding to the device identifier A of the current component is: resistance s, temperature coefficient t, material is aluminum, length l. Information in the component attribute information that is different from the preset information can be determined as difference information (material is carbon film), the same characters (material) in the difference information and the preset information can be determined as information keywords (material), the information with the information keyword in the preset information (material is aluminum) can be determined as target information (material is aluminum) for replacing the difference information, and the difference information (material is carbon film) can be replaced with the target information (material is aluminum).

[0057] In some embodiments, after the difference information is replaced with the target information, replacement record information may be generated according to the difference information and the target information. The replacement record information may be understood as information recording the information replacement process in the component attribute information, and the type of the replacement record information may be a table.

[0058] For example, the difference information is: the material is carbon film, and the target information is: (the material is aluminum). The difference information can be inserted into the column where the difference information is located, and the target information can be inserted into the column where the target information is located to obtain a replacement record information table, as shown in Table 1 below. In this way, the user can understand the information replacement content of the component attribute information more clearly and quickly based on the replacement record information, and then determine the information addition errors that occurred in the process of adding the component attribute information, so that the user can pay attention to the information addition errors of the component attribute information during the next addition of the component attribute information, thereby increasing the probability of passing the component attribute information verification.

[0059] Table 1 Replacement record information table

[0060] Difference Information Target Information Material: carbon film Material: Aluminum

[0061] Figure 3 1 is a schematic diagram of a structure of a device for verifying the attribute information of a component provided by an embodiment of the present invention. The device is suitable for executing a method for verifying the attribute information of a component provided by an embodiment of the present invention. Figure 3 As shown, the device may specifically include:

[0062] The information acquisition module 301 is used to acquire the component logic symbol and component attribute information of the current component;

[0063] An information verification module 302 is used to perform attribute verification on the component attribute information to obtain a verification result;

[0064] The information storage module 303 is used to send the component logic symbol and the component attribute information to the server through the application programming interface when the verification result is verification passed, so that the server stores the component logic symbol and the component attribute information.

[0065] Optionally, the information verification module 302 is specifically used to:

[0066] Obtaining a device identification of the current component, and obtaining preset information of the current component according to the device identification;

[0067] The verification result is determined based on the component attribute information and the preset information.

[0068] Optionally, the information verification module 302 determines the verification result based on the preset information and the component attribute information, including:

[0069] Determining whether the component attribute information is the same as the preset information;

[0070] When it is determined that the component attribute information is the same as the preset information, determining that the verification result is a verification pass;

[0071] When it is determined that the component attribute information is not the same as the preset information, the verification result is determined to be verification failure.

[0072] Optionally, the information verification module 302 determines the verification result based on the component attribute information and the preset information, including:

[0073] Performing character matching on the component attribute information and the preset information to obtain a matching result;

[0074] When the matching result is a successful match, determining that the component attribute information is the same as the preset information;

[0075] When the matching result is a matching failure, it is determined that the component attribute information is different from the preset information.

[0076] Furthermore, the device also includes:

[0077] The report generation module is used to generate a verification report of the current component according to the component attribute information and preset information.

[0078] Furthermore, the device also includes:

[0079] A difference information determination module, used for determining information in the component attribute information that is different from the preset information as difference information;

[0080] A keyword determination module, used to determine information keywords in the difference information;

[0081] a target information determination module, configured to determine the information having the information keyword in the preset information as target information in the preset information to replace the difference information;

[0082] An information replacement module is used to replace the difference information with the target information.

[0083] Furthermore, the device also includes:

[0084] The replacement record information is generated according to the difference information and the target information.

[0085] Furthermore, the device also includes:

[0086] A request acquisition module is used to obtain a user's information editing request and send the information editing request to the server through the application programming interface, so that when the server determines that the user has editing authority based on the information editing request, the server allows the user to edit the component logic symbol and the component attribute information.

[0087] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0088] The device for verifying component attribute information provided in the embodiment of the present invention automatically verifies the component attribute information to obtain a verification result, without the need for a user to manually check whether the component attribute information is correctly marked, thereby improving the accuracy and speed of determining whether the component attribute information is correctly marked; when the verification result is that the verification passes, the component logic symbol and the component attribute information are sent to a server through an application programming interface, so that the server stores the component logic symbol and the component attribute information, thereby improving the data security of the component logic symbol and the component attribute information; and, since the component logic symbol and the component attribute information are both stored in the server, the user can directly call the component logic symbol and the component attribute information corresponding to the component logic symbol from the server to perform schematic design, thereby ensuring the consistency of the component logic symbol and the component attribute information, thereby improving the accuracy and speed of schematic design.

[0089] Figure 4It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0090] Please refer to Figure 4 , an electronic device 50 is provided, comprising:

[0091] a processor 51; and

[0092] A memory 52, used to store executable instructions of the processor;

[0093] The processor 51 is configured to execute the above-mentioned method by executing the executable instructions.

[0094] The processor 51 can communicate with the memory 52 via a bus 53 .

[0095] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned method is implemented.

[0096] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for verifying attribute information of a component, characterized in that: The method comprises: Get the component logic symbol and component attribute information of the current component; Performing attribute verification on the component attribute information to obtain a verification result; When the verification result is that the verification is passed, the component logic symbol and the component attribute information are sent to the server through an application programming interface, so that the server stores the component logic symbol and the component attribute information.

2. According to the method of claim 1, the step of performing attribute verification on the component attribute information to obtain a verification result comprises: Obtaining a device identification of the current component, and obtaining preset information of the current component according to the device identification; The verification result is determined based on the component attribute information and the preset information.

3. The method according to claim 2, wherein determining the verification result based on the preset information and the component attribute information comprises: Determining whether the component attribute information is the same as the preset information; When it is determined that the component attribute information is the same as the preset information, determining that the verification result is a verification pass; When it is determined that the component attribute information is not the same as the preset information, the verification result is determined to be verification failure.

4. The method according to claim 3, wherein determining the verification result based on the component attribute information and the preset information comprises: Performing character matching on the component attribute information and the preset information to obtain a matching result; When the matching result is a successful match, determining that the component attribute information is the same as the preset information; When the matching result is a matching failure, it is determined that the component attribute information is different from the preset information.

5. The method according to claim 3, after determining that the verification result is verification failure, the method further comprises: Generate a verification report for the current component based on the component attribute information and preset information.

6. The method according to claim 3, characterized in that After determining that the verification result is verification failure, the method further includes: Determining information in the component attribute information that is different from the preset information as difference information; Determining information keywords in the difference information; Determine the information having the information keyword in the preset information as the target information in the preset information to replace the difference information; The difference information is replaced with the target information.

7. The method according to claim 6, characterized in that After replacing the difference information with the target information, the method further includes: The replacement record information is generated according to the difference information and the target information.

8. The method according to claim 1, characterized in that The method further comprises: Obtaining a user's information editing request, and sending the information editing request to the server through the application programming interface, so that when the server determines that the user has editing authority based on the information editing request, the server allows the user to edit the component logic symbol and the component attribute information.

9. A device for verifying the attribute information of a component, characterized in that: The device comprises: An information acquisition module, used to acquire component logic symbols and component attribute information of the current component; An information verification module, used to perform attribute verification on the attribute information of the component to obtain a verification result; The information storage module is used to send the component logic symbol and the component attribute information to the server through the application programming interface when the verification result is verification passed, so that the server stores the component logic symbol and the component attribute information.

10. An electronic device, characterized in that: Including processor and memory, The memory is used to store codes and related data; The processor is used to execute the code in the memory to implement the component attribute information verification method described in any one of claims 1 to 8.

11. A storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the component attribute information verification method according to any one of claims 1 to 8 is implemented.