SYSTEM AND METHOD FOR CONVERTING COMPONENT DATA

Information

  • Patent Application
  • 20120323973
  • Publication Number
    20120323973
  • Date Filed
    May 24, 2012
    12 years ago
  • Date Published
    December 20, 2012
    11 years ago
Abstract
An application server reads components data from a component information system (CIS) of a database server connected to the application server. The components data are converted to HDL data. If the converted HDL data includes illegal characters, a user is prompted to modify the illegal characters. If the converted HDL data does not include illegal characters, the application server amends formats of the converted HDL data according to requirements of each client connected to the application server. Each client includes a drawing unit. The application server controls the drawing unit to draw circuit diagram using the HDL data with the amended formats.
Description
BACKGROUND

1. Technical Field


Embodiments of the present disclosure relate to component data management systems and methods, and particularly to a system and a method for converting component data.


2. Description of Related Art


Hardware description language (HDL) application programs are programs for drawing circuit diagrams. Most of these HDL application programs have no component information system (CIS), which includes components data in relation to the circuit diagrams. If a client wants to use the HDL application programs to draw the circuit diagrams, the components data in the CIS cannot be directly used by the HDL application programs.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of one embodiment of an application server comprising a conversion system.



FIG. 2 is a block diagram of one embodiment of the function modules of the conversion system in FIG. 1.



FIG. 3 is a flowchart illustrating one embodiment of a method for converting component data.





DETAILED DESCRIPTION

The application is illustrated by way of examples and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. 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, such as, Java, C, or assembly. 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 computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media may include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.



FIG. 1 is a block diagram of one embodiment of an application server 1 comprising a conversion system 10 and a library manager 11. The library manager 11 is application software that allows users to manage hardware description language (HDL) libraries. The application server 1 is connected to a database server 3 and more than one client 4 via a network 2. The network 2 may be Intranet or Internet. The database server 3 includes a component information system (CIS) 30 and a library manager database 31. The CIS 30 stores components data for drawing circuit diagrams. Each client 4 includes a drawing unit 40. In the embodiment, the drawing unit 40 is a HDL application program. The client 4 draws circuit diagrams using the HDL application program with components data with formats of HDL.


In an exemplary embodiment, the application server 1 includes at least one processor 12 and a storage system 13. The conversion system 10 may include one or more modules (as in FIG. 2). The one or more modules may comprise computerized code in the form of one or more software programs that are stored in the storage system 13 (or memory). In one embodiment, the storage system 13 may be a magnetic or an optical storage system or other suitable storage medium. The computerized code includes instructions that are executed by the at least one processor 12 to provide functions of the modules as described below.


As shown in FIG. 2, the conversion system 10 may include a reading module 100, a converting module 101, a detecting module 102, a changing module 103, a setting module 104, and a storing module 105.


The reading module 100 reads components data from the CIS 30.


The converting module 101 converts the components data to HDL data which are described by HDL.


The detecting module 102 detects if there are any illegal characters in the converted HDL data. The illegal characters are characters which cannot be recognized by the library manager database 31. For example, a space character cannot be recognized by the library manager database 31. The space character is defined as the illegal character.


The changing module 103 prompts the user to modify the illegal characters and stores modified characters to the CIS 30 if there are illegal characters in the converted HDL data.


The setting module 104 amends formats of the converted HDL data according to requirements of each client 4. In one embodiment, the formats of the converted HDL data may include a number of columns, column names, and a column sequence. For example, if the converted HDL data includes forty columns but a client 4 only needs twenty columns, then the setting module 104 cancels the twenty unwanted columns.


The storing module 105 stores the HDL data with the amended formats in the library manager database 31. The client 4 draws a circuit diagram using the drawing unit 40 according to the HDL data with the amended formats stored in the library manager database 31.



FIG. 3 is a flowchart illustrating a method for converting component data. Depending on the embodiment, additional steps may be added, others removed, and the ordering of the steps may be changed.


In step S30, the reading module 100 reads components data from the CIS 30.


In step S31, the converting module 101 converts the components data to HDL data which are described by HDL.


In step S32, the detecting module 102 detects if there are any illegal characters in the converted HDL data. If there are any illegal characters in the converted HDL data, step S33 is implemented. If there is no illegal character in the converted HDL data, step S34 is implemented.


In step S33, the changing module 103 prompts the user to modify the illegal characters, and stores modified characters to the CIS 30. The procedure returns to step S30.


In step S34, the setting module 104 amends formats of the converted HDL data according to requirements of each client 4.


In step S35, the storing module 105 stores the HDL data with the amended formats in the library manager database 31.


In step S36, the client 4 draws a circuit diagram using the drawing unit 40 according to the HDL data with the amended formats stored in the library manager database 31.


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.

Claims
  • 1. An application server, comprising: a storage system;at least one processor; andone or more programs being stored in the storage system and executable by the at least one processor, the one or more programs comprising:a reading module operable to read components data from a component information system of a database server connected to the application server;a converting module operable to convert the components data to hardware description language (HDL) data;a setting module operable to amend formats of the converted HDL data according to requirements of each of a plurality of clients connected to the application server; anda storing module operable to store the HDL data with the amended formats in a library manager database of the database server.
  • 2. The application server as described in claim 1, wherein the one or more programs further comprise: a detecting module operable to detect whether there are any illegal characters in the converted HDL data; anda changing module operable to prompt a user to modify the illegal characters and store modified characters to a component information system (CIS) when there are illegal characters in the converted HDL data.
  • 3. The electronic device as described in claim 2, wherein the formats of the converted HDL data comprise a number of columns, column names and a column sequence.
  • 4. A computer-based method for triggering events of objects of an application server, the method comprising: reading components data from a component information system of a database server;converting the components data to hardware description language (HDL) data;amending formats of the converted HDL data according to requirements of each of a plurality of clients connected to the application server; andstoring the HDL data with the amended formats in a library manager database of the database server.
  • 5. The method as described in claim 4, after step reading components data from a component information system of a database server further comprising: detecting whether there are any illegal characters in the converted HDL data; andprompting a user to modify the illegal characters and storing modified characters to the component information system (CIS) when there are illegal characters in the converted HDL data.
  • 6. The method as described in claim 4, wherein the formats of the converted HDL data comprise a number of columns, column names and a column sequence.
  • 7. A non-transitory storage medium having stored thereon instructions that, when executed by a processor, cause the processor to perform a method for converting components data, the method comprising: reading components data from a component information system of a database server;converting the components data to hardware description language (HDL) data;amending formats of the converted HDL data according to requirements of each of a plurality of clients connected to the application server; andstoring the HDL data with the amended formats in a library manager database of the database server.
  • 8. The non-transitory storage medium as described in claim 7, after step reading components data from a component information system of a database server further comprising: detecting whether there are any illegal characters in the converted HDL data; andprompting a user to modify the illegal characters and storing modified characters to a component information system (CIS) when there are illegal characters in the converted HDL data.
  • 9. The non-transitory storage medium as described in claim 7, wherein the formats of the converted HDL data comprise a number of columns, column names and a column sequence.
Priority Claims (1)
Number Date Country Kind
100120992 Jun 2011 TW national