1. Technical Field
Embodiments of the present disclosure relate to data management, and particularly to a computing device and method for circuit diagram data check.
2. Description of Related Art
When a user designs a circuit diagram using a circuit diagram designing application, circuit diagram data (e.g., label numbers of components in the circuit diagram) are simultaneously generated. Sometimes, the circuit diagram data may be incorrect. For example, a component of the circuit diagram is supposed to be labeled as “F”, but the component of the circuit diagram is actually labeled as “D” by mistake. Therefore, the designer needs to check if the circuit diagram data are correct. However, at present, the designer manually checks the circuit diagram data, which is very time-consuming, especially when the circuit diagram data are huge and complicated. Therefore, there is room for improvement in the art.
The disclosure, including the accompanying drawings, is illustrated by way of example and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computing device-readable medium or other storage device. Some non-limiting examples of non-transitory computing device-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives. The term, “data” may refer to a single data item or may refer to a plurality of data items. These terms, with reference to the
The computing device 2 is installed with an application having an ordering function. The application may be, but is not limited to, MICROSOFT EXCEL. The application screens out the circuit diagram data using the ordering function. The ordering function provides one or more order algorithms (e.g., a descending order, an ascending order).
The inserting module 210 inserts the circuit diagram data into the application having the ordering function. In one embodiment, a user may design the circuit diagram using the circuit diagram designing application and generates one or more items of the circuit diagram data, and the inserting module 210 inserts the circuit diagram data into MICROSOFT EXCEL from the circuit diagram designing application.
The setting module 220 sets a condition to screen out the circuit diagram data in the application having the ordering function. The condition may be one or more keywords set by a user. The one or more keywords are associated with the label numbers of the components, for example, the keywords may be the label number of the capacitor, and the label number of the inductor.
The reading module 230 reads an item of the circuit diagram data. In one embodiment, the circuit diagram data may include one or more items of the circuit diagram data, the reading module 230 reads the one or more items of the circuit diagram data one by one in a predefined order (e.g., the descending order of the label numbers). In additions, if the item of the circuit diagram data has been read, the reading module 230 associates a status tag with the item of the circuit diagram data. The status tag indicates that the item of the circuit diagram data has been read. The status tag may be a piece of information (e.g., “the item of the circuit diagram data has been read.”)
The determination module 240 determines if the item of the circuit diagram data satisfies the condition. In one embodiment, the determination module 240 determines if the item of the circuit diagram data includes the keywords. If the item of the circuit diagram data includes the keywords, the item of the circuit diagram data satisfies the condition.
The mark module 250 marks the item of the circuit diagram data if the item of the circuit diagram data does not satisfy the condition. In one embodiment, if the item of the circuit diagram data does not satisfy the condition, the mark module 250 highlights the item of the circuit diagram data in a predefined color, such as red, or underlines the item of the circuit diagram data. The mark module 250 may also output a report to show position information of the item of the circuit diagram data, thereby users may find the differences easily and quickly.
The determination module 240 determines if all of the circuit diagram data have been read. In one embodiment, if all of the circuit diagram data are associated with the status tag, the determination module 240 determines that all of the circuit diagram data have been read.
The saving module 260 saves the circuit diagram data into the database 5. In one embodiment, regardless if the circuit diagram data satisfies the condition or not, the saving module 260 still saves the circuit diagram data into the database 5.
In step S10, the inserting module 210 inserts the circuit diagram data into the application having the ordering function. For example, the inserting module 210 inserts the circuit diagram data into MICROSOFT EXCEL from CADENCE CAPTURE.
In step S20, the setting module 220 sets a condition to screen out circuit diagram data. For example, the condition may be one or more keywords “A” and “B,” wherein “A” may be the label number of the capacitor, and “B” may be the label number of the inductor.
In step S30, the reading module 230 reads an item of the circuit diagram data. As mentioned above, if the item of the circuit diagram data has been read, the reading module 230 associates a status tag with the item of the circuit diagram data.
In step S40, the determination module 240 determines if the item of the circuit diagram data satisfies the condition. In one embodiment, if the item of the circuit diagram data does not satisfy the condition, the procedure goes to step S50. For example, if the item of the circuit diagram data does not contain the keywords “A” or “B”, the procedure goes to step S50. Otherwise, if the item of the circuit diagram data satisfies the condition, the procedure goes to step S60. For example, if the item of the circuit diagram data contains the keywords “A” or “B”, the procedure goes to step S60.
In step S50, the mark module 250 marks the item of the circuit diagram data if the item of the circuit diagram data does not satisfy the condition. In one embodiment, if the item of the circuit diagram data does not satisfy the condition, the mark module 250 highlights the item of the circuit diagram data in a predefined color, such as red, or underlines the item of the circuit diagram data. The mark module 250 may also output a report to show position information of the item of the circuit diagram data, thereby users may find the differences easily and quickly. Additionally, the report can be printed by a printer or displayed on the display device 1.
In step S60, the determination module 240 determines if all of the circuit diagram data have been read. For example, if all of the circuit diagram data are associated with the status tag, the procedure goes to step S70. Otherwise, if one item of the circuit diagram data is not associated with the status tag, the procedure returns to step S30.
In step S70, the saving module 260 saves the circuit diagram data into the database 5. As mentioned above, regardless of the circuit diagram data that satisfy the condition or not, the saving module 260 still saves the circuit diagram data into the database 5.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
100143491 | Nov 2011 | TW | national |