A video differential symbol display method and apparatus

By acquiring the decoded video stream from the port security system and overlaying target symbols, the OSD tagging problem when multiple units and departments share the same camera video footage was solved, enabling the display of each unit's exclusive tag on the video footage and avoiding redundant construction.

CN115278161BActive Publication Date: 2026-02-10BNC TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210712886.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2026-02-10
Estimated Expiration
2042-06-22

AI Technical Summary

Technical Problem

In port security projects, multiple superior units and departments need to monitor the same camera's video feed. However, existing technology cannot install multiple cameras in the same location for different units and departments to use, making it impossible to add their own unique OSD tags to the video.

Method used

By acquiring the decoded target video stream, superimposing the target symbol onto the video stream, and obtaining the superimposed target symbol video stream, the target video playback platform is encoded and sent to the target video playback platform. The target video playback platform receives and decodes the video and plays it on the client, enabling multiple superior departments to access the same video feed with their own unique OSD tags.

Benefits of technology

This system enables the full reuse of cameras in the port area's security system construction. Multiple higher-level departments can access the same video feed with their own unique OSD tags, avoiding the duplication of camera installations in the same location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278161B_ABST
    Figure CN115278161B_ABST
Patent Text Reader

Abstract

The application discloses a video differentiation symbol display method and device, relates to the field of video display, and mainly aims to realize that multiple superior departments call the same video picture with respective exclusive OSD labels. The main technical scheme of the application is as follows: a target video stream after decoding is acquired; a target symbol is superimposed on the target video stream after decoding to obtain a target symbol superimposed video stream; the target symbol superimposed video stream is encoded and sent to a target video playing platform corresponding to the target symbol; the target video playing platform receives and decodes the encoded target symbol superimposed video stream; and a target video playing client corresponding to the target video playing platform plays the target symbol superimposed video stream. The application is used for calling a video picture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of video display technology, and in particular to a method and apparatus for displaying video differentiation symbols. Background Technology

[0002] During the construction of port security projects, cameras are installed for monitoring. Due to the importance of the video footage from these cameras, multiple higher-level units and departments need to monitor the footage, such as public security, customs, border inspection, emergency response, maritime affairs, and port groups. Each higher-level unit and department has its own video monitoring platform. These platforms need to access the camera footage from the port security project and request that each unit and department add its own OSD tag to the video.

[0003] However, there are no precedents or technologies for this application in the current technology, and due to the environmental factors on site, it is not possible to install multiple cameras in the same location for different superior units and departments to use. Summary of the Invention

[0004] In view of the above problems, the present invention provides a video differentiation symbol display method and device. The main purpose is to realize the full reuse of cameras in the construction of port area security systems. When multiple superior departments call the same video feed, each has its own exclusive OSD tag, which can avoid the duplication of cameras in the same location.

[0005] To solve the above-mentioned technical problems, the present invention proposes the following solution:

[0006] In a first aspect, the present invention provides a method for displaying video differentiation symbols, the method comprising:

[0007] Obtain the decoded target video stream;

[0008] The target symbol is superimposed on the decoded target video stream to obtain the superimposed target symbol video stream;

[0009] The video stream containing the superimposed target symbol is encoded and sent to the target video playback platform corresponding to the target symbol.

[0010] The target video playback platform receives and decodes the encoded video stream containing the superimposed target symbols;

[0011] The target video playback client corresponding to the target video playback platform plays the video stream with the superimposed target symbol.

[0012] Preferably, obtaining the decoded target video stream includes:

[0013] Obtain the access instruction for the target video stream sent by the target video playback client;

[0014] Based on the access instruction, the target video playback platform corresponding to the target video playback client and the target video stream to be accessed corresponding to the target video playback platform are obtained;

[0015] Calculate resource data values ​​based on the target video stream to be accessed;

[0016] Determine whether the resource data value is greater than a preset gateway computing power threshold;

[0017] If not, the target video stream is obtained based on the access instruction for the target video stream, and the target video stream is decoded to obtain the decoded target video stream.

[0018] Preferably, the step of superimposing target symbols onto the decoded target video stream to obtain the superimposed target symbol video stream includes:

[0019] Based on the target video playback platform, the target symbol corresponding to the target video playback platform is obtained through a preset mapping table;

[0020] The target symbol corresponding to the target video playback platform is superimposed on the decoded target video stream to obtain the superimposed target symbol video stream.

[0021] Preferably, before acquiring the decoded target video stream, the method further includes:

[0022] Determine whether the target video stream exists on the currently accessed video playback platform;

[0023] If so, then it is further determined whether the priority of the currently accessed video playback platform corresponding to the target video stream is lower than that of the target video playback platform;

[0024] If so, then stop the current access video playback platform to the target video stream;

[0025] Obtain the target video stream corresponding to the target video playback platform, and decode the target video stream.

[0026] Preferably, after further determining whether the priority of the currently accessed video playback platform corresponding to the target video stream is lower than that of the target video playback platform, the method further includes:

[0027] If not, the target video playback platforms will be sorted according to a preset priority rule, and there will be at least two target video playback platforms.

[0028] When the currently accessed video playback platform stops accessing the target video stream, the stop duration corresponding to the currently accessed video playback platform is monitored;

[0029] If the stop duration reaches a preset duration threshold, the target video stream corresponding to the target video playback platform is obtained, and the target video stream is decoded.

[0030] Preferably, the target video playback client corresponding to the target video playback platform plays the video stream with the superimposed target symbol, including:

[0031] The target video playback client corresponding to the target video playback platform plays the overlaid target symbol video stream according to a preset access rule, and there are at least two target video playback clients corresponding to the target video playback platform.

[0032] Preferably, determining whether the resource data value is greater than a preset gateway computing power threshold further includes:

[0033] If so, the target video stream is acquired and sent directly to the target video playback platform.

[0034] In a second aspect, the present invention provides a video differentiation symbol display device, the device comprising:

[0035] The acquisition unit is used to acquire the decoded target video stream;

[0036] An adding unit is used to superimpose target symbols onto the decoded target video stream to obtain the superimposed target symbol video stream;

[0037] The encoding unit is used to encode the superimposed target symbol video stream and send it to the target video playback platform corresponding to the target symbol;

[0038] The first decoding unit is used by the target video playback platform to receive and decode the encoded superimposed target symbol video stream;

[0039] A playback unit is used by the target video playback client corresponding to the target video playback platform to play the overlaid target symbol video stream.

[0040] Preferably, the acquisition unit includes:

[0041] The acquisition module is used to acquire the access instruction for the target video stream sent by the target video playback client; and is also used to obtain the target video playback platform corresponding to the target video playback client and the target video stream to be accessed corresponding to the target video playback platform based on the access instruction.

[0042] The calculation module is used to calculate resource data values ​​based on the target video stream to be accessed;

[0043] The judgment module is used to determine whether the resource data value is greater than a preset gateway computing power threshold;

[0044] The decoding module is used to obtain the target video stream based on the access instruction for the target video stream if the resource data value is not greater than a preset gateway computing power threshold, and to decode the target video stream to obtain the decoded target video stream.

[0045] Preferably, the adding unit includes:

[0046] The acquisition module is used to obtain the target symbol corresponding to the target video playback platform through a preset mapping table based on the target video playback platform;

[0047] An addition module is used to overlay the target symbol corresponding to the target video playback platform onto the decoded target video stream to obtain the overlaid target symbol video stream.

[0048] Preferably, the device further includes:

[0049] The judgment unit is used to determine whether the target video stream exists on the currently accessed video playback platform; if so, it further determines whether the priority of the currently accessed video playback platform corresponding to the target video stream is lower than that of the target video playback platform.

[0050] A control unit is configured to stop the current access video playback platform from accessing the target video stream if the priority of the current access video playback platform corresponding to the target video stream is lower than that of the target video playback platform.

[0051] The second decoding unit is used to acquire the target video stream corresponding to the target video playback platform and decode the target video stream.

[0052] Preferably, the device further includes:

[0053] The control unit is also configured to sort the target video playback platforms according to a preset priority rule if the priority of the currently accessed video playback platform corresponding to the target video stream is not lower than that of the target video playback platform, wherein there are at least two target video playback platforms.

[0054] The monitoring unit is used to monitor the stop duration of the currently accessed video playback platform when the currently accessed video playback platform stops accessing the target video stream;

[0055] The second decoding unit is further configured to, if the stop duration reaches a preset duration threshold, acquire the target video stream corresponding to the target video playback platform and decode the target video stream.

[0056] Preferably, the playback unit includes:

[0057] The playback unit is also used for the target video playback client corresponding to the target video playback platform to play the superimposed target symbol video stream according to a preset access rule, wherein there are at least two target video playback clients corresponding to the target video playback platform.

[0058] Preferably, the acquisition unit further includes:

[0059] The forwarding module is used to acquire the target video stream and send it directly to the target video playback platform if the resource data value is greater than a preset gateway computing power threshold.

[0060] To achieve the above objectives, according to a third aspect of the present invention, a storage medium is provided, the storage medium including a stored program, wherein, when the program is executed, the device on which the storage medium is located is controlled to perform the video differentiation symbol display method described in the first aspect.

[0061] To achieve the above objectives, according to a fourth aspect of the present invention, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, performs all or part of the steps for a video differentiation symbol display device as described in the first aspect.

[0062] The video differentiation symbol display method and apparatus provided by this invention, utilizing the above technical solution, addresses the need for multiple higher-level units and departments to monitor camera footage during port security project construction. These units and departments' video surveillance platforms require adding unique OSD tags specific to each unit and department to the video feed. However, there are no precedents or technologies for this application in the existing technology, and due to environmental factors, it is impossible to install multiple cameras in the same location for different higher-level units and departments to access. Therefore, this invention obtains a decoded target video stream; superimposes a target symbol onto the decoded target video stream to obtain a superimposed target symbol video stream; encodes the superimposed target symbol video stream and sends it to the target video playback platform corresponding to the target symbol; the target video playback platform receives and decodes the encoded superimposed target symbol video stream; and the target video playback client corresponding to the target video playback platform plays the superimposed target symbol video stream. This invention enables the full reuse of cameras in the construction of port area security systems. When multiple higher-level departments access the same video feed, each feed has its own unique OSD tag, which can avoid the duplication of cameras in the same location.

[0063] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0064] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0065] Figure 1 A flowchart of a video differentiation symbol display method provided by an embodiment of the present invention is shown;

[0066] Figure 2 This invention provides a flowchart of another video differentiation symbol display method according to an embodiment of the present invention;

[0067] Figure 3 This diagram illustrates a block diagram of a video differentiation symbol display device provided in an embodiment of the present invention.

[0068] Figure 4 A block diagram of another video differentiation symbol display device provided by an embodiment of the present invention is shown. Detailed Implementation

[0069] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0070] With the development of smart ports, the construction of smart port security has received attention from all levels of units and departments. Due to the sensitivity of port security systems, especially the monitoring video of important locations such as port customs and border inspection, they have attracted the attention of multiple departments. Due to spatial location and cost constraints, it is not possible to deploy cameras in the same location for each unit to use individually. Therefore, it is necessary to reuse a single camera so that all units can access it simultaneously, and add a unique OSD tag to each unit's video stream. To address this problem, the inventor conceived of fully reusing cameras in the construction of port security systems, with each superior department overlaying its own unique OSD tag when accessing the same video feed.

[0071] To address this, this invention provides a method for displaying video differentiation symbols. This method enables the full reuse of cameras in port area security system construction. When multiple higher-level departments access the same video feed, each feed carries its own unique OSD tag, avoiding the duplication of camera deployments in the same location. The specific execution steps are as follows: Figure 1 As shown, it includes:

[0072] 101. Obtain the decoded target video stream.

[0073] This invention provides a video differentiation symbol display method based on a single-camera, multi-user multiplexed OSD display system. The display system includes a video access section, a video processing section, and a video management section. The video access section can be multiple video surveillance platforms already established at the port, such as the Hikvision 8600 platform, Huawei IVS3800 platform, etc., without specific limitations in this step. The display system retrieves the target video stream from the multiple video surveillance platforms already established at the port based on instructions sent by various superior units and departments. The video processing section processes the video stream data retrieved from the video access section through secondary encoding and outputs it to the superior units and departments. The video management section integrates resource management, multi-level permission management, OSD overlay management, system operation control management, database management, and information publishing management of the display system, without specific limitations in this step.

[0074] The target video stream is the video from surveillance cameras that each superior unit and department needs to access; the decoded target video stream is the video stream data obtained by decoding the target video stream accessed through the video access part based on the access instructions of each superior unit and department.

[0075] 102. Superimpose the target symbol onto the decoded target video stream to obtain a video stream with superimposed target symbol.

[0076] According to step 101, the decoded target video stream is obtained. Target symbols are then superimposed on the decoded target video stream using OSD overlay management to obtain the overlaid target symbol video stream. The target symbols are exclusive symbols of the superior units and departments that need to retrieve the target video stream. These superior units and departments can be public security, customs, border inspection, emergency response, maritime affairs, port groups, etc. The target symbols can be graphic symbols, names, abbreviations, or mixed symbols of graphics and names of the units and departments, etc. This step does not impose specific limitations. For example, when a customs unit retrieves port surveillance video, the surveillance video displayed on the client side of the customs platform contains customs graphic symbols.

[0077] 103. Encode the video stream with the superimposed target symbol and send it to the target video playback platform corresponding to the target symbol.

[0078] According to step 102, the superimposed target symbol video stream is obtained. The superimposed target symbol video stream is then encoded. The encoding method can be the ITU's H.261 or H.263 encoding / decoding standards, which are not specifically limited in this step. The target symbol can be obtained from the superimposed target symbol video stream. Based on the target symbol, the corresponding target video playback platform can be obtained through a preset mapping table. The target video playback platform is the video playback platform corresponding to the target video playback client that sends the command to retrieve the target video stream to the display system. The target video playback platform can be a customs platform, a border inspection platform, etc., and the target video playback client is the terminal using the target video playback platform, such as a customs platform and a corresponding monitoring terminal. This step is not specifically limited in this step.

[0079] 104. The target video playback platform receives and decodes the encoded video stream overlaid with target symbols.

[0080] The decoding method can be the ITU-T H.261 or H.263 encoding / decoding standards; this step is not specifically limited. The target video playback platform receives the encoded video stream with superimposed target symbols sent by the video processing unit, decodes it, and stores it in the target video playback platform for playback and display by the target video playback client corresponding to the target video playback platform.

[0081] 105. The target video playback client corresponding to the target video playback platform plays the video stream with the target symbol superimposed.

[0082] The target video playback client is a client that retrieves the video stream with superimposed target symbols through the target video playback platform; for example, the target video playback platform is a border inspection platform, and the target video playback client is a computer terminal of a department of a border inspection agency; the retrieved video stream with superimposed target symbols is a monitoring screen of a certain location in a port, and the upper left corner of the monitoring screen has the abbreviation "border inspection" of the border inspection agency.

[0083] Based on the above Figure 1 As can be seen from the implementation of the embodiments, this invention provides a method for displaying differentiated video symbols. When video surveillance platforms of higher-level units and departments access camera footage from port security projects, they wish to add OSD tags specific to each unit and department to the video. However, in the existing technology, there are no precedents or technologies for this application, and due to environmental factors on-site, it is impossible to install multiple cameras in the same location for different higher-level units and departments to access. To address this, this invention obtains a decoded target video stream; superimposes target symbols onto the decoded target video stream to obtain a superimposed target symbol video stream; encodes the superimposed target symbol video stream and sends it to the target video playback platform corresponding to the target symbol; the target video playback platform receives and decodes the encoded superimposed target symbol video stream; and the target video playback client corresponding to the target video playback platform plays the superimposed target symbol video stream. Therefore, this invention enables the full reuse of cameras in port security system construction, allowing multiple higher-level departments to access the same video feed with their own unique OSD tags, thus avoiding the duplication of camera installations in the same location.

[0084] Furthermore, as a response to Figure 1 Further refinement and extension of the illustrated embodiment, this invention also provides another method for displaying video differentiation symbols, such as... Figure 2 As shown, the specific steps are as follows:

[0085] 201. Determine if the target video stream exists on the currently accessed video playback platform.

[0086] This invention provides a video differentiation symbol display method based on a single-camera, multi-user multiplexing OSD display system. The display system includes a unified management platform, with one GB28181 national standard streaming media gateway configured in each of the north and south directions of the unified management platform, serving as the upper and lower levels respectively for video access and output. This GB28181 national standard streaming media gateway supports simultaneous access and cascading of multiple heterogeneous platforms. It supports interfacing with the upper-level platform using the GB / T28181 and RTMP standards, and accessing the lower-level platform using a proprietary SDK protocol, HTTP, GB / T28181 standard, ONVIF standard, RTSP standard, and RTMP standard. The southbound GB28181 national standard streaming media gateway is specifically responsible for retrieving video streams from the Hikvision 8600 platform via the GB28181 protocol. The northbound GB28181 national standard streaming media gateway is responsible for pushing video streams to multiple different video platforms at the higher level via the GB28181 protocol. It also meets the requirements for east-west access resource management, multi-level permission management, OSD overlay management, system operation control management, database management, and information publishing management. Access function management is performed as needed, and this step does not specify any limitations. Furthermore, the east-west interface "decoding / encoding gateway" handles video calls and concurrent processing. The "decoding / encoding gateway" can concurrently decode 30-60 video streams (from the front-end cameras) forwarded from the unified management platform, then overlay the corresponding OSD tags, and then encode them. The unified management platform then forwards the video stream processed by the "decoding / encoding gateway" to any one of the multiple higher-level video platforms. Controlled by a unified management platform, it automatically outputs video streams with different compression methods to multiple upstream platforms, such as supporting mixed compression and output of 1080P, 720P, D1, etc. under different H.265 or H.264 encodings. The unified management platform's OSD control management commands provide the OSD and target video stream encoding as needed.

[0087] This invention acquires video recordings through a unified management platform. Like real-time video streams, each video recording can independently undergo five (or more) different OSD overlays, along with a second encoding. The recordings are then transmitted to the upper-level video platform via a northbound GB28181 national standard streaming media gateway. Playback is handled by the unified management platform software. The unified management platform supports video expansion capabilities, managing 1000-5000 video channels, and can transfer streams to the upper-level platform on demand (via a "decoding / encoding gateway"), with future expansion capabilities. The upper-level video platforms include public security, customs, border inspection, emergency response, maritime affairs, and port groups, while the lower-level video platform is the Hikvision 8600 platform. The unified management platform retrieves video streams from the lower-level video platforms.

[0088] The method for determining whether the target video stream exists on the currently accessed video playback platform is illustrated with an example:

[0089] The target video stream is a video stream captured by a camera within the video stream stored on the Hikvision 8600 platform at the port, for example, video data captured by camera number 2 on section A of the port. The determination is made as to whether the video data captured by camera number 2 on section A of the port has been accessed, that is, whether a video playback platform has accessed the video data captured by camera number 2 on section A of the port. The currently accessing video playback platform is the border inspection unit's video platform.

[0090] 202. If so, then further determine whether the priority of the currently accessed video playback platform corresponding to the target video stream is lower than that of the target video playback platform.

[0091] Let's take step 201 as an example:

[0092] The target video playback platform is the video platform that needs to access the "video data captured by camera No. 2 in section A of the port", such as the customs unit video platform; when it is determined through step 201 that the target video stream "video data captured by camera No. 2 in section A of the port" exists in the currently accessed video playback platform "border inspection unit video platform", it is further determined whether the priority of the currently accessed video playback platform "border inspection unit video platform" is lower than the priority of the target video playback platform "customs unit video platform";

[0093] The priorities of the border inspection unit's video platform and the customs unit's video platform are defined by preset priority rules. These rules assign priority to each higher-level video platform. For example, the public security unit's video platform is level 6, the customs unit's video platform is level 5, the border inspection unit's video platform is level 4, the emergency response unit's video platform is level 3, the maritime unit's video platform is level 2, and the port group's video platform is level 1. Therefore, in this example, the priorities of the border inspection unit's video platform and the customs unit's video platform are level 4 and level 5, respectively.

[0094] 203. If so, stop the current access of the target video stream to the video playback platform; obtain the target video stream corresponding to the target video playback platform, and decode the target video stream.

[0095] Let's take step 202 as an example:

[0096] The unified management platform determines whether the priority (level 4) of the currently accessing video playback platform "Border Inspection Unit Video Platform" is lower than the priority (level 5) of the target video playback platform "Customs Unit Video Platform". If the determination result is yes, the unified management platform stops the currently accessing video playback platform "Border Inspection Unit Video Platform" from accessing the target video stream "Video data captured by camera No. 2 in Port A section". Then, the unified management platform obtains the target video stream "Video data captured by camera No. 2 in Port A section" that the target video playback platform "Customs Unit Video Platform" needs to access, and decodes the target video stream "Video data captured by camera No. 2 in Port A section" through the unified management platform's "decoding / encoding gateway" to obtain the decoded target video stream.

[0097] Furthermore, if not, the target video playback platforms are ordered according to a preset priority rule, with at least two target video playback platforms. When the currently accessing video playback platform stops accessing the target video stream, the stop duration corresponding to the currently accessing video playback platform is monitored. If the stop duration reaches a preset duration threshold, the target video stream corresponding to the target video playback platform is obtained and decoded. This ensures that subsequent accesses by multiple target video playback platforms follow the pre-ordered access sequence.

[0098] The steps are illustrated using the example above:

[0099] The preset priority rules stipulate that the priorities of each superior unit are as follows: public security unit video platform is level 6, customs unit video platform is level 5, border inspection unit video platform is level 4, emergency unit video platform is level 3, maritime unit video platform is level 2, and port group unit video platform is level 1. For example, if there are three target video playback platforms, namely emergency unit video platform (level 3), maritime unit video platform (level 2), and port group unit video platform (level 1), then it is determined whether the priority (level 4) of the currently accessed video playback platform "border inspection unit video platform" is lower than that of the target video playback platform (there are three target video playback platforms, all with priorities lower than level 3). If the determination result is no, then the three target video playback platforms are sorted from highest to lowest priority, and this sorting is used as the access order of the target video stream. Therefore, the access order of the target video stream is: emergency unit video platform (level 3), maritime unit video platform (level 2), and port group unit video platform (level 1).

[0100] When the currently accessing video playback platform "Border Inspection Unit Video Platform" stops accessing the target video stream "Video data captured by camera No. 2 in Port Section A", the stop duration (10 seconds) corresponding to the currently accessing video playback platform is monitored; if the stop duration (10 seconds) reaches the preset duration threshold (10 seconds), the unified management platform obtains the target video stream "Video data captured by camera No. 2 in Port Section A" and decodes the target video stream through the "Decoding / Encoding Gateway"; each of the target video playback platforms sends an access command to the unified management platform in the access order (Emergency Unit Video Platform (Level 3), Maritime Unit Video Platform (Level 2), Port Group Unit Video Platform (Level 1)) to access the target video stream.

[0101] 204. Obtain the decoded target video stream.

[0102] This step combines the description of step 101 in the above method, and the same content will not be repeated here.

[0103] Obtain the access instruction for the target video stream sent by the target video playback client; based on the access instruction, obtain the target video playback platform corresponding to the target video playback client and the target video stream to be accessed corresponding to the target video playback platform; calculate the resource data value according to the target video stream to be accessed; determine whether the resource data value is greater than a preset gateway computing power threshold; if not, obtain the target video stream based on the access instruction for the target video stream, and decode the target video stream to obtain the decoded target video stream; if yes, obtain the target video stream and send it directly to the target video playback platform.

[0104] Example 1:

[0105] The target video playback client is Computer No. 1 in Department A of the port group, and the target video playback platform is the "Port Group Video Platform". When Computer No. 1 sends an access command to the unified management platform through the "Port Group Video Platform", the unified management platform obtains the target video playback platform "Port Group Video Platform" and the target video stream "video stream captured by Camera No. 2 on Port A section" based on the access command sent by the target video playback platform "Port Group Video Platform" (the access command contains the target video playback platform and the target video stream information to be accessed). "Video data"; For example: if the preset gateway computing power threshold is 100, when the resource data value of the target video stream "video data captured by camera No. 2 in section A of the port" is 110, the unified management platform obtains the target video stream and sends the original video directly to the target video playback platform without processing; if the resource data value of the target video stream "video data captured by camera No. 2 in section A of the port" is 95, the target video stream is obtained based on the access instruction for the target video stream, and the target video stream is decoded to obtain the decoded target video stream.

[0106] Example 2:

[0107] The target video playback clients are five in total: computer number 1 in Department A of the port group, computer number 1 in Department A of the public security unit, computer number 1 in Department A of the customs unit, computer number 1 in Department A of the border inspection unit, and computer number 1 in Department A of the emergency response unit. Each of these five target video clients sends an access command to the unified management platform through its respective video playback platform, accessing the target video stream "video data captured by camera number 2 on section A of the port". Assuming the preset gateway computing power threshold is 100, and the resource data value of the target video stream "video data captured by camera number 2 on section A of the port" is 30, then the pre-accessed target... If the resource data value of the video stream "video data captured by camera No. 2 in section A of the port" is 5 multiplied by 30, which equals 150, then the unified management platform obtains the target video stream and sends the original video directly to the target video playback platform without processing. If the resource data value of the target video stream "video data captured by camera No. 2 in section A of the port" is 15, then the resource data value of the target video stream "video data captured by camera No. 2 in section A of the port" that is to be accessed is 5 multiplied by 15, which equals 75. Then, based on the access instruction for the target video stream, the target video stream is obtained and decoded to obtain the decoded target video stream.

[0108] 205. Superimpose the target symbol onto the decoded target video stream to obtain a video stream with superimposed target symbol.

[0109] This step combines the description of step 102 in the above method, and the same content will not be repeated here.

[0110] Based on the target video playback platform, the target symbol corresponding to the target video playback platform is obtained through a preset mapping table; the target symbol corresponding to the target video playback platform is superimposed on the decoded target video stream to obtain the superimposed target symbol video stream.

[0111] Let's take step 203 as an example:

[0112] When the target video playback platform "Emergency Unit Video Platform" sends an access command to the unified management platform, the unified management platform obtains the superimposed symbol "Emergency Unit Name" of the target video playback platform "Emergency Unit Video Platform" through a preset mapping table based on the access command sent by the target video playback platform "Emergency Unit Video Platform". The unified management platform's "OSD Overlay Management" overlays the symbol "Emergency Unit Name" onto the decoded target video stream. Then, the "Decoding / Encoding Gateway" performs secondary encoding on the target video stream "Video Data Captured by Camera No. 2 on Port A Section" with the superimposed symbol. The unified management platform then sends the encoded target video stream with the superimposed symbol to the target video playback platform "Emergency Unit Video Platform" through the GB28181 national standard streaming media gateway.

[0113] Furthermore, the target video playback client corresponding to the target video playback platform plays the overlaid target symbol video stream according to a preset access rule, and there are at least two target video playback clients corresponding to the target video playback platform. The preset access rule refers to the order in which the target video playback clients send access commands.

[0114] 206. Encode the video stream with the superimposed target symbol and send it to the target video playback platform corresponding to the target symbol.

[0115] This step combines the description of step 103 in the above method, and the same content will not be repeated here.

[0116] 207. The target video playback platform receives and decodes the encoded video stream overlaid with target symbols.

[0117] This step combines the description of step 104 in the above method, and the same content will not be repeated here.

[0118] 208. The target video playback client corresponding to the target video playback platform plays the video stream with the target symbol superimposed.

[0119] This step combines the description of step 105 in the above method, and the same content will not be repeated here.

[0120] Based on the above Figure 2 As can be seen from the implementation method, this invention provides a video differentiation symbol display method. This invention involves building a unified management platform, allowing different platforms / systems to acquire video streams from the same camera and load different OSD tags. Based on an open, integrated, fully compatible, and standardized design architecture, it integrates core technologies such as streaming media forwarding, video encoding, video management, standard communication protocols, network penetration, and network firewalls. This achieves cross-system integration of technologies such as video encoding, streaming media forwarding, standard protocol conversion, and data routing. It can achieve cascading and interconnection between video surveillance platforms based on the GB / T28181-2011 networking standard, solving the problems of independent, scattered, and isolated video information in video system networking. It enables unified standardization, interconnection, and information sharing of video information from different systems, manufacturers, types, and encodings. At the same time, it can realize distributed, clustered, and cascaded multi-router servers, providing customized OSD services for different users with the same video stream, while avoiding the duplication of camera deployment.

[0121] Furthermore, as a response to the above Figure 1 In addition to the implementation of the method shown, this embodiment of the invention also provides a video differentiation symbol display device for displaying the aforementioned symbols. Figure 1 The method shown is implemented accordingly. This device embodiment corresponds to the foregoing method embodiment. For ease of reading, this device embodiment will not repeat the details of the foregoing method embodiment, but it should be clear that the device in this embodiment can implement all the contents of the foregoing method embodiment. Figure 3 As shown, the device includes:

[0122] Acquisition unit 31 is used to acquire the decoded target video stream obtained from the second decoding unit 38;

[0123] Adding unit 32 is used to superimpose target symbols onto the decoded target video stream obtained from the acquisition unit 31 to obtain the superimposed target symbol video stream;

[0124] The encoding unit 33 is used to encode the superimposed target symbol video stream obtained from the adding unit 32 and send it to the target video playback platform corresponding to the target symbol;

[0125] The first decoding unit 34 is used by the target video playback platform to receive and decode the superimposed target symbol video stream encoded by the encoding unit 33;

[0126] Playback unit 35 is used by the target video playback client corresponding to the target video playback platform to play the superimposed target symbol video stream obtained from the first decoding unit 34.

[0127] Furthermore, as a response to the above Figure 2 In addition to the implementation of the method shown, this embodiment of the invention also provides another video differentiation symbol display device for displaying the above-mentioned symbols. Figure 2 The method shown is implemented accordingly. This device embodiment corresponds to the foregoing method embodiment. For ease of reading, this device embodiment will not repeat the details of the foregoing method embodiment, but it should be clear that the device in this embodiment can implement all the contents of the foregoing method embodiment. Figure 4 As shown, the device includes:

[0128] Acquisition unit 31 is used to acquire the decoded target video stream obtained from the second decoding unit 38;

[0129] Adding unit 32 is used to superimpose target symbols onto the decoded target video stream obtained from the acquisition unit 31 to obtain the superimposed target symbol video stream;

[0130] The encoding unit 33 is used to encode the superimposed target symbol video stream obtained from the adding unit 32 and send it to the target video playback platform corresponding to the target symbol;

[0131] The first decoding unit 34 is used by the target video playback platform to receive and decode the superimposed target symbol video stream encoded by the encoding unit 33;

[0132] Playback unit 35 is used by the target video playback client corresponding to the target video playback platform to play the superimposed target symbol video stream obtained from the first decoding unit 34.

[0133] The judgment unit 36 ​​is used to determine whether the target video stream exists on the currently accessed video playback platform; if so, it further determines whether the priority of the currently accessed video playback platform corresponding to the target video stream is lower than that of the target video playback platform.

[0134] The control unit 37 is configured to, based on the judgment unit 36, if the priority of the currently accessing video playback platform corresponding to the target video stream is lower than that of the target video playback platform, stop the access of the currently accessing video playback platform to the target video stream;

[0135] The second decoding unit 38 is used to obtain the target video stream corresponding to the target video playback platform obtained from the judgment unit 36, and to decode the target video stream.

[0136] The control unit 37 is further configured to sort the target video playback platforms according to a preset priority rule if the priority of the currently accessed video playback platform corresponding to the target video stream is not lower than that of the target video playback platform, wherein there are at least two target video playback platforms.

[0137] Monitoring unit 39 is used to monitor the stop duration corresponding to the currently accessed video playback platform when the currently accessed video playback platform stops accessing the target video stream, as obtained from the control unit 37.

[0138] The second decoding unit 38 is further configured to, if the stop duration obtained from the monitoring unit 39 reaches a preset duration threshold, acquire the target video stream corresponding to the target video playback platform obtained from the judgment unit 36, and decode the target video stream.

[0139] Furthermore, the acquisition unit 31 includes:

[0140] The acquisition module 311 is used to acquire the access instruction for the target video stream sent by the target video playback client; and is also used to obtain the target video playback platform corresponding to the target video playback client and the target video stream to be accessed corresponding to the target video playback platform based on the access instruction.

[0141] Calculation module 312 is used to calculate resource data values ​​based on the target video stream to be accessed obtained from the acquisition module 311;

[0142] The judgment module 313 is used to determine whether the resource data value obtained from the calculation module 312 is greater than a preset gateway computing power threshold.

[0143] The decoding module 314 is used to obtain the target video stream based on the access instruction for the target video stream if the resource data value obtained from the judgment module 313 is not greater than the preset gateway computing power threshold, and to decode the target video stream to obtain the decoded target video stream.

[0144] Furthermore, the adding unit 32 includes:

[0145] The acquisition module 321 is used to obtain the target symbol corresponding to the target video playback platform through a preset mapping table based on the target video playback platform;

[0146] Adding module 322 is used to superimpose the target symbol corresponding to the target video playback platform obtained from the acquisition module 321 onto the decoded target video stream to obtain the superimposed target symbol video stream.

[0147] Furthermore, the playback unit 35 includes:

[0148] The playback unit 35 is also used to play the superimposed target symbol video stream according to the target video playback client corresponding to the target video playback platform according to the preset access rules, wherein there are at least two target video playback clients corresponding to the target video playback platform.

[0149] Furthermore, the acquisition unit 31 also includes:

[0150] The forwarding module 315 is used to obtain the target video stream and send it directly to the target video playback platform if the resource data value obtained from the judgment module 313 is greater than the preset gateway computing power threshold.

[0151] Furthermore, embodiments of the present invention also provide a processor for running a program, wherein the program executes the above-described... Figure 1-2 The video differentiation symbol display method described herein.

[0152] Furthermore, embodiments of the present invention also provide a storage medium for storing a computer program, wherein the computer program, when running, controls the device where the storage medium is located to execute the above-described... Figure 1-2 The video differentiation symbol display method described herein.

[0153] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0154] It is understood that the relevant features in the above methods and apparatus can be referenced interchangeably. Furthermore, the terms "first," "second," etc., in the above embodiments are used to distinguish between embodiments and do not represent the superiority or inferiority of any particular embodiment.

[0155] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0156] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0157] In addition, the memory may include non-permanent memory in computer-readable media, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (FROM), and the memory includes at least one memory chip.

[0158] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0159] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0160] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0161] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0162] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0163] Memory may include non-persistent memory in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash memory (FROM). Memory is an example of computer-readable media.

[0164] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PROM), static random access memory (SRAM), dynamic random access memory (DRRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.

[0165] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0166] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0167] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for displaying video differentiation symbols, characterized in that, The method includes: Obtain the decoded target video stream; The target symbol is superimposed on the decoded target video stream to obtain a video stream with superimposed target symbol. The video stream containing the superimposed target symbol is encoded and sent to the target video playback platform corresponding to the target symbol. The target video playback platform receives and decodes the encoded video stream containing the superimposed target symbols; The target video playback client corresponding to the target video playback platform plays the video stream with superimposed target symbols. The process of obtaining the decoded target video stream includes: Obtain the access instruction for the target video stream sent by the target video playback client; Based on the access instruction, the target video playback platform corresponding to the target video playback client and the target video stream to be accessed corresponding to the target video playback platform are obtained; Calculate resource data values ​​based on the target video stream to be accessed; Determine whether the resource data value is greater than a preset gateway computing power threshold; If not, the target video stream is obtained based on the access instruction for the target video stream, and the target video stream is decoded to obtain the decoded target video stream; If so, the target video stream is acquired and sent directly to the target video playback platform.

2. The method according to claim 1, characterized in that, The step of superimposing target symbols onto the decoded target video stream to obtain the superimposed target symbol video stream includes: Based on the target video playback platform, the target symbol corresponding to the target video playback platform is obtained through a preset mapping table; The target symbol corresponding to the target video playback platform is superimposed on the decoded target video stream to obtain the superimposed target symbol video stream.

3. The method according to claim 1, characterized in that, Before acquiring the decoded target video stream, the method further includes: Determine whether the target video stream exists on the currently accessed video playback platform; If so, then it is further determined whether the priority of the currently accessed video playback platform corresponding to the target video stream is lower than that of the target video playback platform; If so, then stop the current access video playback platform to the target video stream; Obtain the target video stream corresponding to the target video playback platform, and decode the target video stream.

4. The method according to claim 3, characterized in that, After further determining whether the priority of the currently accessed video playback platform corresponding to the target video stream is lower than that of the target video playback platform, the method further includes: If not, the target video playback platforms will be sorted according to a preset priority rule, and there will be at least two target video playback platforms. When the currently accessed video playback platform stops accessing the target video stream, the stop duration corresponding to the currently accessed video playback platform is monitored; If the stop duration reaches a preset duration threshold, the target video stream corresponding to the target video playback platform is obtained, and the target video stream is decoded.

5. The method according to claim 4, characterized in that, The target video playback client corresponding to the target video playback platform plays the video stream with superimposed target symbols, including: The target video playback client corresponding to the target video playback platform plays the overlaid target symbol video stream according to a preset access rule, and there are at least two target video playback clients corresponding to the target video playback platform.

6. A video differentiation symbol display device, characterized in that, include: The acquisition unit is used to acquire the decoded target video stream; An addition unit is used to superimpose target symbols onto the decoded target video stream to obtain a video stream with superimposed target symbols. The encoding unit is used to encode the superimposed target symbol video stream and send it to the target video playback platform corresponding to the target symbol; The first decoding unit is used by the target video playback platform to receive and decode the encoded superimposed target symbol video stream; The playback unit is used by the target video playback client corresponding to the target video playback platform to play the overlaid target symbol video stream; The acquisition unit includes: The acquisition module is used to acquire the access instruction for the target video stream sent by the target video playback client; and is also used to obtain the target video playback platform corresponding to the target video playback client and the target video stream to be accessed corresponding to the target video playback platform based on the access instruction. The calculation module is used to calculate resource data values ​​based on the target video stream to be accessed obtained from the acquisition module; The judgment module is used to determine whether the resource data value obtained from the calculation module is greater than a preset gateway computing power threshold. The decoding module is used to obtain the target video stream based on the access instruction for the target video stream if the resource data value obtained from the judgment module is not greater than the preset gateway computing power threshold, and to decode the target video stream to obtain the decoded target video stream. The forwarding module is used to obtain the target video stream and send it directly to the target video playback platform if the resource data value obtained from the judgment module is greater than the preset gateway computing power threshold.

7. A storage medium comprising a stored program, wherein, When the program is running, it controls the device containing the storage medium to execute the video differentiation symbol display method according to any one of claims 1 to 5.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the video differentiation symbol display method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Bridge circuit, electronic device using same, display device

    CN111656431A

  • Camera calling method and device and electronic equipment

    CN113518183A

  • Video data processing method and device, equipment and storage medium

    CN114125432A

  • Flow taking control method and device

    CN114339314A