Method, system and electronic device for assembling camera and silk-screen hole

By obtaining and aligning the two-dimensional coordinates of the center of the camera lens and the center of the silk-screen hole, the problem of the camera and the center of the silk-screen hole in consumer electronics products not coinciding is solved, and the center of the lens and the center of the silk-screen hole are accurately aligned, simplifying the assembly process and improving product quality.

CN117915647BActive Publication Date: 2024-09-13HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311730228.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2024-09-13
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

In consumer electronics products, the center of the camera lens does not coincide with the center of the corresponding silk screen hole, resulting in eccentricity and affecting product quality and user experience.

Method used

By obtaining the two-dimensional coordinates of the center of the camera lens and the center of the silk-screen hole on the target component, determine the moving direction and distance to make the two coordinates coincide, and use optical detection devices and moving devices to accurately align and install on target planes of different heights. , make sure the center of the lens is aligned with the center of the silk screen hole.

Benefits of technology

It achieves precise alignment of the camera and the center of the screen printing hole, avoids eccentricity problems, simplifies the assembly process, is suitable for industrial production, and improves product quality and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117915647B
    Figure CN117915647B
Patent Text Reader

Abstract

The embodiment of the present application provides a method, system and electronic device for assembling a camera and a silk-screen hole, which relates to the field of terminal design and manufacturing technology, including: obtaining the two-dimensional coordinates of the center of the camera lens in the target plane direction as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk-screen hole on the target component in the target plane direction as the second coordinate; wherein the target component is installed with the component to which the camera is to be installed; determining the direction and distance to be moved of the component to be used when the first coordinate and the second coordinate coincide; based on the determined direction and distance to be moved, controlling the component to be used to move in the target plane direction at a preset height, so as to install the camera and the target component after the movement of the component to be used is completed; wherein the height planes of the camera and the target component are different. It can be seen that through this solution, the alignment of the center of the camera lens and the center of the silk-screen hole can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal design and manufacturing technology, and in particular to a method and system for assembling a camera and a silk-screen hole, and an electronic device. Background Art

[0002] At present, consumer electronic products, such as mobile phones, tablets and other terminal products, often have eccentricity caused by the misalignment between the center of the camera lens and the center of the silk-screen hole corresponding to the camera, including eccentricity of the front camera or rear camera. Among them, the silk-screen hole corresponding to the camera is the area on the display screen or lens designed for the camera and not covered with ink. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a method, system and electronic device for assembling a camera and a silk-screen hole, so as to align the lens center of the camera with the center of the silk-screen hole.

[0004] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:

[0005] In a first aspect, an embodiment of the present application provides a method for assembling a camera and a silk-screen hole, the method comprising:

[0006] Obtaining the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate; wherein the target component is installed with the component to which the camera is to be installed;

[0007] Determine the direction and distance that the component to be used needs to move when the first coordinate and the second coordinate coincide with each other; wherein the component to be used is the camera and / or the target component;

[0008] Based on the determined direction and distance to be moved, the component to be used is controlled to move in the direction of a target plane at a preset height, so as to install the camera and the target component after the movement of the component to be used is completed; wherein the camera and the target component are located in different height planes.

[0009] As can be seen from the above, in the solution provided by this embodiment, the two-dimensional coordinates of the lens center of the camera and the center of the silk-screen hole on the target component in the direction of the target plane are obtained, and the direction and distance to be moved of the camera and / or the target component are determined so that the coordinates of the two coincide, and based on the determined direction and distance to be used, the camera and / or the target component are controlled to move in the direction of the target plane at different heights, so that the center of the camera and the lens are aligned with the center of the silk-screen hole of the target component. After the movement is completed, the camera and the target component are installed to obtain an assembly in which the center of the lens and the center of the silk-screen hole are aligned. In addition, since the component to which the camera is to be installed is installed in the target component, by installing the camera and the target component, on the basis of achieving the alignment of the center of the lens and the center of the silk-screen hole, no other eccentricity problems will be introduced.

[0010] In combination with the first aspect, in a possible implementation manner, obtaining the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk screen hole on the target component in the direction of the target plane as the second coordinate, includes:

[0011] An optical detection device is used to detect the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate.

[0012] As can be seen from the above, in the solution provided in this embodiment, by utilizing an optical detection device, the two-dimensional coordinates of the camera lens center and the silk-screen hole center on the target component in the target plane direction can be accurately detected, thereby improving the alignment effect of the lens center and the silk-screen hole center.

[0013] In combination with the first aspect, in a possible implementation manner, determining the direction and distance in which the component to be used is to be moved when the first coordinate and the second coordinate coincide with each other includes:

[0014] If the component to be used is the camera, taking the second coordinate as a reference, calculating the displacement vector between the second coordinate and the first coordinate to obtain the direction and distance to be moved of the camera;

[0015] If the component to be used is the target component, taking the first coordinate as a reference, calculating a displacement vector between the first coordinate and the second coordinate to obtain a direction and distance in which the target component is to be moved;

[0016] If the components to be used are the camera and the target component, the displacement vector between the preset reference coordinates and the first coordinates is calculated as the direction and distance the camera is to move, and the displacement vector between the preset reference coordinates and the second coordinates is calculated as the direction and distance the target component is to move.

[0017] As can be seen from the above, in the solution provided in this embodiment, the direction and distance to be moved of the camera and / or the target component can be determined, and the movement of the camera and / or the target component can be controlled by using the determined direction and distance to be moved in the subsequent process, thereby achieving alignment between the lens center of the camera and the center of the silk-screen hole on the target component in a variety of ways.

[0018] In combination with the first aspect, in a possible implementation manner, the component to which the camera is to be installed includes a middle frame module or a decorative deco module;

[0019] If the component to which the camera is to be installed is a middle frame module, the target component is a combination of the middle frame module and a display screen, and a silk-screen hole corresponding to the camera is printed on the display screen;

[0020] If the component to which the camera is to be installed is a decorative deco module, the target component is a combination of the decorative deco module and a lens corresponding to the camera, and the lens is printed with a silk-screen hole corresponding to the camera.

[0021] As can be seen from the above, in the solution provided in this embodiment, it is possible to align the lens center of the front camera with the center of the silk-screen hole corresponding to the camera, and the lens center of the rear camera with the center of the silk-screen hole corresponding to the camera.

[0022] In combination with the first aspect, in a possible implementation manner, the component to be used is the camera; and a method of installing the camera and the target component includes:

[0023] The camera is controlled to move toward the height plane where the target component is located so as to pre-fix the camera on the target component, and glue is dispensed in the gap between the camera and the predetermined mating surface of the target component so as to fix the camera and the target component; wherein the predetermined mating surface is the surface to which the camera is to be installed.

[0024] As can be seen from the above, in the solution provided by this embodiment, the component to be used is a camera. During the assembly process, the target component can be kept fixed, and the camera can be controlled to move to align the center of the lens and the center of the silk screen hole, and the camera can be moved again after the centers of the two are aligned to install the camera on the target component. In this way, only the camera needs to be moved during the assembly process, which is simple to operate and suitable for industrial production. And by controlling the movement of the camera to pre-fix it on the target component, and then dispensing glue in the gap between the predetermined mating surfaces of the camera and the target component, the installation of the camera and the target component can be quickly completed on the basis of solving the eccentricity problem.

[0025] In combination with the first aspect, in a possible implementation manner, the method of pre-fixing the camera on the target component includes:

[0026] The camera is controlled to be bonded to the sealing foam adhesive in the target component.

[0027] From the above, it can be seen that in the solution provided in this embodiment, the camera is pre-fixed on the target component by using sealing foam glue, and the installation of the camera and the target component can be completed without the help of other parts. Therefore, while solving the eccentricity problem between the lens center and the silk-screen hole center, it will not cause other eccentricity problems.

[0028] In a second aspect, an embodiment of the present application provides a camera and silk screen hole assembly system, including a moving device, an optical detection device and a control device;

[0029] The moving device is used to move the camera and the target component to the optical inspection area of ​​the optical inspection device; wherein the target component has the component to which the camera is to be installed installed;

[0030] The optical detection device is used to detect the two-dimensional coordinates of the center of the lens of the camera in the direction of the target plane through the optical detection area as the first coordinate, and detect the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate;

[0031] The control device is used to obtain the first coordinate and the second coordinate detected by the optical detection device; determine the direction and distance that the component to be used needs to move when the first coordinate and the second coordinate coincide with each other; based on the determined direction and distance to be moved, control the moving device to carry the component to be used to move in the direction of a target plane at a preset height, so as to install the camera and the target component after the component to be used is moved; wherein the component to be used is the camera and / or the target component; the camera and the target component are located in different height planes.

[0032] As can be seen from the above, in the solution provided by this embodiment, through the cooperation of the moving device, the optical detection device and the control device, the two-dimensional coordinates of the lens center of the camera and the center of the silk-screen hole on the target component in the direction of the target plane can be obtained, and based on the direction and distance to be used determined when the coordinates of the two coincide, the camera and / or the target component are controlled to move in the direction of the target plane at different heights, so that the center of the camera and the lens and the center of the silk-screen hole of the target component can be aligned. After the movement is completed, the camera and the target component are installed to obtain an assembly in which the center of the lens and the center of the silk-screen hole are aligned. In addition, since the component to which the camera is to be installed is installed in the target component, by installing the camera and the target component, on the basis of achieving the alignment of the center of the lens and the center of the silk-screen hole, no other eccentricity problems will be introduced.

[0033] In conjunction with the second aspect, in a possible implementation, the component to be used is the camera; the system further includes a dispensing machine, and the control device installs the camera and the target component in a manner including:

[0034] Control the mobile device to carry the camera to move to the height plane where the target component is located to pre-fix the camera on the target component, and control the glue dispenser to dispense glue in the gap between the camera and the predetermined mating surface of the target component to fix the camera and the target component; wherein the predetermined mating surface is the surface to which the camera is to be installed.

[0035] As can be seen from the above, in the solution provided by this embodiment, the component to be used is a camera. During the assembly process, the target component can be kept fixed, and the camera can be controlled to move to align the center of the lens and the center of the silk screen hole, and the camera can be moved again after the centers of the two are aligned to install the camera on the target component. In this way, only the camera needs to be moved during the assembly process, which is simple to operate and suitable for industrial production. And by controlling the movement of the camera to pre-fix it on the target component, and then dispensing glue in the gap between the predetermined mating surfaces of the camera and the target component, the installation of the camera and the target component can be quickly completed on the basis of solving the eccentricity problem.

[0036] In conjunction with the second aspect, in a possible implementation manner, the control device pre-fixes the camera on the target component in a manner that includes:

[0037] The camera is controlled to be bonded to the sealing foam adhesive in the target component.

[0038] From the above, it can be seen that in the solution provided in this embodiment, the camera is pre-fixed on the target component by using sealing foam glue, and the installation of the camera and the target component can be completed without the help of other parts. Therefore, while solving the eccentricity problem between the lens center and the silk-screen hole center, it will not cause other eccentricity problems.

[0039] In conjunction with the second aspect, in a possible implementation, the moving device includes a manipulator and a clamp;

[0040] The robot arm is used to absorb the camera and move it to the optical detection area of ​​the optical detection device;

[0041] The clamp is used to clamp the target component and move it to the optical inspection area of ​​the optical inspection device.

[0042] It can be seen from the above that in the solution provided in this embodiment, the camera and the target component can be controlled to move to the optical detection area for coordinate detection respectively.

[0043] In conjunction with the second aspect, in a possible implementation manner, the component to be utilized is the camera;

[0044] The control device controls the moving device to carry the component to be utilized to move in the direction of the target plane at a preset height based on the determined direction and distance to be moved, including:

[0045] Based on the determined direction and distance to be moved, the robot arm having the camera sucked thereon is controlled to move in the direction of a target plane at a preset height.

[0046] As can be seen from the above, in the solution provided in this embodiment, the target component can be kept fixed and the mobile camera can be controlled so that the center of the camera lens is aligned with the center of the silk-screen hole on the target component.

[0047] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0048] one or more processors and memory;

[0049] The memory is coupled to the one or more processors, and the memory is used to store computer program code, wherein the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform the method described in the first aspect and any possible implementation of the first aspect.

[0050] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect and any possible implementation method of the first aspect is implemented.

[0051] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.

[0052] The beneficial effects of the solutions provided by the embodiments in the third, fourth and fifth aspects can refer to the beneficial effects of the solutions provided by the embodiments in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.

[0054] Figure 1 A schematic diagram of the eccentricity of the front camera of a mobile phone;

[0055] Figure 2 It is a schematic diagram of a dimension chain of a camera lens center and a corresponding silk-screen hole center in the related art;

[0056] Figure 3 A flowchart of a method for assembling a camera and a silk-screen hole provided in an embodiment of the present application;

[0057] Figure 4 A schematic diagram of a dispensing method provided in an embodiment of the present application;

[0058] Figure 5 A schematic diagram of a dispensing gap provided in an embodiment of the present application;

[0059] Figure 6 A schematic diagram of the structure of a camera and silk-screen hole assembly system provided in an embodiment of the present application;

[0060] Figure 7 A schematic diagram of the structure of another camera and silk-screen hole assembly system provided in an embodiment of the present application;

[0061] Figure 8 A schematic diagram of a design for precise positioning of a camera on a mid-frame module in the prior art;

[0062] Fig. 9A schematic diagram of the positioning design of the camera on the midframe module provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0064] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.

[0065] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0066] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0067] Consumer electronic products, such as mobile phones, tablets, PCs (Personal Computers) and other terminal products, often have eccentricity caused by the center of the camera lens not coinciding with the center of the silk screen hole corresponding to the camera. Figure 1 A schematic diagram showing the eccentricity of the front camera of a mobile phone is shown. It can be seen that the center of the camera in the figure does not coincide with the center of the silk-screen hole.

[0068] At present, there is no direct positioning reference relationship between the camera of the terminal device and the silk-screen hole corresponding to the camera during assembly. For example, for mobile phones, the front camera is precisely positioned on the middle frame module, and the silk-screen hole corresponding to the front camera is positioned on the display screen; the rear camera is precisely positioned on the deco (decoration) module, and the silk-screen hole corresponding to the rear camera is positioned on the lens of the deco module. In this way, the dimension chain between the center of the camera lens and the center of the silk-screen hole corresponding to the camera is more than 7, which is prone to eccentricity. Moreover, although the positioning design is performed based on the analysis and calculation of the dimension chain, the current design scheme cannot theoretically meet the standard requirements 100%.

[0069] See Table 1 and Figure 2 , showing the design requirements of the rear camera of a mobile phone and the corresponding silk screen hole in the prior art. In this example, the rear camera is precisely positioned on the rear shell positioning frame (i.e., deco module), and the silk screen hole corresponding to the rear camera is positioned on the LENS (lens).

[0070] As shown in Table 1, Figure 2 The number 1 in the figure describes the area from the center of the LENS screen printing hole to the outer shape of the LENS screen printing hole, with a size of 1.4mm and a tolerance of ±0.150mm;

[0071] Label 2 describes the area from the LENS screen hole shape to the LENS shape, with a size of 3.6mm and a tolerance of ±0.050mm;

[0072] Reference numeral 3 describes the area from the LENS shape to the rear shell LENS positioning frame shape, with a size of 0.05 mm;

[0073] The number 4 describes the area from the outer shape of the rear housing LENS positioning frame to the center of the rear housing LENS positioning frame, which is opposite to the direction corresponding to the numbers 1, 2, and 3. The size is recorded as -5.05mm, and the tolerance is ±0.050mm;

[0074] Reference numeral 5 describes the area from the center of the rear housing LENS positioning frame to the outer shape of the rear housing positioning frame of the Camera, with a size of 2.57 mm and a tolerance of ±0.050 mm;

[0075] Reference numeral 6 describes the area from the camera rear housing positioning frame shape to the camera shape, which is opposite to the direction corresponding to reference numerals 1, 2, and 3, and the size is -0.07 mm;

[0076] Label 7 describes the area from the Camera shape to the center of the Camera shape, which is opposite to the direction corresponding to labels 1, 2, and 3. The size is -2.5mm and the tolerance is ±0.050mm.

[0077] It can be seen from Table 1 that the worst case tolerance stackup is 0.47 mm, which is larger than the camera eccentricity standard of 0.4 mm, and thus cannot meet the standard requirement 100%.

[0078] Table 1

[0079]

[0080] Since the eccentricity of the front camera and the rear camera can easily lead to user dissatisfaction, the product NPS (Net Promoter Score) will be reduced, which may lead to the serious consequence of the product being withdrawn. Moreover, if the eccentricity is serious, it will also affect the shooting effect of the camera. Therefore, how to align the center of the camera lens with the center of the silk screen hole has become a technical problem that needs to be solved urgently. Based on the above content, in order to achieve the purpose of aligning the center of the camera lens with the center of the silk screen hole, the embodiment of the present application provides a method, system and electronic device for assembling a camera and a silk screen hole.

[0081] Below, firstly, a method for assembling a camera and a silk-screen hole provided in an embodiment of the present application is introduced.

[0082] The assembly method of the camera and the silk-screen hole provided in the embodiment of the present application can be applied to a control device, which can be various electronic devices, such as a personal computer, a server, and other devices with data processing capabilities. In addition, it can be understood that the assembly method of the camera and the silk-screen hole provided in the embodiment of the present application can be implemented by software, hardware, or a combination of software and hardware.

[0083] Among them, a method for assembling a camera and a silk-screen hole provided in an embodiment of the present application includes:

[0084] Obtaining the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate; wherein the target component is installed with the component to which the camera is to be installed;

[0085] Determine the direction and distance that the component to be used needs to move when the first coordinate and the second coordinate coincide with each other; wherein the component to be used is the camera and / or the target component;

[0086] Based on the determined direction and distance to be moved, the component to be used is controlled to move in the direction of a target plane at a preset height, so as to install the camera and the target component after the movement of the component to be used is completed; wherein the camera and the target component are located in different height planes.

[0087] The solution provided in the embodiment of the present application obtains the two-dimensional coordinates of the lens center of the camera and the center of the silk-screen hole on the target component in the direction of the target plane, determines the direction and distance that the camera and / or the target component are to move when the coordinates of the two coincide, and based on the determined direction and distance to be used, controls the camera and / or the target component to move in the direction of the target plane at different heights, so that the center of the camera and the lens are aligned with the center of the silk-screen hole of the target component. After the movement is completed, the camera and the target component are installed to obtain an assembly in which the center of the lens and the center of the silk-screen hole are aligned. In addition, since the component to which the camera is to be installed is installed in the target component, by installing the camera and the target component, other eccentricity problems will not be introduced on the basis of achieving the alignment of the center of the lens and the center of the silk-screen hole.

[0088] The following describes the assembly method of the camera and the silk-screen hole provided in the embodiment of the present application in conjunction with the accompanying drawings.

[0089] like Figure 3 As shown, the method for assembling a camera and a silk-screen hole provided in the embodiment of the present application may include steps S301-S303:

[0090] S301, obtaining the two-dimensional coordinates of the center of the camera lens in the target plane direction as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk-screen hole on the target component in the target plane direction as the second coordinate; wherein the target component has the component to which the camera is to be installed installed;

[0091] In this embodiment, the target plane direction can be any plane direction, and there is a unique coordinate origin in the target plane direction, and the first coordinate and the second coordinate in the target plane direction are coordinates corresponding to the same coordinate origin. It can be understood that by respectively obtaining the two-dimensional coordinates of the lens center of the camera and the center of the silk-screen hole on the target component in the target plane direction, the lens center and the silk-screen hole center can be aligned in the subsequent process by making the two-dimensional coordinates of the two coincide.

[0092] Optionally, in one implementation, obtaining the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate may include:

[0093] An optical detection device is used to detect the two-dimensional coordinates of the center of the camera lens in the target plane direction as the first coordinate, and the two-dimensional coordinates of the center of the silk screen hole on the target component in the target plane direction as the second coordinate.

[0094] Exemplarily, the optical detection device can be a line laser measuring instrument, a CCD (Charge Coupled Device) visual detection device, an optical coordinate measuring instrument, or other optical detection instruments that can perform coordinate detection. Exemplarily, the X-coordinate and Y-coordinate of the center of the camera lens and the center of the screen printing hole on the target component on the workbench plane of the optical detection device can be obtained by respectively sending the camera and the target component to the optical detection area on the workbench plane of the optical detection device, as two-dimensional coordinates in the direction of the target plane. Exemplarily, as Figure 4 As shown, the optical inspection device can perform optical inspection on the target component and the camera above the workbench plane to identify the center of the silk screen window area on the target component and the lens center of the camera, wherein the silk screen window area is the area not covered by ink, that is, the silk screen hole area. In practical applications, a robot can be used to suck the camera to the optical inspection area of ​​the optical inspection device, and the X coordinate and Y coordinate of the lens center of the camera relative to the system origin of the optical inspection device can be detected to obtain the first coordinate; then, the camera is moved out of the optical inspection area, and the target component is placed in the fixture of the optical inspection area, and the X coordinate and Y coordinate of the silk screen hole center of the target component relative to the system origin of the optical inspection device are detected to obtain the second coordinate.

[0095] It is understandable that by using an optical detection device, the two-dimensional coordinates of the center of the camera lens and the center of the silk-screen hole on the target component in the direction of the target plane can be accurately detected, thereby improving the alignment effect of the lens center and the center of the silk-screen hole. It should be noted that the embodiment of the present application does not limit the method of obtaining the two-dimensional coordinates of the center of the camera lens in the direction of the target plane and the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane.

[0096] Optionally, in one implementation, the component to which the camera is to be installed includes a middle frame module or a decorative deco module;

[0097] Accordingly, in this implementation, if the component to which the camera is to be installed is a middle frame module, the target component is a combination of the middle frame module and a display screen, and a silk-screen hole corresponding to the camera is printed on the display screen;

[0098] If the component to which the camera is to be installed is a decorative deco module, the target component is a combination of the decorative deco module and a lens corresponding to the camera, and the lens is printed with a silk-screen hole corresponding to the camera.

[0099] It is understandable that for mobile phones, tablets and other terminal devices, the component to which the front camera is to be installed is the middle frame module, and the component to which the rear camera is to be installed is the deco module. Since the silk-screen holes that the front camera needs to align are printed on the display screen, if the component to which the camera is to be installed is the middle frame module, then the target component is the combination of the middle frame module and the display screen, that is, the middle frame module and the display screen module are pre-installed as the target component for installation with the camera. Since the silk-screen holes that the rear camera needs to align are printed on the lens, if the component to which the camera is to be installed is the deco module, then the target component is the combination of the deco module and the lens corresponding to the camera, that is, the deco module and the lens corresponding to the camera are pre-installed as the target component for installation with the camera.

[0100] It is understandable that by installing the front camera after the middle frame assembly and the display screen are installed, and installing the rear camera after the deco module and the lens are installed, the display screen and the lens can be kept fixed during the installation process, and the subsequent installation process does not involve the installation of the display screen and the lens, so that no new eccentricity problem will be generated. Therefore, the eccentricity problem of the front camera and the rear camera of devices such as mobile phones, tablets, and handheld PDAs (Personal Digital Assistants) can be solved.

[0101] Exemplarily, in this implementation, if the camera to be assembled is the front camera of a mobile phone, then the above-mentioned placing the target component into the fixture in the optical inspection area may be placing the middle frame component installed with the TP (Touch Panel) module into the optical inspection fixture to detect the two-dimensional coordinates of the center of the silk-screen hole corresponding to the front camera on the TP relative to the system origin; if the camera to be assembled is the rear camera of a mobile phone, then the above-mentioned placing the target component into the fixture in the optical inspection area may be placing the deco module installed with the lens corresponding to the rear camera into the optical inspection fixture to detect the two-dimensional coordinates of the center of the silk-screen hole corresponding to the camera on the lens relative to the system origin.

[0102] S302, determining a direction and a distance in which the component to be utilized is to be moved when the first coordinate and the second coordinate coincide with each other; wherein the component to be utilized is a camera and / or a target component;

[0103] In this embodiment, after obtaining the two-dimensional coordinates of the lens center and the silk-screen hole center, the direction and distance that the component to be used needs to be moved when the two coordinates coincide can be determined, so as to complete the alignment of the lens center and the silk-screen hole center by moving the camera and / or the target component.

[0104] Optionally, in one implementation, determining the direction and distance in which the component to be utilized is to be moved when the first coordinate and the second coordinate coincide with each other may include steps A1-A3:

[0105] A1, if the component to be used is a camera, take the second coordinate as a reference, calculate the displacement vector between the second coordinate and the first coordinate, and obtain the direction and distance to be moved of the camera;

[0106] A2, if the component to be used is the target component, taking the first coordinate as a reference, calculate the displacement vector between the first coordinate and the second coordinate to obtain the direction and distance to be moved of the target component;

[0107] A3, if the components to be used are a camera and a target component, calculate the displacement vector between the preset reference coordinates and the first coordinate as the direction and distance the camera is to move, and calculate the displacement vector between the preset reference coordinates and the second coordinate as the direction and distance the target component is to move.

[0108] In this implementation, the center of the lens and the center of the silk-screen hole can be coincident by moving the camera and / or the target component. If the component to be used is a camera, the second coordinate is used as a reference, that is, the position of the target component is kept unchanged, and the displacement vector between the second coordinate and the first coordinate is calculated. That is, the second coordinate is subtracted from the first coordinate to obtain a displacement vector, and the direction and distance to be moved of the camera can be determined according to the displacement vector. Exemplarily, if the first coordinate is (3,5), the second coordinate is (2,3), and the calculated displacement vector is (-1, -2,), then the direction and distance to be used by the camera are: move 1 unit distance in the negative direction of the X axis, and move 2 unit distances in the negative direction of the Y axis. If the component to be used is a target component, the first coordinate is used as a reference, that is, the position of the camera is kept unchanged, and the displacement vector between the first coordinate and the second coordinate is calculated to determine the direction and distance to be moved of the target component. If the components to be used are cameras and target components, the preset reference coordinates can be used to calculate the displacement vectors between the preset reference coordinates and the first coordinates and the second coordinates, respectively, as the direction and distance to be moved of the camera and the target component. The preset reference coordinates may be the coordinates of any position point in the target plane direction. For example, if the preset reference coordinates are the system origin coordinates (0,0), the first coordinates are (3,5), and the second coordinates are (2,3), then the displacement vector between the preset reference coordinates and the first coordinates is (-3, -5), and the displacement vector between the preset reference coordinates and the second coordinates is (-2, -3). The direction and distance to be used by the camera are: 3 unit distances along the negative direction of the X axis, and 5 unit distances along the negative direction of the Y axis; the direction and distance to be moved by the target component are: 2 unit distances along the negative direction of the X axis, and 3 unit distances along the negative direction of the Y axis.

[0109] S303, based on the determined direction and distance to be moved, control the component to be used to move in the direction of the target plane at a preset height, so as to install the camera and the target component after the movement of the component to be used is completed; wherein the camera and the target component are located in different height planes.

[0110] In this embodiment, the camera and the target component are moved in the direction of the target plane at different heights. In practical applications, the camera can be above the target component, that is, the height plane where the camera is located is higher than the height plane where the target component is located. Exemplarily, the camera can be moved in the direction of the target plane at a height of 10 cm, and the silk-screen hole can be moved in the direction of the target plane at a height of 5 cm. After the camera and the target component are moved, the center of the camera lens and the center of the silk-screen hole on the target component have the same X-coordinate and Y-coordinate. At this time, the camera and the target component can be installed, that is, the camera or the target component is controlled to move in the Z-axis direction to fix the two. It should be noted that during installation, the side where the lens of the camera is located is in contact with the side of the target component where the silk-screen hole is printed.

[0111] Optionally, in one implementation, the component to be utilized is a camera; and the method of installing the camera and the target component includes:

[0112] The camera is controlled to move toward the height plane where the target component is located to pre-fix the camera on the target component, and glue is dispensed in the gap between the predetermined mating surfaces of the camera and the target component to fix the camera and the target component; wherein the predetermined mating surface is the surface to which the camera is to be installed.

[0113] In this implementation, the component to be used is a camera. During the assembly process, the target component can be kept fixed, and the camera can be controlled to move to align the center of the lens and the center of the silk screen hole. After the centers of the two are aligned, the camera is moved to install the camera on the target component. In this way, only the camera needs to be moved during the assembly process, which is simple to operate and suitable for industrial production.

[0114] Exemplarily, a robot can be used to suck the camera to carry the camera to the height plane where the target component is located to pre-fix the camera on the target component. Then, the robot is withdrawn, and the glue dispenser is controlled to apply quick-drying glue in the gap between the camera and the surface on the target component where the camera is to be installed to fix the camera. It can be understood that by controlling the movement of the camera to pre-fix it on the target component, and then applying glue in the gap between the camera and the predetermined mating surface of the target component, the installation of the camera and the target component can be quickly completed on the basis of solving the eccentricity problem.

[0115] For example, Figure 4As shown in the figure, the dispensing process of the front camera is demonstrated. The robot picks up the top of the camera, i.e. Figure 4 The robot grips the surface in the middle frame to carry the camera to the height plane where the middle frame matching structure is located, and pre-fixes the camera on the middle frame matching structure, which is a combination of the middle frame module and the display screen. Figure 5 As shown in the figure, the area indicated by the arrow is the gap between the predetermined mating surfaces of the camera and the middle frame mating structure. Applying quick-drying glue in this gap can quickly bond the camera and the middle frame mating structure. The overall schematic diagram after glue application can be seen in Figure 4 At this time, the gap between the middle frame matching structure and the camera is filled with quick-drying adhesives such as quick-drying structural adhesive and back adhesive.

[0116] Exemplarily, in a specific implementation, the method of pre-fixing the camera on the target component includes:

[0117] The control camera is bonded to the sealing foam adhesive in the target component.

[0118] In this implementation, sealing foam glue can be pre-affixed to the surface of the target component on which the camera is to be installed, so that the camera can be pre-fixed on the target component by bonding the camera to the sealing foam glue, thereby facilitating the subsequent fixation of the camera and the target component using a glue dispensing machine.

[0119] It should be noted that the embodiment of the present application does not limit the pre-fixing method.

[0120] In addition, it can be understood that the solution provided in the embodiment of the present application controls the movement of the camera and / or the target component based on the optically detected lens center and the silk screen hole center to complete the installation of the camera and the target component. In this process, there is no need for precise positioning design of the front camera on the middle frame module, and precise positioning design of the rear camera on the deco module. Therefore, the design between the camera and the structural parts on the middle frame module or the deco module can be relaxed, making the design of the structural parts of consumer electronic products simpler. Figure 8 As shown in the figure, the precise positioning design of the camera on the middle frame module in the prior art is demonstrated. At this time, the gap between the left and right sides of the camera and the middle frame module is about 0.05mm, the gap between the bottom of the camera and the middle frame module is about 0.1mm, and the gap between the top of the camera and the middle frame is 0, which is a precise positioning design. Fig. 9As shown, the positioning design of the camera on the middle frame module in this solution is demonstrated. At this time, the gaps between the upper, lower, left, right and four sides of the camera and the middle frame module are all above 0.2mm, that is, there is no need to perform precise positioning on the middle frame module, and the positioning restrictions are relaxed. In addition, by using quick-drying glue to fix the camera instead of using structural parts to precisely position the camera in the prior art, the eccentricity problem caused by the tolerance of the structural parts can be avoided. In addition, the solution provided in the embodiment of the present application can be widely used in the installation scenarios of the front camera and rear camera of consumer electronic products such as mobile phones, tablets, and PCs (Personal Computers).

[0121] The solution provided in the embodiment of the present application obtains the two-dimensional coordinates of the lens center of the camera and the center of the silk-screen hole on the target component in the direction of the target plane, determines the direction and distance that the camera and / or the target component are to move when the coordinates of the two coincide, and based on the determined direction and distance to be used, controls the camera and / or the target component to move in the direction of the target plane at different heights, so that the center of the camera and the lens are aligned with the center of the silk-screen hole of the target component. After the movement is completed, the camera and the target component are installed to obtain an assembly in which the center of the lens and the center of the silk-screen hole are aligned. In addition, since the component to which the camera is to be installed is installed in the target component, by installing the camera and the target component, other eccentricity problems will not be introduced on the basis of achieving the alignment of the center of the lens and the center of the silk-screen hole.

[0122] Based on the above method embodiment, Figure 6 As shown, the embodiment of the present application also provides a camera and silk screen hole assembly system, including a moving device 610, an optical detection device 620 and a control device 630;

[0123] The moving device 610 is used to move the camera and the target component to the optical inspection area of ​​the optical inspection device; wherein the target component is installed with the component to which the camera is to be installed;

[0124] Optionally, in one implementation, the mobile device includes a manipulator and a clamp;

[0125] The robot arm is used to absorb the camera and move it to the optical detection area of ​​the optical detection device;

[0126] The clamp is used to clamp the target component and move it to the optical inspection area of ​​the optical inspection device.

[0127] In this implementation, the manipulator and the fixture are both movable devices, so as to control the camera and the target component to move to the optical detection area for coordinate detection by using the manipulator and the fixture respectively. It should be noted that in another implementation, the fixture can also be a fixed fixture on the workbench plane of the optical detection device and in the optical detection area. In this case, the target component can be placed in the fixture manually to perform optical detection on the target component. In addition, the relevant content about the target component is introduced in the above method embodiment and will not be repeated here.

[0128] The optical detection device 620 is used to detect the two-dimensional coordinates of the center of the lens of the camera in the direction of the target plane through the optical detection area as the first coordinate, and detect the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate;

[0129] The relevant functions of the optical detection device have been introduced in the above method embodiment and will not be repeated here.

[0130] The control device 630 is used to obtain the first coordinate and the second coordinate detected by the optical detection device; determine the direction and distance that the component to be used needs to be moved when the first coordinate and the second coordinate coincide with each other; based on the determined direction and distance to be moved, control the moving device to carry the component to be used to move in the direction of the target plane at a preset height, so as to install the camera and the target component after the component to be used is moved; wherein the component to be used is the camera and / or the target component; the camera and the target component are located in different height planes.

[0131] For the implementation of relevant functions of the control device, reference may be made to the relevant contents of the above method embodiment, which will not be repeated here.

[0132] Optionally, in one implementation, as Figure 7 As shown, the component to be used is the camera; the system further includes a glue dispenser 640, and the control device installs the camera and the target component in a manner including:

[0133] Control the mobile device to carry the camera to move to the height plane where the target component is located to pre-fix the camera on the target component, and control the glue dispenser to dispense glue in the gap between the camera and the predetermined mating surface of the target component to fix the camera and the target component; wherein the predetermined mating surface is the surface to which the camera is to be installed.

[0134] It is understandable that the component to be used is a camera. During the assembly process, the target component can be kept fixed, and the camera can be controlled to move to align the center of the lens and the center of the silk screen hole, and the camera can be moved again after the centers of the two are aligned to install the camera on the target component. In this way, only the camera needs to be moved during the assembly process, which is simple to operate and suitable for industrial production. In addition, by controlling the movement of the camera to pre-fix it on the target component, and then dispensing glue in the gap between the predetermined mating surfaces of the camera and the target component, the installation of the camera and the target component can be quickly completed on the basis of solving the eccentricity problem.

[0135] Optionally, in one implementation, the control device pre-fixes the camera on the target component in a manner including:

[0136] The camera is controlled to be bonded to the sealing foam adhesive in the target component.

[0137] It is understandable that by using sealing foam glue to pre-fix the camera on the target component, the installation of the camera and the target component can be completed without the help of other parts, thereby solving the eccentricity problem between the lens center and the silk screen hole center without causing other eccentricity problems.

[0138] In the solution provided by this embodiment, through the cooperation of the moving device, the optical detection device and the control device, the two-dimensional coordinates of the lens center of the camera and the center of the silk-screen hole on the target component in the target plane direction can be obtained, and based on the direction and distance to be used determined when the coordinates of the two coincide, the camera and / or the target component are controlled to move in the target plane direction at different heights, so that the center of the camera and the lens and the center of the silk-screen hole of the target component can be aligned. After the movement is completed, the camera and the target component are installed to obtain an assembly in which the center of the lens and the center of the silk-screen hole are aligned. In addition, since the component to which the camera is to be installed is installed in the target component, by installing the camera and the target component, on the basis of achieving the alignment of the center of the lens and the center of the silk-screen hole, no other eccentricity problems will be introduced.

[0139] Optionally, in one implementation, the component to be utilized is the camera;

[0140] The control device controls the moving device to carry the component to be utilized to move in the direction of the target plane at a preset height based on the determined direction and distance to be moved, including:

[0141] Based on the determined direction and distance to be moved, the robot arm having the camera sucked thereon is controlled to move in the direction of a target plane at a preset height.

[0142] Through this implementation, the target component can be kept fixed, and the robot can be used to drive the camera to move so that the center of the camera lens is aligned with the center of the silk screen hole on the target component. After the center of the lens and the center of the silk screen hole are aligned, the robot can be used to drive the camera to move to the height plane where the target component is located to install the camera and the target component. In this way, the target component can be kept fixed during the entire alignment and installation process. Only the robot needs to be moved, which is simple to operate and can also reduce the installation error caused by the simultaneous movement of multiple devices.

[0143] In a specific implementation, the present application also provides an electronic device, which includes one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to perform some or all of the steps in the above method embodiments.

[0144] The present application also provides a computer-readable storage medium, including a computer program, which, when executed on an electronic device, enables the electronic device to perform some or all of the steps in the above method embodiment. The above storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0145] In a specific implementation, an embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes some or all of the steps in the above method embodiment.

[0146] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.

[0147] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0148] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0149] In some cases, the disclosed embodiments can be implemented in hardware, firmware, software or any combination thereof. The disclosed embodiments can also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which can be read and executed by one or more processors. For example, instructions can be distributed over a network or through other computer-readable media. Therefore, machine-readable media can include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including but not limited to, floppy disks, optical disks, optical disks, compact disc read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories, random access memories, erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-only memories (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the Internet in electrical, optical, acoustic or other forms of propagation signals. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).

[0150] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings of the specification. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0151] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0152] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0153] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A method for assembling a camera and a silk-screen hole, characterized in that: The method comprises: Obtaining the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate; wherein the target component is installed with the component to which the camera is to be installed; Determine the direction and distance that the component to be used needs to move when the first coordinate and the second coordinate coincide with each other; wherein the component to be used is the camera and / or the target component; Based on the determined direction and distance to be moved, the component to be used is controlled to move in the direction of a target plane at a preset height, so as to install the camera and the target component after the component to be used is moved; wherein the camera and the target component are located at different height planes; The determining the direction and distance that the component to be used is to be moved when the first coordinate and the second coordinate coincide with each other includes: If the component to be used is the camera, taking the second coordinate as a reference, calculating the displacement vector between the second coordinate and the first coordinate to obtain the direction and distance to be moved of the camera; The component to be utilized is the camera; and the method of installing the camera and the target component includes: The camera is controlled to move toward the height plane where the target component is located so as to pre-fix the camera on the target component, and glue is dispensed in the gap between the camera and the predetermined mating surface of the target component so as to fix the camera and the target component; wherein the predetermined mating surface is the surface to which the camera is to be installed.

2. The method according to claim 1, characterized in that: The step of obtaining the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and obtaining the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate, includes: An optical detection device is used to detect the two-dimensional coordinates of the center of the camera lens in the direction of the target plane as the first coordinate, and the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate.

3. The method according to claim 1 or 2, characterized in that: The determining the direction and distance that the component to be used is to be moved when the first coordinate and the second coordinate coincide with each other includes: If the component to be used is the target component, taking the first coordinate as a reference, calculating a displacement vector between the first coordinate and the second coordinate to obtain a direction and distance in which the target component is to be moved; If the components to be used are the camera and the target component, the displacement vector between the preset reference coordinates and the first coordinates is calculated as the direction and distance the camera is to move, and the displacement vector between the preset reference coordinates and the second coordinates is calculated as the direction and distance the target component is to move.

4. The method according to claim 1 or 2, characterized in that: The assembly to which the camera is to be installed includes a middle frame module or a decorative deco module; If the component to which the camera is to be installed is a middle frame module, the target component is a combination of the middle frame module and a display screen, and a silk-screen hole corresponding to the camera is printed on the display screen; If the component to which the camera is to be installed is a decorative deco module, the target component is a combination of the decorative deco module and a lens corresponding to the camera, and the lens is printed with a silk-screen hole corresponding to the camera.

5. The method according to claim 1, characterized in that The method of pre-fixing the camera on the target component includes: The camera is controlled to be bonded to the sealing foam adhesive in the target component.

6. A camera and silk screen hole assembly system, characterized in that: It includes a moving device, an optical detection device and a control device; The moving device is used to move the camera and the target component to the optical inspection area of ​​the optical inspection device; wherein the target component has the component to which the camera is to be installed installed; The optical detection device is used to detect the two-dimensional coordinates of the center of the lens of the camera in the direction of the target plane through the optical detection area as the first coordinate, and detect the two-dimensional coordinates of the center of the silk-screen hole on the target component in the direction of the target plane as the second coordinate; The control device is used to obtain the first coordinate and the second coordinate detected by the optical detection device; determine the direction and distance that the component to be used is to be moved when the first coordinate and the second coordinate coincide with each other; based on the determined direction and distance to be moved, control the moving device to carry the component to be used to move in the direction of the target plane at a preset height, so as to install the camera and the target component after the component to be used is moved; wherein the component to be used is the camera and / or the target component; the camera and the target component are located in different height planes; The control device is specifically used to calculate the displacement vector between the second coordinate and the first coordinate based on the second coordinate to obtain the direction and distance to be moved of the camera if the component to be used is the camera; The component to be used is the camera; the system further includes a glue dispenser, and the control device installs the camera and the target component in a manner including: Control the mobile device to carry the camera to move to the height plane where the target component is located to pre-fix the camera on the target component, and control the glue dispenser to dispense glue in the gap between the camera and the predetermined mating surface of the target component to fix the camera and the target component; wherein the predetermined mating surface is the surface to which the camera is to be installed.

7. The system according to claim 6, characterized in that The method in which the control device pre-fixes the camera on the target component includes: The camera is controlled to be bonded to the sealing foam adhesive in the target component.

8. The system according to claim 6, characterized in that The mobile device includes a manipulator and a clamp; The robot arm is used to absorb the camera and move it to the optical detection area of ​​the optical detection device; The clamp is used to clamp the target component and move it to the optical inspection area of ​​the optical inspection device.

9. The system according to claim 8, characterized in that The component to be utilized is the camera; The control device controls the moving device to carry the component to be utilized to move in the direction of the target plane at a preset height based on the determined direction and distance to be moved, including: Based on the determined direction and distance to be moved, the robot arm having the camera sucked thereon is controlled to move in the direction of a target plane at a preset height.

10. An electronic device, characterized in that: include: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method according to any one of claims 1 to 5.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

12. A computer program product, characterized in that The computer program product comprises executable instructions, and when the executable instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 5.