CN113596392A - Watermark processing method, device, terminal equipment and storage medium - Google Patents

Watermark processing method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113596392A
CN113596392A CN202110745583.0A CN202110745583A CN113596392A CN 113596392 A CN113596392 A CN 113596392A CN 202110745583 A CN202110745583 A CN 202110745583A CN 113596392 A CN113596392 A CN 113596392A
Authority
CN
China
Prior art keywords
monitoring
watermark information
video stream
information generation
generation mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110745583.0A
Other languages
Chinese (zh)
Other versions
CN113596392B (en
Inventor
刘韶锋
闫志波
方小帅
王艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Shilian Communication Technology Co ltd
Original Assignee
Hainan Shilian Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hainan Shilian Communication Technology Co ltd filed Critical Hainan Shilian Communication Technology Co ltd
Priority to CN202110745583.0A priority Critical patent/CN113596392B/en
Publication of CN113596392A publication Critical patent/CN113596392A/en
Application granted granted Critical
Publication of CN113596392B publication Critical patent/CN113596392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/467Embedding additional information in the video signal during the compression process characterised by the embedded information being invisible, e.g. watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2355Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving reformatting operations of additional data, e.g. HTML pages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Computer Security & Cryptography (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The embodiment of the invention provides a watermark processing method, a watermark processing device, terminal equipment and a storage medium, wherein the watermark processing method comprises the following steps: receiving a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.

Description

Watermark processing method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a watermark processing method, an apparatus, a terminal device, and a storage medium.
Background
In recent years, with the rapid development of computers, networks, image processing and transmission technologies, video monitoring technologies have been developed. Video monitoring is an important component of a safety precaution system, a traditional monitoring system usually comprises a front-end camera, a transmission cable and a video monitoring platform, and the camera can be divided into a network digital camera and an analog camera and is used for collecting front-end video image signals. The monitoring system is a comprehensive system with strong precaution capability, and the monitoring video is visual, accurate and timely, has rich information content and is widely applied to many occasions.
The video monitoring is widely applied, such as community security, shopping squares, highways, buses, large celebrations and the like, and the most accurate judgment on the accuracy and reliability of video monitoring video is very important.
Because the monitoring video is widely used, in order to improve the anti-counterfeiting performance of the monitoring video, watermark information needs to be added to a monitoring picture in the monitoring video, in the prior art, the watermark information is generally added to monitoring equipment, and the watermark information is preset and fixed; however, due to the change of the application scene, different clients need to change the watermark information added in the monitoring video, and at present, the watermark information cannot be changed on the monitoring equipment according to different occasions and different situations of the client requirements.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a watermarking method, apparatus, terminal device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a watermarking method, where the method includes:
receiving a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes;
sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and receiving a second monitoring video stream returned by the monitoring platform, and returning the second monitoring video stream to the video network server.
Optionally, the sending the monitoring resource obtaining request to a monitoring platform includes:
when the monitoring platform communicates by adopting an internet protocol, analyzing a monitoring resource acquisition request of the internet protocol sent by the internet protocol server to obtain the monitoring resource acquisition request of the internet protocol, wherein the monitoring resource acquisition request of the internet protocol comprises the watermark information generation mode, the watermark information generation mode at least comprises a first watermark information generation mode and/or a second watermark information generation mode, the first watermark generation mode comprises first watermark information, the second generation mode comprises a target tracking object identifier, and the target tracking object identifier is used for the monitoring platform to determine second watermark information according to the target tracking object identifier;
and sending the monitoring resource acquisition request of the Internet protocol to the monitoring platform.
In a second aspect, an embodiment of the present invention provides a watermarking method, where the method includes:
receiving a monitoring resource acquisition request of a video networking protocol;
analyzing the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, wherein the watermark information generation mode corresponds to different application scenes;
acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier;
determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and returning the second monitoring video stream to the video network server.
Optionally, the generating the watermark information includes a first generating manner of watermark information and/or a second generating manner of watermark information, and the analyzing the monitoring resource acquisition request to obtain the generating manner of watermark information and the monitoring device identifier includes:
analyzing the monitoring resource acquisition request to obtain a first watermark information generation mode, wherein the first watermark information generation mode comprises first watermark information;
and/or the presence of a gas in the gas,
analyzing the monitoring resource acquisition request to obtain a second watermark information generation mode, wherein the second watermark information generation mode comprises a target tracking object identifier;
and determining second watermark information according to the target tracking object identifier.
Optionally, the determining second watermark information according to the target tracking object identifier includes:
determining a first video frame and a second video frame of a target tracking object in the first monitoring video stream according to the first monitoring video stream corresponding to the monitoring equipment identifier and the target tracking object identifier;
acquiring the appearance time and first position information of a target tracking object according to the first video frame;
and acquiring the leaving time and second position information of the target tracking object according to the second video frame, wherein the first position information and the second position information are acquired through the geographical position of monitoring equipment or acquired according to an electronic map.
Optionally, the method further comprises:
sequencing the plurality of first video frames and the plurality of second video frames according to the sequence of the appearance time and the leaving time to obtain a sequenced video frame sequence;
and determining the motion track identifier of the target tracking object according to the sequenced video frame sequence, the first position information and the second position information.
Optionally, the determining a second surveillance video stream according to the watermark information generation manner and the first surveillance video stream includes:
adding the first watermark information to the first monitoring video stream to obtain the second monitoring video stream;
and/or
And adding the second watermark information to the first monitoring video stream to obtain the second monitoring video stream, wherein the second watermark information comprises the occurrence time, the departure time, the first position information, the second position information and the motion track identifier.
In a third aspect, an embodiment of the present invention provides a watermark processing apparatus, where the apparatus includes:
the system comprises a first request module, a second request module and a third request module, wherein the first request module is used for receiving a monitoring resource acquisition request of a video networking protocol, the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes;
the processing module is used for sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and the first returning module is used for receiving a second monitoring video stream returned by the monitoring platform and returning the second monitoring video stream to the video network server.
Optionally, the processing module is configured to:
when the monitoring platform adopts internet protocol communication, analyzing a monitoring resource acquisition request of the internet protocol sent by the internet protocol server to obtain the monitoring resource acquisition request of the internet protocol, wherein the monitoring resource acquisition request of the internet protocol comprises the watermark information generation mode, the watermark information generation mode at least comprises a first watermark information generation mode and/or a second watermark information generation mode, the first watermark generation mode comprises first watermark information, the second generation mode comprises a target tracking object identifier, and the target tracking object identifier is used for the monitoring platform to determine second watermark information according to the target tracking object identifier;
and sending the monitoring resource acquisition request of the Internet protocol to the monitoring platform.
In a fourth aspect, an embodiment of the present invention provides a watermark processing apparatus, where the apparatus includes:
the second request module is used for receiving a monitoring resource acquisition request of the video networking protocol;
the analysis module is used for analyzing the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, wherein the watermark information generation mode corresponds to different application scenes;
the acquisition module is used for acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier;
the watermark loading module is used for determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and the second returning module is used for returning the second monitoring video stream to the video network server.
Optionally, the parsing module is configured to:
analyzing the monitoring resource acquisition request to obtain a first watermark information generation mode, wherein the first watermark information generation mode comprises first watermark information;
and/or the presence of a gas in the gas,
analyzing the monitoring resource acquisition request to obtain a second watermark information generation mode, wherein the second watermark information generation mode comprises a target tracking object identifier;
and determining second watermark information according to the target tracking object identifier.
Optionally, the parsing module is configured to:
determining a first video frame and a second video frame of a target tracking object in the first monitoring video stream according to the first monitoring video stream corresponding to the monitoring equipment identifier and the target tracking object identifier;
acquiring the appearance time and first position information of a target tracking object according to the first video frame;
and acquiring the leaving time and second position information of the target tracking object according to the second video frame, wherein the first position information and the second position information are acquired through the geographical position of monitoring equipment or acquired according to an electronic map.
Optionally, the apparatus further comprises a tracking module for:
sequencing the plurality of first video frames and the plurality of second video frames according to the sequence of the appearance time and the leaving time to obtain a sequenced video frame sequence;
and determining the motion track identifier of the target tracking object according to the sequenced video frame sequence, the first position information and the second position information.
Optionally, the watermark loading module is configured to:
adding the first watermark information to the first monitoring video stream to obtain the second monitoring video stream;
and/or
And adding the second watermark information to the first monitoring video stream to obtain the second monitoring video stream, wherein the second watermark information comprises the occurrence time, the departure time, the first position information, the second position information and the motion track identifier.
In a fifth aspect, an embodiment of the present invention provides a video networking server, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the watermarking method provided by the first aspect.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed, implements the watermarking method provided in the first aspect.
In a seventh aspect, an embodiment of the present invention provides a monitoring management server, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the watermarking method provided by the second aspect.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and the computer program, when executed, implements the watermarking method provided in the second aspect.
The embodiment of the invention has the following advantages:
receiving a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of a watermarking method of the present invention;
FIG. 2 is a flow chart of steps of another watermarking method embodiment of the present invention;
FIG. 3 is a flow chart of steps of yet another watermarking method embodiment of the present invention;
FIG. 4 is a flow chart of steps of yet another watermarking method embodiment of the present invention;
FIG. 5 is a flow chart of steps of yet another watermarking method embodiment of the present invention;
FIG. 6 is a flow chart of steps of yet another watermarking method embodiment of the present invention;
fig. 7 is a block diagram of a watermark processing apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of a watermark processing apparatus according to another embodiment of the present invention;
FIG. 9 is a schematic diagram of a video network server according to the present invention;
fig. 10 is a schematic structural diagram of a monitoring management server according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
An embodiment of the present invention provides a watermark processing method, which is used for adding watermark information to a monitored video. The execution subject of the embodiment is a watermark processing device, and is arranged on the video network server.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a watermarking method according to the present invention is shown, where the method may specifically include the following steps:
s101, receiving a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes;
specifically, in the embodiment of the present invention, the protocol conversion server is connected to the video networking server and the monitoring platform, and the protocol conversion server is also called a monitoring access server, and can convert the video networking protocol and the internet protocol, wherein the protocol conversion server can be integrated with the video networking server, that is, the function of the protocol conversion server is integrated into the video networking server, so that the integrated video networking server has a protocol conversion function, that is, the video networking protocol and the internet protocol are converted with each other; the monitoring platform can be a video networking protocol monitoring platform or an internet protocol monitoring platform, the internet protocol monitoring platform supports the GB/T28181 protocol, and a monitoring device identifier and a monitoring video corresponding to the monitoring device identifier are prestored on the monitoring platform.
In the embodiment of the invention, if the protocol conversion server and the video network server are integrated servers, monitoring resource acquisition requests of video network protocols sent by other video network equipment are received;
if the corotation server and the video network server are separated, the video network server sends a monitoring resource acquisition request to the corotation server, wherein the monitoring resource acquisition request aims to acquire a monitoring video with watermark information, and therefore the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, wherein the watermark information generation mode corresponds to different application scenes, for example, in some application scenes, only watermark information such as a certain time, a certain place or a certain name needs to be directly added, and in other application scenes, the watermark information needs to be determined according to the tracking object identifier.
S102, sending a monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
specifically, when the protocol conversion server receives a monitoring resource acquisition request of a video networking protocol sent by the video networking server, the protocol conversion server converts the monitoring resource acquisition request of the video networking protocol into a monitoring resource acquisition request of the internet, the monitoring resource acquisition request of the internet protocol is a national standard SIP signaling, and the protocol conversion server puts the national standard SIP signaling of the internet protocol to a monitoring platform;
the monitoring platform analyzes the national standard SIP signaling of the Internet protocol to obtain a watermark information generation mode and a monitoring equipment identifier, the monitoring platform determines a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, then determines watermark information according to the watermark information generation mode, and adds the watermark information to the first monitoring video stream to obtain a second monitoring video stream, and the specific addition of the watermark information can adopt DCT (discrete cosine transform of blocks), DT-CWT (dual-tree complex wavelet transform algorithm), DWT-SVD (discrete wavelet transform and singular value decomposition algorithm) and the like, which is not specifically limited in the embodiment of the invention.
S103, receiving a second monitoring video stream returned by the monitoring platform, and returning the second monitoring video stream to the video network server.
Specifically, the collaboration server receives a second monitoring video stream returned by the monitoring platform through the Internet protocol, the second surveillance video stream is then sent to the video networking server via the video networking protocol, so that the second surveillance video stream with the watermark information can be displayed on the video networking server, and, by means of the embodiment of the invention, according to different clients, or different watermark information is set in different scenes, the video network server sends the watermark information to the cooperation server, the cooperation server analyzes the watermark information, then the watermark information is sent to a monitoring platform, the monitoring platform can respectively add different watermark information to corresponding monitoring videos according to different watermark information, and then the monitoring video loaded with the watermark information is sent to a video network server through a coordination server, so that the monitoring videos with different watermark information can be displayed on the video network server.
The watermark processing method provided by the embodiment of the invention receives a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
The present invention further provides a watermark processing method provided in the foregoing embodiment.
As shown in fig. 2, a flow chart of steps of another embodiment of the watermarking method of the present invention is shown, the watermarking method comprising:
s201, a monitoring platform receives a monitoring video sent by monitoring equipment;
specifically, the monitoring platform is connected to monitoring devices in different locations and different scenes, the monitoring devices may be cameras, and manufacturers, types, and numbers of the monitoring devices are not specifically limited in the embodiment of the present invention, but the identifier of each monitoring device is unique. The monitoring platform and each monitoring device support the GB/T28181 protocol and support SIP signaling specified in the GB/T28181 protocol. And the monitoring platform receives the monitoring video sent by each monitoring device through the GB/T28181 protocol.
S202, the monitoring platform stores the monitoring equipment identification of the monitoring equipment and the monitoring video corresponding to the monitoring equipment identification.
Specifically, the monitoring platform stores the monitoring videos and the monitoring device identifications sent by the monitoring devices in a database so that the monitoring videos can be viewed on the video networking server.
S203, receiving a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes;
specifically, when a monitoring video with watermark information of a certain monitoring device is desired to be checked on a video network server, the video network server sends a monitoring resource acquisition request to a coordination server through a video network protocol, wherein the acquisition request comprises a monitoring device identifier and a watermark information generation mode, and the watermark information generation mode corresponds to different application scenes.
S204, analyzing the monitoring resource acquisition request of the video networking protocol sent by the video networking server to obtain the monitoring resource acquisition request of the Internet protocol;
in the embodiment of the invention, as the monitoring platform can be a video networking protocol monitoring platform or an internet protocol monitoring platform, the video networking server performs corresponding operations according to the monitoring platforms of different protocols, and if the monitoring platform is the video networking protocol, the video networking server does not need to perform protocol conversion and directly sends the monitoring resource acquisition request to the video networking protocol monitoring platform;
if the monitoring platform is of the Internet protocol, the video networking server converts the monitoring resource acquisition request of the video networking protocol into the monitoring resource acquisition request of the Internet protocol and then sends the monitoring resource acquisition request of the Internet protocol to the monitoring platform of the Internet protocol.
The monitoring resource acquisition request of the Internet protocol comprises a watermark information generation mode, the watermark information generation mode at least comprises a first watermark information generation mode and/or a second watermark information generation mode, the first watermark generation mode comprises first watermark information, the second generation mode comprises a target tracking object identifier, and the target tracking object identifier is used for a monitoring platform to determine second watermark information according to the target tracking object identifier;
specifically, the first watermark information generation mode is that only watermark information such as a certain time, a certain place or a certain name needs to be directly added, and the second watermark information generation mode is that the watermark information needs to be determined according to the identification of the tracked object; illustratively, the monitoring device identifier is monitoring 1, the watermark information generation manner is different watermark generation policies of different application scenarios, the watermark generation policy may be directly watermark information such as a certain time, place, or name, or may be watermark information of company a, the watermark generation policy may also be that different watermark information generation manners are determined according to the tracer identifier, and then corresponding watermark information is generated according to the watermark information generation manners.
The second watermark information generation method comprises the steps of determining second watermark information according to a tracking object, wherein a target tracking object can track a certain person or a certain vehicle, and can track a flood peak again to obtain a track line of the flood peak, and alarming in an abnormal situation, for example, in a normal situation, a target task always exists in a video picture, but in a certain moment, the target task is not found in the video picture, and abnormal watermark information is added in the video picture.
After receiving a monitoring resource acquisition request of a video networking protocol sent by a video networking server, a protocol conversion server analyzes the monitoring resource acquisition request to obtain a watermark information generation mode, then obtains corresponding watermark information according to the watermark information generation mode, and adds the watermark information to a national standard signaling to obtain the monitoring resource acquisition request of the internet protocol, namely the SIP signaling of the GB/T28181 protocol. That is to say, the collaboration server parses some codes of the video networking protocol to obtain watermark information, and then adds the watermark information to the SIP signaling that can be identified by the monitoring platform, where the SIP signaling includes the watermark information, that is, "company a".
S205, sending the monitoring resource acquisition request of the Internet protocol to the monitoring platform.
Specifically, the protocol conversion server sends the converted national standard SIP signaling to the monitoring platform through the GB/T28181 protocol.
S206, the monitoring platform analyzes the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, acquires a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determines a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
specifically, after receiving the SIP signaling of the national standard, the monitoring platform parses the SIP signaling of the national standard to obtain a parsing result, where the parsing result includes each field identifier in the SIP that can be parsed and content corresponding to the field identifier, for example, the parsing result may include a monitoring device identifier, monitoring device identifier content, watermark information identifier, watermark information generation manner, and the like.
Specifically, the monitoring platform determines the analysis result, that is, determines the monitoring device identifier, the monitoring device identifier content, the watermark information identifier, and the watermark information generation manner in the analysis result, whether the SIP signaling includes any content.
And if the monitoring platform judges that the watermark information identification does not exist or the watermark information does not exist in the analysis result, receiving an analysis failure response instruction returned by the monitoring platform.
Specifically, if the monitoring platform determines that there is no watermark information identifier in the analysis result, that is, there is no watermark information field, or there is a watermark information field but there is no watermark information, that is, the content of the watermark information is empty, in this case, the monitoring platform returns an analysis failure response instruction as a collaboration server.
The monitoring platform judges a watermark information generation mode, if the watermark information generation mode is a first watermark information generation mode, the first watermark information is directly acquired, if the watermark information generation mode is a second watermark information generation mode, the second watermark information needs to be determined according to the second watermark information generation mode, then a first monitoring video stream corresponding to the monitoring equipment identification is acquired according to the monitoring equipment identification, and the first watermark information and/or the second watermark information are/is added into the first monitoring video stream to obtain a second monitoring video stream.
S207, receiving a second monitoring video stream returned by the monitoring platform, and returning the second monitoring video stream to the video network server.
The watermark processing method provided by the embodiment of the invention receives a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Fig. 3 is a flowchart of steps of another embodiment of the watermarking method according to the present invention, as shown in fig. 3, the watermarking method includes:
a1, collecting the monitoring video code stream to the monitoring platform through IP network by the monitoring device such as the camera A, B, C;
a2, the monitoring platform integrates different watermark information into different monitoring video code streams to obtain a second monitoring video stream;
a3, the protocol conversion server receives a second monitoring video code stream sent from the monitoring platform;
a4, the protocol conversion server packages the second monitoring video code stream with the video networking protocol, and sends the monitoring video stream of the video networking protocol to the video networking server, so that the monitoring video stream carrying different watermark information can be seen on the video networking server, and the requirements of different clients on different scenes are met.
Fig. 4 is a flowchart of steps of another embodiment of a watermarking method of the present invention, the watermarking method comprising:
b1, the video network server sends the live broadcast request with the watermark information, namely the monitoring resource acquisition request to the cooperative server through the video network protocol.
The watermark information refers to a watermark information generation manner in this embodiment.
B2, after receiving the live broadcast request, the protocol conversion server analyzes the watermark information in the live broadcast request, then adds the watermark information into the national standard signaling, and sends the live broadcast request carrying the watermark information to the monitoring platform through the internet protocol.
B3, the monitoring platform receives the live broadcast request, analyzes the watermark information, and transmits the video code stream integrated with the watermark information to the server if the watermark information is successfully analyzed; when the failure occurs, sending a failure response to the cooperative server;
specifically, whether the field value of the v2 vwastermask exists in the received SIP signaling is analyzed, if so, the watermark content of the field is integrated into the corresponding code stream, if not, the watermark content of the field is analyzed successfully, and if not, the watermark content of the field is null, the analysis is failed, the watermark information does not need to be integrated, and meanwhile, a failure response is sent to the protocol conversion server.
B4, the protocol conversion server receives the monitoring video code stream loaded with the watermark information returned by the monitoring platform, namely the second monitoring video stream, through the Internet, the monitoring video stream is forwarded to the video network through the video network protocol, and the video network server receives the monitoring video code stream loaded with the watermark information, so that the monitoring picture and the set watermark information can be displayed.
Sending a real-time picture request with watermark information to a cooperative server by a video networking protocol through a video networking technology bridge; after receiving the request, the cooperation server converts and adds the watermark information into a national standard signaling, and forwards the corresponding request to the monitoring platform; after receiving the request, the monitoring platform analyzes the watermark information in the national standard signaling, integrates the watermark information into the code stream and sends the code stream to the coordination server; after the cooperation switching receives the code stream processing, the code stream is forwarded to a video network server through a video network protocol, and the picture of the monitoring resource and the set watermark information can be seen in the video network, so that the user-defined setting of the watermark information in the monitoring picture is realized.
An embodiment of the present invention provides a watermark processing method, which is used for adding watermark information to a monitored video. The execution subject of the embodiment is a watermark processing device, and is arranged on the collaboration server.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of a watermarking method according to the present invention is shown, where the method may specifically include the following steps:
s501, receiving a monitoring resource acquisition request of a video networking protocol;
specifically, in the embodiment of the present invention, the protocol conversion server is connected to the video networking server and the monitoring platform, and the protocol conversion server is also called a monitoring access server, and can convert the video networking protocol and the internet protocol, wherein the protocol conversion server can be integrated with the video networking server, that is, the function of the protocol conversion server is integrated into the video networking server, so that the integrated video networking server has a protocol conversion function, that is, the video networking protocol and the internet protocol are converted with each other; the monitoring platform can be a video networking protocol monitoring platform or an internet protocol monitoring platform, the internet protocol monitoring platform supports the GB/T28181 protocol, and a monitoring device identifier and a monitoring video corresponding to the monitoring device identifier are prestored on the monitoring platform.
The monitoring platform receives a monitoring resource acquisition request of the video networking protocol, that is, the monitoring platform can receive a monitoring resource acquisition request sent by the integrated video networking server, or the monitoring platform receives a monitoring resource acquisition request sent by the protocol conversion server.
S502, analyzing the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, wherein the watermark information generation mode corresponds to different application scenes;
specifically, a monitoring platform analyzes a monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring device identifier, wherein the acquisition request comprises the monitoring device identifier and the watermark information generation mode, the watermark information generation mode corresponds to different application scenes, the watermark information generation mode at least comprises a first watermark information generation mode and/or a second watermark information generation mode, the first watermark generation mode comprises first watermark information, the second generation mode comprises a target tracking object identifier, and the target tracking object identifier is used for the monitoring platform to determine second watermark information according to the target tracking object identifier.
S503, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier;
s504, determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
specifically, the first watermark information generation mode is that only watermark information such as a certain time, a certain place or a certain name needs to be directly added, and the second watermark information generation mode is that watermark information needs to be determined according to the identification of the tracked object; illustratively, the monitoring device identifier is monitoring 1, the watermark information generation manner is different watermark generation policies of different application scenarios, the watermark generation policy may be directly watermark information such as a certain time, place, or name, or may be watermark information of company a, the watermark generation policy may also be that different watermark information generation manners are determined according to the tracer identifier, and then corresponding watermark information is generated according to the watermark information generation manners.
The second watermark information generation method comprises the steps of determining second watermark information according to a tracking object, wherein a target tracking object can track a certain person or a certain vehicle, and can track a flood peak again to obtain a track line of the flood peak, and alarming in an abnormal situation, for example, in a normal situation, a target task always exists in a video picture, but in a certain moment, the target task is not found in the video picture, and abnormal watermark information is added in the video picture.
S305, returning the second monitoring video stream to the video network server.
The present invention further provides a watermark processing method provided in the foregoing embodiment.
As shown in fig. 6, a flowchart of the steps of another embodiment of the watermarking method of the present invention is shown, the watermarking method comprising:
s601, receiving a monitoring resource acquisition request of a video networking protocol;
s602, analyzing the monitoring resource acquisition request to obtain a first watermark information generation mode, wherein the first watermark information generation mode comprises first watermark information;
s603, analyzing the monitoring resource acquisition request to obtain a second watermark information generation mode, wherein the second watermark information generation mode comprises a target tracking object identifier;
and S604, determining second watermark information according to the target tracking object identifier.
Step S604 includes:
step A1, determining a first video frame and a second video frame of a target tracking object in a first monitoring video stream according to a plurality of first monitoring video streams corresponding to monitoring equipment identifiers and target tracking object identifiers;
a2, acquiring the appearance time and first position information of the target tracking object according to the first video frame;
and A3, acquiring the leaving time and second position information of the target tracking object according to the second video frame, wherein the first position information and the second position information are acquired through the geographical position of the monitoring equipment or acquired according to an electronic map.
Step A4, sequencing a plurality of first video frames and second video frames according to the sequence of the occurrence time and the departure time to obtain a sequenced video frame sequence;
and A5, determining the motion trail identification of the target tracking object according to the sequenced video frame sequence, the first position information and the second position information.
As an alternative, determining watermark information according to the target tracking object; for example, if a target person appears in five monitoring devices, such as monitoring device a, monitoring device B, monitoring device C, monitoring device D, and monitoring device E, a watermark information policy, that is, a watermark information generation manner, may be defined as: determining time points of appearance and departure of the target person; the total time is kept in the picture; and numbering and sequencing the pictures according to the appearance sequence of the target person, and the like.
As another alternative, the watermark information is displayed according to an abnormal condition, and is displayed in the picture all the time or disappears along with the appearance and departure of the target person.
In addition, the driving track of the vehicle can be tracked, for example, the time when the vehicle enters the monitoring picture and the time when the vehicle leaves the monitoring picture are acquired, and the driving speed of the vehicle and the like are calculated according to the driving position;
the peak of the flood, namely the track of the flood peak, can be detected, namely the time of the position of the flood peak at the highest point is recorded, and then the track circuit diagram of the flood peak is determined according to the positions in multiple monitoring.
The method can also be applied to other different application scenarios, and is not described herein again.
By analyzing the added watermark information under a plurality of different monitoring devices, the activity track and the action speed of the target person in 5 monitoring pictures can be obtained, and the five pictures form a complete, clear and intuitive track graph.
S605, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier;
s606, determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
as an optional implementation, adding the first watermark information to the first surveillance video stream to obtain a second surveillance video stream;
as another optional implementation, second watermark information is added to the first surveillance video stream to obtain a second surveillance video stream, where the second watermark information includes an occurrence time, a departure time, first location information, second location information, and a motion trajectory identifier.
And S607, returning the second monitoring video stream to the video network server.
Specifically, the monitoring platform sends the second monitoring video stream to the cooperative conversion server through the GB/T28181 protocol, and the cooperative conversion server analyzes the second monitoring video stream after receiving the second monitoring video stream to obtain the monitoring video bare stream information;
the protocol conversion server packages the monitoring video bare stream information according to the format of the video networking protocol and converts the monitoring video bare stream information into the monitoring video stream of the video networking protocol;
specifically, the protocol conversion server packages the monitoring video bare stream information according to the video networking protocol to become a monitoring video stream of the video networking protocol, and then sends the monitoring video stream of the video networking protocol to the video networking server.
Specifically, the coordination server sends the monitoring video stream encapsulated by the video networking protocol to the video networking server through the video networking protocol, so that a second monitoring video stream with watermark information can be displayed on the video networking server, different watermark information is set according to different clients or different scenes through the embodiment of the invention, the video networking server sends the watermark information to the coordination server, the coordination server analyzes the watermark information and then sends the watermark information to the monitoring platform, the monitoring platform can respectively add the different watermark information to corresponding monitoring videos according to the different watermark information and then sends the monitoring videos loaded with the watermark information to the video networking server through the coordination server, so that the self-defined setting of the watermark information in the national standard resource monitoring picture is realized through the video networking, the method meets the use requirements of different clients and different occasions, and can display the monitoring videos with different watermark information on the video networking server.
By the embodiment, the watermark information in the national standard resource monitoring picture can be set in a user-defined mode, and the requirements of different clients on different scenes are met.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The watermark processing method provided by the embodiment of the invention receives a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Another embodiment of the present invention provides a watermark processing apparatus, configured to execute the watermark processing method provided in the foregoing embodiment.
Referring to fig. 7, a block diagram of a watermark processing apparatus according to an embodiment of the present invention is shown, where the apparatus may specifically include the following modules: a first request module 701, a processing module 702 and a first return module 703, wherein:
the first request module 701 is configured to receive a monitoring resource acquisition request of a video networking protocol, where the monitoring resource acquisition request includes identification information and a monitoring device identification, and a watermark information generation manner corresponds to different application scenarios;
the processing module 702 is configured to send a monitoring resource acquisition request to a monitoring platform, so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation manner and a monitoring device identifier, acquire a first monitoring video stream corresponding to the monitoring device identifier according to the monitoring device identifier, and determine a second monitoring video stream according to the watermark information generation manner and the first monitoring video stream;
the first returning module 703 is configured to receive a second monitoring video stream returned by the monitoring platform, and return the second monitoring video stream to the video network server.
The watermark processing device provided by the embodiment of the invention receives a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
The present invention further provides a watermark processing apparatus provided in the foregoing embodiment.
Optionally, the processing module is configured to:
analyzing a monitoring resource acquisition request of a video networking protocol sent by a video networking server to obtain the monitoring resource acquisition request of the Internet protocol, wherein the monitoring resource acquisition request of the Internet protocol comprises a watermark information generation mode, the watermark information generation mode at least comprises a first watermark information generation mode and/or a second watermark information generation mode, the first watermark generation mode comprises first watermark information, the second generation mode comprises a target tracking object identifier, and the target tracking object identifier is used for a monitoring platform to determine second watermark information according to the target tracking object identifier;
and sending the monitoring resource acquisition request of the Internet protocol to the monitoring platform.
The watermark processing device provided by the embodiment of the invention receives a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Another embodiment of the present invention provides a watermark processing apparatus, configured to execute the watermark processing method provided in the foregoing embodiment.
Referring to fig. 8, a block diagram of a watermark processing apparatus according to an embodiment of the present invention is shown, where the apparatus may specifically include the following modules: a second request module 801, a parsing module 802, an obtaining module 803, a watermark loading module 804 and a second returning module 805, wherein:
the second request module 801 is configured to receive a monitoring resource acquisition request of a video networking protocol;
the analyzing module 802 is configured to analyze the monitoring resource obtaining request to obtain a watermark information generating manner and a monitoring device identifier, where the watermark information generating manner corresponds to different application scenarios;
the obtaining module 803 is configured to obtain, according to the monitoring device identifier, a first monitoring video stream corresponding to the monitoring device identifier;
the watermark loading module 804 is configured to determine a second surveillance video stream according to the watermark information generation manner and the first surveillance video stream;
the second return module 805 is configured to return the second surveillance video stream to the video networking server.
The watermark processing device provided by the embodiment of the invention receives a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
The present invention further provides a watermark processing apparatus provided in the foregoing embodiment.
Optionally, the parsing module is configured to:
analyzing the monitoring resource acquisition request to obtain a first watermark information generation mode, wherein the first watermark information generation mode comprises first watermark information;
and/or the presence of a gas in the gas,
analyzing the monitoring resource acquisition request to obtain a second watermark information generation mode, wherein the second watermark information generation mode comprises a target tracking object identifier;
and determining second watermark information according to the target tracking object identifier.
Optionally, the parsing module is configured to:
determining a first video frame and a second video frame of a target tracking object in a first monitoring video stream according to a plurality of first monitoring video streams corresponding to the monitoring equipment identifiers and the target tracking object identifiers;
acquiring the appearance time and first position information of a target tracking object according to the first video frame;
and acquiring the leaving time and second position information of the target tracking object according to the second video frame, wherein the first position information and the second position information are acquired through the geographical position of the monitoring equipment or acquired according to an electronic map.
Optionally, the apparatus further comprises a tracking module for:
sequencing the plurality of first video frames and the plurality of second video frames according to the sequence of the occurrence time and the departure time to obtain a sequenced video frame sequence;
and determining the motion trail identification of the target tracking object according to the sequenced video frame sequence, the first position information and the second position information.
Optionally, the loading module is configured to:
adding the first watermark information to the first monitoring video stream to obtain a second monitoring video stream;
and/or
And adding the second watermark information to the first monitoring video stream to obtain a second monitoring video stream, wherein the second watermark information comprises the occurrence time, the departure time, the first position information, the second position information and the motion track identification.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The watermark processing device provided by the embodiment of the invention receives a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Still another embodiment of the present invention provides a video network server, configured to execute the watermarking method provided in the foregoing embodiment. In this embodiment, the video network server may also be a collaboration server.
Fig. 9 is a schematic structural diagram of a video network server according to the present invention, and as shown in fig. 9, the terminal device includes: at least one processor 901 and memory 902;
the memory stores a computer program; at least one processor executes the computer program stored in the memory to implement the watermarking method provided by the above-mentioned embodiments.
The terminal device provided by this embodiment receives a monitoring resource acquisition request of a video networking protocol, where the monitoring resource acquisition request includes a watermark information generation manner and a monitoring device identifier, where the watermark information generation manner corresponds to different application scenarios; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the watermark processing method provided in any one of the above embodiments is implemented.
According to the computer-readable storage medium of the embodiment, a monitoring resource acquisition request of a video networking protocol is received, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Another embodiment of the present invention provides a monitoring management server, configured to execute the watermark processing method provided in the foregoing embodiment, where the monitoring management server is a monitoring platform.
Fig. 10 is a schematic structural diagram of a monitoring management server according to the present invention, and as shown in fig. 10, the terminal device includes: at least one processor 1001 and memory 1002;
the memory stores a computer program; at least one processor executes the computer program stored in the memory to implement the watermarking method provided by the above-mentioned embodiments.
The terminal device provided by this embodiment receives a monitoring resource acquisition request of a video networking protocol, where the monitoring resource acquisition request includes a watermark information generation manner and a monitoring device identifier, where the watermark information generation manner corresponds to different application scenarios; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the watermark processing method provided in any one of the above embodiments is implemented.
According to the computer-readable storage medium of the embodiment, a monitoring resource acquisition request of a video networking protocol is received, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes; sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain a watermark information generation mode and a monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream; and receiving a second monitoring video stream returned by the monitoring platform, returning the second monitoring video stream to the video network server, and realizing the user-defined setting of the watermark information in the national standard resource monitoring picture through the video network so as to meet the use requirements of different clients and different occasions.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may 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, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing electronic devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing electronic device to cause a series of operational steps to be performed on the computer or other programmable electronic device to produce a computer implemented process such that the instructions which execute on the computer or other programmable electronic device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The foregoing detailed description of a watermarking method and a watermarking apparatus according to the present invention has been presented, and the principles and embodiments of the present invention are explained herein by using specific examples, and the descriptions of the above examples are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (13)

1. A watermarking method is applied to a video network server and comprises the following steps:
receiving a monitoring resource acquisition request of a video networking protocol, wherein the monitoring resource acquisition request comprises a watermark information generation mode and a monitoring equipment identifier, and the watermark information generation mode corresponds to different application scenes;
sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and receiving a second monitoring video stream returned by the monitoring platform, and returning the second monitoring video stream to the video network server.
2. The method of claim 1, wherein sending the monitoring resource acquisition request to a monitoring platform comprises:
when the monitoring platform adopts internet protocol communication, analyzing a monitoring resource acquisition request of the internet protocol sent by the internet protocol server to obtain the monitoring resource acquisition request of the internet protocol, wherein the monitoring resource acquisition request of the internet protocol comprises the watermark information generation mode, the watermark information generation mode at least comprises a first watermark information generation mode and/or a second watermark information generation mode, the first watermark generation mode comprises first watermark information, the second generation mode comprises a target tracking object identifier, and the target tracking object identifier is used for the monitoring platform to determine second watermark information according to the target tracking object identifier;
and sending the monitoring resource acquisition request of the Internet protocol to the monitoring platform.
3. A method of watermarking, the method comprising:
receiving a monitoring resource acquisition request of a video networking protocol;
analyzing the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, wherein the watermark information generation mode corresponds to different application scenes;
acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier;
determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and returning the second monitoring video stream to the video network server.
4. The method according to claim 3, wherein the watermark information generation manner includes a first watermark information generation manner and/or a second watermark information generation manner, and the analyzing the monitoring resource acquisition request to obtain the watermark information generation manner and the monitoring device identifier includes:
analyzing the monitoring resource acquisition request to obtain a first watermark information generation mode, wherein the first watermark information generation mode comprises first watermark information;
and/or the presence of a gas in the gas,
analyzing the monitoring resource acquisition request to obtain a second watermark information generation mode, wherein the second watermark information generation mode comprises a target tracking object identifier;
and determining second watermark information according to the target tracking object identifier.
5. The method of claim 4, wherein determining second watermark information based on the target tracking object identification comprises:
determining a first video frame and a second video frame of a target tracking object in the first monitoring video stream according to the first monitoring video stream corresponding to the monitoring equipment identifier and the target tracking object identifier;
acquiring the appearance time and first position information of a target tracking object according to the first video frame;
and acquiring the leaving time and second position information of the target tracking object according to the second video frame, wherein the first position information and the second position information are acquired through the geographical position of monitoring equipment or acquired according to an electronic map.
6. The method of claim 5, further comprising:
sequencing the plurality of first video frames and the plurality of second video frames according to the sequence of the appearance time and the leaving time to obtain a sequenced video frame sequence;
and determining the motion track identifier of the target tracking object according to the sequenced video frame sequence, the first position information and the second position information.
7. The method according to claim 4 or 6, wherein the determining a second surveillance video stream according to the watermark information generation manner and the first surveillance video stream includes:
adding the first watermark information to the first monitoring video stream to obtain the second monitoring video stream;
and/or
And adding the second watermark information to the first monitoring video stream to obtain the second monitoring video stream, wherein the second watermark information comprises the occurrence time, the departure time, the first position information, the second position information and the motion track identifier.
8. A watermark processing apparatus, characterized in that the apparatus comprises:
the system comprises a first request module, a second request module and a third request module, wherein the first request module is used for receiving a monitoring resource acquisition request of a video networking protocol, the monitoring resource acquisition request comprises identification information and a monitoring equipment identification, and the watermark information generation mode corresponds to different application scenes;
the processing module is used for sending the monitoring resource acquisition request to a monitoring platform so that the monitoring platform analyzes the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier, and determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and the first returning module is used for receiving a second monitoring video stream returned by the monitoring platform and returning the second monitoring video stream to the video network server.
9. A watermark processing apparatus, characterized in that the apparatus comprises:
the second request module is used for receiving a monitoring resource acquisition request of the video networking protocol;
the analysis module is used for analyzing the monitoring resource acquisition request to obtain the watermark information generation mode and the monitoring equipment identifier, wherein the watermark information generation mode corresponds to different application scenes;
the acquisition module is used for acquiring a first monitoring video stream corresponding to the monitoring equipment identifier according to the monitoring equipment identifier;
the watermark loading module is used for determining a second monitoring video stream according to the watermark information generation mode and the first monitoring video stream;
and the second returning module is used for returning the second monitoring video stream to the video network server.
10. A video networking server, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the watermarking method of any of claims 1-2.
11. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the watermarking method of any of claims 1-2.
12. A monitoring management server, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the watermarking method of any of claims 3-7.
13. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the watermarking method of any of claims 3-7.
CN202110745583.0A 2021-06-30 2021-06-30 Watermark processing method, watermark processing device, terminal equipment and storage medium Active CN113596392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110745583.0A CN113596392B (en) 2021-06-30 2021-06-30 Watermark processing method, watermark processing device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110745583.0A CN113596392B (en) 2021-06-30 2021-06-30 Watermark processing method, watermark processing device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113596392A true CN113596392A (en) 2021-11-02
CN113596392B CN113596392B (en) 2024-09-13

Family

ID=78245438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110745583.0A Active CN113596392B (en) 2021-06-30 2021-06-30 Watermark processing method, watermark processing device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113596392B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135670A (en) * 2014-07-22 2014-11-05 乐视网信息技术(北京)股份有限公司 Video playing method and device
US20180295172A1 (en) * 2017-04-10 2018-10-11 Box, Inc. Forensic watermarking of shared video content
CN108965780A (en) * 2017-11-30 2018-12-07 北京视联动力国际信息技术有限公司 A kind of display methods and system of monitored picture
CN109348308A (en) * 2018-11-20 2019-02-15 福建亿榕信息技术有限公司 A kind of traceable method of monitor video leakage and storage medium based on random watermark
WO2019037623A1 (en) * 2017-08-22 2019-02-28 阿里巴巴集团控股有限公司 Data processing method and device
CN110267115A (en) * 2019-06-17 2019-09-20 东软集团股份有限公司 A kind of Video security control method, device, equipment and medium
CN110475102A (en) * 2019-08-28 2019-11-19 视联动力信息技术股份有限公司 A kind of monitoring data processing method and system based on view networking
CN111556284A (en) * 2020-04-02 2020-08-18 视联动力信息技术股份有限公司 Method and device for sharing video stream monitored by video network
CN112669192A (en) * 2021-01-14 2021-04-16 视联动力信息技术股份有限公司 Watermark acquisition method, watermark acquisition device, terminal equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135670A (en) * 2014-07-22 2014-11-05 乐视网信息技术(北京)股份有限公司 Video playing method and device
US20180295172A1 (en) * 2017-04-10 2018-10-11 Box, Inc. Forensic watermarking of shared video content
WO2019037623A1 (en) * 2017-08-22 2019-02-28 阿里巴巴集团控股有限公司 Data processing method and device
CN108965780A (en) * 2017-11-30 2018-12-07 北京视联动力国际信息技术有限公司 A kind of display methods and system of monitored picture
CN109348308A (en) * 2018-11-20 2019-02-15 福建亿榕信息技术有限公司 A kind of traceable method of monitor video leakage and storage medium based on random watermark
CN110267115A (en) * 2019-06-17 2019-09-20 东软集团股份有限公司 A kind of Video security control method, device, equipment and medium
CN110475102A (en) * 2019-08-28 2019-11-19 视联动力信息技术股份有限公司 A kind of monitoring data processing method and system based on view networking
CN111556284A (en) * 2020-04-02 2020-08-18 视联动力信息技术股份有限公司 Method and device for sharing video stream monitored by video network
CN112669192A (en) * 2021-01-14 2021-04-16 视联动力信息技术股份有限公司 Watermark acquisition method, watermark acquisition device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN113596392B (en) 2024-09-13

Similar Documents

Publication Publication Date Title
CN108964963B (en) Alarm system based on video network and method for realizing alarm
CN101031061B (en) Meta data generation device, information processor, imaging apparatus, security system
CN109672856B (en) Resource synchronization method and device
US20140010517A1 (en) Reduced Latency Video Streaming
CN109379209B (en) Method and device for upgrading storage service of video network
US20180376110A1 (en) Network Video Recorder Cluster and Method of Operation
CN110557606B (en) Monitoring and checking method and device
CN103870574A (en) Label manufacturing and indexing method based on H. 264 ciphertext cloud video storage
CN110740289B (en) System and method for acquiring alarm
CN111147789B (en) Method, device and equipment for recording audio and video stream and storage medium
CN110830763A (en) Monitoring video inspection method and device
CN110475100A (en) A kind of method and device of monitoring management
CN113596392B (en) Watermark processing method, watermark processing device, terminal equipment and storage medium
CN110134892B (en) Loading method and system of monitoring resource list
CN111710393A (en) Data transmission method, device, terminal equipment and storage medium
CN110392224B (en) Data processing method and device
CN110519554B (en) Monitoring detection method and device
CN111212043A (en) Multimedia file generation method and device
CN108880925B (en) Method and system for monitoring flow
CN108632236B (en) Data processing method and device for video network
CN110086775A (en) A kind of control association turns the method and device of self-test
CN111131777B (en) Viewing method and device for video network monitoring
CN110896461B (en) Unmanned aerial vehicle shooting video display method, device and system
CN110958461B (en) Method and device for detecting connection state of video networking server
CN109618125B (en) Monitoring method and device based on video network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant