1. Technical Field
Embodiments of the present disclosure relate to data measurement systems and methods, and particularly to a computing device and method for generating a measurement report of an object using the computing device.
2. Description of Related Art
Measurement is an important phase in manufacturing and is closely related to product quality. If measurement data (e.g., tolerances of objects) are outputted to a measurement report (e.g., an EXCEL format file), a user usually inputs the measurement data to the measurement report manually. If a large mount of measurement data needs to be processed, it is inconvenient for the user to manually input such large mount of measurement data to the measurement report. Therefore, a more efficient method for generating a measurement report of the object is desired.
The disclosure is illustrated by way of example 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 medium include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
In one embodiment, the measurement data may include an identification number of a feature element of the measured object, a name of the feature element, a property of the feature element, an actual measuring value of the feature element, a reference value of the feature element, and a tolerance range of the feature element, but the disclosure is not limited thereto. The tolerance range includes an upper tolerance and a lower tolerance. The identification number is used to label and identify the feature element. The property is various measured characteristics describing the feature element, for example, a length of the feature element along an X-axis or along a Y-axis, and is used to locate an actual measured characteristics of the feature element. The actual measuring value is a true value of the feature element as measured. The reference value is used as a reference of the actual measuring value corresponding to the feature element. The tolerance range may be a predefined number range, for example, [−0.1, +0.1].
The storage device 20 stores the measurement data of the feature elements of the measured object. The display device 2 displays the measurement data of the feature elements of the measured object. The measurement tool 3 may be an image measuring machine to measure the measured object to obtain the measurement data. The storage device 20 may be an internal storage system, such as a random access memory (RAM) for temporary storage of information, and/or a read only memory (ROM) for permanent storage of information. In some embodiments, the storage device 20 may also be an external storage system, such as an external hard disk, a storage card, or a data storage medium.
In one embodiment, the measurement report generating system 10 may include one or more modules, for example, an obtaining module 100, a processing module 101, a receiving module 102, an outputting module 103, a storing module 104 and a setting module 105. The one or more modules 100-105 may comprise computerized code in the form of one or more programs that are stored in the storage device 20 of the computing device 1. The computerized code includes instructions that are executed by the at least one processor 30 to provide functions for the one or more modules 100-105. A detailed description of each module will be given in the following paragraphs.
In step S10, the obtaining module 100 obtains the measurement data of feature elements of the measured object from the storage device 20 according to a report demand of a user. In one embodiment, the user may need kinds of measurement data to output to a measurement report that includes the measurement data and calculated data based on the measurement data.
In one embodiment, the storage device 20 may store a lot of measurement data. The user may not require that all the measurement data need to be outputted to the measurement report. In one embodiment, the user may select different kinds of the measurement data on the display device 2 according to the report demand of the user.
Referring to
In step S11, the processing module 101 processes the measurement data to obtain output data. A detailed description of step S11 will be given in
In step S12, the receiving module 102 receives a report format from a selection of the user. In one embodiment, the report format may be a TXT file format, a Rtf file format, a DAT file format, an EXCEL file format, a comma separated values (hereinafter “CSV”) file format, for example.
In one embodiment, the setting module 105 sets different report output ways corresponding to different report formats. The report output way may export the measurement data of the output data to the measurement report in a default format, where the default format indicates that the kinds of the measurement data of the measurement report are the same as the kinds of the measurement data of the output data, and an order of the measurement data of the measurement report are the same as an order of the measurement data of the output data. The TXT file format and the Rtf file format export the measurement data of the output data to the measurement report in the default format.
In one embodiment, the report output way may fill in the measurement report with the measurement data of the output data in a preset format, where the preset format indicates that the measurement data of the measurement report sorts in a preset order, and the kinds of measurement data of the measurement report are different from the kinds of the measurement data of the output data. Some kinds of measurement data that does not belong to the output data may be added to the measurement report, or some kinds of measurement data of the output data may be removed from the measurement report. The DAT file format fills the measurement data of the output data to the measurement report in the preset format.
In one embodiment, the report output way may fill in the measurement report with the measurement data of the output data according to a report format inputted by the user. The EXCEL file format fills the measurement data of the output data to the measurement report according to the report format inputted by the user.
In step S13, the outputting module 103 outputs the measurement data of the output data to the measurement report according to the report output way corresponding to the report format.
In one embodiment, the measurement data of the output data is exported to a TXT file directly in the default format. In one example of
In one embodiment, the measurement data of the output data is exported to a Rtf file directly in the default format. In one example with respect to
In one embodiment, the measurement data of the output data is filled to a TXT file in the preset format. In one example of
In one embodiment, the measurement data of the output data is filled to an EXCEL file according to the report format inputted by the user in the setting file. In one example of
In step S14, the storing module 104 stores the measurement report to the storage device 20. In other embodiments, the measurement report can also be displayed on the display device 2.
In step S110, the processing module 101 performs calculations on the measurement data to obtain calculated data required in the measurement report. The calculated data cannot be obtained from the measurement data, such as a deviation and a tolerance evaluation.
In step S111, the processing module 101 converts the measurement data and the calculated data into character data in a character-like data type.
In step S112, the processing module 101 obtains processed character data by typesetting the character data. The typesetting may be set an alignment mode (e.g., left-aligned or right-aligned), or adjust the length of the character data (e.g., if the length of the character data exceeds a default length, intercept the length), for example.
In step S113, the processing module 101 matches the processed character data with a predetermined format to obtain matched character data, wherein the predetermined format is used to sort the processed character data in a predefined order. As shown in
In step S114, the processing module 101 converts the matched character data into processed data in an original data type. The processed data are described as the
Prior to this disclosure, the measurement data of the feature elements are inputted by the user manually to output in the measurement report. It may consume a lot of time and energy of the user to input the measurement data to the measurement report, and also may have many mistakes. In addition, the measurement report cannot be generated in different report formats. By this disclosure, the measurement data of the feature elements obtains from the measurement tool automatically. The measurement data can be outputted to the measurement report in different report format according the selection of the user.
The described embodiments are merely possible examples of implementations, and have been set forth for a clear understanding of the principles of the present disclosure. Many variations and modifications may be made without departing substantially from the spirit and principles of the present disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the described inventive embodiments, and the present disclosure is protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
201110380440.0 | Nov 2011 | CN | national |