CN111578846A - Detection method, detection device and computer readable medium - Google Patents

Detection method, detection device and computer readable medium Download PDF

Info

Publication number
CN111578846A
CN111578846A CN202010306194.3A CN202010306194A CN111578846A CN 111578846 A CN111578846 A CN 111578846A CN 202010306194 A CN202010306194 A CN 202010306194A CN 111578846 A CN111578846 A CN 111578846A
Authority
CN
China
Prior art keywords
detection
detection result
detected
result
obtaining
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
CN202010306194.3A
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.)
LCFC Hefei Electronics Technology Co Ltd
Original Assignee
LCFC Hefei Electronics Technology 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 LCFC Hefei Electronics Technology Co Ltd filed Critical LCFC Hefei Electronics Technology Co Ltd
Priority to CN202010306194.3A priority Critical patent/CN111578846A/en
Publication of CN111578846A publication Critical patent/CN111578846A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/04Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness specially adapted for measuring length or width of objects while moving
    • G01B11/043Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness specially adapted for measuring length or width of objects while moving for measuring length
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/06Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness for measuring thickness ; e.g. of sheet material
    • G01B11/0608Height gauges

Abstract

The invention discloses a detection method, a detection device and a computer readable medium. The method comprises the following steps: obtaining a first trigger instruction, wherein the first trigger instruction is used for indicating to start executing a detection operation process; responding to a first trigger instruction, controlling the detection unit to move at least along a first direction, and obtaining detection data of the detection unit in the moving process; the detection unit can detect the distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process; generating a first detection result according to the detection data; and judging whether a preset condition is met according to the first detection result, and obtaining a judgment result. According to the embodiment of the invention, the detection unit is controlled to detect the sample to be detected in response to the acquired first trigger instruction, and the sample to be detected is judged according to the first detection result, so that non-contact detection is realized, the problems of high misjudgment rate and the like caused by improper operation of detection personnel in the prior art are solved, and the detection accuracy and reliability are improved.

Description

Detection method, detection device and computer readable medium
Technical Field
The present invention relates to the field of product detection technologies, and in particular, to a detection method, a detection device, and a computer readable medium.
Background
In the prior art, the detection of a plurality of products needs the participation of testers, and when a sample to be tested is detected, because the proficiency of testers on test operation is different, the detection efficiency is reduced, the misjudgment rate is high, and the accuracy of the test is further influenced. For example, the electronic device is large in size, some electronic devices may be distorted and deformed, so that the foot pads of the electronic devices are deformed, and when a user uses the electronic devices, the user experience may be affected due to unstable foot pads.
With the development of science and technology, the existing detection means are continuously updated, and people begin to continuously provide non-contact detection in order to avoid the influence of human factors on the detection accuracy of a sample to be detected.
Disclosure of Invention
In view of this, embodiments of the present invention provide a detection method, a detection apparatus, and a computer-readable medium, which can effectively improve detection accuracy, thereby implementing contactless detection.
To achieve the above object, according to a first aspect of embodiments of the present invention, there is provided a detection method, including: obtaining a first trigger instruction, wherein the first trigger instruction is used for indicating to start executing a detection operation process; responding to the first trigger instruction, controlling the detection unit to move at least along a first direction, and obtaining detection data of the detection unit in the moving process; the detection unit can detect the distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process; generating a first detection result according to the detection data; and judging whether a preset condition is met or not according to the first detection result, and obtaining a judgment result.
Optionally, the generating a first detection result according to the detection data includes: fitting according to the distances between different points on the surface of the component to be measured and the reference surface to obtain a smooth curve or a curved surface; calculating at least one minimum distance between the arc top of the smooth curve or the curved surface and the reference surface; and generating a first detection result according to the minimum distance.
Optionally, the determining whether the preset condition is met according to the first detection result and obtaining a determination result includes: comparing the first detection result with a preset standard threshold value, and judging whether the first detection result is smaller than the standard threshold value, wherein if so, the judgment result is that the first detection result meets a preset condition; otherwise, the judgment result is that the first detection result does not meet the preset condition.
Optionally, the obtaining of the detection data of the detection unit in the moving process includes: obtaining a first distance between the detection unit and corresponding detection points in the moving process, wherein the corresponding detection points are different points on the surface of the part to be detected; and calculating a difference value between the first distance and a second distance, and determining the difference value as detection data of the corresponding detection point, wherein the second distance is a distance between the detection unit and the reference surface, and the second distance is a preset value or is obtained by measurement.
Optionally, before obtaining the first trigger instruction, the method further includes: detecting whether the sample to be detected is placed on a preset testing station or not to obtain a second detection result; and generating a first trigger instruction when the second detection result represents that the sample to be tested is placed on the preset testing station.
Optionally, the method further includes: when the second detection result represents that the sample to be detected is placed on the preset test station, executing the reset operation of the detection unit, and judging whether the detection unit is located at a preset detection starting position; and generating a first trigger instruction when the detection unit is judged to be positioned at the preset detection starting position.
To achieve the above object, according to a second aspect of the embodiments of the present invention, there is also provided a detection apparatus, including: the device comprises an acquisition module, a detection module and a processing module, wherein the acquisition module is used for acquiring a first trigger instruction which is used for indicating the start of executing a detection operation process; the control module is used for responding to the first trigger instruction, controlling the detection unit to move at least along a first direction and obtaining detection data of the detection unit in the moving process; the detection unit can detect the distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process; the first generation module is used for generating a first detection result according to the detection data; and the judging module is used for judging whether a preset condition is met according to the first detection result and obtaining a judgment result.
Optionally, the first generating module includes: the fitting unit is used for fitting according to the distances between different points on the surface of the component to be measured and the reference surface to obtain a smooth curve or a curved surface; the calculation unit is used for calculating at least one minimum distance between the arc top of the smooth curve or the curved surface and the reference surface; and the generating unit is used for generating a first detection result according to the minimum distance.
Optionally, the determining module is further configured to compare the first detection result with a preset standard threshold, determine whether the first detection result is smaller than the standard threshold, and if so, determine that the first detection result meets a preset condition; otherwise, the judgment result is that the first detection result does not meet the preset condition.
To achieve the above object, according to a third aspect of the embodiments of the present invention, there is also provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing the detection method according to the first aspect.
Based on the technical scheme, the embodiment of the invention firstly obtains a first trigger instruction for starting detection operation, then controls the detection unit to move at least along the first direction in response to the first trigger instruction, so that the detection unit can detect the distance between different points of the surface of the component to be detected of the sample to be detected and the reference surface, obtains detection data of the detection unit in the moving process, generates a first detection result according to the detection data, and finally judges whether a preset condition is met according to the first detection result, and obtains a judgment result. Therefore, the detection unit is controlled to detect the sample to be detected in the moving process in response to the first trigger instruction, and the first detection result generated according to the detection data is judged to obtain the judgment result, so that the sample to be detected can be detected in a non-contact mode, the problems that in the prior art, the detection quality is unstable and the misjudgment rate is high due to different proficiency degrees of detection personnel are solved, and the detection accuracy is improved.
Further effects of the above-described non-conventional alternatives will be described below in connection with specific embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. In the drawings, like or corresponding reference characters designate like or corresponding parts throughout the several views.
FIG. 1 is a flow chart of a detection method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a detection method according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a detecting device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a detecting device according to an embodiment of the present invention;
FIG. 5 is a graph of the distance between various points on the surface of a foot pad and the surface of glass in accordance with one embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 7 is a block diagram of a computer system suitable for use with a terminal device or server implementing an embodiment of the invention;
401, a notebook computer, 402, a foot pad, 403, transparent glass, 404 and a distance measuring sensor.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention aims to control the detection unit to detect the sample to be detected through the first trigger instruction and judge the sample to be detected according to a first detection result generated by detection data. Therefore, the whole test process does not need artificial participation, and the problems of high misjudgment rate and low detection efficiency of contact detection in the prior art are solved, so that the detection accuracy is improved.
As shown in fig. 1, a flowchart of a detection method according to an embodiment of the present invention is shown, where the method includes:
s101, obtaining a first trigger instruction, wherein the first trigger instruction is used for indicating to start executing a detection operation process.
For example, when the tilting height of the notebook computer foot pad is detected, the first trigger instruction is used for indicating that the tilting height of the foot pad is detected.
S102, responding to the first trigger instruction, controlling the detection unit to move at least along the first direction, and obtaining detection data of the detection unit in the moving process, wherein the detection unit can detect distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process.
Illustratively, a first distance between the detection unit and corresponding detection points in the moving process is obtained, wherein the corresponding detection points are different points on the surface of the part to be detected; and calculating a difference value between the first distance and a second distance, wherein the second distance is a distance between the detection unit and the reference surface, and the second distance is a preset value or is obtained by measurement, and determining the difference value as detection data of the corresponding detection point.
Fig. 4 is a schematic structural diagram of a detection apparatus according to an embodiment of the invention; the transparent glass 403 is used as a support, and the notebook computer 401 is placed on the transparent glass 403 after being opened; transparent glass 403 below is provided with electronic slide rail, and detecting element installs on the slide rail and can follow the not equidirectional removal of slide rail, and detecting element is used for detecting the perk height of notebook computer callus on the sole. The detection unit is typically a range sensor 404, for example, a high precision line scan laser range sensor. When the notebook computer is opened for use, the center of the screen is usually back, so that the two foot pads on the rear side can be completely contacted with the glass, and only the two foot pads on the front side can be tilted.
When the tilting height of the foot pad at the front side of the notebook computer needs to be detected, firstly, the controller responds to a first trigger instruction, starts the detection function of the distance measuring sensor and controls the distance measuring sensor to move at least along the first direction of the sliding rail, so that the distance measuring sensor can moveThe process obtains a first distance a between its test point and a different point on the surface of the footpad1(ii) a Second distance a between glass and test point on distance measuring sensor2Is fixed, the controller is based on the second distance a2Calculating a first distance a1A second distance a2And determining the difference value as the detection data of the corresponding detection point of the foot pad. Therefore, the influence of the refractive index generated by the glass reference surface on the measurement precision when the laser ranging sensor is used for detection can be avoided, and the detection accuracy is further improved.
FIG. 5 illustrates the distance between different points on the surface of a foot pad and the surface of glass according to an embodiment of the present invention; distances a, b, c, d, e, f, g represent distances between different points on the surface of the footpad and the glass, respectively.
S103, generating a first detection result according to the detection data.
Illustratively, a smooth curve or a curved surface is obtained by fitting according to the distances between different points on the surface of the component to be measured and the reference surface; calculating at least one minimum distance between the arc top of the smooth curve or the curved surface and the reference surface; and generating a first detection result according to the minimum distance.
Specifically, when the detection unit moves along the first direction, the controller can fit the obtained distances between different points of the surface of the component to be detected and the reference surface to obtain a smooth curve; when the detection unit moves along the first direction and the second direction, the controller can fit the obtained distances between different points of the surface of the part to be detected and the reference surface to obtain a smooth curved surface. Selecting a specific number of numerical points from the arc top of the smooth curve or the smooth curved surface, calculating the average value of the selected numerical points, and determining the average value as the minimum distance between the arc top of the smooth curve or the curved surface and the reference surface.
When the tilting height of the foot pad is detected, fitting the distances between different points on the surface of the foot pad and the upper surface of the glass to obtain a smooth curve, calculating according to the smooth curve to obtain the minimum distance, and taking the minimum distance as the tilting height of the foot pad. Therefore, the tilting height value of the notebook computer foot pad can be closer to the true value through curve fitting, and the detection accuracy is improved.
And S104, judging whether a preset condition is met according to the first detection result, and obtaining a judgment result.
Exemplarily, the first detection result is compared with a preset standard threshold, whether the first detection result is smaller than the standard threshold is judged, and if so, the first detection result is judged to meet a preset condition; otherwise, judging that the first detection result does not meet the preset condition.
For example, the tilting height of the foot pad is compared with a standard threshold value of the foot pad, and if the tilting height of the foot pad is smaller than the standard threshold value, the foot pad is determined to be a qualified product; and if the tilting height of the foot pad is not less than the standard threshold value, determining that the foot pad is an unqualified product.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and the inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The method comprises the steps of firstly obtaining a first trigger instruction for starting detection operation, then responding to the first trigger instruction, controlling a detection unit to move at least along a first direction so that the detection unit can detect the distance between different points of the surface of a part to be detected of a sample to be detected and a reference surface, obtaining detection data of the detection unit in the moving process, generating a first detection result according to the detection data, finally judging whether a preset condition is met according to the first detection result, and obtaining a judgment result. Therefore, the detection unit is controlled to detect the sample to be detected in the moving process in response to the first trigger instruction, and the first detection result generated according to the detection data is judged to obtain the judgment result, so that the sample to be detected can be detected in a non-contact mode, the problems that in the prior art, the detection quality is unstable and the misjudgment rate is high due to different proficiency degrees of detection personnel are solved, and the detection accuracy is improved.
As shown in fig. 2, it is a flowchart of a detection method according to another embodiment of the present invention, and the method includes:
s201, detecting whether a sample to be tested is placed on the preset testing station or not, obtaining a second detection result, and generating a first trigger instruction when the second detection result represents that the sample to be tested is placed on the preset testing station.
Illustratively, when the second detection result represents that a sample to be detected is placed on the preset test station, the reset operation of the detection unit is executed, and whether the detection unit is located at a preset detection starting position is judged; and generating a first trigger instruction when the detection unit is judged to be positioned at the preset detection starting position.
For example, when the tilting height of the foot pad of the notebook computer is detected, whether the notebook computer is placed on the glass is detected, and if the detection result indicates that the notebook computer is not placed on the glass, the detection operation is ended; if the detection result represents that the notebook computer is placed on the glass, the controller controls the distance measuring sensor to move along the sliding rail so as to reset the distance measuring sensor; when the controller detects that the ranging sensor is reset to the detected starting position, a first trigger command is generated.
S202, responding to the first trigger instruction, controlling the detection unit to move at least along the first direction, and obtaining detection data of the detection unit in the moving process, wherein the detection unit can detect distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process.
S203, generating a first detection result according to the detection data.
And S204, judging whether a preset condition is met according to the first detection result, and obtaining a judgment result.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and the inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
FIG. 3 is a schematic view of a detecting device according to an embodiment of the present invention; the apparatus 300 comprises: an obtaining module 301, configured to obtain a first trigger instruction, where the first trigger instruction is used to instruct to start executing a detection operation flow; a control module 302, configured to control the detection unit to move at least along a first direction in response to a first trigger instruction, and obtain detection data of the detection unit in a moving process; the detection unit can detect the distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process; a first generating module 303, configured to generate a first detection result according to the detection data; the determining module 304 is configured to determine whether a preset condition is met according to the first detection result, and obtain a determination result.
In an alternative embodiment, the first generating module 303 comprises: the fitting unit is used for fitting according to the distances between different points on the surface of the component to be measured and the reference surface to obtain a smooth curve or a curved surface; the calculating unit is used for calculating at least one minimum distance between the arc top of the smooth curve or the curved surface and the reference surface; and the generating unit is used for generating a first detection result according to the minimum distance.
In an optional embodiment, the determining module 304 is further configured to compare the first detection result with a preset standard threshold, determine whether the first detection result is smaller than the standard threshold, and if so, determine that the first detection result satisfies a preset condition; otherwise, judging that the first detection result does not meet the preset condition.
In an alternative embodiment, the control module 302 includes: the acquisition unit is used for acquiring a first distance between the detection unit and corresponding detection points in the moving process, wherein the corresponding detection points are different points on the surface of the part to be detected; and the calculating unit is used for calculating a difference value between the first distance and a second distance, and determining the difference value as detection data of the corresponding detection point, wherein the second distance is a distance between the detecting unit and the reference surface, and the second distance is a preset value or is obtained through measurement.
In an optional embodiment, the detection apparatus further comprises: the detection module is used for detecting whether a sample to be detected is placed on a preset test station or not to obtain a second detection result; and the second generation module is used for generating a first trigger instruction when the second detection result represents that the sample to be detected is placed on the preset test station.
In an optional embodiment, the detection apparatus further comprises: the execution module is used for executing the reset operation of the detection unit when the second detection result represents that the sample to be detected is placed on the preset test station, and judging whether the detection unit is located at the preset detection starting position; and the third generation module is used for generating a first trigger instruction when the detection unit is judged to be positioned at the preset detection starting position.
The device can execute the detection method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method for executing information processing. For details of the detection method provided in the embodiment of the present invention, reference may be made to the following description.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605 for an exemplary system architecture diagram in which embodiments of the present invention may be applied. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have installed thereon various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 605 may be a server providing various services, such as a background management server (for example only) providing support for click events generated by users using the terminal devices 601, 602, 603. The background management server may analyze and perform other processing on the received click data, text content, and other data, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the detection method provided in the embodiment of the present application is generally executed by the server 605, and accordingly, the detection apparatus is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, shown is a block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the system 700 are also stored. The CPU701, the ROM702, and the RAM703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704. The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having 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. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a sending module, an obtaining module, a determining module, and a first processing module. The names of these modules do not in some cases constitute a limitation on the unit itself, and for example, the sending module may also be described as a "module that sends a picture acquisition request to a connected server".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: s101, obtaining a first trigger instruction, wherein the first trigger instruction is used for indicating to start executing a detection operation process; s102, responding to a first trigger instruction, controlling the detection unit to move at least along a first direction, and obtaining detection data of the detection unit in the moving process; the detection unit can detect the distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process; s103, generating a first detection result according to the detection data; and S104, judging whether a preset condition is met according to the first detection result, and obtaining a judgment result.
The embodiment of the invention controls the detection unit to detect the sample to be detected in the moving process in response to the first trigger instruction, and judges the first detection result generated according to the detection data to obtain the judgment result, so that the sample to be detected can be detected in a non-contact manner, the problems of unstable detection quality, high misjudgment rate and the like caused by different proficiency degrees of detection personnel in the prior art are solved, and the detection accuracy and reliability are improved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method of detection, comprising:
obtaining a first trigger instruction, wherein the first trigger instruction is used for indicating to start executing a detection operation process;
responding to the first trigger instruction, controlling the detection unit to move at least along a first direction, and obtaining detection data of the detection unit in the moving process; the detection unit can detect the distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process;
generating a first detection result according to the detection data;
and judging whether a preset condition is met or not according to the first detection result, and obtaining a judgment result.
2. The method of claim 1, wherein generating the first detection result from the detection data comprises:
fitting according to the distances between different points on the surface of the component to be measured and the reference surface to obtain a smooth curve or a curved surface;
calculating at least one minimum distance between the arc top of the smooth curve or the curved surface and the reference surface;
and generating a first detection result according to the minimum distance.
3. The method according to claim 1, wherein the determining whether the preset condition is met according to the first detection result and obtaining the determination result comprises:
comparing the first detection result with a preset standard threshold value, and judging whether the first detection result is smaller than the standard threshold value, wherein if so, the judgment result is that the first detection result meets a preset condition; otherwise, the judgment result is that the first detection result does not meet the preset condition.
4. The method of claim 1, wherein the obtaining detection data of the detection unit during movement comprises:
obtaining a first distance between the detection unit and corresponding detection points in the moving process, wherein the corresponding detection points are different points on the surface of the part to be detected;
and calculating a difference value between the first distance and a second distance, and determining the difference value as detection data of the corresponding detection point, wherein the second distance is a distance between the detection unit and the reference surface, and the second distance is a preset value or is obtained by measurement.
5. The method of any of claims 1 to 4, wherein prior to obtaining the first trigger instruction, the method further comprises:
detecting whether the sample to be detected is placed on a preset testing station or not to obtain a second detection result;
and generating a first trigger instruction when the second detection result represents that the sample to be tested is placed on the preset testing station.
6. The method of claim 5, further comprising:
when the second detection result represents that the sample to be detected is placed on the preset test station, executing the reset operation of the detection unit, and judging whether the detection unit is located at a preset detection starting position;
and generating a first trigger instruction when the detection unit is judged to be positioned at the preset detection starting position.
7. A detection device, comprising:
the device comprises an acquisition module, a detection module and a processing module, wherein the acquisition module is used for acquiring a first trigger instruction which is used for indicating the start of executing a detection operation process;
the control module is used for responding to the first trigger instruction, controlling the detection unit to move at least along a first direction and obtaining detection data of the detection unit in the moving process; the detection unit can detect the distances between different points of the surface of the part to be detected of the sample to be detected and the reference surface in the moving process;
the first generation module is used for generating a first detection result according to the detection data;
and the judging module is used for judging whether a preset condition is met according to the first detection result and obtaining a judgment result.
8. The apparatus of claim 7, wherein the first generating module comprises:
the fitting unit is used for fitting according to the distances between different points on the surface of the component to be measured and the reference surface to obtain a smooth curve or a curved surface;
the calculation unit is used for calculating at least one minimum distance between the arc top of the smooth curve or the curved surface and the reference surface;
and the generating unit is used for generating a first detection result according to the minimum distance.
9. The apparatus according to claim 7, wherein the determining module is further configured to compare the first detection result with a preset standard threshold, determine whether the first detection result is smaller than the standard threshold, and if so, determine that the first detection result satisfies a preset condition; otherwise, the judgment result is that the first detection result does not meet the preset condition.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202010306194.3A 2020-04-17 2020-04-17 Detection method, detection device and computer readable medium Pending CN111578846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010306194.3A CN111578846A (en) 2020-04-17 2020-04-17 Detection method, detection device and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010306194.3A CN111578846A (en) 2020-04-17 2020-04-17 Detection method, detection device and computer readable medium

Publications (1)

Publication Number Publication Date
CN111578846A true CN111578846A (en) 2020-08-25

Family

ID=72089903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010306194.3A Pending CN111578846A (en) 2020-04-17 2020-04-17 Detection method, detection device and computer readable medium

Country Status (1)

Country Link
CN (1) CN111578846A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112540589A (en) * 2020-11-27 2021-03-23 珠海格力智能装备有限公司 Detection method and detection device for remote controller and computer readable storage medium
CN112595245A (en) * 2021-03-08 2021-04-02 深圳中科飞测科技股份有限公司 Detection method, detection system, and non-volatile computer-readable storage medium
CN112629470A (en) * 2020-12-22 2021-04-09 石家庄市科恒电子有限公司 Depth measurement method and depth measurement system
CN113983988A (en) * 2021-09-29 2022-01-28 深圳宝龙达信息技术股份有限公司 Electronic product callus on sole height detection equipment
CN114158791A (en) * 2020-09-10 2022-03-11 常州市派腾电子技术服务有限公司 Product temperature measuring method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6700670B1 (en) * 2000-05-23 2004-03-02 Nanometrics Incorporated Method of measuring dishing using relative height measurements
CN105783728A (en) * 2016-05-06 2016-07-20 汉克科技有限公司 Foot pad detection device and method
CN206756134U (en) * 2017-03-28 2017-12-15 苏州精创光学仪器有限公司 Electronic equipment foot pad detector
CN208488066U (en) * 2018-07-05 2019-02-12 成都姜业光电科技有限公司 A kind of detection device for the foot pad error being suitable for various sizes of notebook

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6700670B1 (en) * 2000-05-23 2004-03-02 Nanometrics Incorporated Method of measuring dishing using relative height measurements
CN105783728A (en) * 2016-05-06 2016-07-20 汉克科技有限公司 Foot pad detection device and method
CN206756134U (en) * 2017-03-28 2017-12-15 苏州精创光学仪器有限公司 Electronic equipment foot pad detector
CN208488066U (en) * 2018-07-05 2019-02-12 成都姜业光电科技有限公司 A kind of detection device for the foot pad error being suitable for various sizes of notebook

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114158791A (en) * 2020-09-10 2022-03-11 常州市派腾电子技术服务有限公司 Product temperature measuring method and device
CN112540589A (en) * 2020-11-27 2021-03-23 珠海格力智能装备有限公司 Detection method and detection device for remote controller and computer readable storage medium
CN112629470A (en) * 2020-12-22 2021-04-09 石家庄市科恒电子有限公司 Depth measurement method and depth measurement system
CN112595245A (en) * 2021-03-08 2021-04-02 深圳中科飞测科技股份有限公司 Detection method, detection system, and non-volatile computer-readable storage medium
CN113983988A (en) * 2021-09-29 2022-01-28 深圳宝龙达信息技术股份有限公司 Electronic product callus on sole height detection equipment
CN113983988B (en) * 2021-09-29 2024-02-20 深圳宝龙达信息技术股份有限公司 Electronic product foot pad height detection equipment

Similar Documents

Publication Publication Date Title
CN111578846A (en) Detection method, detection device and computer readable medium
CN109684188B (en) Test method and device
US20150288465A1 (en) Evaluating device quality
US20210192217A1 (en) Method and apparatus for processing video
CN111385150A (en) Method and device for acquiring information
CN109726550B (en) Abnormal operation behavior detection method and device and computer readable storage medium
CN113034580B (en) Image information detection method and device and electronic equipment
KR102301293B1 (en) A method of measuring the performance of a user terminal that analyzes the degree of computer aging
CN115035481A (en) Image object distance fusion method, device, equipment and storage medium
CN114895313A (en) Detection method and device for pipeline in river channel, electronic equipment and storage medium
CN110084298B (en) Method and device for detecting image similarity
CN114546799A (en) Point burying log checking method and device, electronic equipment, storage medium and product
CN113535020A (en) Method, apparatus, device, medium and product for generating application icons
CN111324244B (en) Method and device for switching picture display types
CN108287792B (en) Method and apparatus for outputting information
CN112966971A (en) Project workload assessment method and device
CN108471635B (en) Method and apparatus for connecting wireless access points
CN111858317A (en) Method and device for detecting memory leakage
CN112309420B (en) Method and device for detecting wind noise
CN112414391A (en) Robot repositioning method and device
CN113741265B (en) Intelligent closestool control method and device based on health monitoring and readable medium
US11375209B2 (en) Method and apparatus for processing video frame
CN116737051B (en) Visual touch combination interaction method, device and equipment based on touch screen and readable medium
CN117824974B (en) Switch drop test method, device, electronic equipment and computer readable medium
CN115615383A (en) Method and device for detecting flatness of electronic equipment and computer equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200825

RJ01 Rejection of invention patent application after publication