A method, apparatus, and medium for generating a display screen

By receiving and processing the primary display screen of the non-gloss camera and generating the mobile display screen according to the mobile instructions, the problem of increasing the display bandwidth of the non-gloss camera is solved, and the effect of expanding the range and saving bandwidth is achieved.

CN114173098BActive Publication Date: 2025-07-29安徽文香科技股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111616350.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2025-07-29
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

How to save the transmission bandwidth required for non-gloss camera display, especially when expanding the range of the monitoring screen, avoiding bandwidth increase.

Method used

By receiving the primary display screen sent by the non-pan-table camera, it is displayed on the terminal display screen after intercepting the process, and when receiving the monitoring screen movement command, it is sent to the non-pan-table camera for analysis and processing, and generates a mobile display screen, and only some of the contents of the monitoring screen are transmitted.

Benefits of technology

While expanding the monitoring display range, it saves the transmission bandwidth required for non-gloss camera display and improves control and display speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114173098B_ABST
    Figure CN114173098B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and medium for generating a display screen, which relates to the field of cameras. The monitoring screen initially displayed on the terminal display screen is a primary display screen obtained by intercepting the monitoring screen captured by a non-pan-tilt camera. When a monitoring screen movement instruction is received, the non-pan-tilt camera analyzes the monitoring screen movement instruction and sends the corresponding moving display screen to the terminal display screen. Since the primary display screen and the moving display sent by the non-pan-tilt camera to the terminal display screen are only a part of the monitoring screen, while expanding the monitoring display range, the transmission bandwidth required for the non-pan-tilt camera to display is also saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of camera display, and particularly to a method, device and medium for generating a display screen. Background Art

[0002] A camera, also known as a computer camera, computer eye, electronic eye, etc., is a video input device that is widely used in video conferencing, telemedicine, real-time monitoring, etc. A pan-tilt unit (PTZ) is a support device for installing and fixing a camera. The PTZ can receive PTZ commands. In security monitoring, PTZ is the abbreviation of Pan / Tilt / Zoom, which represents the omnidirectional (up and down, left and right) movement of the PTZ and the control of lens zooming and focusing. Through the PTZ, the shooting angle of the camera can be adjusted to expand the monitoring display range. However, for a non-PTZ camera based on a network protocol, the shooting scene is fixed. To obtain a larger monitoring screen, only the shooting range of the non-PTZ camera can be expanded. However, since the shooting range of the non-PTZ camera is expanded, the bandwidth required for the file stream transmitted to the terminal for display increases.

[0003] Therefore, how to save the transmission bandwidth required for non-PTZ camera display is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the Invention

[0004] The purpose of the present application is to provide a method, device and medium for generating a display screen for saving the transmission bandwidth required for non-PTZ camera display.

[0005] To solve the above technical problem, the present application provides a method for generating a display screen, which is characterized by including:

[0006] Receiving a primary display screen sent by a non-PTZ camera, wherein the non-PTZ camera obtains the primary display screen after intercepting the captured monitoring screen;

[0007] Displaying the primary display screen on a terminal display screen;

[0008] Receiving a monitoring screen movement instruction;

[0009] Sending the monitoring screen movement instruction to the non-PTZ camera so that the non-PTZ camera can analyze the monitoring screen movement instruction;

[0010] Receiving a moving display screen sent by the non-PTZ camera and displaying the moving screen on the terminal display screen, wherein the non-PTZ camera generates the moving display screen based on the primary display screen according to the monitoring screen movement instruction.

[0011] Preferably, in the method for generating the display screen, if there is one non-pan-tilt camera, the non-pan-tilt camera obtains the primary display screen after intercepting the captured monitoring screen, including:

[0012] Intercept a screen of a preset size from the physical center of the monitoring screen to generate the primary display screen.

[0013] Preferably, in the method for generating the display screen, if there are multiple non-pan-tilt cameras, the non-pan-tilt cameras obtain the primary display screen after intercepting the captured monitoring screen, including:

[0014] Stitch the sub-monitoring screens captured by the multiple non-pan-tilt cameras to obtain the monitoring screen;

[0015] Intercept a screen of a preset size from the physical center of the monitoring screen to generate the primary display screen.

[0016] Preferably, in the method for generating the display screen, the monitoring screen movement instruction includes: a movement instruction and a zoom instruction;

[0017] Correspondingly, the non-pan-tilt camera generates the moving display screen based on the primary display screen according to the monitoring screen movement instruction, including:

[0018] Analyze the movement instruction and the zoom instruction:

[0019] Perform a movement process and a zoom process on the primary display screen to generate the moving display screen.

[0020] Preferably, in the method for generating the display screen, the monitoring screen movement instruction further includes: an operation center instruction;

[0021] Correspondingly, the non-pan-tilt camera generates the moving display screen based on the primary display screen according to the monitoring screen movement instruction, including:

[0022] Analyze the movement instruction, the zoom instruction and the operation center instruction:

[0023] Perform a movement process and a zoom process on the primary display screen with the area represented by the operation center instruction as the center to generate the moving display screen.

[0024] Preferably, in the method for generating the display screen, receiving the primary display screen sent by the non-pan-tilt camera includes:

[0025] Receive the file stream of the real-time slice or the on-demand slice sent by the non-pan-tilt monitoring camera;

[0026] Parse the file stream to obtain the primary display screen.

[0027] Preferably, in the method for generating the display screen, the step of sending the monitoring screen movement instruction to the non-pan-tilt camera includes:

[0028] Send a request to the sending interface of the non-pan-tilt camera;

[0029] Obtain the stream address of the non-pan-tilt camera;

[0030] Send the monitoring screen movement instruction to the non-pan-tilt camera according to the stream address.

[0031] The present application further provides a display screen generation device, including:

[0032] A receiving module, configured to receive the primary display screen sent by the non-pan-tilt camera, where the non-pan-tilt camera obtains the primary display screen after intercepting the captured monitoring screen;

[0033] A display module, configured to display the primary display screen on the terminal display screen;

[0034] A receiving instruction module, configured to receive the monitoring screen movement instruction

[0035] A sending instruction module, configured to send the monitoring screen movement instruction to the non-pan-tilt camera, so that the non-pan-tilt camera can parse the monitoring screen movement instruction;

[0036] An updated display module, configured to receive the moving display screen sent by the non-pan-tilt camera and display the moving screen on the terminal display screen, where the non-pan-tilt camera generates the moving display screen based on the primary display screen according to the monitoring screen movement instruction.

[0037] The present application further provides a display screen generation device, including:

[0038] A memory, configured to store a computer program;

[0039] A processor, configured to implement the steps of the display screen generation method when executing the computer program.

[0040] The present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the display screen generation method are implemented.

[0041] The method for generating a display screen provided in this application receives a primary display screen sent by a non-pan-tilt camera and displays the primary display screen on the terminal display screen. The primary display screen is obtained by intercepting the monitoring screen captured by the non-pan-tilt camera. When a monitoring screen movement instruction is received, the monitoring screen movement instruction is sent to the non-pan-tilt camera. The non-pan-tilt camera analyzes the monitoring screen movement instruction, and the non-pan-tilt camera sends a moving display screen according to the monitoring screen movement instruction, which is displayed on the terminal display screen. Through the method for generating a display screen provided in this embodiment, the monitoring screen initially displayed on the terminal display screen is the primary display screen obtained by intercepting the monitoring screen captured by the non-pan-tilt camera. When a monitoring screen movement instruction is received, the non-pan-tilt camera analyzes the monitoring screen movement instruction and sends the corresponding moving display screen to the terminal display screen. Since the primary display screen and the moving display sent by the non-pan-tilt camera to the terminal display screen are only part of the monitoring screen, while expanding the monitoring display range, it also saves the transmission bandwidth required for the non-pan-tilt camera to display.

[0042] In addition, this application also provides a display screen generation device and a computer-readable storage medium, including the above-mentioned method for generating a display screen, and the effect is the same. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of this application, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings described below are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0044] Figure 1 It is a flowchart of a method for generating a display screen provided in an embodiment of this application;

[0045] Figure 2 It is a flowchart of another method for generating a display screen provided in an embodiment of this application;

[0046] Figure 3 It is a flowchart of another method for generating a display screen provided in an embodiment of this application;

[0047] Figure 4 It is a schematic diagram of an application scenario of a method for generating a display screen provided in an embodiment of this application;

[0048] Figure 5 It is a structural diagram of a display screen generation device provided in an embodiment of this application;

[0049] Figure 6 It is a structural diagram of another display screen generation device provided in an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0050] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0051] The core of the present application is to provide a method for generating a display screen to save the transmission bandwidth required for non-pan-tilt camera display.

[0052] In order to enable those skilled in the art to better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0053] Since the shooting scene of a non-pan-tilt camera based on a network protocol is fixed, if a larger monitoring range is to be obtained, only the shooting range of the non-pan-tilt camera can be expanded. However, if the shooting range of the non-pan-tilt camera is expanded, the transmission bandwidth required for the file stream transmitted to the terminal for display increases. In order to save the transmission bandwidth required for non-pan-tilt camera display, Figure 1 The following is a flowchart of a method for generating a display screen provided for an embodiment of the present application, as Figure 1 shown, including:

[0054] S11: Receive the primary display screen sent by the non-pan-tilt camera, where the non-pan-tilt camera obtains the primary display screen after intercepting the captured monitoring screen;

[0055] S12: Display the primary display screen on the terminal display screen;

[0056] S13: Receive a monitoring screen movement instruction;

[0057] S14: Send the monitoring screen movement instruction to the non-pan-tilt camera so that the non-pan-tilt camera can parse the monitoring screen movement instruction;

[0058] S15: Receive the moving display screen sent by the non-pan-tilt camera and display the moving screen on the terminal display screen, where the non-pan-tilt camera generates the moving display screen based on the monitoring screen movement instruction on the basis of the primary display screen.

[0059] The non-pan-tilt camera mentioned in this embodiment refers to a camera with a fixed shooting angle and no pan-tilt installation. The non-pan-tilt camera cannot move the shooting angle, and the picture taken by the camera displayed on the corresponding terminal is usually fixed. The monitoring picture cannot be moved up, down, left, right, zoomed in or out, etc. This application does not limit the applicable scenarios and types of non-pan-tilt cameras, such as wide-angle cameras, zoom cameras, telephoto cameras, etc. The non-pan-tilt camera realizes data transmission based on the Open Network Video Interface Forum (ONVIF) network video protocol. This embodiment does not limit the specific number of non-pan-tilt cameras. It can be one camera, and the monitoring picture is the picture taken by one camera; it can also be composed of multiple cameras, and the monitoring picture is a composite picture of the pictures taken by multiple cameras. This embodiment does not make specific restrictions.

[0060] The terminal display screen mentioned in this embodiment refers to the display device of the terminal platform for displaying the primary display image sent by the non-pan-tilt camera. This embodiment does not limit the connection method between the non-pan-tilt camera and the terminal platform, and can be designed according to actual conditions.

[0061] In addition, the monitoring screen movement instruction mentioned in this embodiment refers to the one issued by the operator. After the central processor of the terminal platform receives the monitoring screen movement instruction, it sends the monitoring screen movement instruction to the non-pan-tilt camera. The non-pan-tilt camera parses the monitoring screen movement instruction, generates the corresponding mobile display screen, and transmits it to the terminal platform and displays it on the terminal display screen.

[0062] Step S11 mentions that the non-pan-tilt camera will capture the surveillance image and obtain a primary display image after interception and processing. This embodiment does not specifically limit how to intercept and process the surveillance image. It can be designed according to actual needs. For example, the primary display image is intercepted at a preset size based on the center of the surveillance image; the preset size image is intercepted based on the edge of the surveillance image.

[0063] The moving display screen mentioned in step S15 is generated by the non-pan-tilt camera according to the monitoring screen movement instruction. If the monitoring screen movement instruction indicates up and down movement, the moving display screen is generated by the non-pan-tilt camera moving up and down on the basis of the primary display screen. Similarly, if the monitoring screen movement instruction indicates left and right movement, the moving display screen is generated by the non-pan-tilt camera moving left and right on the basis of the primary display screen. If the monitoring screen movement instruction indicates enlarging the screen, the moving display screen is generated by the non-pan-tilt camera enlarging a partial area of the primary display screen on the basis of the primary display screen. Similarly, if the monitoring screen movement instruction indicates reducing the screen, the moving display screen is generated by the non-pan-tilt camera reducing a partial area of the primary display screen on the basis of the primary display screen. It should be noted that the convenience rate of the moving display screen and the primary display screen is the same. For example, the size of the monitoring screen captured by the non-pan-tilt camera is 4096×2160, and the size of the intercepted primary display screen is 1920x1080. If the monitoring screen movement instruction indicates displacement movement (upward movement, downward movement, leftward movement, rightward movement, etc.), the moving display screen is a 1920x1080 screen generated by displacing on the basis of the primary display screen. If the monitoring screen movement instruction indicates enlarging or reducing, the moving display screen is a screen enlarged or reduced to the size of 1920x1080 within a specified range or a preset range on the basis of the primary display screen. Among them, the specified range refers to the specified reduction or enlargement area sent by the terminal platform to the non-pan-tilt camera; the preset range means that if the terminal platform does not specify an area, the non-pan-tilt camera reduces or enlarges the primary display screen according to the preset area.

[0064] Specifically, the terminal platform receives the primary display screen sent by the non-pan-tilt camera and displays the primary display screen on the terminal display screen. Among them, the primary display screen is obtained by intercepting the monitoring screen captured by the non-pan-tilt camera; when receiving the monitoring screen movement instruction, the terminal platform sends the monitoring screen movement instruction to the non-pan-tilt camera, the non-pan-tilt camera parses the monitoring screen movement instruction, and the moving display screen sent by the non-pan-tilt camera according to the monitoring screen movement instruction is displayed on the terminal display screen.

[0065] Through the display screen generation method provided in this embodiment, the monitoring screen initially displayed on the terminal display screen is the primary display screen obtained by the non-pan-tilt camera intercepting the captured monitoring screen. When receiving the monitoring screen movement instruction, the non-pan-tilt camera parses the monitoring screen movement instruction and sends the corresponding moving display screen to the terminal display screen. Since the primary display screen and the moving display sent by the non-pan-tilt camera to the terminal display screen are only part of the monitoring screen, through the method provided in this application, while expanding the monitoring display range, the transmission bandwidth required for the non-pan-tilt camera to display is also saved.

[0066] According to the above embodiments, if there is only one non-pan-tilt camera, the present embodiment provides a preferred solution. The non-pan-tilt camera mentioned in step S11 obtains a primary display screen after intercepting the captured surveillance image, including:

[0067] Intercept a screen of a preset size from the physical center of the surveillance image to generate a primary display screen.

[0068] When there is one non-pan-tilt camera, the non-pan-tilt camera intercepts a screen of a preset size from the physical center of the captured surveillance image to obtain a primary display screen. The present embodiment does not limit the shape of the surveillance image captured by the non-pan-tilt camera. For example, if the surveillance image captured by the non-pan-tilt camera is circular, the center of the circle is the physical center of the surveillance image; if the surveillance image captured by the non-pan-tilt camera is square, the center of the square is the physical center. In addition, the primary display screen obtained by intercepting the surveillance image can be circular or polygonal. The present embodiment does not make specific limitations and can be designed according to actual needs.

[0069] Specifically, the non-pan-tilt camera captures a surveillance image, performs an interception process on the surveillance image to obtain a primary display screen, and the terminal platform receives the primary display screen sent by the non-pan-tilt camera. Since the primary display screen sent by the non-pan-tilt camera to the terminal display screen and the mobile display are only part of the surveillance image, while expanding the surveillance display range, it also saves the transmission bandwidth required for the non-pan-tilt camera display.

[0070] According to the above embodiments, the surveillance range captured by a single surveillance camera is limited. In order to monitor a larger range, the present embodiment provides a preferred solution. If there are multiple non-pan-tilt cameras, the non-pan-tilt cameras mentioned in step S11 obtain a primary display screen after intercepting the captured surveillance images, including:

[0071] Stitch the sub-surveillance images captured by multiple non-pan-tilt cameras to obtain a surveillance image;

[0072] Intercept a screen of a preset size from the physical center of the surveillance image to generate a primary display screen.

[0073] The multiple non-pan-tilt cameras mentioned in the present embodiment refer to non-pan-tilt cameras whose captured images can be processed to obtain a complete and larger range. The sub-surveillance images mentioned in the present embodiment are the surveillance images captured by multiple non-pan-tilt cameras.

[0074] The multiple non-pan-tilt cameras mentioned in the present embodiment can be regarded as a non-pan-tilt camera system, and the surveillance image captured by it is obtained by stitching the sub-surveillance images captured by multiple non-pan-tilt cameras.

[0075] Specifically, multiple non-pan-tilt cameras capture sub-monitoring images. After stitching the sub-monitoring images, a complete monitoring image is obtained. A preset-sized image is intercepted from the monitoring image with the physical center as the center, resulting in a primary display image. The shape of the monitoring image is not limited in this embodiment. For example, if the monitoring image is circular, the center of the circle is the physical center of the monitoring image; if the monitoring image is square, the center of the square is the physical center. Additionally, the primary display image obtained by intercepting the monitoring image can be circular or polygonal. This embodiment does not make specific restrictions and can be designed according to actual needs.

[0076] Specifically, multiple non-pan-tilt cameras capture sub-monitoring images. After stitching the sub-monitoring images, a complete monitoring image is obtained. A preset-sized image is intercepted from the monitoring image with the physical center as the center, resulting in a primary display image. Since the primary display image and the mobile display sent by the non-pan-tilt camera to the terminal display screen are only part of the monitoring image, while expanding the monitoring display range, the transmission bandwidth required for the non-pan-tilt camera display is also saved.

[0077] According to the above embodiments, this embodiment provides a preferred solution. The monitoring image movement instruction includes: a movement instruction and a zoom instruction.

[0078] Correspondingly, the non-pan-tilt camera mentioned in step S15 generates the mobile display image based on the primary display image according to the monitoring image movement instruction, including:

[0079] Analyze the movement instruction and the zoom instruction:

[0080] Perform movement processing and zoom processing on the primary display image to generate the mobile display image.

[0081] The movement instruction refers to a displacement instruction, and the zoom instruction refers to a reduction or enlargement instruction. The monitoring image movement instruction includes both of these instructions. The non-pan-tilt camera analyzes the monitoring image movement instruction and sends the corresponding mobile display image after displacement and enlargement processing to the terminal display screen. Additionally, the zoomed image mentioned in this embodiment can be displayed in the form of a picture-in-picture or directly display the final enlarged image. This embodiment does not make specific restrictions.

[0082] The non-pan-tilt camera receives the monitoring image movement instruction, analyzes the movement instruction and the zoom instruction: performs movement processing and zoom processing on the primary display image according to the movement instruction and the zoom instruction to generate the mobile display image. By the method provided in this embodiment, the problem of first sending a movement instruction and then sending a zoom instruction and displaying the operation results step by step is avoided. The non-pan-tilt camera directly sends the final display result, improving the control and display speed.

[0083] In addition, this embodiment also provides a preferred solution, wherein the monitoring screen movement instruction further includes: an operation center instruction;

[0084] Correspondingly, the non-PTZ camera generates a moving display image based on the primary display image according to the monitoring image movement instruction, including:

[0085] Parsing move commands, zoom commands and operation center commands:

[0086] The primary display image is moved and scaled with the area represented by the operation center instruction as the center to generate a moving display image.

[0087] The operation center instruction mentioned in this embodiment refers to an operation area specified by an operator or a default operation area of a terminal platform, and the primary display screen is moved and zoomed with the operation area as the center.

[0088] The non-PTZ camera receives a surveillance image movement command, parses the movement command, zoom command, and operation center command, and performs movement and zoom processing on the primary display image based on the movement and zoom commands, centered on the area indicated by the operation center command, to generate the moving display image. The method provided in this embodiment avoids the problem of first sending the surveillance image movement command and then displaying the surveillance image in steps. The non-PTZ camera directly sends the final display result, improving control and display speed.

[0089] According to the above embodiment, this embodiment provides a preferred solution, such as Figure 2 As shown, step S11: receiving the primary display image sent by the non-pan-tilt camera, including:

[0090] S111: receiving a file stream of a real-time slice or a video-on-demand slice sent by a non-pan-tilt surveillance camera;

[0091] S112: Parse the file stream to obtain a primary display screen.

[0092] The real-time slicing mentioned in this embodiment means that the non-pan-tilt camera only saves the set number of slices N for fixed storage. When the saved file reaches the number of slices, it will be re-counted, the old slices will be removed, and a new index file will be generated. The non-pan-tilt camera will transmit the file that has reached the number of slices to the terminal platform for display on the terminal display screen. The non-pan-tilt camera will update the captured monitoring screen in real time, and send the monitoring screen to the terminal platform after processing. This embodiment does not limit the format of the file stream transmitted to the terminal platform. If the terminal platform sends a monitoring screen movement instruction to the non-pan-tilt camera, the non-pan-tilt camera will parse the monitoring screen movement instruction and generate a corresponding mobile display screen output to the terminal platform.

[0093] The captured surveillance footage is processed through real-time slicing by a non-pan-tilt camera and transmitted to the terminal platform for display, achieving real-time updates of the surveillance footage. Since the primary display image and the mobile display sent by the non-pan-tilt camera to the terminal display are only part of the surveillance footage, it not only expands the surveillance display range but also saves the transmission bandwidth required for the non-pan-tilt camera display.

[0094] The on-demand slicing mentioned in this embodiment refers to generating the number of slices at preset time intervals, and the slice files are always saved. If the terminal platform sends a request to the non-pan-tilt camera to view the surveillance footage, the non-pan-tilt camera will transmit the stored files to the terminal platform.

[0095] Specifically, the non-pan-tilt camera outputs the processed surveillance footage stored through on-demand slicing to the terminal platform for display. If the terminal platform sends a surveillance footage movement instruction to the non-pan-tilt camera, the non-pan-tilt camera parses the surveillance footage movement instruction and generates a corresponding mobile display image for output to the terminal platform.

[0096] Through the method provided in this embodiment, users can view the surveillance footage of the past time period. Since the primary display image and the mobile display sent by the non-pan-tilt camera to the terminal display are only part of the surveillance footage, it not only expands the surveillance display range but also saves the transmission bandwidth required for the non-pan-tilt camera display.

[0097] Step S112 parses the file stream to obtain the primary display image.

[0098] After the terminal platform receives the real-time slice file stream or the on-demand slice file stream sent by the non-pan-tilt camera, it parses the file stream through the ONVIF protocol to obtain a video stream that can be used for playback. Through the ONVIF protocol, communication connection is achieved between the terminal platform and the non-pan-tilt camera, without being restricted by the inconsistent interface protocols between different non-pan-tilt cameras.

[0099] According to the above embodiment, this embodiment provides a preferred solution. As Figure 3 shown, sending the surveillance footage movement instruction to the non-pan-tilt camera mentioned in step S14 includes:

[0100] Step S141: Send a request to the interface of the non-pan-tilt camera;

[0101] Step S142: Obtain the stream address of the non-pan-tilt camera;

[0102] Step S143: Send the surveillance footage movement instruction to the non-pan-tilt camera according to the stream address.

[0103] In this embodiment, a request is sent to the interface of a non-pan-tilt camera. Since the non-pan-tilt camera is based on the ONVIF protocol, communication connection with the non-pan-tilt camera can be achieved through the ONVIF protocol, without being restricted by the inconsistent interface protocols between different non-pan-tilt cameras.

[0104] The terminal platform sends a request to the interface of the non-pan-tilt camera through the ONVIF protocol. After receiving the interface send request, the non-pan-tilt camera sends a stream address to the terminal platform, so that the terminal platform can send a monitoring screen movement instruction, enabling communication connection between the terminal platform and the non-pan-tilt camera, without being restricted by the interface protocol of the non-pan-tilt camera.

[0105] To enable those skilled in the art to understand the technical solution of this application, the following describes the application of the method for generating a display screen in an actual scenario. For example Figure 4 As shown, this method is mainly applied to the terminal platform side and the non-pan-tilt camera side;

[0106] S41: The non-pan-tilt camera side obtains a primary display screen after intercepting the captured monitoring screen;

[0107] S42: The non-pan-tilt camera side sends the primary display screen;

[0108] S43: The terminal platform side receives the primary display screen and displays the primary display screen on the terminal display screen;

[0109] S44: The terminal platform side receives a monitoring screen movement instruction;

[0110] S45: The terminal platform side sends a monitoring screen movement instruction;

[0111] S46: The non-pan-tilt camera side receives the monitoring screen movement instruction;

[0112] S47: The non-pan-tilt camera side analyzes the monitoring screen movement instruction and generates a moving display screen based on the primary display screen according to the monitoring screen movement instruction;

[0113] S48: The non-pan-tilt camera side sends the moving display screen;

[0114] S49: The terminal platform side receives the moving display screen and displays the moving screen on the terminal display screen.

[0115] In the above embodiment, the method for generating a display screen is described in detail. This application also provides an embodiment corresponding to the device for generating a display screen. It should be noted that this application describes the embodiments of the device part from two perspectives, one is from the perspective of functional modules, and the other is from the perspective of hardware.

[0116] Figure 5 The structural diagram of a display screen generation device provided by an embodiment of the present application is as follows. Figure 5 As shown, a display screen generation device is characterized by including:

[0117] A receiving module 51, configured to receive a primary display screen sent by a non-pan-tilt camera. Among them, the non-pan-tilt camera obtains the primary display screen after intercepting the captured monitoring screen.

[0118] A display module 52, configured to display the primary display screen on a terminal display screen.

[0119] A receiving instruction module 53, configured to receive a monitoring screen movement instruction

[0120] A sending instruction module 54, configured to send the monitoring screen movement instruction to the non-pan-tilt camera, so that the non-pan-tilt camera can analyze the monitoring screen movement instruction.

[0121] An updated display module 55, configured to receive the moving display screen sent by the non-pan-tilt camera and display the moving screen on the terminal display screen. Among them, the non-pan-tilt camera generates the moving display screen based on the primary display screen according to the monitoring screen movement instruction.

[0122] The receiving module 51 receives the primary display screen sent by the non-pan-tilt camera. The primary display screen is obtained after intercepting the captured monitoring screen by the non-pan-tilt camera. The display module 52 displays the primary display screen on the terminal display screen. After the receiving instruction module 53 receives the monitoring screen movement instruction, the sending instruction module 54 sends the monitoring screen movement instruction to the non-pan-tilt camera, so that the non-pan-tilt camera can analyze the monitoring screen movement instruction. The updated display module 55 receives the moving display screen sent by the non-pan-tilt camera according to the monitoring screen movement instruction and displays the moving screen on the terminal display screen. Since the primary display screen and the moving display sent by the non-pan-tilt camera to the terminal display screen are only part of the monitoring screen, while expanding the monitoring display range, it also saves the transmission bandwidth required for the non-pan-tilt camera to display.

[0123] Through the display screen generation device provided by this embodiment, the monitoring screen initially displayed on the terminal display screen is the primary display screen obtained after intercepting the captured monitoring screen by the non-pan-tilt camera. When receiving the monitoring screen movement instruction, the non-pan-tilt camera analyzes the monitoring screen movement instruction and sends the corresponding moving display screen to the terminal display screen. Since the primary display screen and the moving display sent by the non-pan-tilt camera to the terminal display screen are only part of the monitoring screen, through the method provided by the present application, while expanding the monitoring display range, it also saves the transmission bandwidth required for the non-pan-tilt camera to display.

[0124] In addition, the device further includes:

[0125] A parsing module, configured to parse movement instructions and zoom instructions, and also configured to parse operation center instructions;

[0126] A generating module, configured to perform movement processing and zoom processing on the primary display screen to generate a movement display screen; and also configured to perform movement processing and zoom processing on the primary display screen with the area characterized by the operation center instruction as the center to generate a movement display screen

[0127] A request sending module, configured to send a request to the interface of a non-pan-tilt camera;

[0128] An address obtaining module, configured to obtain the stream address of the non-pan-tilt camera;

[0129] An instruction receiving module, configured to send a monitoring screen movement instruction to the non-pan-tilt camera according to the stream address.

[0130] Since the embodiments of the device part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the device part, which will not be elaborated here.

[0131] Figure 6 The following is a structural diagram of a display screen generating device provided by another embodiment of the present application. As Figure 6 shown, the display screen generating device includes: a memory 60, configured to store a computer program;

[0132] A processor 61, configured to implement the steps of the display screen generating method in the above embodiments when executing the computer program.

[0133] The display screen generating device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.

[0134] Among them, the processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 61 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 61 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the central processing unit (CPU); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 61 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 61 may further include an artificial intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.

[0135] The memory 60 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 60 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In this embodiment, the memory 60 is at least used to store the following computer program 601. After the computer program is loaded and executed by the processor 61, it can implement the relevant steps of the method for generating a display screen disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 60 may further include an operating system 602 and data 603, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 602 may include Windows, Unix, Linux, etc. The data 603 may include, but is not limited to, data related to implementing the method for generating a display screen.

[0136] In some embodiments, the display screen generation device may further include a display screen 62, an input / output interface 63, a communication interface 64, a power supply 65, and a communication bus 66.

[0137] Those skilled in the art can understand that Figure 6 the structure shown in

[0138] The display screen generation device provided by the embodiments of the present application includes a memory and a processor. When the processor executes the program stored in the memory, the following method can be implemented: a display screen generation method, where the monitoring screen initially displayed on the terminal display screen is a primary display screen obtained by intercepting the monitoring screen captured by a non-pan-tilt camera. When a monitoring screen movement instruction is received, the non-pan-tilt camera parses the monitoring screen movement instruction and sends the corresponding moving display screen to the terminal display screen. Since the primary display screen and the moving display sent by the non-pan-tilt camera to the terminal display screen are only part of the monitoring screen, through the method provided by the present application, while expanding the monitoring display range, the transmission bandwidth required for the non-pan-tilt camera display is also saved.

[0139] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps recorded in the above-mentioned display screen generation method embodiment are implemented.

[0140] It can be understood that if the method in the above-mentioned embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0141] The computer-readable storage medium provided by this embodiment stores a computer program, and when the processor executes this program, the following method can be implemented: a display screen generation method, where the monitoring screen initially displayed on the terminal display screen is a primary display screen obtained by intercepting the monitoring screen captured by a non-pan-tilt camera. When a monitoring screen movement instruction is received, the non-pan-tilt camera parses the monitoring screen movement instruction and sends the corresponding moving display screen to the terminal display screen. Since the primary display screen and the moving display sent by the non-pan-tilt camera to the terminal display screen are only part of the monitoring screen, through the method provided by the present application, while expanding the monitoring display range, the transmission bandwidth required for the non-pan-tilt camera display is also saved.

[0142] The above is a detailed introduction to the display screen generation method, device and medium provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of this application.

[0143] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only 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 "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

Claims

1. A method for generating a display screen, characterized in that, Including: Receiving a primary display screen sent by a non-pan-tilt camera, where the non-pan-tilt camera obtains the primary display screen after intercepting and processing the captured surveillance screen; Displaying the primary display screen on a terminal display screen; Receiving a surveillance screen movement instruction; Sending the surveillance screen movement instruction to the non-pan-tilt camera so that the non-pan-tilt camera can analyze the surveillance screen movement instruction; Receiving a moving display screen sent by the non-pan-tilt camera and displaying the moving display screen on the terminal display screen, where the non-pan-tilt camera generates the moving display screen based on the surveillance screen movement instruction on the basis of the primary display screen; If there is one non-pan-tilt camera, the non-pan-tilt camera obtains the primary display screen after intercepting and processing the captured surveillance screen, including: Intercepting a screen of a preset size from the physical center of the surveillance screen to generate the primary display screen; If there are multiple non-pan-tilt cameras, the non-pan-tilt cameras obtain the primary display screen after intercepting and processing the captured surveillance screen, including: Performing splicing processing on the sub-surveillance screens captured by multiple non-pan-tilt cameras to obtain the surveillance screen; Intercepting a screen of a preset size from the physical center of the surveillance screen to generate the primary display screen; Wherein, the surveillance screen movement instruction includes: a movement instruction and a zoom instruction; Correspondingly, the non-pan-tilt camera generates the moving display screen based on the surveillance screen movement instruction on the basis of the primary display screen, including: Analyzing the movement instruction and the zoom instruction: Performing movement processing and zoom processing on the primary display screen to generate the moving display screen; Wherein, the surveillance screen movement instruction further includes: an operation center instruction; Correspondingly, the non-pan-tilt camera generates the moving display screen based on the surveillance screen movement instruction on the basis of the primary display screen, including: Analyzing the movement instruction, the zoom instruction and the operation center instruction: Performing movement processing and zoom processing on the primary display screen with the area represented by the operation center instruction as the center to generate the moving display screen; Wherein, the receiving the primary display screen sent by the non-pan-tilt camera includes: Receiving the file stream of the real-time slice or on-demand slice sent by the non-pan-tilt surveillance camera; Analyzing the file stream to obtain the primary display screen; Wherein, the sending the surveillance screen movement instruction to the non-pan-tilt camera includes: Sending a request to the sending interface of the non-pan-tilt camera; Obtaining the stream address of the non-pan-tilt camera; Sending the surveillance screen movement instruction to the non-pan-tilt camera according to the stream address.

2. A display screen generation device, characterized in that, Including: A receiving module, configured to receive a primary display screen sent by a non-pan-tilt camera, where the non-pan-tilt camera obtains the primary display screen after intercepting and processing the captured surveillance screen; A display module, configured to display the primary display screen on a terminal display screen; A receiving instruction module, configured to receive a surveillance screen movement instruction; A sending instruction module, configured to send the monitoring screen movement instruction to the non-pan-tilt camera, so that the non-pan-tilt camera can parse the monitoring screen movement instruction; An updating display module, configured to receive the moving display screen sent by the non-pan-tilt camera and display the moving display screen on the terminal display screen, wherein the non-pan-tilt camera generates the moving display screen based on the monitoring screen movement instruction on the basis of the primary display screen; If there is one non-pan-tilt camera, the non-pan-tilt camera obtains the primary display screen after intercepting the captured monitoring screen, including: Intercepting a screen of a preset size from the physical center of the monitoring screen to generate the primary display screen; If there are multiple non-pan-tilt cameras, the non-pan-tilt cameras obtain the primary display screen after intercepting the captured monitoring screen, including: Performing splicing processing on the sub-monitoring screens captured by the multiple non-pan-tilt cameras to obtain the monitoring screen; Intercepting a screen of a preset size from the physical center of the monitoring screen to generate the primary display screen; Wherein, the monitoring screen movement instruction includes: a movement instruction and a zoom instruction; Correspondingly, the non-pan-tilt camera generates the moving display screen based on the monitoring screen movement instruction on the basis of the primary display screen, including: Parsing the movement instruction and the zoom instruction: Performing movement processing and zoom processing on the primary display screen to generate the moving display screen; Wherein, the monitoring screen movement instruction further includes: an operation center instruction; Correspondingly, the non-pan-tilt camera generates the moving display screen based on the monitoring screen movement instruction on the basis of the primary display screen, including: Parsing the movement instruction, the zoom instruction and the operation center instruction: Performing movement processing and zoom processing on the primary display screen with the area represented by the operation center instruction as the center to generate the moving display screen; Wherein, receiving the primary display screen sent by the non-pan-tilt camera includes: Receiving the file stream of the real-time slice or the on-demand slice sent by the non-pan-tilt monitoring camera; Parsing the file stream to obtain the primary display screen; Wherein, sending the monitoring screen movement instruction to the non-pan-tilt camera includes: Sending a request to the non-pan-tilt camera sending interface; Obtaining the stream address of the non-pan-tilt camera; Sending the monitoring screen movement instruction to the non-pan-tilt camera according to the stream address.

3. A display screen generating device, characterized in that, Including: A memory, configured to store a computer program; A processor, configured to implement the steps of the method for generating a display screen as claimed in claim 1 when executing the computer program.

4. A computer-readable storage medium, characterized in that, The computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for generating a display screen as claimed in claim 1 are implemented.

Citation Information

Patent Citations

  • Video transmission method for web camera

    CN104980697A

  • Picture acquisition output method, device, server and practical training all-in-one machine

    CN108881720A