1. Technical Field
Embodiments of the present disclosure relate to measurement technology, and particularly to an electronic device and method for detecting a status of an image measuring machine using the electronic device.
2. Description of Related Art
Measurement is an important phase in manufacturing and is closely related to product quality. In recent years, image measuring machines have been used to obtain a point cloud of an object by scanning a large number of points on a surface of the object, processing the data in the point cloud, and subsequently extracting boundary elements including boundary points and boundary characteristics of the object, in order to form a profile image of the object. However, the current image measuring method cannot automatically monitor a status of the image measuring machine. Therefore, a more efficient method for detecting the status of an image measuring machine is desired.
All of the processes described below may be embodied in, and fully automated via, functional code modules executed by one or more general purpose electronic devices or processors. The code modules may be stored in any type of non-transitory readable medium or other storage device. Some or all of the methods may alternatively be embodied in specialized hardware. Depending on the embodiment, the non-transitory readable medium may be a hard disk drive, a compact disc, a digital video disc, a tape drive or other suitable storage medium.
The client computer 40 is used to download information concerning the status(es) and identification data of the image measuring machine 10 at preset intervals (e.g., 10 seconds), and calculate a utilization rate of the image measuring machine 10 according to the downloaded data. A detailed description will be given in the following paragraphs. In one embodiment, the utilization rate of the image measuring machine 10 is defined as how often the image measuring machine 10 is being used per hour or per day. The types of status information regarding the image measuring machine 10 may include a closed status, a stopped status (e.g., a paused status), and an operating status. The identification data of the image measuring machine 10 may include, but is not limited to, a type, a serial number, and an Internet protocol (IP) address of the image measuring machine 10.
In block S1, the data obtaining module 202 searches a measuring process of the image measuring machine 10 at preset time intervals according to detection parameters from the first storage device 206. In one embodiment, the measuring process is defined as a measurement task which is executed by the electronic device 20 to perform the measurement operation on image measuring machine 10. The detection parameters are preset through the first setting module 201. The detection parameters may include the detection of the serial number of the image measuring machine 10, a name of an image measuring software used in the machine, a waiting time, and a time interval. For example, as shown in
In one embodiment, the certain waiting time is used to determine whether the image measuring machine 10 is in the stopped status. That is to say, if no measuring operation is performed by the image measuring machine 10 within a certain period of time (i.e., the waiting time), a determination is made that the image measuring machine 10 is stopped. For example, as shown in
As shown in
In other embodiments, the status determining mode may includes a third mode based on data transmission between the image measuring machine 10 and the electronic device 20, and/or a fourth mode based on the amount of electrical power being consumed by the image measuring machine 10.
An example of a user interface for adding remarks in relation to a particular image measuring machine 10 is shown in
In block S2, the data obtaining module 202 determines whether the measuring process of the image measuring machine 10 has been found in block S1. If the measuring process of the image measuring machine 10 has not been found, the procedure goes to block S3. If the measuring process of the image measuring machine 10 has been found, the procedure goes to block S4.
In block S3, the status recording module 203 records information as to the closed status of the image measuring machine 10, and the procedure returns to block S1. The data storing module 204 stores information as to the closed status and corresponding identification data of the particular image measuring machine 10 in the first storage device 206 of the electronic device 20.
In block S4, the status recording module 203 obtains the status information of the image measuring machine 10 according to a preselected status determining mode, and calculates a variation of the status information of the image measuring machine 10.
For example, if the preselected status determining mode is the first mode, the status recording module 203 obtains the coordinates of the lens of the image measuring machine 10, and calculates the variation of the coordinates of the lens of the image measuring machine 10. If the preselected status determining mode is the second mode, the status recording module 203 obtains the activity of the CPU occupied by the measuring process of the image measuring machine 10, and calculates the variation of the activity of the CPU.
In block S5, the status recording module 203 determines whether the variation of the status information of the image measuring machine 10 is less than a preset value within a specified length of time. As mentioned above, the specified length of time is the waiting time in
For example, if the preselected status determining mode applied is the first mode, the status recording module 203 determines whether the variation of the coordinates of the lens of the image measuring machine 10 is less than a first preset value (e.g., 2 millimeters). If the preselected status determining mode is the second mode, the status recording module 203 determines whether the variation of the activity of the CPU occupied by the measuring process of the image measuring machine 10 is less than a second preset value (e.g., 1%).
In block S6, the status recording module 203 records information as to the stopped status of the image measuring machine 10, and the procedure goes to block S8.
In block S7, the status recording module 203 records information as to the operating status of the image measuring machine 10, and records an operating time of the image measuring machine 10.
In block S8, the data storing module 204 stores the information as to the status (i.e., the stopped status or the operating status) and the identification data of the image measuring machine 10 in the first storage device 206 of the electronic device 20.
In block S9, the data transmitting module 205 transmits information as to the status and the identification data of the image measuring machine 10 to the server 30. Then, the client computer 40 downloads the information as to the status and the identification data of the image measuring machine 10 according to a preset download time from the server 30. An example of a user interface for setting the download time using the second setting module 401 is shown in
The calculation module 402 calculates the utilization rate of the image measuring machine 10 according to the total amount of the operating time of image measuring machine 10. In one embodiment, the utilization rate of the image measuring machine 10 may include a relative utilization rate and an absolute utilization rate. For example, suppose that “u1” represents the relative utilization rate, “u2” represents the absolute utilization rate, “t0” represents the operating time of the image measuring machine 10, “t1” represents total hours of use of the image measuring machine 10, and “t2” represents the total working hours in one day. Thus, u1=t0/t1, and u2=t0/t2.
The status display module 403 displays the information which has been recorded as to the status and the identification data of the image measuring machine 10 on a display screen of the client computer 40, according to a preselected display mode. In one embodiment, the display mode may be a list mode for displaying the information as to the recorded status and the identification data with a list format (see
The report creating module 404 generates a status report of the image measuring machine 10, and displays the utilization rate of the image measuring machine 10 in the status report (see
In other embodiments, the server 30 and the client computer 40 may be removed, the electronic device 20 may execute all the functions described above. That is to say, the one or more modules 401-404 may be stored in the first storage device 206 of the electronic device 20 and executed by the first processor 207 to provide functions for the one or more modules 401-404.
It should be emphasized that the above-described embodiments of the present disclosure, particularly, any embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present disclosure is protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
201110022805.2 | Jan 2011 | CN | national |