Content display method and device, terminal equipment and medium
By receiving real-time information from the camera device, if the status is invalid, the backup display mode is used to display rich content, which solves the problem of insufficient user experience when the surveillance video signal is missing, improves the visual effect and creates commercial value.
Patent Information
- Application Number
- CN202410925705.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-08
AI Technical Summary
During the surveillance video display process, when the video signal is missing, the existing technology usually displays a completely black screen or the words 'no video', which results in insufficient user experience, lack of visual appeal and inability to provide useful information.
By receiving real-time information from the camera device, the link status is determined. If the status is invalid, the backup display mode is used to obtain and display rich content, such as pre-uploaded photos, regional logos or advertisements, to enhance visual effects and create commercial value.
When video signals are unavailable, rich content can be displayed to enhance user experience, increase visual appeal, and create commercial value through displayed content.
Smart Images

Figure CN118748704A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of monitoring technology, and in particular relates to a content display method, apparatus, terminal device, and medium. Background Art
[0002] During the display of surveillance video, video signals may be missing. For example, some cameras may not be able to provide a live video stream due to damage, maintenance, privacy protection, or permission restrictions. When the video signal of a surveillance video is missing, the video surveillance system typically displays a completely black screen or a simple "No Video" message at the location of the camera that is unable to display. This processing method has obvious shortcomings in user experience, as it not only fails to provide any useful information but also lacks visual appeal. Summary of the Invention
[0003] In view of this, embodiments of the present application provide a content display method, apparatus, terminal device, and medium for displaying rich content when the content display device is unable to display real-time surveillance video.
[0004] A first aspect of an embodiment of the present application provides a content display method, including:
[0005] Determining a current state of the camera device based on received real-time information of the camera device, wherein the real-time information includes current link information of the camera device, and the current link information is used to represent a link state between the camera device and a content display device;
[0006] If the current state of the camera device is an invalid state, determining a standby display mode for a target content display area, the target content display area being a content display area corresponding to the camera device in the content display device, the content display device including at least one content display area;
[0007] According to the standby display mode, acquiring standby display content of the target content display area;
[0008] The standby display content is displayed in the target content display area.
[0009] A second aspect of an embodiment of the present application provides a content display device, including:
[0010] a state determination module, configured to determine a current state of the camera device based on received real-time information of the camera device, wherein the real-time information includes current link information of the camera device, and the current link information is used to represent a link state between the camera device and a content display device;
[0011] a mode determination module configured to determine, if the current state of the camera device is an invalid state, a standby display mode for a target content display area, wherein the target content display area is a content display area corresponding to the camera device in the content display device, and the content display device includes at least one such content display area;
[0012] A content acquisition module, configured to acquire the standby display content of the target content display area according to the standby display mode;
[0013] The content display module is configured to display the standby display content in the target content display area.
[0014] A third aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect above when executing the computer program.
[0015] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect above is implemented.
[0016] A fifth aspect of the embodiments of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the method described in the first aspect.
[0017] Compared with the prior art, the embodiments of the present application have the following advantages:
[0018] By applying the method in the embodiments of the present application, the connection status between the camera device and the content display device can be promptly detected based on the real-time information of the camera device, thereby determining the current status of the camera device. Moreover, based on the current status detected in real time, content can be displayed according to the backup display mode when the camera device is in an invalid state, thereby enabling the content display device to display content even when real-time video cannot be obtained. The method in the embodiments of the present application can display rich content when the content display device is unable to display real-time surveillance video, thereby improving the visual display effect of the content display device and creating commercial value based on the displayed content. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art.
[0020] Figure 1 This is a flowchart of the steps of a content display method provided by an embodiment of the present application;
[0021] Figure 2 is a schematic diagram of a monitoring system provided in an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of a content display device provided in an embodiment of the present application;
[0023] Figure 4 This is a schematic diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present application with unnecessary details.
[0025] The technical solution of this application is described below through specific embodiments.
[0026] Reference Figure 1 , shows a schematic flow chart of the steps of a content display method provided in an embodiment of the present application, which may specifically include the following steps:
[0027] S101 : Determine a current state of a camera device based on received real-time information of the camera device, wherein the real-time information includes current link information of the camera device, and the current link information is used to represent a link state between the camera device and a content display device.
[0028] The execution subject of this embodiment may be a terminal device, which may be a device capable of displaying images; the terminal device may also be a device for controlling a content display device. This embodiment does not limit the specific type of the terminal device.
[0029] The method in this embodiment can be applied in a monitoring system. Figure 2 This is a schematic diagram of a monitoring system provided by an embodiment of the present application. Figure 2 As shown, the monitoring system may include multiple cameras, which are the above-mentioned camera devices. The content display device may include multiple content display areas, each of which may be used to display information collected by a corresponding camera. Figure 2The real-time video captured by camera 1 can be displayed in content display area 1, the real-time video captured by camera 2 can be displayed in content display area 2, the real-time video captured by camera 3 can be displayed in content display area 3, and the real-time video captured by camera 4 can be displayed in content display area 4. The terminal device in this embodiment can be a content display device in the monitoring system.
[0030] In a surveillance system, a camera can be used to capture real-time video. The camera can be connected to a content display device, allowing the camera to transmit the captured real-time video to the content display device, which can then display the real-time video in the content display area corresponding to the camera. However, if the camera is disconnected or the connection between the camera and the content display device is lost, the content display device cannot obtain the real-time video captured by the camera and cannot display the video.
[0031] In this embodiment, in order to monitor in real time whether the camera apparatus and the content display device are connected, the camera apparatus may send real-time information to the content display device.
[0032] In one possible implementation, the real-time information may include current link information. Based on the current link information, the content display device can determine whether the camera device is connected to the content display device, so that when the camera device is not connected to the content display device, it can be determined that the current state of the camera device is an invalid state.
[0033] For example, the content display device may include a video data acquisition module configured to read video data captured by each camera from each camera device and transmit the read video data to a display for display. In addition to acquiring video data, the video data acquisition module is also responsible for updating the camera's connection status based on whether it can read the camera's video data.
[0034] The content display device may also include a display module that decodes and displays the video from all cameras captured by the data acquisition module. Simultaneously, the display module reads the connection status of all cameras from the data acquisition module. If the connection status of a camera is abnormal, a preset image may be displayed according to the backup display mode set for that camera.
[0035] Furthermore, the inability of the content display device to display the real-time video captured by the camera device can occur in two situations: one is the inability to acquire the real-time video, for example, if the camera device and the content display device are unable to connect. The other is the inability to display the real-time video, for example, if the content display device lacks display permission, or if the current real-time video contains sensitive information and cannot be displayed. Based on this, when the content display device is unable to display the real-time video, the camera device can also be considered to be in an invalid state.
[0036] In another possible implementation, the real-time information may also include permission information. The permission information may be used to indicate whether the current content display device has permission to display the current real-time video. If the camera device is currently connected to the content display device, the permission information may be obtained to determine whether the content display device currently has permission to display the video. If the content display device currently does not have permission to display the video, the camera device is determined to be in an invalid state.
[0037] For example, if a certain scenic area can be displayed to the audience in real time. However, when an exercise or other activities are held in the scenic area, it is generally only open to some audiences. At this time, the content display device does not have the display authority for the camera device in the scenic area. The authority information may include display time information, and based on the display time information, it may include the time with display authority and the time without display authority. The content display device can obtain the display time information and the current time information. Based on the current time information and the display time information obtained by the content display device, it can be determined whether the display authority is available at the current moment. For example, the screen of a certain area is not open to the public from 9:00 to 12:00 in the morning, and can be open to the public at other times. The current time is 11:00, and the display authority is not available at this time.
[0038] In another possible implementation, real-time information may also include real-time video. Real-time video is the video to be displayed, but if sensitive information is present in the real-time video, it cannot be displayed. For example, if a face appears in the real-time video, it may involve personal privacy and therefore should not be publicly displayed. In this case, it can be considered that sensitive information is present in the real-time video. If the content display device currently has display permission, it is determined whether sensitive information is present in the real-time video. If sensitive information is present in the real-time video, the current state of the camera device is determined to be invalid.
[0039] For example, real-time video can be subjected to target recognition to identify facial information and / or text information. Based on the recognized facial information and / or text information, the presence of sensitive information can be detected. For example, it can be determined whether the facial information is in a face database with display permission. If the facial information is not in the database, it is determined that sensitive information is present in the real-time video. Based on the text information, it can be determined whether confidential information is present. If confidential information is present, it is determined that sensitive information is present in the real-time video.
[0040] S102: If the current state of the camera device is an invalid state, determine a backup display mode of a target content display area, where the target content display area is a content display area corresponding to the camera device in the content display device, and the content display device includes at least one content display area.
[0041] When the current state of the camera device is invalid, the target content display area corresponding to the camera device can be determined. The user can set the standby display mode of the target content display area in advance, or can set the standby display mode of the target content display area as a default.
[0042] Exemplarily, the standby display modes may include a first mode, a second mode, and a third mode, wherein the first mode may be used for displaying according to pre-stored information, the second mode may be used for displaying according to a regional identifier, and the third mode may be used for displaying advertisements.
[0043] In one possible implementation, the content display device may provide a selection interface that allows a user to select a corresponding mode from multiple alternate display modes. Similarly, the user may also set different alternate display modes for different camera devices. After the user selects a corresponding alternate display mode, if the current state of the corresponding camera device is invalid, the alternate display mode associated with the camera device may be retrieved, and the image may be played according to the alternate display mode.
[0044] S103: Acquire the standby display content of the target content display area according to the standby display mode.
[0045] If the standby display mode is the first mode, it indicates that when the camera is invalid, the target content display area can display pre-uploaded photos or videos. At this time, the associated image data of the pre-stored target content display area can be used as the standby display content.
[0046] For example, if the user selects to display pre-uploaded photos or videos when the camera is in an inactive state, after the user uploads a photo or video, the photo or video can be bound to the corresponding camera identifier. When the camera is in an inactive state, the user-uploaded photo or video corresponding to the camera can be found based on the camera identifier, and the photo or video can be played.
[0047] If the backup display mode is the second mode, the display can be performed based on the geographical identifier. For example, representative cultural, architectural, and cultural images of the current location of the corresponding camera device or display can be displayed. The terminal device can obtain the location information of the display device or camera device; based on the location information, the backup display content is obtained. The second mode is used to display based on the geographical identifier; based on the location information, the target to be displayed within the current geographical area is determined, where the target to be displayed is any landmark object within the current geographical area; based on the target to be displayed, the target image data is searched from the geographic information system; and the target image data is used as the backup display content.
[0048] Exemplarily, the content display device or the camera device may be equipped with a positioning module, through which the positioning information of the content display device or the camera device may be obtained. In addition, indoors or in places where the positioning signal is weak, positioning information may be obtained through wireless network Wi-Fi, base station positioning, etc. The content display device and the camera device may be equipped with a network connection module, such as Wi-Fi or a mobile cellular network, so that the content display device and the camera device can be connected to the network through the network module. The content display device may integrate positioning data with a GIS system. The GIS system may store detailed information about geographic locations, including landmarks, buildings, cultural features, etc. Using the GIS query function, detailed information about a specific area may be obtained based on the positioning data. Of course, information about the area and corresponding pictures and videos may also be collected from different data sources, such as travel websites, historical document databases, cultural databases, etc.
[0049] For example, when the content display device or the camera device is located in Xi'an, the identifier to be displayed may be the Terracotta Warriors, so that the image data of the Terracotta Warriors can be displayed.
[0050] If the backup display mode is the third mode, advertisements can be displayed. The advertisements displayed can be pre-set or obtained from a network platform. For example, a connection can be pre-established between the content display device and the network platform, so that the terminal device can obtain the backup display content from the network platform associated with the content display device. Based on the pre-established connection between the content display device and the network platform, the content display device can receive multiple advertisements issued by the network platform, each of which can have playback time information; the content display device can determine the target advertisement based on the current time information and the playback time information; and then determine the target advertisement as the backup display content.
[0051] For example, the network platform can be an advertising platform. The content display device can connect to the advertising platform via the network and receive advertisements and corresponding playback times issued by the advertising platform. When a camera device is detected to be in an inactive state, the current time of the content display device can be determined, and based on the current time, advertisements that have been issued for the corresponding time period can be found and then displayed accordingly.
[0052] S104: Display the standby display content in the target content display area.
[0053] In one possible implementation, the content display device may include temporary display content. When the camera device is inoperative, the content display device may immediately display the temporary display content in the target content display area. After the content display device determines the backup display content, the temporary display content may be switched to the backup display content.
[0054] It should be noted that the content display device can monitor in real time whether the camera device is in an invalid state. When it is detected that the camera device is valid, the current standby display content can be immediately switched to the real-time video captured by the camera device.
[0055] In this embodiment, when the camera device cannot provide real-time video or the content display device cannot display real-time video, it can be determined that the camera device is in an invalid state; when the camera device is in an invalid state, the backup display mode of the target display area corresponding to the camera device can be determined based on the user's settings, so that a rich backup display image, video, advertising data, etc. can be obtained according to the backup display mode, so that when the camera device is invalid, a rich picture display can be performed, thereby improving the visual appeal of the displayed picture, and at the same time enabling the displayed content to have promotional utility and create commercial value.
[0056] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0057] Reference Figure 3 , shows a schematic diagram of a content display device provided in an embodiment of the present application, which may specifically include a state determination module 31, a mode determination module 32, a content acquisition module 33 and a content display module 34, wherein:
[0058] a state determination module 31 for determining a current state of the camera device based on received real-time information of the camera device, wherein the real-time information includes current link information of the camera device, and the current link information is used to represent a link state between the camera device and a content display device;
[0059] a mode determination module 32 configured to determine a standby display mode for a target content display area if the current state of the camera device is an invalid state, the target content display area being a content display area corresponding to the camera device in the content display device, the content display device including at least one such content display area;
[0060] A content acquisition module 33 is configured to acquire the standby display content of the target content display area according to the standby display mode;
[0061] The content display module 34 is configured to display the standby display content in the target content display area.
[0062] In a possible implementation, the state determination module 31 includes:
[0063] a connection determination submodule, configured to determine whether the camera apparatus is currently connected to the content display device based on the current link information;
[0064] The first determining submodule is configured to determine that the current state of the camera device is an invalid state if the camera device is not currently connected to the content display device.
[0065] In a possible implementation, the real-time information further includes permission information, and the state determination module 31 further includes:
[0066] a permission determination submodule, configured to determine, if the camera apparatus and the content display device are currently connected, whether the content display device currently has display permission based on the permission information;
[0067] The second determining submodule is configured to determine that the current state of the camera device is an invalid state if the content display device currently does not have the display authority.
[0068] In a possible implementation, the real-time information further includes real-time video, and the state determination module 31 further includes:
[0069] a sensitive information determination submodule, configured to determine whether sensitive information exists in the real-time video if the content display device currently has display permission;
[0070] The third determining submodule is configured to determine that the current state of the camera device is an invalid state if sensitive information exists in the real-time video.
[0071] In a possible implementation, the content acquisition module 33 includes:
[0072] a first acquisition submodule configured to use pre-stored associated image data of the target content display area as the standby display content if the standby display mode is a first mode, wherein the first mode is configured to display according to pre-stored information;
[0073] a second acquisition submodule configured to acquire location information of the display device or the camera device if the standby display mode is a second mode; and acquire the standby display content based on the location information, wherein the second mode is configured to display content based on a regional identifier;
[0074] The third acquisition submodule is configured to acquire the standby display content from a network platform associated with the content display device if the standby display mode is a third mode, wherein the third mode is used for displaying advertisements.
[0075] In a possible implementation, the second acquisition submodule includes:
[0076] a to-be-displayed target determining unit, configured to determine, based on the location information, a to-be-displayed target within a current geographical area, wherein the to-be-displayed target is any landmark object within the current geographical area;
[0077] A target image data search unit, configured to search for target image data from a geographic information system according to the target to be displayed;
[0078] The first standby display content determining unit is configured to use the target image data as the standby display content.
[0079] In a possible implementation, the third acquisition submodule includes:
[0080] a receiving unit, configured to receive a plurality of advertisements issued by the network platform based on a pre-established connection between the display device and the network platform, wherein the advertisements have play time information;
[0081] a target advertisement determining unit, configured to determine a target advertisement based on current time information and the play time information;
[0082] The second standby display content determining unit is configured to determine the target advertisement as the standby display content.
[0083] The content display device provided in the embodiment of the present application can be the terminal device in the aforementioned method embodiments, or can also be a related unit in the terminal device. The steps in the aforementioned method embodiments can be implemented by using the above content display device.
[0084] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment part.
[0085] Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 4 As shown, the terminal device 4 of this embodiment includes: at least one processor 40 ( Figure 4 Only one is shown), a memory 41 and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, wherein the processor 40 implements the steps of any of the above-mentioned method embodiments when executing the computer program 42.
[0086] The terminal device 4 can be a computing device such as a desktop computer, a notebook, a PDA, or a cloud terminal device. The terminal device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will understand that Figure 4It is only an example of the terminal device 4 and does not constitute a limitation on the terminal device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0087] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or any conventional processor.
[0088] In some embodiments, the memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or memory of the terminal device 4. In other embodiments, the memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 4. Furthermore, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used to store an operating system, an application program, a boot loader, data, and other programs, such as the program code of the computer program. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0089] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented.
[0090] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0091] The above embodiments are intended only to illustrate the technical solutions of the present application and are not intended to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the above embodiments or replace some of the technical features therein with equivalents; and such modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application and should be included within the scope of protection of the present application.
Claims
1. A content display method, characterized in that: include: Determine the current state of the camera device based on the received real-time information of the camera device, wherein the real-time information includes current link information of the camera device, and the current link information is used to represent the link state of the camera device and the content display device; If the current state of the camera device is an invalid state, determining a standby display mode of a target content display area, the target content display area being a content display area corresponding to the camera device in the content display device, the content display device including at least one of the content display areas; According to the standby display mode, acquiring standby display content of the target content display area; The standby display content is displayed in the target content display area.
2. The method according to claim 1, characterized in that The determining the current state of the camera device based on the received real-time information of the camera device includes: Determining, according to the current link information, whether the camera apparatus is currently connected to the content display device; If the camera device is not currently connected to the content display device, it is determined that the current state of the camera device is an invalid state.
3. The method according to claim 2, characterized in that The real-time information further includes permission information, and the determining the current state of the camera device based on the received real-time information of the camera device further includes: If the camera device is currently connected to the content display device, determining whether the content display device currently has display authority according to the authority information; If the content display device currently does not have the display authority, it is determined that the current state of the camera device is an invalid state.
4. The method according to claim 3, characterized in that The real-time information also includes real-time video, and determining the current state of the camera device based on the received real-time information of the camera device also includes: If the content display device currently has display permission, determining whether there is sensitive information in the real-time video; If sensitive information exists in the real-time video, it is determined that the current state of the camera device is an invalid state.
5. The method according to any one of claims 1 to 4, characterized in that: The acquiring, according to the standby display mode, the standby display content of the target content display area comprises: If the standby display mode is the first mode, the pre-stored associated image data of the target content display area is used as the standby display content, and the first mode is used for displaying according to the pre-stored information; If the standby display mode is the second mode, obtaining the location information of the display device or the camera device; obtaining the standby display content according to the location information, the second mode is used for displaying according to the regional identification; If the standby display mode is the third mode, the standby display content is obtained from a network platform associated with the content display device, and the third mode is used for advertisement display.
6. The method according to claim 5, characterized in that The acquiring the standby display content according to the position information includes: Determine, according to the location information, a target to be displayed within the current geographical area, wherein the target to be displayed is any landmark object within the current geographical area; According to the target to be displayed, searching for target image data from a geographic information system; The target image data is used as the standby display content.
7. The method according to claim 5, characterized in that The acquiring the standby display content from the network platform associated with the content display device includes: Based on the connection pre-established between the display device and the network platform, receiving a plurality of advertisements issued by the network platform, wherein the advertisements have play time information; Determining a target advertisement according to the current time information and the play time information; The target advertisement is determined as the backup display content.
8. A content display device, characterized in that: include: A state determination module, configured to determine a current state of the camera device based on received real-time information of the camera device, wherein the real-time information includes current link information of the camera device, and the current link information is used to represent a link state between the camera device and a content display device; a mode determination module, configured to determine a standby display mode of a target content display area if the current state of the camera device is an invalid state, the target content display area being a content display area in the content display device corresponding to the camera device, the content display device including at least one of the content display areas; A content acquisition module, used for acquiring the standby display content of the target content display area according to the standby display mode; The content display module is used to display the standby display content in the target content display area.
9. A terminal 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 method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
