Server image acquisition control method and device, storage medium and electronic equipment

By deploying a controller and an initial camera device in the camera equipment, it detects the three-dimensional model display pose of the target server and generates shooting information, controls the camera device to adjust to the target pose and parameters, captures and records high-quality server images, and solves the existing problem of The technology solves the problem of low image quality and achieves efficient and high-quality image collection.

CN118540451APending Publication Date: 2024-08-23INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410620614.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, the collection quality of server images is low and the image quality cannot be effectively improved.

Method used

By deploying the controller and the initial camera device in the camera equipment, the three-dimensional model display pose of the target server is detected, and matching shooting information is generated. The camera device is controlled to adjust to the target shooting pose and parameters, and high-quality server images are captured and recorded.

Benefits of technology

It achieves high-quality server image collection, improves image collection efficiency and quality, and solves the problem of low image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540451A
    Figure CN118540451A
Patent Text Reader

Abstract

The invention discloses a server image acquisition control method and device, a storage medium and electronic equipment, and the method comprises the steps: detecting a current display pose of a target three-dimensional model corresponding to a target server, and obtaining a target display pose, the target server being a server of a to-be-acquired server image; generating target shooting information matched with the target display pose; controlling the initial photographing device to reach a target photographing posture indicated by the target photographing information, and adjusting the initial photographing device to a target photographing parameter indicated by the target photographing information to obtain a target photographing device; controlling a target camera device to shoot a target server to obtain a target shot image; and recording the target shot image as the server image of the target server under the target display pose, by adopting the technical scheme, the problem that the image quality of the collected server image is relatively low in the related technology is solved, and the technical effect of improving the image quality of the collected server image is further achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computers, and more specifically, to a method and device for controlling the acquisition of server images, a storage medium, and an electronic device. Background Art

[0002] In the prior art, the development of technical illustrations of servers usually uses computer-aided design (CAD) software for precise drawing, or graphic design software such as Adobe Illustrator, CorelDRAW, etc. for secondary processing. If visual effects are sought, rendering software can also be used to add real materials and lighting effects to the model.

[0003] However, there is still a certain gap between the authenticity of the rendering and the real object, resulting in lower image quality of the collected server images.

[0004] In the related art, the image quality of the collected server images is low, and no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method and device for controlling the acquisition of server images, a storage medium, and an electronic device, so as to at least solve the problem in the related art that the image quality of the acquired server images is low.

[0006] According to an embodiment of the present application, a method for controlling the acquisition of server images is provided. A controller and an initial camera device are deployed in a camera device. The controller is connected to the initial camera device. The method is applied to the controller. The method includes:

[0007] Detecting a current display posture of a target three-dimensional model corresponding to a target server to obtain a target display posture, wherein the target server is a server whose server image is to be collected;

[0008] Generate target shooting information matching the target display posture, wherein the target shooting information is used to indicate the target shooting posture and target shooting parameters that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture;

[0009] Controlling the initial camera device to reach the target shooting posture indicated by the target shooting information, and adjusting to the target shooting parameters indicated by the target shooting information, to obtain a target camera device;

[0010] Controlling the target camera device to shoot the target server to obtain a target shot image;

[0011] The target shot image is recorded as a server image of the target server in the target display posture.

[0012] Optionally, the controlling the initial camera device to achieve the target shooting posture indicated by the target shooting information includes:

[0013] Controlling the initial camera to reach the target shooting position indicated by the target shooting information, wherein the target shooting posture includes the target shooting position, and the target shooting position is the shooting position that the initial camera needs to reach in order to allow the target server to capture the image in the target display posture, and the target shooting posture includes the target shooting position;

[0014] Control the initial camera device to reach the target shooting angle indicated by the target shooting information, wherein the target shooting posture includes the target shooting angle, and the target shooting angle is the shooting angle that the initial camera device needs to reach to allow the image of the target server in the target display posture to be captured, and the target shooting posture includes the target shooting angle.

[0015] Optionally, the controlling the initial camera device to reach a target shooting position indicated by the target shooting information includes:

[0016] Extracting target position information from the target shooting information, wherein the target position information is used to indicate the shooting position that the initial camera device needs to reach in order to allow the target server to shoot an image in the target display posture;

[0017] Detecting the current shooting position of the initial camera device in the camera device to obtain an initial shooting position;

[0018] generating a position adjustment trajectory according to the initial shooting position and the target shooting position indicated by the target position information, wherein the position adjustment trajectory is a movement trajectory allowing the initial camera device to be adjusted from the initial shooting position to the target shooting position;

[0019] Controlling the initial camera device to move according to the position adjustment trajectory;

[0020] The controlling the initial camera device to reach the target shooting angle indicated by the target shooting information includes:

[0021] Extracting target angle information from the target shooting information, wherein the target angle information is used to indicate the shooting angle that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture;

[0022] After the initial camera device moves to the target shooting position according to the position adjustment trajectory, detecting a shooting angle of the target server currently shot by the initial camera device to obtain an initial shooting angle;

[0023] generating a target angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory is a rotation trajectory that allows the initial camera device to be adjusted from the initial shooting angle to the target shooting angle;

[0024] The initial camera device is controlled to rotate according to the position adjustment trajectory.

[0025] Optionally, generating a target angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information includes:

[0026] Generate a first angle adjustment trajectory and / or a second angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory includes the first angle adjustment trajectory and the second angle adjustment trajectory, the first angle adjustment trajectory is used to rotate the inclination angle of the camera in the initial camera device, the camera is a device with a shooting function in the initial camera device, and the second angle adjustment trajectory is used to rotate the inclination angle of the target server;

[0027] The controlling the initial camera device to rotate according to the position adjustment trajectory includes:

[0028] Controlling the camera in the initial camera device to rotate according to the first angle adjustment trajectory;

[0029] A target fixing platform in the initial camera device is controlled to rotate according to the second angle adjustment trajectory, wherein the target server is fixed on the target fixing platform.

[0030] Optionally, the adjusting to the target shooting parameters indicated by the target shooting information to obtain the target camera device includes:

[0031] Detecting initial color parameters and initial light parameters corresponding to the initial display image of the target server currently displayed on the initial camera device;

[0032] A color parameter adjustment operation is generated according to the initial color parameters and the target color parameters indicated by the target shooting information, and a light parameter adjustment operation is generated according to the initial light parameters and the target light parameters indicated by the target shooting information, wherein the color parameter adjustment operation is used to adjust the color parameters of the initial camera device from the initial color parameters to the target color parameters, and the light parameter adjustment operation is used to adjust the light parameters of the initial camera device from the initial color parameters to the target light parameters.

[0033] Optionally, the controller is connected to a target display device, the target display device is equipped with the target three-dimensional model, the target display device allows the display posture of the target three-dimensional model to be adjusted, and the current display posture of the target three-dimensional model corresponding to the target server is detected to obtain the target display posture, including:

[0034] Receiving target posture information sent by the target display device, wherein the target posture information is used to indicate the current display posture of the target three-dimensional model on the target display device;

[0035] The display posture indicated by the target posture information is determined as the target display posture.

[0036] Optionally, before detecting the current display posture of the target three-dimensional model corresponding to the target server, the method further includes:

[0037] Detect the control instructions currently received;

[0038] In a case where a target control instruction for instructing to photograph a target component of the target server is detected, the target server is controlled to be disassembled until the target component is allowed to be photographed externally, wherein the target component is a component deployed in the target server.

[0039] According to another embodiment of the embodiment of the present application, a server image acquisition control device is further provided. A controller and an initial camera device are deployed in the camera device. The controller is connected to the initial camera device. The server image acquisition control device is applied to the controller. The server image acquisition control device includes:

[0040] A first detection module is used to detect the current display posture of the target three-dimensional model corresponding to the target server to obtain the target display posture, wherein the target server is a server whose server image is to be collected;

[0041] A generating module, configured to generate target shooting information matching the target display posture, wherein the target shooting information is used to indicate the target shooting posture and target shooting parameters that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture;

[0042] A first control module, used to control the initial camera device to reach the target shooting posture indicated by the target shooting information, and adjust to the target shooting parameters indicated by the target shooting information, to obtain a target camera device;

[0043] A second control module is used to control the target camera device to shoot the target server to obtain a target shot image;

[0044] A recording module, used for recording the target shot image as a server image of the target server in the target display posture;

[0045] According to another embodiment of the present application, a computer program product is provided, including a computer program, wherein the computer program is executed by a processor to perform the steps in any of the above method embodiments.

[0046] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0047] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0048] The present application proposes a method for controlling the acquisition of server images. A controller and an initial camera device are deployed in a camera device. The controller is connected to the initial camera device. The method is applied to the controller, and the method includes: obtaining a target display posture by detecting the current display posture of a target three-dimensional model corresponding to a target server whose server image is to be acquired, and generating target shooting information matching the target display posture, wherein the target shooting information can indicate a target shooting posture and target shooting parameters that the initial camera device needs to achieve in order to allow the target server to be captured in the target display posture; then the initial camera device is controlled to reach the target shooting posture indicated by the target shooting information, and adjusted to the target shooting parameters indicated by the target shooting information, to obtain a target camera device; finally, the target camera device is controlled to capture the target server to obtain a target captured image; and the target captured image is recorded as a server image of the target server in the target display posture. The server image acquired in the above manner is an image captured in a real scene, and its quality is higher than that of the rendering in the related art. Moreover, the acquisition process of the above-mentioned server image can be realized automatically. During the acquisition process, the shooting mode is adjusted according to the target shooting posture and target shooting parameters, thereby further improving the image quality of the server image. The above-mentioned technical scheme is adopted to solve the problem of low image quality of the acquired server image in the related technology, thereby achieving the technical effect of improving the image quality of the acquired server image. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a hardware structure block diagram of a computer device of a server image acquisition control method according to an embodiment of the present application;

[0050] Figure 2 It is a schematic diagram of a server technology illustration drawn by CAD in the related art;

[0051] Figure 3 is a flow chart of a method for collecting and controlling server images according to an embodiment of the present application;

[0052] Figure 4 is a schematic diagram of a target three-dimensional model according to an embodiment of the present application;

[0053] Figure 5 is a schematic diagram of a server image acquisition control principle according to an embodiment of the present application;

[0054] Figure 6 It is a schematic diagram of a WEB 3D development process, an intelligent processing center development process and a graphics modular library development process according to an embodiment of the present application;

[0055] Figure 7 It is a schematic diagram of an operation flow of a WEB 3D, an intelligent processing center and a graphics modular library according to an embodiment of the present application;

[0056] Figure 8 is a schematic diagram of a server image acquisition control hardware architecture according to an embodiment of the present application;

[0057] Fig. 9 is a schematic diagram of an interactive adaptive platform according to an embodiment of the present application;

[0058] Fig.10 is a structural block diagram of a server image acquisition control device according to an embodiment of the present application;

[0059] Fig.11 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0060] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0061] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0062] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a computer device of a server image acquisition control method according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0063] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the acquisition control method of the server image in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0064] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0065] The present application proposes a method for controlling the acquisition of server images. Before describing the optional embodiments of the present application, in order to better understand the inventive concept of the present application and the creativity of the present solution, the related technologies are first described:

[0066] In the prior art, the development of technical illustrations usually uses computer-aided design (CAD) software to draw accurately. Figure 2 It is a schematic diagram of a server technology illustration drawn by CAD in the related technology, such as Figure 2As shown, after accurate drawing using computer-aided design (CAD) software, Adobe Illustrator graphic design software is used for secondary processing, such as annotation, typesetting and other operations. If you pursue visual effects, you can also use rendering software to add real materials and lighting effects to the model. Another solution is to use a camera and lens suitable for shooting technical illustrations, such as a high-resolution SLR camera or a mirrorless camera, and a lens with an appropriate focal length and aperture, to shoot technical illustrations from different angles to show their shape, structure and function. Try different angles such as overhead, overhead, and side shots to obtain more attractive visual effects. Both methods have certain limitations: For example, the computer-aided design method: the authenticity of the rendering is still a certain distance compared to the real object, and the photo-level rendering effect often requires a lot of time and effort to adjust the relevant parameters, so it does not have a very high economic benefit. The method of taking photos of real objects: in order to show the different design purposes of technical illustrations, it is necessary to take photos from different angles and directions, which may require more time and effort to adjust, and ultimately the manual consistency will be inaccurate due to slight differences in perspective.

[0067] Based on the above problems existing in the related art, the present application proposes a server image acquisition control method, which can not only improve the acquisition efficiency of the server image, but also improve the acquisition quality of the server image.

[0068] In this embodiment, a method for collecting and controlling server images is provided. Figure 3 is a flow chart of a method for collecting and controlling server images according to an embodiment of the present application, such as Figure 3 As shown, a controller and an initial camera device are deployed in the camera device, the controller is connected to the initial camera device, the method is applied to the controller, and the process includes the following steps:

[0069] Step S11, detecting the current display posture of the target three-dimensional model corresponding to the target server to obtain the target display posture, wherein the target server is the server whose server image is to be collected;

[0070] Step S12, generating target shooting information matching the target display posture, wherein the target shooting information is used to indicate the target shooting posture and target shooting parameters that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture;

[0071] Step S13, controlling the initial camera device to reach the target shooting posture indicated by the target shooting information, and adjusting to the target shooting parameters indicated by the target shooting information, to obtain a target camera device;

[0072] Step S14, controlling the target camera device to shoot the target server to obtain a target shot image;

[0073] Step S15: Record the target shot image as a server image of the target server in the target display posture.

[0074] Optionally, in this embodiment, the target shooting posture may be, but not limited to, the position and viewing angle (angle) shot by the initial camera. The target shooting parameters may be, but not limited to, the color parameters and light parameters shot by the initial camera.

[0075] Optionally, in this embodiment, the target three-dimensional model may be presented on a WEB 3D interface, but is not limited to it. Figure 4 is a schematic diagram of a target three-dimensional model according to an embodiment of the present application, such as Figure 4 As shown, the main body of the WEB 3D interface is the 3D model of the target server. The default viewing angle when entering the program is as shown in the figure. This viewing angle corresponds exactly to the product appearance diagram in the manual. 01, 02, 03, 04 and 05 on the left represent the viewing angles for displaying the disassembly and assembly of different components (more viewing angles can be preset as needed). By dragging the 3D view at the bottom, the 3D model (target three-dimensional model) can be rotated and dragged at will, and the 3D model can be interacted with in real time. At the same time, the data generated by the interaction will be transmitted to the intelligent image capture device through the interface protocol in real time. The intelligent image capture device will adjust the server shooting posture in real time according to the three-dimensional model camera data in the WEB 3D interface, capture the still frame image through the CMOS sensor, and automatically transmit it to the manual graphic modular database, which can be directly called by the manual. Figure 5 is a schematic diagram of a server image acquisition control principle according to an embodiment of the present application, such as Figure 5As shown in the figure, it is divided into three areas: WEB 3D part, intelligent processing center part and graphic modular library part. WEB 3D part: You can use professional 3D modeling software to create object models, export the models in a specific format for use on the Web, and integrate 3D content into web pages. Taking three.js as an example, the popular JavaScript 3D library is used to realize the interaction between users and 3D scenes, such as rotation, scaling, setting perspective, etc. Intelligent processing center part: an automated integration platform, which can compile the interactive instructions issued by the WEB 3D end into machine language through the interface / protocol through hardware facilities such as image sensors, position sensors, angle sensors, color sensors, and ambient light sensors, generate control instructions, and match them with the WEB 3D end images. The intelligent processing center is responsible for executing the control instructions converted from the interactive instructions, controlling the hardware equipment to adjust the posture, interacting with the WEB 3D end images in real time, and commanding the shooting equipment to capture images. After the image capture is completed, it is uploaded to the graphic modular library. Graphics modular library: The graphics in the graphics modular library are stored in a separate database according to the naming principle of the 3D model. When writing documents, modular graphics can be called through word external plug-ins, so as to achieve coherent operations from virtual 3D control to real-life shooting and then to archiving modular libraries. The development time of technical illustrations is greatly reduced. With the support of precision control, the perspective placement and disassembly and assembly of parts are more accurate and convenient, and large-scale production of technical illustrations with a unified perspective can be achieved, which is of great significance to the improvement of document quality.

[0076] The three areas mentioned above are: WEB 3D part, intelligent processing center part and graphic modular library part. The corresponding development processes are WEB 3D development process, intelligent processing center development process and graphic modular library development process. The following focuses on the WEB 3D development process and the intelligent processing center development process:

[0077] Figure 6 is a schematic diagram of a WEB 3D development process, an intelligent processing center development process and a graphics modular library development process according to an embodiment of the present application, such as Figure 6As shown, WEB 3D involves the following development process: using computer-aided design to create a three-dimensional model, converting the three-dimensional model by reducing the surface, performing material / texture processing, further selecting a development framework such as three.js, and then building a development environment, writing code, testing / debugging, optimizing performance, integrating other functions, and finally deploying it online. The intelligent processing center involves the following development process: conceptual design, hardware structure design, circuit design, hardware selection, software design (software development and debugging), setting interfaces / protocols, testing and evaluation, improvement and optimization, and final productization. At the same time, the communication between the interface / protocol of the intelligent processing center and the model deployed online in WEB 3D is constructed. In addition, the communication between the interface / protocol of the intelligent processing center and the graphics modular library is constructed, and the collected server images are uploaded to the graphics modular library for writing and calling.

[0078] Based on the WEB 3D part, intelligent processing center part and graphics modular library part mentioned above, the operation flow of each part is introduced as follows: Figure 7 is a schematic diagram of an operation flow of a WEB 3D, intelligent processing center and graphics modular library according to an embodiment of the present application, such as Figure 7 As shown, the user can set the WEB 3D drawing model perspective / disassembly and assembly action by inputting perspective, component assembly and disassembly instructions, or adjusting custom parameters. At the same time, the intelligent processing center will activate related equipment to drive the real-time interaction between the physical model and the WEB 3D model until the appropriate perspective for the drawing task is reached. The image capture instruction starts, and after the image capture is completed, it is automatically uploaded to the graphic modular library for archiving. When there is a writing task requirement, the corresponding program is triggered and directly referenced in the document.

[0079] As an optional solution, controlling the initial camera device to reach the target shooting posture indicated by the target shooting information further includes:

[0080] S21, controlling the initial camera to reach the target shooting position indicated by the target shooting information, wherein the target shooting posture includes the target shooting position, and the target shooting position is the shooting position that the initial camera needs to reach in order to allow the target server to capture the image in the target display posture, and the target shooting posture includes the target shooting position;

[0081] S22, controlling the initial camera device to reach the target shooting angle indicated by the target shooting information, wherein the target shooting posture includes the target shooting angle, and the target shooting angle is the shooting angle that the initial camera device needs to reach to allow the image of the target server in the target display posture to be captured, and the target shooting posture includes the target shooting angle.

[0082] Optionally, in this embodiment, Figure 8 is a schematic diagram of a server image acquisition control hardware architecture according to an embodiment of the present application, such as Figure 8 As shown, the server image acquisition control hardware architecture includes: WEB 3D (1), an intelligent processing center (2) and a graphics modular library (8), wherein the intelligent processing center (2) can control the initial camera device, and the initial camera device includes: an interactive adjustment platform (3), a target server (4), an image collector (5), an image acquisition track (6) and a background / curtain (7). The operation command is issued at the WEB 3D end (1) and reaches the intelligent processing center (2) through the port / protocol. The intelligent processing center (2) converts the interactive operation into a machine command to control the interactive adjustment platform (3) to adjust the posture. At the same time, the image acquisition device (5) follows the image acquisition trajectory (6) and accurately matches the display angle of the WEB 3D end with the help of the position sensor and the angle sensor. The image displayed by the image acquisition device and the image displayed by the WEB 3D are calculated in the intelligent processing center. The calculation formula of the mean square error value is: MSE = ∑I1(x, y)-I2(x, y) / N, where there are N pixels between the image displayed by the image acquisition device and the image displayed by the WEB 3D, and I1(x, y) and I2(x, y) respectively represent the pixel values ​​of the two images at the same coordinate (x, y). The MSE can be calculated to determine whether the initial camera device has reached the target shooting position and the target shooting angle. When the MSE value is less than 15, it is difficult for the human eye to detect the obvious difference between the image displayed by the image collector and the image displayed by the WEB 3D. At this time, it can be determined that the initial camera device has reached the target shooting position and the target shooting angle. In order to achieve better color performance and pleasing color saturation, the intelligent processing center will adjust the light according to the environmental sensor and color sensor, and adjust the background / curtain (7) to adapt to the above-mentioned photo effect. When everything meets the requirements, the intelligent processing center will upload the final image to the graphics modular library according to the WEB 3D naming rules and store it in categories, waiting for writing calls.

[0083] As an optional solution, controlling the initial camera device to reach the target shooting position indicated by the target shooting information further includes:

[0084] S31, extracting target position information from the target shooting information, wherein the target position information is used to indicate the shooting position that the initial camera device needs to reach in order to allow the target server to shoot an image in the target display posture;

[0085] S32, detecting the current shooting position of the initial camera device in the camera device to obtain an initial shooting position;

[0086] S33, generating a position adjustment trajectory according to the initial shooting position and the target shooting position indicated by the target position information, wherein the position adjustment trajectory is a movement trajectory that allows the initial camera device to be adjusted from the initial shooting position to the target shooting position;

[0087] S34, controlling the initial camera device to move according to the position adjustment trajectory;

[0088] The controlling the initial camera device to reach the target shooting angle indicated by the target shooting information includes:

[0089] S35, extracting target angle information from the target shooting information, wherein the target angle information is used to indicate the shooting angle that the initial camera device needs to achieve in order to capture the image of the target server in the target display posture;

[0090] S36, after the initial camera device moves to the target shooting position according to the position adjustment trajectory, detecting a shooting angle of the target server currently shot by the initial camera device to obtain an initial shooting angle;

[0091] S37, generating a target angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory is a rotation trajectory that allows the initial camera device to be adjusted from the initial shooting angle to the target shooting angle;

[0092] S38, controlling the initial camera device to rotate according to the position adjustment trajectory.

[0093] Optionally, in this embodiment, S31-S34 are methods for adjusting the target shooting position. Figure 8 As shown, the current shooting position of the initial camera device in the camera device is detected, that is, the current shooting position of the image collector in the initial camera device in the camera device is detected. The image collector is controlled to move on the image acquisition track (6) and the vertical track to achieve horizontal and vertical movement to reach the target shooting position.

[0094] Optionally, in this embodiment, S35-S38 are methods for adjusting the target shooting angle. Figure 8 As shown, the target shooting angle is the angle at which the image collector in the initial camera device shoots the target server.

[0095] Optionally, in this embodiment, S31-S38 is a method of adjusting the shooting position first and then adjusting the shooting angle. In addition, another implementation method may be, but is not limited to, adjusting the shooting angle first and then adjusting the shooting position. In this case, it is necessary to ensure that the shooting angle will not change after adjustment, and the planning of the position adjustment trajectory movement during the movement process will not cause collisions between instruments. In this way, the initial camera device can reach the target shooting position and target shooting angle, and then capture an image consistent with the target display posture. The technical effect of improving the image quality of the collected server image is achieved.

[0096] As an optional solution, generating a target angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information further includes:

[0097] S41, generating a first angle adjustment trajectory and / or a second angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory includes the first angle adjustment trajectory and the second angle adjustment trajectory, the first angle adjustment trajectory is used to rotate the inclination angle of the camera in the initial camera device, the camera is a device with a shooting function in the initial camera device, and the second angle adjustment trajectory is used to rotate the inclination angle of the target server;

[0098] S42, controlling the initial camera device to rotate according to the position adjustment trajectory, comprises:

[0099] S43, controlling the camera in the initial camera device to rotate according to the first angle adjustment trajectory;

[0100] S44, controlling a target fixing platform in the initial camera device to rotate according to the second angle adjustment trajectory, wherein the target server is fixed on the target fixing platform.

[0101] Optionally, in this embodiment, the camera in the initial camera device is equivalent to the image collector (5). The target fixing platform is equivalent to the interactive adjustment platform (3). The adjustment of the target shooting angle can be obtained by adjusting the shooting angle of the camera and the target fixing platform, but is not limited to it.

[0102] Optionally, in this embodiment, the target fixed platform may be, but is not limited to, an interactive adaptive platform (interactive adjustment platform (3)). Fig. 9 is a schematic diagram of an interactive adaptive platform according to an embodiment of the present application, such as Fig. 9As shown, the interactive adaptive platform is mainly composed of five parts: a base (6), a support rod (5), an angle sensor (1), a tray (2), and a servo motor (4). The overall structure is a triangular support structure. The support arms at the three corners can be flexibly adjusted within the three-dimensional coordinates, thereby driving the tray (2) to change various postures, thereby changing the server adsorbed on the tray (2) to change different viewing angles. The tray mainly serves to fix the server and has the properties of an electromagnet. It is adsorbed when powered on and the magnetism disappears when powered off, making it convenient to replace different servers. After receiving the control command from the WEB 3D terminal, the intelligent processing center first grabs the initial data of the angle sensor (1) for calculation and analysis, and then issues a machine control command to coordinate the servo motors (4) in three directions. Through a fixed algorithm, the horizontal plane of the pallet produces the same inclination angle as the three-dimensional model in the WEB 3D window. At the same time, the image capture collector starts to slide on the fixed track until it reaches the same position as the camera in the WEB 3D three-dimensional model space, and then stops and starts to automatically adjust the pitch angle, aperture, focal length and other pre-shooting preparations. At the same time, the environmental sensor transmits data to the intelligent processing center to drive the light to adjust the brightness. Similarly, the data of the color sensor will drive the adjustment of the brightness and color depth of the background / curtain. After achieving the best shooting effect, image acquisition is performed, the image mean square error value is calculated, and the graphics modular library is uploaded for archiving.

[0103] As an optional solution, adjusting to the target shooting parameter indicated by the target shooting information to obtain the target camera device further includes:

[0104] S51, detecting initial color parameters and initial light parameters corresponding to the initial display image of the target server currently displayed on the initial camera device;

[0105] S52, generating a color parameter adjustment operation based on the initial color parameters and the target color parameters indicated by the target shooting information, and generating a light parameter adjustment operation based on the initial light parameters and the target light parameters indicated by the target shooting information, wherein the color parameter adjustment operation is used to adjust the color parameters of the initial camera device from the initial color parameters to the target color parameters, and the light parameter adjustment operation is used to adjust the light parameters of the initial camera device from the initial color parameters to the target light parameters.

[0106] Optionally, in this embodiment, the color parameter adjustment operation generated according to the initial color parameter and the target color parameter indicated by the target shooting information may be, but is not limited to, self-adjustment by the camera. The light parameter adjustment operation generated according to the initial light parameter and the target light parameter indicated by the target shooting information may be, but is not limited to, achieved by adjusting the position of the fill light and the curtain.

[0107] As an optional solution, the controller is connected to a target display device, the target display device is equipped with the target three-dimensional model, the target display device allows the display posture of the target three-dimensional model to be adjusted, and the current display posture of the target three-dimensional model corresponding to the target server is detected to obtain the target display posture, and further includes:

[0108] S61, receiving target posture information sent by the target display device, wherein the target posture information is used to indicate the current display posture of the target three-dimensional model on the target display device;

[0109] S62: Determine the display posture indicated by the target posture information as the target display posture.

[0110] Optionally, in this embodiment, the target display device may be, but is not limited to, a terminal on which WEB 3D is deployed. Figure 4 As shown, the main body of the WEB 3D interface is a 3D model of the target server, and the target display device allows the display posture of the target three-dimensional model to be adjusted. The display posture of the target three-dimensional model can be adjusted by selecting 01, 02, 03, 04 and 05 on the left (representing the viewing angles for displaying the disassembly and assembly of different components). The 3D model (target three-dimensional model) can also be rotated and dragged by dragging the 3D view at the lower end to adjust the display posture of the target three-dimensional model. The display posture coordinate parameters can also be input to adjust the display posture of the target three-dimensional model.

[0111] As an optional solution, before detecting the current display posture of the target three-dimensional model corresponding to the target server, the method further includes:

[0112] S71, detecting the currently received control instruction;

[0113] S72, when a target control instruction for instructing to photograph a target component of the target server is detected, controlling the target server to be disassembled until the target component allows external photographing, wherein the target component is a component deployed in the target server.

[0114] Optionally, in this embodiment, the target control instruction may be, but is not limited to, the above-mentioned component disassembly and assembly instruction, which is used to indicate the viewing angles at which the disassembly and assembly of different components need to be displayed.

[0115] It is worth noting that the acquisition and control method of server images proposed in this application discloses a method and device for developing technical illustrations based on WEB3D interactive technology and intelligent image acquisition equipment in real time linkage and automatic archiving and classification. It mainly realizes the interaction between virtual and real scene linkage technology through certain logical relationships, batch develops technical illustrations, and classifies and archives them for writing and calling. It has a high degree of intelligence, integrating the accuracy of computer-aided development and the real texture performance of real-life photography. It not only solves the long development cycle of rendering technical illustrations, but also solves the problems of inaccurate angles and difficult post-processing in real-life photography. At the same time, it improves the user experience, brings users a more real and vivid visual experience, enables users to interact with illustrations, and improves participation.

[0116] This application adopts the intelligent interactive image acquisition concept, which is what you see is what you get, greatly improving the efficiency of image generation. The image mean square error value calculation method is adopted to effectively ensure the quality of technical illustration development. The method of automatic archiving of technical illustrations is adopted, and unified BOM classification is carried out according to the 3D model name. After uploading to the database, it is automatically divided into modules for classification, and can be directly called when writing, which greatly improves the usability and consistency of the drawings.

[0117] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0118] In this embodiment, a server image acquisition control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0119] Fig.10 is a structural block diagram of a server image acquisition control device according to an embodiment of the present application; Fig.10 As shown, a controller and an initial camera device are deployed in the camera device, the controller is connected to the initial camera device, and a server image acquisition control device is applied to the controller, and the server image acquisition control device includes:

[0120] The first detection module 1002 is used to detect the current display posture of the target three-dimensional model corresponding to the target server to obtain the target display posture, wherein the target server is the server whose server image is to be collected;

[0121] A generating module 1004 is used to generate target shooting information matching the target display posture, wherein the target shooting information is used to indicate the target shooting posture and target shooting parameters that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture;

[0122] A first control module 1006 is used to control the initial camera device to reach the target shooting posture indicated by the target shooting information, and adjust to the target shooting parameters indicated by the target shooting information, so as to obtain a target camera device;

[0123] The second control module 1008 is used to control the target camera device to shoot the target server to obtain a target shot image;

[0124] The recording module 1010 is used to record the target shot image as a server image of the target server in the target display posture.

[0125] In an exemplary embodiment, the first control module includes:

[0126] A first control unit is used to control the initial camera to reach the target shooting position indicated by the target shooting information, wherein the target shooting posture includes the target shooting position, and the target shooting position is the shooting position that the initial camera needs to reach in order to allow the target server to capture the image in the target display posture, and the target shooting posture includes the target shooting position;

[0127] A second control unit is used to control the initial camera device to reach the target shooting angle indicated by the target shooting information, wherein the target shooting posture includes the target shooting angle, and the target shooting angle is the shooting angle that the initial camera device needs to reach to allow the image of the target server in the target display posture to be captured, and the target shooting posture includes the target shooting angle.

[0128] In an exemplary embodiment, the first control unit is further configured to:

[0129] Extracting target position information from the target shooting information, wherein the target position information is used to indicate the shooting position that the initial camera device needs to reach in order to allow the target server to shoot an image in the target display posture;

[0130] Detecting the current shooting position of the initial camera device in the camera device to obtain an initial shooting position;

[0131] generating a position adjustment trajectory according to the initial shooting position and the target shooting position indicated by the target position information, wherein the position adjustment trajectory is a movement trajectory allowing the initial camera device to be adjusted from the initial shooting position to the target shooting position;

[0132] Controlling the initial camera device to move according to the position adjustment trajectory;

[0133] The second control unit is further configured to:

[0134] Extracting target angle information from the target shooting information, wherein the target angle information is used to indicate the shooting angle that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture;

[0135] After the initial camera device moves to the target shooting position according to the position adjustment trajectory, detecting a shooting angle of the target server currently shot by the initial camera device to obtain an initial shooting angle;

[0136] generating a target angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory is a rotation trajectory that allows the initial camera device to be adjusted from the initial shooting angle to the target shooting angle;

[0137] The initial camera device is controlled to rotate according to the position adjustment trajectory.

[0138] In an exemplary embodiment, the second control unit is further configured to:

[0139] Generate a first angle adjustment trajectory and / or a second angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory includes the first angle adjustment trajectory and the second angle adjustment trajectory, the first angle adjustment trajectory is used to rotate the inclination angle of the camera in the initial camera device, the camera is a device with a shooting function in the initial camera device, and the second angle adjustment trajectory is used to rotate the inclination angle of the target server;

[0140] The controlling the initial camera device to rotate according to the position adjustment trajectory includes:

[0141] Controlling the camera in the initial camera device to rotate according to the first angle adjustment trajectory;

[0142] A target fixing platform in the initial camera device is controlled to rotate according to the second angle adjustment trajectory, wherein the target server is fixed on the target fixing platform.

[0143] In an exemplary embodiment, the first control module includes:

[0144] A detection unit, configured to detect initial color parameters and initial light parameters corresponding to an initial display image of the target server currently displayed on the initial camera device;

[0145] A generating unit, used to generate a color parameter adjustment operation according to the initial color parameters and the target color parameters indicated by the target shooting information, and to generate a light parameter adjustment operation according to the initial light parameters and the target light parameters indicated by the target shooting information, wherein the color parameter adjustment operation is used to adjust the color parameters of the initial camera device from the initial color parameters to the target color parameters, and the light parameter adjustment operation is used to adjust the light parameters of the initial camera device from the initial color parameters to the target light parameters.

[0146] In an exemplary embodiment, the controller is connected to a target display device, the target display device is mounted with the target three-dimensional model, the target display device allows the display posture of the target three-dimensional model to be adjusted, and the first detection module includes:

[0147] A receiving unit, configured to receive target position information sent by the target display device, wherein the target position information is used to indicate a current display position of the target three-dimensional model on the target display device;

[0148] A determination unit is used to determine the display posture indicated by the target posture information as the target display posture.

[0149] In an exemplary embodiment, the apparatus further comprises:

[0150] A second detection module is used to detect the currently received control instruction before detecting the current display posture of the target three-dimensional model corresponding to the target server;

[0151] The third control module is used to control the target server to be disassembled until the target component allows external photography when a target control instruction for instructing to photograph the target component of the target server is detected, wherein the target component is a component deployed in the target server.

[0152] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0153] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in each embodiment of the present application; the computer program product also includes a non-volatile computer-readable storage medium, which stores the computer program, and when executed by a processor, implements the steps of the method described in each embodiment of the present application.

[0154] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0155] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0156] An embodiment of the present application further provides an electronic device, Fig.11 is a schematic diagram of an electronic device according to an embodiment of the present application, such as Fig.11 As shown, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0157] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0158] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0159] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0160] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for collecting and controlling server images, characterized in that: A controller and an initial camera device are deployed in the camera device, the controller is connected to the initial camera device, and the method is applied to the controller. The method comprises: Detecting a current display posture of a target three-dimensional model corresponding to a target server to obtain a target display posture, wherein the target server is a server whose server image is to be collected; Generate target shooting information matching the target display posture, wherein the target shooting information is used to indicate the target shooting posture and target shooting parameters that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture; Controlling the initial camera device to reach the target shooting posture indicated by the target shooting information, and adjusting to the target shooting parameters indicated by the target shooting information, to obtain a target camera device; Controlling the target camera device to shoot the target server to obtain a target shot image; The target shot image is recorded as a server image of the target server in the target display posture.

2. The method according to claim 1, characterized in that The controlling the initial camera device to achieve the target shooting posture indicated by the target shooting information includes: Controlling the initial camera to reach the target shooting position indicated by the target shooting information, wherein the target shooting posture includes the target shooting position, and the target shooting position is the shooting position that the initial camera needs to reach in order to allow the target server to capture the image in the target display posture, and the target shooting posture includes the target shooting position; Control the initial camera device to reach the target shooting angle indicated by the target shooting information, wherein the target shooting posture includes the target shooting angle, and the target shooting angle is the shooting angle that the initial camera device needs to reach to allow the image of the target server in the target display posture to be captured, and the target shooting posture includes the target shooting angle.

3. The method according to claim 2, characterized in that The controlling the initial camera device to reach the target shooting position indicated by the target shooting information includes: Extracting target position information from the target shooting information, wherein the target position information is used to indicate the shooting position that the initial camera device needs to reach in order to allow the target server to shoot an image in the target display posture; Detecting the current shooting position of the initial camera device in the camera device to obtain an initial shooting position; generating a position adjustment trajectory according to the initial shooting position and the target shooting position indicated by the target position information, wherein the position adjustment trajectory is a movement trajectory allowing the initial camera device to be adjusted from the initial shooting position to the target shooting position; Controlling the initial camera device to move according to the position adjustment trajectory; The controlling the initial camera device to reach the target shooting angle indicated by the target shooting information includes: Extracting target angle information from the target shooting information, wherein the target angle information is used to indicate the shooting angle that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture; After the initial camera device moves to the target shooting position according to the position adjustment trajectory, detecting a shooting angle of the target server currently shot by the initial camera device to obtain an initial shooting angle; generating a target angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory is a rotation trajectory that allows the initial camera device to be adjusted from the initial shooting angle to the target shooting angle; The initial camera device is controlled to rotate according to the position adjustment trajectory.

4. The method according to claim 3, characterized in that The step of generating a target angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information includes: Generate a first angle adjustment trajectory and / or a second angle adjustment trajectory according to the initial shooting angle and the target shooting angle indicated by the target angle information, wherein the target angle adjustment trajectory includes the first angle adjustment trajectory and the second angle adjustment trajectory, the first angle adjustment trajectory is used to rotate the inclination angle of the camera in the initial camera device, the camera is a device with a shooting function in the initial camera device, and the second angle adjustment trajectory is used to rotate the inclination angle of the target server; The controlling the initial camera device to rotate according to the position adjustment trajectory includes: Controlling the camera in the initial camera device to rotate according to the first angle adjustment trajectory; A target fixing platform in the initial camera device is controlled to rotate according to the second angle adjustment trajectory, wherein the target server is fixed on the target fixing platform.

5. The method according to claim 1, characterized in that: The step of adjusting the target shooting parameters indicated by the target shooting information to obtain a target camera device includes: Detecting initial color parameters and initial light parameters corresponding to the initial display image of the target server currently displayed on the initial camera device; A color parameter adjustment operation is generated according to the initial color parameters and the target color parameters indicated by the target shooting information, and a light parameter adjustment operation is generated according to the initial light parameters and the target light parameters indicated by the target shooting information, wherein the color parameter adjustment operation is used to adjust the color parameters of the initial camera device from the initial color parameters to the target color parameters, and the light parameter adjustment operation is used to adjust the light parameters of the initial camera device from the initial color parameters to the target light parameters.

6. The method according to claim 1, characterized in that The controller is connected to a target display device, the target display device is equipped with the target three-dimensional model, the target display device allows the display posture of the target three-dimensional model to be adjusted, and the current display posture of the target three-dimensional model corresponding to the target server is detected to obtain the target display posture, including: Receiving target posture information sent by the target display device, wherein the target posture information is used to indicate the current display posture of the target three-dimensional model on the target display device; The display posture indicated by the target posture information is determined as the target display posture.

7. The method according to claim 1, characterized in that Before detecting the current display posture of the target three-dimensional model corresponding to the target server, the method further includes: Detect the control instructions currently received; In a case where a target control instruction for instructing to photograph a target component of the target server is detected, the target server is controlled to be disassembled until the target component is allowed to be photographed externally, wherein the target component is a component deployed in the target server.

8. A server image acquisition control device, characterized in that: A controller and an initial camera device are deployed in the camera device, the controller is connected to the initial camera device, and a server image acquisition control device is applied to the controller. The server image acquisition control device comprises: A first detection module is used to detect the current display posture of the target three-dimensional model corresponding to the target server to obtain the target display posture, wherein the target server is a server whose server image is to be collected; A generating module, configured to generate target shooting information matching the target display posture, wherein the target shooting information is used to indicate the target shooting posture and target shooting parameters that the initial camera device needs to achieve in order to allow the target server to be photographed in the target display posture; A first control module, used to control the initial camera device to reach the target shooting posture indicated by the target shooting information, and adjust to the target shooting parameters indicated by the target shooting information, to obtain a target camera device; A second control module is used to control the target camera device to shoot the target server to obtain a target shot image; A recording module is used to record the target shot image as a server image of the target server in the target display posture.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.