CN116451619A - Component information processing method, device, medium and equipment - Google Patents

Component information processing method, device, medium and equipment Download PDF

Info

Publication number
CN116451619A
CN116451619A CN202310356934.8A CN202310356934A CN116451619A CN 116451619 A CN116451619 A CN 116451619A CN 202310356934 A CN202310356934 A CN 202310356934A CN 116451619 A CN116451619 A CN 116451619A
Authority
CN
China
Prior art keywords
component
graph
data
schematic diagram
path
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
CN202310356934.8A
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.)
San Microelectronics Technology Suzhou Co ltd
Original Assignee
San Microelectronics Technology Suzhou 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 San Microelectronics Technology Suzhou Co ltd filed Critical San Microelectronics Technology Suzhou Co ltd
Priority to CN202310356934.8A priority Critical patent/CN116451619A/en
Publication of CN116451619A publication Critical patent/CN116451619A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/535Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/31Design entry, e.g. editors specifically adapted for circuit design
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a device, a medium and equipment for processing component information. The method comprises the following steps: detecting a trigger event for displaying a component icon in a component drawing interface, and acquiring a component identifier corresponding to the component icon; inquiring a graph path corresponding to the component identifier in a database, and acquiring component drawing data from a file corresponding to the graph path; and drawing a component graph corresponding to the component icon and displaying attribute information corresponding to the component icon in a component drawing interface according to the component drawing data. The technical scheme of the embodiment of the invention reduces the repeatability of drawing data of the components and improves the drawing efficiency and the drawing accuracy.

Description

Component information processing method, device, medium and equipment
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, an apparatus, a medium, and a device for processing component information.
Background
EDA (Electronic Design Automatic, electronic design Automation) software is a circuit design tool.
At present, the file storage mode of EDA software is that a single-model component corresponds to corresponding component drawing data only.
In the existing file storage mode of EDA software, the situation that the data of the component drawing is repeated exists, and meanwhile, in the drawing process, a large amount of component drawing data needs to be selected, so that the drawing efficiency is low and the drawing error rate is high.
Disclosure of Invention
The invention provides a component information processing method, a device, a medium and equipment, which reduce the repeatability of drawing data of components and improve the drawing efficiency and the drawing accuracy.
According to an aspect of the present invention, there is provided a component information processing method including:
detecting a trigger event for displaying a component icon in a component drawing interface, and acquiring a component identifier corresponding to the component icon;
inquiring a graph path corresponding to the component identifier in a database, and acquiring component drawing data from a file corresponding to the graph path;
and drawing a component graph corresponding to the component icon and displaying attribute information corresponding to the component icon in a component drawing interface according to the component drawing data.
According to another aspect of the present invention, there is provided a component information processing apparatus including:
the component identifier acquisition module is used for detecting a trigger event for displaying a component icon in the component drawing interface and acquiring a component identifier corresponding to the component icon;
The component drawing data acquisition module is used for inquiring the graphic path corresponding to the component identifier in the database and acquiring the component drawing data from the file corresponding to the graphic path;
and the component graph drawing module is used for drawing a component graph corresponding to the component icon and displaying attribute information corresponding to the component icon in the component drawing interface according to the component drawing data.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the component information processing method according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the method for processing component information according to any one of the embodiments of the present invention.
According to the technical scheme, the triggering event of the display element icon in the element drawing interface is detected, the element identifier corresponding to the element icon is obtained, the graphic path corresponding to the element identifier is queried in the database, the element drawing data is obtained from the file corresponding to the graphic path, the element graph corresponding to the element icon and the attribute information corresponding to the display element icon are drawn in the element drawing interface according to the element drawing data, the problem that the existing EDA software file storage mode is solved, the element mapping data has the condition of data repetition, and meanwhile, in the drawing process, a large amount of element mapping data needs to be selected, the drawing efficiency is low, the drawing error rate is high, the repeatability of the element drawing data is reduced, and the drawing efficiency and the drawing accuracy are improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for processing component information according to a first embodiment of the present invention;
fig. 2 is a flowchart of a component information processing method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of schematic diagram graphic data according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of a package diagram according to a second embodiment of the present invention;
fig. 5 is a block diagram of a component information processing apparatus according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a component information processing apparatus according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device implementing a method for processing component information according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. In the technical scheme of the invention, the collection, storage, use, processing, transmission, provision, disclosure and the like of the related data accord with the regulations of related laws and regulations, and the public order is not violated.
Example 1
Fig. 1 is a flowchart of a method for processing component information according to an embodiment of the present invention, where the method may be performed by a component information processing apparatus, and the component information processing apparatus may be implemented in hardware and/or software, and the component information processing apparatus may be configured in an electronic device that carries a component information processing function.
As shown in fig. 1, the method includes:
s110, detecting a trigger event for displaying the component icon in the component drawing interface, and acquiring a component identifier corresponding to the component icon.
The component drawing interface may include component icons and component drawing areas. Alternatively, each component icon may be located on one side of the component drawing interface. And triggering each component icon on the component drawing interface, and displaying a component graph corresponding to the component icon. The component drawing area may be an area in which a component pattern corresponding to the component icon is displayed. The trigger event for displaying the component icon may be a trigger event for displaying a component graphic corresponding to the component icon. For example, the triggering event for displaying the component icon in the component drawing interface may include clicking the component icon, dragging the component icon, or placing the component icon in the component drawing area for a time equal to or longer than a preset placement time threshold, or the like. The preset placement time threshold may be a lower limit value of a time for which a preset element icon is placed in the component drawing boundary region. The preset placement time threshold may be set and adjusted according to the experience of the technician. The component identifier may be used to uniquely identify the component to which the component icon corresponds. Illustratively, the component identifier may be a numerical number or a character string number, or the like.
Specifically, when a trigger event of displaying a component icon in the component drawing interface is detected, a component identifier corresponding to the component icon is obtained.
S120, inquiring a graph path corresponding to the component identifier in the database, and acquiring component drawing data from a file corresponding to the graph path.
The database may include component identifications and corresponding graphics paths for the component identifications. The component identification and corresponding graphics path may be pre-stored in the data. The graphics path may be used to describe the actual storage location of the component rendering data. It will be appreciated that, based on the graphics path, it is possible to determine in which file in the client the component rendering data is. Alternatively, the component drawing data may be stored in a file of the component library. For example, the component drawing data may be stored in a file a of the component library of the client 1, and the graphics path may be "client 1/component library/file a". The component identifiers and the graph paths have corresponding relations. Through the corresponding relation between the component identifiers and the graphic paths, the graphic paths corresponding to the component identifiers can be determined, and then the component drawing data in the files corresponding to the graphic paths are determined. The component drawing data is used to generate a component pattern. Alternatively, different component identifiers may correspond to the same graphics path, and it is understood that different component identifiers may correspond to the same component rendering data. Therefore, the repeated use of the drawing data of the components can be realized.
Specifically, according to the component identifier and the corresponding relation between the component identifier and the graphic path, the graphic path corresponding to the component identifier is queried in the database, and the component drawing data is obtained from the file corresponding to the graphic path.
And S130, drawing a component graph corresponding to the component icon and displaying attribute information corresponding to the component icon in a component drawing interface according to the component drawing data.
The component drawing data may include graphic data and text data of the component. The component pattern may be generated based on the pattern data of the component. The component pattern may be, for example, an electrical symbol of the component. The attribute information may be generated from text data of the component. By way of example, the attribute information may include information of current, voltage, power, and size of the component. Alternatively, the attribute information may be displayed on the right side of the component drawing interface, or may be displayed around the component graph when the cursor is placed over the component graph.
Specifically, graphic data can be extracted from the component drawing data, component graphics corresponding to component icons can be drawn in a component drawing interface according to the graphic data, text data can be extracted from the component drawing data, and attribute information corresponding to the component icons can be generated and displayed.
According to the technical scheme, the triggering event of the display element icon in the element drawing interface is detected, the element identifier corresponding to the element icon is obtained, the graphic path corresponding to the element identifier is queried in the database, the element drawing data is obtained from the file corresponding to the graphic path, the element graph corresponding to the element icon and the attribute information corresponding to the display element icon are drawn in the element drawing interface according to the element drawing data, the repeatability of the element drawing data is reduced by storing the element identifier and the corresponding graphic path in the database in advance, the storage space occupied by the element drawing data is saved, the element drawing data corresponding to the element identifier is rapidly obtained, the element drawing data corresponding to the element identifier is prevented from being queried in a large number of element drawing data, and the drawing efficiency and the drawing accuracy of the element are improved.
Optionally, the component drawing interface includes: and drawing interfaces by components of electronic design automation software EDA.
EDA (Electronic Design Automatic, electronic design Automation) software is a circuit design tool. EDA software can draw both schematic and package diagrams. EDA software has a very wide range of applications in electronic automation design. The component drawing interface may be a component drawing interface of electronic design automation software EDA. Correspondingly, a triggering event of a component icon is displayed in a component drawing interface of electronic design automation software EDA is detected, a component identifier corresponding to the component icon is obtained, a graphic path corresponding to the component identifier is queried in a database, component drawing data is obtained from a file corresponding to the graphic path, and a component graph corresponding to the component icon and attribute information corresponding to the component icon are drawn in the component drawing interface according to the component drawing data.
By embodying the component drawing interface as the component drawing interface of the electronic design automation software EDA, the component identification and the corresponding graphic path are prestored in the database, so that the component drawing data corresponding to the component identification is quickly obtained, the direct inquiry of the component drawing data corresponding to the component identification in a large amount of component drawing data is avoided, and the drawing efficiency and the drawing accuracy of the components in the electronic design automation software EDA are improved.
Example two
Fig. 2 is a flowchart of a component information processing method according to a second embodiment of the present invention, where, based on the foregoing embodiment, a "graphics path corresponding to a component identifier is queried in a database," and component drawing data is obtained from a file corresponding to the graphics path "in a materialized manner, where a schematic diagram graphics path and an encapsulation diagram graphics path are extracted from the graphics path corresponding to the component identifier; inquiring a file of a schematic diagram graph path in a schematic diagram library, and extracting schematic diagram graph data and attribute information from the file; inquiring a file of a package diagram graph path in a package diagram library, and extracting package diagram graph data from the file; the schematic diagram graphic data, the attribute information and the package diagram graphic data are determined to be component drawing data ", so that the storage space occupied by the component drawing data is further saved, and the drawing efficiency and the drawing accuracy of the component are further improved. In the embodiments of the present invention, the descriptions of other embodiments may be referred to in the portions not described in detail.
As shown in fig. 2, the method includes:
and S210, detecting a trigger event for displaying the component icon in the component drawing interface, and acquiring a component identifier corresponding to the component icon.
S220, extracting a schematic diagram graph path and a package diagram graph path from the graph paths corresponding to the component identifiers.
The graph paths may include schematic graph paths and package graph paths. The graphical path may be stored in a database. The schematic diagram graph path can be used for describing actual storage positions of schematic diagram graph data corresponding to the component identifiers. It will be appreciated that the schematic graph path may indicate in which file the schematic graph data corresponding to the component identification is stored in particular. The package map graphics path may be used to describe the actual storage location of the package map graphics data. It will be appreciated that the package map graphic path may indicate in which file the package map graphic data corresponding to the component identification is specifically stored. Alternatively, the file identification information storing the schematic diagram graphic data may be different from the file identification information storing the package diagram graphic data. For example, the file identification information storing schematic diagram graphic data may be ". Schlib"; the schematic diagram graph path may be "C \My component library\component 1.Schlib". The file identification information storing the package map graphic data may be ". Pcblib"; the package map graph path may be "C: \My component library\component 1.Pcblib". Alternatively, different component identifiers may correspond to the same schematic diagram graphic path or the same package diagram graphic path, and it is understood that different component identifiers may correspond to the same schematic diagram graphic data or the same package diagram graphic data. Thus, the schematic diagram graphic data or the package diagram graphic data can be reused.
Specifically, the graphic path corresponding to the file identification information for storing the schematic graph graphic data can be extracted from the graphic paths corresponding to the component identifications according to the file identification information, and determined as the schematic graph graphic path, and the graphic path corresponding to the file identification information for storing the package graph graphic data can be extracted and determined as the package graph graphic path.
S230, inquiring the principle drawing path file in the principle drawing library, and extracting principle drawing data and attribute information from the principle drawing path file.
The component library may include a schematic library and a package library. The schematic library may be used to characterize the electrical properties of the component. The schematic library may be used to store schematic graphic data and attribute information of the component. The schematic diagram graphic data may be graphic data of an electrical schematic diagram corresponding to the component. The schematic diagram of the component can be directly generated according to the schematic diagram graph data. For example, the schematic graphical data may include electrical symbols of the components. Fig. 3 is a schematic diagram of graphic data. As shown in fig. 3, the schematic graphical data may be electrical symbols of a capacitor. The attribute information may be text information of the component. By way of example, the attribute information may include information of current, voltage, power, and size of the component. Alternatively, schematic diagram graphic data of components of different models may be the same, and accordingly, schematic diagram graphic data and attribute information may be extracted from the same schematic diagram graphic path. Thus, the schematic diagram graphic data can be reused.
Specifically, a file corresponding to the schematic graph path can be queried in the schematic graph library, and schematic graph data and attribute information can be extracted from the file.
S240, inquiring the file of the package diagram graph path in the package diagram library, and extracting package diagram graph data from the file.
The package gallery may be used to store package map graphics data for the component. The packaging gallery may be used to characterize dimensional and form attributes of the component. The plurality of components may generate a circuit board through an integrated package. The packaging map may be an actual packaging map of the circuit board. The package map graphic data may be graphic data of an actual package map of the component. The package diagram of the component can be directly generated according to the package diagram figure data. Illustratively, fig. 4 is a schematic diagram of the structure of the package diagram graphic data. As shown in fig. 4, the package diagram graphic data may be a graphic of an actual package diagram of the capacitor, and 1 and 2 are pin numbers of the capacitor. Alternatively, in the component library, the schematic library and the package library may be different folders.
Specifically, a file corresponding to the package graph path may be queried in the package graph library, and package graph data may be extracted from the file.
S250, determining the schematic diagram graphic data, the attribute information and the package diagram graphic data as component drawing data.
Specifically, schematic drawing graphic data, attribute information, and package drawing graphic data may be collectively determined as component drawing data.
And S260, drawing a component graph corresponding to the component icon and displaying attribute information corresponding to the component icon in a component drawing interface according to the component drawing data.
In the prior art, a corresponding relation exists between a principle drawing library and an encapsulation drawing. One component must correspond to one schematic diagram graphic data and one package diagram graphic data, and the schematic diagram graphic data and the package diagram graphic data are in one-to-one correspondence. One piece of schematic diagram graphic data can only uniquely correspond to one piece of package diagram graphic data. For components with the same schematic diagram data, the same schematic diagram data can be stored only for a plurality of times and used for corresponding to different package diagram data, and the schematic diagram data are repeated in a large amount.
According to the technical scheme, the trigger event of the component icon displayed in the component drawing interface is detected, the component identifier corresponding to the component icon is obtained, the schematic diagram graphic path and the package diagram graphic path are extracted from the graphic path corresponding to the component identifier, the file of the schematic diagram graphic path is queried in the schematic diagram library, the schematic diagram graphic data and the attribute information are extracted from the file, the file of the package diagram graphic path is queried in the package diagram library, the package diagram graphic data is extracted from the file, the schematic diagram graphic data, the attribute information and the package diagram graphic data are determined as the component drawing data, the component graphic corresponding to the component icon and the attribute information corresponding to the display component icon are drawn in the component drawing interface according to the component drawing data, the repeated use of the schematic diagram graphic data or the package diagram graphic data is realized, the storage space occupied by the schematic diagram library or the package diagram library is saved, and the drawing efficiency and the drawing accuracy of the component are further improved.
Optionally, the querying the graphic path corresponding to the component identifier in the database includes: inquiring component mapping data corresponding to the component identifiers in the database, wherein the component mapping data comprises component models, schematic diagram graphic identifiers, schematic diagram graphic paths, package diagram graphic identifiers, package diagram graphic paths and component identifiers; and extracting a schematic diagram graphic path and an encapsulation diagram graphic path from the component mapping data corresponding to the component identifier, and determining the schematic diagram graphic path and the encapsulation diagram graphic path as the graphic path corresponding to the component identifier.
The component mapping data may be index data of component drawing data. It will be understood that, according to the component mapping data, component drawing data in a file of the component library may be obtained. The component mapping data may be stored in a component library and the component mapping data may be stored in a database. The database may store a plurality of pieces of component mapping data. The component mapping data may include a component model number, a schematic diagram graphic identifier, a schematic diagram graphic path, an encapsulation diagram graphic identifier, an encapsulation diagram graphic path, and a component identifier. The component identifier can be used for uniquely identifying the component corresponding to the component icon. One piece of component mapping data has one component identifier, and the component identifiers of the component mapping data are different. Schematic graphic identifiers may be used to uniquely identify the schematic graphic. For example, the schematic graphic identifiers may be schematic names. For example, the component model may be "100pF," i.e., a 100pF capacitance. The package map graphic identification may be used to uniquely identify the package map graphic. For example, the package map graphic identifier may be a package map name. For example "C0805" it is understood that a capacitive package with a size of 2mm x 1.2 mm. Alternatively, the component names may be the same as the schematic graphical identifiers.
Specifically, the component mapping data including the component identifier may be queried in the database, the graphic path corresponding to the file identifier information storing the schematic diagram data may be extracted from the component mapping data corresponding to the component identifier, and determined as the schematic diagram graphic path, and the graphic path corresponding to the file identifier information storing the package diagram data may be extracted and determined as the package diagram graphic path.
According to the scheme, the component mapping data corresponding to the component identification is queried in the database, the component mapping data comprises a component model, a schematic diagram image identification, a schematic diagram image path, an encapsulation diagram image identification, an encapsulation diagram image path and a component identification, the schematic diagram image path and the encapsulation diagram image path are extracted from the component mapping data corresponding to the component identification, the image path corresponding to the component identification is determined, the component mapping data is stored in the database, the integration of the schematic diagram image path and the encapsulation diagram image path is realized by utilizing the component mapping data, and the schematic diagram image path and the encapsulation diagram image path corresponding to the component identification can be rapidly determined through the component identification, so that the drawing efficiency and the drawing accuracy of the component are further improved.
Optionally, before obtaining the component identifier corresponding to the component icon, the method further includes: receiving a component newly-built instruction and displaying an identification information input area of the component; receiving a component identifier of the new component input in the identifier information input area; displaying schematic diagram graphs in a schematic diagram library and receiving a designated instruction of a displayed target schematic diagram graph; displaying the package diagram graph in the package diagram library, and receiving a designated instruction of the displayed target package diagram graph; and combining the component identification of the new component, the identification of the target schematic diagram graph, the schematic diagram graph path of the target schematic diagram graph, the identification of the target packaging diagram graph and the packaging diagram graph path of the target packaging diagram graph to form component mapping data of the new component, and adding the component mapping data into a database.
The component creation instruction may be used to create component mapping data. Optionally, the component creation instruction may be triggered by a user. The identification information input area may be used to input a component identification of a new component. The target schematic diagram may be a schematic diagram of a new component association. The target package graph may be a new component associated package graph. The target schematic graph may be determined by a designated instruction of the displayed target schematic graph. The target packaging graph graphic may be determined by a designated instruction of the displayed target packaging graph graphic. The instructions for designating the displayed target schematic diagram graphic and the instructions for designating the displayed target package diagram graphic may be input by a user. The identification of the target schematic graph may be the name of the target schematic graph. The identification of the target packaging graph may be the name of the target packaging graph.
Specifically, the device creation instruction input by the user can be received, and the identification information input area of the device is displayed. The component identification of the new component input by the user may be received in the identification information input area. When receiving the component identification of the new component input in the identification information input area, each schematic diagram graph which can be selected by the component identification in the schematic diagram library can be displayed, the designated instruction of the displayed target schematic diagram graph which is input by a user can be received, the target schematic diagram graph is determined, each package diagram graph which can be selected by the component identification in the package diagram library can be displayed, the designated instruction of the displayed target package diagram graph which is input by the user can be received, and the target package diagram graph is determined. The component identifier of the new component, the identifier of the target schematic diagram, the schematic diagram path of the target schematic diagram, the identifier of the target package diagram and the package diagram path of the target package diagram can be combined to generate component mapping data of the new component, and the component mapping data is added into the database.
According to the technical scheme, before the component identification corresponding to the component icon is obtained, a component new instruction is received, an identification information input area of the component is displayed, the component identification of the new component input in the identification information input area is received, the schematic diagram graph in the schematic diagram library is displayed, the designated instruction of the displayed target schematic diagram graph is received, the packaged diagram graph in the packaged diagram library is displayed, the designated instruction of the displayed target packaged diagram graph is received, the component identification of the new component, the identification of the target schematic diagram graph, the schematic diagram graph path of the target schematic diagram graph, the identification of the target packaged diagram graph and the packaged diagram graph path of the target packaged diagram graph are combined to form component mapping data of the new component, the component mapping data of the new component are added into a database, the target schematic diagram graph data are arranged in the schematic diagram library, and the target packaged diagram graph data are arranged in the packaged diagram library, the schematic diagram database is operated by operating the database instead of directly operating the schematic diagram library and the packaged diagram library, the repeated data of the schematic diagram library or the packaged diagram library is avoided, the repeated use of the schematic diagram data and the packaged diagram data of the map data is further saved, and the accuracy of the component drawing diagram is further improved.
Optionally, after displaying the schematic diagram in the schematic diagram library, the method further includes: receiving a schematic drawing new instruction and displaying a schematic drawing area; in the schematic drawing region, receiving new schematic graphic data; receiving attribute information corresponding to the new schematic diagram graphic data; the new schematic graph data and corresponding attribute information are stored in the designated schematic graph path.
The schematic new instruction may be used to instruct to new a schematic graph. And receiving a schematic diagram creation instruction, wherein the schematic diagram library is understood to be that all schematic diagram diagrams with selectable component identifiers are not provided with target schematic diagram diagrams. The schematic drawing region may be used to receive new schematic graphic data. The new schematic graphic data may be graphic data of a schematic of a new component. Alternatively, the designated schematic graph paths may be the same as or different from the other schematic graph paths. It will be appreciated that the new schematic graph data and corresponding attribute information may be stored in the same folder as the other schematic graph data and corresponding attribute information, i.e., the designated schematic graph path is the same as the other schematic graph paths. The new folder can also be created for storing new schematic graph graphic data and corresponding attribute information, and the designated schematic graph path can be the storage path of the new folder.
Specifically, a schematic drawing new instruction input by a user can be received, and a schematic drawing area is displayed. And receiving new schematic diagram graphic data sent by a user in the schematic diagram drawing area, and receiving attribute information corresponding to the new schematic diagram graphic data. The new schematic graph data and corresponding attribute information may be stored in the designated schematic graph path.
According to the scheme, after the schematic diagram graph in the schematic diagram library is displayed, a schematic diagram newly-built instruction is received, a schematic diagram drawing area is displayed, new schematic diagram graph data is received in the schematic diagram drawing area, attribute information corresponding to the new schematic diagram graph data is received, the new schematic diagram graph data and the corresponding attribute information are stored in a designated schematic diagram graph path, and when the schematic diagram graph data does not exist in the schematic diagram library, the new schematic diagram graph data and the corresponding attribute information are newly added in the schematic diagram library, so that the data repetition of the schematic diagram graph data is avoided, the reasonable utilization of the storage space of the schematic diagram library is ensured, and the new addition of the new schematic diagram graph data and the corresponding attribute information of a new component is realized.
Optionally, after displaying the package graph in the package graph library, the method further includes: receiving an encapsulation graph creation instruction and displaying an encapsulation graph drawing area; receiving new package drawing graphic data in the package drawing area; the new package graph data is stored in the designated package graph path.
The package graph creation instruction may be used to instruct creation of a package graph. And receiving a new instruction of the packaging graph, wherein the new instruction can be understood that the target packaging graph does not exist in the packaging graph graphs with the selectable component identifiers in the packaging graph library. The package map drawing area may be used to receive new package map graphics data. The new package map graphic data may be graphic data of a package map of the new component. Optionally, the designated package graph path may be the same as or different from the other package graph paths. It will be appreciated that the new package map graphic data may be stored in the same folder as other package map graphic data, i.e., the designated package map graphic path is the same as the other package map graphic paths. The new folder may be created for storing new package graph graphic data, and the designated package graph graphic path may be a storage path of the new folder.
Specifically, the package graph creation instruction input by the user may be received, and the package graph drawing area may be displayed. The new package drawing graphic data transmitted by the user may be received in the package drawing area, and the new package drawing graphic data may be stored in the designated package drawing graphic path.
Receiving a new package graph instruction after displaying the package graph in the package graph library, displaying a package graph drawing area, and receiving new package graph data in the package graph drawing area; storing the new package graph data in a designated package graph path, and newly adding the new package graph data in the package graph library when the target package graph data does not exist in the package graph library, so that the data repetition of the package graph data is avoided, the reasonable utilization of the storage space of the package graph library is ensured, and the new addition of the new package graph data of a new component is realized.
Optionally, the method further comprises: receiving a component deleting instruction, extracting a component identifier corresponding to the deleted component, and taking the component identifier as a deleting identifier; inquiring the mapping data of the components corresponding to the deletion identifier in the database, and deleting the mapping data; deleting data associated with the idle schematic diagram in the schematic diagram library when no identifier or graphic path of the idle schematic diagram exists in the database; and deleting the data associated with the idle encapsulation diagram in the encapsulation diagram library when the fact that the identification or the graphic path of the idle encapsulation diagram does not exist in the database is detected.
The component deletion instruction may be used to delete component mapping data. Alternatively, the component deletion instruction may be triggered by the user. The deletion identifier may be a component identifier included in the deleted component mapping data. The absence of an identification or a schematic path of the free schematic is detected in the database, which is understood to mean that no schematic identification or no schematic path is detected in the database. The absence of the identification or the graph path of the free package graph in the database is detected, which is understood to mean that the package graph identification or the package graph path is not detected in the database. The idle schematic may be a schematic that is not referenced by the component mapping data in the database. The free map may be a map graph that is not referenced by the component mapping data in the database. The data associated with the idle schematic may be schematic graph data corresponding to the idle schematic and corresponding attribute information. The data associated with the idle package map may be package map graphic data corresponding to the idle package map and corresponding attribute information.
Specifically, a component deleting instruction can be received, and a component identifier corresponding to the deleted component is extracted and used as a deleting identifier. The component mapping data corresponding to the deletion identifier can be queried in the database and deleted. When the fact that no identification or graph path of the idle schematic diagram exists in the database is detected, data associated with the idle schematic diagram can be deleted in the schematic diagram library. When the fact that the identification or the graph path of the idle encapsulation graph does not exist in the database is detected, deleting data associated with the idle encapsulation graph in the encapsulation graph library.
According to the scheme, the component mapping data corresponding to the deleted component is queried in the database by receiving the component deleting instruction, extracting the component identifier corresponding to the deleted component and serving as the deleting identifier, deleting, when the fact that the identifier or the graphic path of the idle schematic diagram does not exist in the database is detected, deleting the data associated with the idle schematic diagram in the schematic diagram library, and when the fact that the identifier or the graphic path of the idle package diagram does not exist in the database is detected, deleting the data associated with the idle package diagram in the package diagram library, so that the deletion of the component mapping data and the corresponding component drawing data is realized, the fact that the component drawing data are corresponding to the component mapping data in the database is guaranteed, the storage space of the schematic diagram library and the package diagram library is further saved, and the deletion efficiency and the deletion accuracy of the component mapping data and the component drawing data are improved.
Optionally, the method further comprises: receiving a component mapping data modification instruction, extracting a component identifier corresponding to a modified component, using the component identifier as a first modification identifier, inquiring and displaying component mapping data corresponding to the first modification identifier in a database, receiving modified component mapping data, and modifying the component mapping data corresponding to the first modification identifier, wherein the modified component mapping data comprises a component model, a schematic diagram graph identifier, a schematic diagram graph path, a package diagram graph identifier and a package diagram graph path, modification of the component mapping data is realized, and modification efficiency and modification accuracy of the component mapping data are improved.
Optionally, the method further comprises: receiving a schematic diagram graph data modification instruction, extracting component identifiers corresponding to modified components and serving as second modification identifiers, inquiring component mapping data corresponding to the second modification identifiers in a database, extracting a schematic diagram graph path, inquiring a schematic diagram graph path file in a schematic diagram library, extracting schematic diagram graph data and attribute information from the schematic diagram path file, displaying a schematic diagram drawing area, receiving the modified schematic diagram graph data or attribute information in the schematic diagram drawing area, modifying the schematic diagram graph data or the attribute information corresponding to the second modification identifiers, and storing the modified schematic diagram graph data or the attribute information in the schematic diagram graph path, so that modification of the schematic diagram graph data is realized, and modification efficiency and modification accuracy of the schematic diagram graph data are improved.
Optionally, the method further comprises: receiving a package graph data modification instruction, extracting a component identifier corresponding to the modified component, and taking the component identifier as a third modification identifier, inquiring component mapping data corresponding to the third modification identifier in a database, extracting a package graph path, inquiring a file of the package graph path in a package graph library, extracting the package graph data from the file, and displaying a package graph drawing area; in the package diagram drawing area, the modified package diagram graphic data is received, the package diagram graphic data corresponding to the third modification identifier is modified, and the modification of the package diagram graphic data is realized, and the modification efficiency and the modification accuracy of the package diagram graphic data are improved.
Optionally, the method further comprises: receiving a component query instruction, extracting a component identifier corresponding to the queried component, and taking the component identifier as a query identifier; inquiring component mapping data corresponding to the inquiry identification in a database, and extracting a schematic diagram graph path and an encapsulation diagram graph path contained in the component mapping data; inquiring a file of a schematic diagram graph path in a schematic diagram library, and extracting schematic diagram graph data and attribute information from the file; inquiring a file of a package diagram graph path in a package diagram library, and extracting package diagram graph data from the file; the schematic diagram graph, the corresponding attribute information, the package diagram graph and the corresponding component mapping data are displayed in the component query interface of the component, so that the query of the schematic diagram graph, the corresponding attribute information, the package diagram graph and the corresponding component mapping data is realized, and the query efficiency and the query accuracy of the schematic diagram graph, the corresponding attribute information, the package diagram graph and the corresponding component mapping data are improved.
Fig. 5 is a block diagram of a component information processing method according to a second embodiment of the present invention. As shown in fig. 5, a database layer is added to the EDA software component library layer. Except when components are newly added, schematic diagram graphic data is modified, package diagram graphic data is modified and corresponding attribute information is modified, users and managers of the component library do not need to directly operate files of the component library, but operate the database. The component mapping data in the database layer includes a model number (i.e., a component model number), a schematic diagram name (i.e., a schematic diagram graphic identifier), a schematic diagram library template path (i.e., a schematic diagram graphic path), a package name (i.e., a package diagram graphic identifier), a package template path (i.e., a package diagram graphic path), and a unique identifier (i.e., a component identifier). By way of example, the component model may be "100pF"; the schematic graphic identification may be "100pF"; the schematic graph path may be "E\capacitance. Schlib"; the package map graphic identifier may be "C0805"; the package map graphics path may be "e\c0805.pcblib"; the component identifier may be "2023010120". Each piece of component mapping data is used to characterize a component. The component library layer may include a schematic library and a package library. Schematic graphic data may be built in a schematic gallery and package graphic data may be built in a package gallery. The schematic diagram graphic data and the package diagram graphic data do not contain attribute information such as component models and the like any more, and only contain graphic data. By way of example, components may include capacitors, resistors, inductors, amplifiers, and the like. There is also no one-to-one correspondence between the schematic gallery and the package gallery. The schematic gallery may be used to store schematic graphic template files (i.e., schematic graphic data). The package gallery may be used to store package map graphics templates (i.e., package map graphics data). Illustratively, the schematic graphic template file (i.e., schematic graphic data) may include a capacitance schematic graphic template file (i.e., capacitance schematic graphic data), a resistance schematic graphic template file (i.e., resistance schematic graphic data), and the like. The package map graphic template file (i.e., package map graphic data) may include a capacitance package map graphic template file (i.e., capacitance package map graphic data), a resistance package map graphic template file (i.e., resistance package map graphic data), and the like. Schematic diagram graph data in a file of the component library can be obtained through the schematic diagram graph path. And obtaining the package graph data in the file of the component library through the package graph path. The component mapping data is generated by binding the component model, the schematic diagram graphic identifier, the package diagram graphic identifier and the component identifier with the schematic diagram graphic path and the package diagram graphic path.
By changing the architecture of EDA software, a database layer is added between a display interface and a component library file, component information and component graphic data are bound, when the EDA software component library function is used, a principle drawing library and a packaging drawing library can be freely associated, when a plurality of models use the same symbol graphic, only component mapping data in the database are needed to be added, the problem that the data of the principle drawing graphic data or the packaging drawing graphic data in the component library are repeated is avoided, the data quantity in the component library is reduced, the size of EDA software is reduced, and the operation efficiency of the EDA software is improved; meanwhile, when the components are managed, the component mapping data in the database is only required to be modified, so that the component drawing data in the component library can be added, deleted and checked, a user can be liberated from managing thousands of component drawing data, and the drawing efficiency and the drawing accuracy of the user are greatly improved.
Example III
Fig. 6 is a schematic structural diagram of a device information processing apparatus according to a third embodiment of the present invention, where the embodiment is applicable to a case of processing device information, the device may perform a device information processing method, the device may be implemented in hardware and/or software, and the device may be configured in an electronic device that carries a device information processing function.
As shown in fig. 6, the method includes: a component identification acquisition module 610, a component drawing data acquisition module 620, and a component graphics drawing module 630. The component identifier obtaining module 610 is configured to detect a trigger event for displaying a component icon in a component drawing interface, and obtain a component identifier corresponding to the component icon; the component drawing data obtaining module 620 is configured to query a database for a graphics path corresponding to the component identifier, and obtain component drawing data from a file corresponding to the graphics path; and the component graphic drawing module 630 is configured to draw a component graphic corresponding to the component icon and display attribute information corresponding to the component icon in the component drawing interface according to the component drawing data.
According to the technical scheme, the triggering event of the display element icon in the element drawing interface is detected, the element identifier corresponding to the element icon is obtained, the graphic path corresponding to the element identifier is queried in the database, the element drawing data is obtained from the file corresponding to the graphic path, the element graph corresponding to the element icon and the attribute information corresponding to the display element icon are drawn in the element drawing interface according to the element drawing data, the repeatability of the element drawing data is reduced by storing the element identifier and the corresponding graphic path in the database in advance, the storage space occupied by the element drawing data is saved, the element drawing data corresponding to the element identifier is rapidly obtained, the element drawing data corresponding to the element identifier is prevented from being queried in a large number of element drawing data, and the drawing efficiency and the drawing accuracy of the element are improved.
Optionally, the component drawing data obtaining module 620 includes: the image path extraction unit is used for extracting a schematic image path and a package image path from image paths corresponding to the component identifiers; the schematic diagram graph data extraction unit is used for inquiring the file of the schematic diagram graph path in the schematic diagram library and extracting schematic diagram graph data and attribute information from the file; the package graph data extraction unit is used for inquiring the file of the package graph path in the package graph library and extracting the package graph data from the file; and the component mapping data determining unit is used for determining the schematic diagram graphic data, the attribute information and the package diagram graphic data as component drawing data.
Optionally, the component drawing data obtaining module 620 includes: the component mapping data query unit is used for querying component mapping data corresponding to the component identifier in the database, wherein the component mapping data comprises a component model, a schematic diagram graph name, a schematic diagram graph path, a package diagram graph name, a package diagram graph path and the component identifier; and the graph path determining unit is used for extracting the schematic graph path and the package graph path from the component mapping data corresponding to the component identifier and determining the schematic graph path and the package graph path as the graph path corresponding to the component identifier.
Optionally, before the component identifier obtaining module 610 obtains the component identifier corresponding to the component icon, the apparatus further includes: the component new instruction receiving module is used for receiving the component new instruction and displaying an identification information input area of the component; the component identification receiving module is used for receiving the component identification of the new component input in the identification information input area; the schematic diagram graphic display module is used for displaying schematic diagram graphics in the schematic diagram library and receiving a designated instruction of the displayed target schematic diagram graphics; the package diagram graphic display module is used for displaying the package diagram graphic in the package diagram library and receiving a designated instruction of the displayed target package diagram graphic; the new component mapping data generation module is used for combining the component identification of the new component, the name of the target schematic diagram graph, the schematic diagram graph path of the target schematic diagram graph, the name of the target package diagram graph and the package diagram graph path of the target package diagram graph to form component mapping data of the new component, and adding the component mapping data into the database.
Optionally, after the schematic diagram displaying module displays the schematic diagram in the schematic diagram gallery, the apparatus further includes: the schematic drawing new instruction receiving module is used for receiving the schematic drawing new instruction and displaying a schematic drawing area; the new schematic diagram graph data receiving module is used for receiving the new schematic diagram graph data in the schematic diagram drawing area; the attribute information receiving module is used for receiving attribute information corresponding to the new schematic diagram graphic data; and the new schematic diagram graph data storage module is used for storing the new schematic diagram graph data and the corresponding attribute information in the designated schematic diagram graph path.
Optionally, the component drawing data acquisition module 620 further includes: the component deleting instruction receiving unit is used for receiving the component deleting instruction, extracting the component identifier corresponding to the deleted component and taking the component identifier as a deleting identifier; the data deleting unit is used for inquiring the mapping data of the components corresponding to the deleting identifier in the database and deleting the mapping data; the data deleting unit is used for deleting the data associated with the idle schematic diagram in the schematic diagram library when the fact that the identification or the graphic path of the idle schematic diagram does not exist in the database is detected; and the data deleting unit is used for deleting the data associated with the idle encapsulation diagram in the encapsulation diagram library when the fact that the name or the graphic path of the idle encapsulation diagram does not exist in the database is detected.
Optionally, the component drawing interface includes: and drawing interfaces by components of electronic design automation software EDA.
The component information processing device provided by the embodiment of the invention can execute the component information processing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
In the technical scheme of the embodiment of the invention, the acquisition, storage, application and the like of the component identifier, the component mapping data, the component drawing data, the schematic diagram graphic path, the package diagram graphic path, the schematic diagram graphic data, the attribute information, the package diagram graphic data, the component model, the schematic diagram graphic name, the package diagram graphic name, the component new instruction, the principle diagram new instruction, the component deleting instruction and the like corresponding to the related component icon are in accordance with the regulations of related laws and regulations, and the public order welcome is not violated.
Example IV
Fig. 7 shows a schematic diagram of an electronic device 700 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 700 includes at least one processor 701, and a memory, such as a Read Only Memory (ROM) 702, a Random Access Memory (RAM) 703, etc., communicatively connected to the at least one processor 701, in which the memory stores a computer program executable by the at least one processor, and the processor 701 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 702 or the computer program loaded from the storage unit 708 into the Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 may also be stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the electronic device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the electronic device 700 to exchange information/data with other devices through a computer network, such as the internet, and/or various telecommunication networks.
The processor 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 701 performs the respective methods and processes described above, such as the component information processing method.
In some embodiments, the component information processing method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 700 via the ROM 702 and/or the communication unit 709. When a computer program is loaded into the RAM 703 and executed by the processor 701, one or more steps of the above-described component information processing method may be performed. Alternatively, in other embodiments, the processor 701 may be configured to perform the component information processing method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS (Virtual Private Server ) service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A component information processing method, characterized by comprising:
detecting a trigger event for displaying a component icon in a component drawing interface, and acquiring a component identifier corresponding to the component icon;
inquiring a graph path corresponding to the component identifier in a database, and acquiring component drawing data from a file corresponding to the graph path;
and drawing a component graph corresponding to the component icon in the component drawing interface according to the component drawing data and displaying attribute information corresponding to the component icon.
2. The method of claim 1, wherein the querying the graphical path corresponding to the component identifier in the database and obtaining the component drawing data from the file corresponding to the graphical path comprises:
extracting a schematic diagram graph path and an encapsulation diagram graph path from the graph paths corresponding to the component identifiers;
inquiring a file of the schematic diagram graph path in a schematic diagram library, and extracting schematic diagram graph data and attribute information from the file;
inquiring a file of the package graph path in a package graph library, and extracting package graph data from the file;
and determining the schematic diagram graph data, the attribute information and the package diagram graph data as component drawing data.
3. The method of claim 2, wherein querying the database for the graphical path corresponding to the component identifier comprises:
inquiring component mapping data corresponding to the component identifier in a database, wherein the component mapping data comprises a component model, a schematic diagram graph identifier, a schematic diagram graph path, a package diagram graph identifier, a package diagram graph path and a component identifier;
And extracting a schematic diagram graphic path and an encapsulation diagram graphic path from the component mapping data corresponding to the component identifier, and determining the schematic diagram graphic path and the encapsulation diagram graphic path as the graphic path corresponding to the component identifier.
4. The method of claim 2, further comprising, prior to obtaining the component identifier corresponding to the component icon:
receiving a component newly-built instruction and displaying an identification information input area of the component;
receiving a component identifier of the new component input in the identifier information input area;
displaying schematic diagram graphs in a schematic diagram library and receiving a designated instruction of a displayed target schematic diagram graph;
displaying the package diagram graph in the package diagram library, and receiving a designated instruction of the displayed target package diagram graph;
and combining the component identification of the new component, the identification of the target schematic diagram graph, the schematic diagram graph path of the target schematic diagram graph, the identification of the target package diagram graph and the package diagram graph path of the target package diagram graph to form component mapping data of the new component, and adding the component mapping data into the database.
5. The method of claim 4, further comprising, after displaying the schematic graph in the schematic gallery:
Receiving a schematic drawing new instruction and displaying a schematic drawing area;
receiving new schematic graphic data in the schematic drawing region;
receiving attribute information corresponding to the new schematic diagram graphic data;
and storing the new schematic diagram graph data and the corresponding attribute information in a designated schematic diagram graph path.
6. The method as recited in claim 2, further comprising:
receiving a component deleting instruction, extracting a component identifier corresponding to the deleted component, and taking the component identifier as a deleting identifier;
inquiring the component mapping data corresponding to the deletion identifier in the database, and deleting the component mapping data;
deleting data associated with the idle schematic diagram in the schematic diagram library when no identifier or graphic path of the idle schematic diagram exists in the database;
and deleting the data associated with the idle encapsulation diagram in the encapsulation diagram library when the fact that the identification or the graphic path of the idle encapsulation diagram does not exist in the database is detected.
7. The method of claim 1, wherein the component drawing interface comprises: and drawing interfaces by components of electronic design automation software EDA.
8. A component information processing apparatus, comprising:
the device comprises a device identifier acquisition module, a device drawing interface and a device display module, wherein the device identifier acquisition module is used for detecting a trigger event for displaying a device icon in the device drawing interface and acquiring a device identifier corresponding to the device icon;
the component drawing data acquisition module is used for inquiring a graph path corresponding to the component identifier in the database and acquiring component drawing data from a file corresponding to the graph path;
and the component graph drawing module is used for drawing the component graph corresponding to the component icon in the component drawing interface according to the component drawing data and displaying attribute information corresponding to the component icon.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the component information processing method of any one of claims 1 to 7.
10. A computer-readable storage medium storing computer instructions for causing a processor to execute the component information processing method according to any one of claims 1 to 7.
CN202310356934.8A 2023-04-06 2023-04-06 Component information processing method, device, medium and equipment Pending CN116451619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310356934.8A CN116451619A (en) 2023-04-06 2023-04-06 Component information processing method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310356934.8A CN116451619A (en) 2023-04-06 2023-04-06 Component information processing method, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN116451619A true CN116451619A (en) 2023-07-18

Family

ID=87131492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310356934.8A Pending CN116451619A (en) 2023-04-06 2023-04-06 Component information processing method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN116451619A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077599A (en) * 2023-09-18 2023-11-17 苏州异格技术有限公司 Method and device for generating field programmable gate array view

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117077599A (en) * 2023-09-18 2023-11-17 苏州异格技术有限公司 Method and device for generating field programmable gate array view
CN117077599B (en) * 2023-09-18 2024-04-19 苏州异格技术有限公司 Method and device for generating field programmable gate array view

Similar Documents

Publication Publication Date Title
CN113467868B (en) Method and device for creating equipment resources
CN116451619A (en) Component information processing method, device, medium and equipment
CN116881156A (en) Automatic test method, device, equipment and storage medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
CN117236236A (en) Chip design data management method and device, electronic equipment and storage medium
CN117195809A (en) Silk screen import method, device, equipment and storage medium
CN112860811B (en) Method and device for determining data blood relationship, electronic equipment and storage medium
CN114564149B (en) Data storage method, device, equipment and storage medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN115329150A (en) Method and device for generating search condition tree, electronic equipment and storage medium
CN115374499A (en) Dimension marking method and device, electronic equipment and storage medium
CN115202538B (en) Menu configuration method and device, electronic equipment and storage medium
CN117573561B (en) Automatic test system, method, electronic equipment and storage medium
CN116401410B (en) Method, device, storage medium and equipment for accessing map data to multi-scene graph database
CN117539840B (en) Log acquisition method, device, equipment and medium
CN117033218A (en) Method, device, equipment and medium for generating motor product test report
CN118170430A (en) Method, device, equipment and storage medium for processing call link
CN117421283A (en) Layer publishing method, device, equipment and storage medium
CN117806764A (en) Data collection method, device, equipment and storage medium of user interface
CN114595231A (en) Database table generation method and device, electronic equipment and storage medium
CN116521488A (en) Metadata-based self-defined document tracing method, device, equipment and medium
CN117632874A (en) Automatic drawing storage method, device, equipment and medium for CAD software
CN118113916A (en) Data processing method, device, electronic equipment and storage medium
CN117076427A (en) Server data management method, device, equipment and storage medium
CN117650967A (en) Multi-cluster index processing method, system, 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