CN110460895B - Sign display method and device, electronic equipment and storage medium - Google Patents
Sign display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110460895B CN110460895B CN201910696180.4A CN201910696180A CN110460895B CN 110460895 B CN110460895 B CN 110460895B CN 201910696180 A CN201910696180 A CN 201910696180A CN 110460895 B CN110460895 B CN 110460895B
- Authority
- CN
- China
- Prior art keywords
- information
- mark
- video
- flag
- preset database
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8126—Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a mark display method, a mark display device, electronic equipment and a storage medium, wherein the method is applied to a signaling gateway in a video transmission system of a video network, the signaling gateway is connected with a user terminal, and the user terminal is provided with a video decoding Internet browser IE plug-in; the method comprises the following steps: acquiring mark information; the mark information comprises mark graphic information and mark configuration information; sending the mark information to the video decoding IE plug-in; and the video decoding IE plug-in is used for displaying the mark graphic information in a video window according to the mark configuration information when video data is played. The embodiment of the invention can realize that the mark content and the display posture of the mark are dynamically updated when the video decoding IE plug-in plays the video data.
Description
Technical Field
The embodiment of the invention relates to the technical field of video networking, in particular to a sign display method and device, electronic equipment and a storage medium.
Background
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 Ethernet applications to high-definition video, and high-definition faces.
When a video window is displayed by using a multi-channel decoding IE (Internet Explorer) plug-in the video network, a LOGO may be set in the video window.
At present, a multiple decoding IE plugin display LOGO is set in a static configuration file manner, wherein pictures and information corresponding to the LOGO are stored locally. LOGO cannot be replaced and adjusted once set, when a video window is in operation.
Disclosure of Invention
In order to solve the above problems, the embodiment of the present invention discloses a mark display method, which is applied to a signaling gateway in a video transmission system of a video network, wherein the signaling gateway is connected with a user terminal, and the user terminal is provided with a video decoding internet browser IE plug-in; the method comprises the following steps:
acquiring mark information; the mark information comprises mark graphic information and mark configuration information;
sending the mark information to the video decoding IE plug-in; and the video decoding IE plug-in is used for displaying the mark graphic information in a video window according to the mark configuration information when video data is played.
Preferably, the signaling gateway is connected with a management terminal; the management terminal is used for acquiring the mark acquisition information, storing the mark information into a preset database and generating a mark change notice; the step of obtaining the flag information includes:
receiving the flag change notification;
and acquiring the mark information corresponding to the mark change notice from the preset database.
Preferably, the management terminal is configured to generate generation time information corresponding to the flag information, and store the generation time information in the preset database; the step of acquiring the flag information corresponding to the flag change notification from the preset database includes:
extracting target generation time information from the flag change notification;
and acquiring mark information corresponding to the target generation time information in the preset database.
Preferably, the management terminal includes: a WEB front end and a WEB back end;
the WEB front end is used for collecting the mark information and sending the mark information to the WEB rear end;
and the WEB back end is used for generating a mark change notice corresponding to the mark information and storing the mark information into the preset database.
Preferably, the flag configuration information includes: the azimuth position matched with the edge of the video window, the azimuth offset, the transparency and the mark size;
the logo graphic information includes a logo image, and/or logo characters.
The embodiment of the invention also discloses a mark display device, which is applied to a signaling gateway in a video transmission system of the video network, wherein the signaling gateway is connected with a user terminal, and the user terminal is provided with a video decoding Internet browser IE plug-in; the device comprises:
the information acquisition module is used for acquiring the mark information; the mark information comprises mark image information and mark configuration information;
the information pushing module is used for sending the mark information to the video decoding IE plug-in; and the video decoding IE plug-in is used for displaying the mark graphic information in a video window according to the mark configuration information when video data is played.
Preferably, the signaling gateway is connected with a management terminal; the management terminal is used for acquiring the mark information, storing the mark information into a preset database and generating a mark change notice; the information acquisition module includes:
a notification receiving submodule for receiving the flag change notification;
and the information extraction submodule is used for acquiring the mark information corresponding to the mark change notice from the preset database.
Preferably, the management terminal is configured to generate generation time information corresponding to the flag information, and store the generation time information in the preset database; the information extraction submodule includes:
a time unit configured to extract target generation time information from the flag change notification;
and the extraction unit is used for acquiring mark information corresponding to the target generation time information in the preset database.
Preferably, the management terminal includes: a WEB front end and a WEB back end;
the WEB front end is used for collecting the mark information and sending the mark information to the WEB rear end;
and the WEB back end is used for generating a mark change notice corresponding to the mark information and storing the mark information into the preset database.
Preferably, the flag configuration information includes: the azimuth position matched with the edge of the video window, the azimuth offset, the transparency and the mark size;
the logo graphic information includes a logo image, and/or logo characters.
The embodiment of the invention also discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the mark display method when being executed by the processor.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the steps of the mark display method.
The embodiment of the invention has the following advantages:
the embodiment of the invention sends the mark information containing the mark graphic information and the mark configuration information to the user terminal after the mark information is obtained through the signaling gateway, and the video decoding IE plugin in the user terminal displays the mark graphic information in the video window according to the mark configuration information in real time while playing the video data after receiving the mark information, so as to update the mark in the video window under the condition of not stopping running the video decoding IE.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of steps of an embodiment of a logo display method of the present invention;
FIG. 6 is a schematic diagram of the marker information collection in the embodiment of the marker displaying method of the present invention;
FIG. 7 is a flow chart of a logo display method of the present invention;
FIG. 8 is a schematic view of a sign displaying apparatus 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 Ethernet applications to high-definition video, and high-definition faces.
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.
To enable those skilled in the art to better understand the embodiments of the present invention, the following description is given of the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time switching platform, can realize the large-scale high-definition video real-time transmission of the whole network which can not be realized by the Ethernet at present, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of hard disk magnetic head track seeking, the resource consumption only accounts for 20% of the same-grade IP Ethernet, but the concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem which troubles the Ethernet from the structure by the modes of independent service permission and complete isolation of equipment and user data, and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural careless security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may interconnect and interwork via metropolitan and wide area video networks.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway:
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, if there is a packet, the ethernet MAC DA of the corresponding terminal is known according to the destination address DA of the packet in the video network, the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type are added, and the packet is sent.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and transcoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA | SA | Reserved | Payload | CRC |
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), and is defined to be the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA | SA | Reserved | label (R) | Payload | CRC |
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video networking, one of the core concepts of the embodiments of the present invention is provided, and the obtained mark information is pushed to the video decoding IE plugin through the signaling gateway, and the video decoding IE plugin displays the mark corresponding to the identification information in the video window in which the video data is displayed, so as to realize the dynamic adjustment of the mark in the video window.
Referring to fig. 5, a flowchart of steps of an embodiment of a mark displaying method according to the present invention is shown, where the embodiment of the present invention may be applied to a signaling gateway in a video transmission system of a video network, the signaling gateway is connected to a user terminal, and the user terminal is provided with a video decoding internet browser IE plug-in;
the signaling gateway can be a video networking signaling gateway meeting GB/T28181, and the video decoding IE plug-in is a multi-channel decoding IE plug-in which can decode and play a plurality of video data simultaneously. The user terminal may be installed with an IE plug-in for decoding the video data, then displaying a corresponding video window, and playing the decoded video data in the video window.
The embodiment of the invention specifically comprises the following steps:
the logo graphic information is used for determining the appearance style, picture content, character content and the like of the logo, and the logo configuration information is used for determining the display rule (display posture) of the logo in the video window.
The logo image information may include that the logo graphic information includes a logo image, and/or, a logo character. The marker image may be a still image or a moving image. The logo characters may be textual information that matches the logo image, such as: the flag character may be a name, an explanation, etc. of the flag image.
The flag configuration information may include: the azimuth position matched with the edge of the video window, the azimuth offset, the transparency and the mark size.
In an embodiment of the present invention, the signaling gateway is connected to a management terminal; the management terminal is used for acquiring the mark information, storing the mark information into a preset database and generating a mark change notice. The management terminal includes but is not limited to a mobile phone, a tablet, a personal computer, etc., and the management terminal may be adapted for video networking or internet networking.
Step 501 may include: a substep S11 of receiving the flag change notification;
the management terminal stores the flag information in the database, generates a flag change notification, and transmits the change notification to the signaling gateway.
And the signaling gateway determines that the information with the mark needs to be pushed to the video decoding IE plug-in by receiving the mark change notice.
And a substep S12 of acquiring the flag information corresponding to the flag change notification from the preset database.
The signaling gateway and the management terminal are connected with the same preset database (or database cluster), and after the sign change notice is obtained, the sign information corresponding to the change notice is obtained from the preset database.
By storing the mark information into the preset database, the signaling gateway acquires the corresponding mark information from the preset database according to the received mark change notice instead of directly sending the mark information to the signaling gateway through the management terminal, thereby reducing the communication cost between the signaling gateway and the management terminal and facilitating the management (inquiry, deletion, modification and the like) of the historical mark information.
In an embodiment of the present invention, the management terminal is configured to generate generation time information corresponding to the flag information, and store the generation time information in the preset database; the sub-step S12 may include:
a substep S121 of extracting target generation time information from the flag change notification;
and the management terminal acquires the timestamp corresponding to the current moment while acquiring the mark information, and generates time information corresponding to the mark information by adopting the timestamp. Based on the generation time information, a corresponding flag change notification is generated. The signaling gateway may extract generation time information in the flag change notification by analyzing the flag change notification, and generate the generation time information as target generation time information.
As one example, the timestamp may include year, month, day, hour, minute, second, etc. information. The management terminal acquires the flag information and uses a timestamp corresponding to the time before the point as the generation time information corresponding to the flag information.
And a substep S122 of acquiring, in the preset database, flag information corresponding to the target generation time information.
When the management terminal stores the flag information in the preset database, the management terminal stores the generation time information corresponding to the flag information in the preset database.
The signaling gateway inquires generation time information consistent with the target generation time information in a preset database, and acquires mark information corresponding to the generation time information, thereby acquiring mark information matched with the target generation time information.
In an embodiment of the present invention, the management terminal includes: a WEB front end and a WEB back end;
the WEB front end is used for collecting the mark information and sending the mark information to the WEB rear end;
the WEB back end is used for generating a sign change notice corresponding to the sign information and storing the sign information into the preset database.
The management terminal can be deployed with a management platform as a WEB front end, and the management platform can collect the mark information set by a manager and send the mark information to the WEB rear end. Specifically, the management platform may be provided with a flag information setting window corresponding to the video window, and the administrator may upload flag graphic information in the configuration information window and set flag configuration information.
The manager uploads the sign graphic information to a sign information setting window, and determines the azimuth position and the azimuth offset by changing the position of the sign graphic information; determining the size of the mark by changing the size of the mark graph; the transparency is determined by changing the perspective of the logo graphic.
Because the mark information setting window corresponds to the video window, the display effect of the mark information on the mark information setting window corresponds to the display effect of the mark information on the video window, and a manager can intuitively preview the display effect of the mark information on the video window, so that the mark information can be more intuitively adjusted.
The following describes the flow of collecting the flag information by the management terminal by using an example:
referring to fig. 6, a schematic diagram of sign information acquisition in the sign display method embodiment of the present invention is shown.
And (3) taking the logo image uploaded by a manager and/or the logo characters as logo graphic information.
"LEFT", "RIGHT", "TOP", and "BOTTOM" are four azimuth positions preset in the flag information setting window, where "LEFT" denotes a position located at the center on the LEFT side of the window, "RIGHT" denotes a position located at the center on the RIGHT side of the window, "TOP" denotes a position located at the center on the upper side of the window, and "BOTTOM" denotes a position located at the center on the lower side of the window. And uploading the mark graphic information to one of the four azimuth positions by a manager, and determining the corresponding azimuth position as the azimuth position in the mark configuration information.
"-X" is shifted X pixels to the left, "+ X" is shifted X pixels to the right, "+ Y" is shifted Y pixels down, "-Y" is shifted Y pixels up. After uploading the marker graphic information, the manager shifts the marker graphic information in any one direction of up, down, left and right. The offset direction and the offset pixel number of the marker pattern information are determined as the amount of offset in the marker arrangement information.
And determining the transparency in the marker configuration information by changing the perspective rate of the uploaded marker graphic information through a manager. Therein, a default transparency of 0, i.e. no perspective effect, may be set.
And determining the size of the mark in the mark configuration information by changing the size of the uploaded mark graphic information by a manager.
And the video decoding IE plug-in receives the mark information of the signaling gateway and displays the mark graphic information according to the mark configuration information when the video data is played so as to realize the mark displayed in the video window in real time.
Further, the video decoding IE displays the historical updated logo graphic information before receiving the new logo information. And after receiving the new mark information, the video decoding IE stops displaying the previous mark graphic information and displays the mark graphic information according to the new mark information so as to update the mark displayed in the video window in real time.
When the video decoding IE plug-in is a multi-path decoding IE plug-in, the video decoding IE plug-in can simultaneously display a plurality of video windows and play a plurality of video data. At this time, the video decoding IE shows the flag graphic information in each video window according to the flag configuration information, so as to change the flags in multiple video windows at the same time.
In one example, the management terminal may generate a time policy in which a plurality of historically generated flag change notifications are recorded, the flag change notifications in the time policy being provided with the ranking information. The management terminal sends the mark change notice in the time strategy to the signaling gateway according to the sequencing information at a certain time interval, so that the signaling gateway can also sequentially acquire mark information corresponding to the mark change notice in the time strategy at a certain time interval and push the mark information to the user terminal, so that the user terminal can dynamically display the corresponding mark according to the time strategy.
In the embodiment of the invention, after the mark information is obtained through the signaling gateway, the mark information containing the mark graphic information and the mark configuration information is sent to the user terminal, and after the video decoding IE plug-in the user terminal receives the mark information, the mark graphic information is displayed in the video window in real time according to the mark configuration information while the video data is played, so that the mark in the video window is updated under the condition that the video decoding IE is not stopped.
Referring to fig. 7, a flow chart of a logo displaying method of the present invention is shown, and the logo displaying method of the present invention may include the following steps:
OP1, the manager uploads LOGO picture (graphic sign information) to the designated position through WEB front end, and reports the storage position and LOGO display area size, display direction, position offset and LOGO transparency information to WEB rear end, so as to achieve the purpose of setting LOGO information (sign configuration information).
OP2, the WEB back end stores the received LOGO information (mark information) into DB (Database).
OP3, whenever WEB back end receives new LOGO information, it sends LOGO change notice (sign change notice) to signaling gateway to notify MSERVER (signaling gateway) that LOGO module has changed.
OP4, when MSERVER receives the message that LOGO is changed, it will get the latest LOGO information from database.
And OP5, MSERVER pushes the LOGO picture and the LOGO information to an IE plug-in (video decoding IE plug-in).
And the IE plug-in displays the LOGO picture in all video windows in the IE plug-in a specified posture according to the received LOGO information.
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 of skill 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 embodiments of the invention.
Referring to fig. 8, a block diagram of a structure of a mark displaying apparatus of the present invention is shown, an embodiment of the present invention may be applied to a signaling gateway in a video transmission system of a video network, where the signaling gateway is connected to a user terminal, and the user terminal is provided with a video decoding internet browser IE plug-in; the device comprises:
an information obtaining module 801, configured to obtain flag information; the mark information comprises mark image information and mark configuration information;
an information pushing module 802, configured to send the flag information to the video decoding IE plugin; and the video decoding IE plug-in is used for displaying the mark graphic information in a video window according to the mark configuration information when video data is played.
In an embodiment of the present invention, the signaling gateway is connected to a management terminal; the management terminal is used for acquiring the mark information, storing the mark information into a preset database and generating a mark change notice; the information acquisition module 801 includes:
a notification receiving submodule for receiving the flag change notification;
and the information extraction submodule is used for acquiring the mark information corresponding to the mark change notice from the preset database.
In an embodiment of the present invention, the management terminal is configured to generate generation time information corresponding to the flag information, and store the generation time information in the preset database; the information extraction submodule includes:
a time unit configured to extract target generation time information from the flag change notification;
and the extraction unit is used for acquiring the mark information corresponding to the target generation time information in the preset database.
In an embodiment of the present invention, the management terminal includes: a WEB front end and a WEB back end;
the WEB front end is used for collecting the mark information and sending the mark information to the WEB rear end;
and the WEB back end is used for generating a mark change notice corresponding to the mark information and storing the mark information into the preset database.
In an embodiment of the present invention, the flag configuration information includes: the azimuth position matched with the edge of the video window, the azimuth offset, the transparency and the mark size;
the logo graphic information includes a logo image, and/or logo characters.
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 embodiment of the invention also discloses electronic equipment, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the computer program realizes the steps of the mark display method when being executed by the processor.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to realize the steps of the mark display method.
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, terminal 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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 apparatus 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal 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 terminal 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 terminal. 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 terminal that comprises the element.
The above detailed description is provided for the method, apparatus, electronic device and storage medium for displaying a logo, and the specific examples are applied herein to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding 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, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A mark display method is characterized in that the mark display method is applied to a signaling gateway in a video transmission system of a video network, the signaling gateway is connected with a user terminal, and the user terminal is provided with a video decoding Internet browser IE plug-in; the method comprises the following steps:
acquiring mark information; the mark information comprises mark graphic information and mark configuration information;
sending the mark information to the video decoding IE plug-in; the video decoding IE plug-in is used for displaying the mark graphic information in a video window according to the mark configuration information when video data is played;
the sign configuration information is used for determining the display rule of the sign graphic information in the video window;
wherein the video decoding IE plugin comprises a multi-path decoding IE plugin;
the mark information is obtained from a preset database according to the corresponding generation time information.
2. The method of claim 1, wherein the signaling gateway is connected to a management terminal; the management terminal is used for acquiring the mark information, storing the mark information into a preset database and generating a mark change notice; the step of obtaining the flag information includes:
receiving the flag change notification;
and acquiring the mark information corresponding to the mark change notice from the preset database.
3. The method according to claim 2, wherein the management terminal is configured to generate generation time information corresponding to the flag information and store the generation time information in the preset database; the step of acquiring the flag information corresponding to the flag change notification from the preset database includes:
extracting target generation time information from the flag change notification;
and acquiring mark information corresponding to the target generation time information in the preset database.
4. The method according to claim 2 or 3, wherein the management terminal comprises: a WEB front end and a WEB back end;
the WEB front end is used for collecting the mark information and sending the mark information to the WEB rear end;
and the WEB back end is used for generating a mark change notice corresponding to the mark information and storing the mark information into the preset database.
5. The method according to any one of claims 1 to 3,
the flag configuration information includes: the azimuth position matched with the edge of the video window, azimuth offset, transparency and mark size;
the logo graphic information includes a logo image, and/or logo characters.
6. A mark display device is characterized in that the mark display device is applied to a signaling gateway in a video transmission system of a video network, the signaling gateway is connected with a user terminal, and the user terminal is provided with a video decoding Internet browser IE plug-in; the device comprises:
the information acquisition module is used for acquiring the mark information; the mark information comprises mark image information and mark configuration information;
the information pushing module is used for sending the mark information to the video decoding IE plug-in; the video decoding IE plug-in is used for displaying the mark graphic information in a video window according to the mark configuration information when video data is played;
the sign configuration information is used for determining the display rule of the sign graphic information in the video window;
wherein the video decoding IE plugin comprises a multi-path decoding IE plugin;
the mark information is obtained from a preset database according to the corresponding generation time information.
7. The apparatus of claim 6, wherein the signaling gateway is connected to a management terminal; the management terminal is used for acquiring the mark information, storing the mark information into a preset database and generating a mark change notice; the information acquisition module includes:
a notification receiving submodule for receiving the flag change notification;
and the information extraction submodule is used for acquiring the mark information corresponding to the mark change notice from the preset database.
8. The apparatus according to claim 7, wherein the management terminal is configured to generate generation time information corresponding to the flag information, and store the generation time information in the preset database; the information extraction sub-module includes:
a time unit configured to extract target generation time information from the flag change notification;
and the extraction unit is used for acquiring mark information corresponding to the target generation time information in the preset database.
9. Electronic device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and capable of running on said processor, said computer program, when executed by said processor, implementing the steps of the sign displaying method according to any one of claims 1 to 5.
10. Computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the logo exhibition method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910696180.4A CN110460895B (en) | 2019-07-30 | 2019-07-30 | Sign display method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910696180.4A CN110460895B (en) | 2019-07-30 | 2019-07-30 | Sign display method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110460895A CN110460895A (en) | 2019-11-15 |
CN110460895B true CN110460895B (en) | 2022-05-06 |
Family
ID=68484052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910696180.4A Active CN110460895B (en) | 2019-07-30 | 2019-07-30 | Sign display method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110460895B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792188A (en) * | 2016-12-06 | 2017-05-31 | 腾讯数码(天津)有限公司 | A kind of data processing method of live page, device and system |
CN107920098A (en) * | 2016-10-09 | 2018-04-17 | 北京视联动力国际信息技术有限公司 | The method and system that a kind of web player icon is shown |
CN108322809A (en) * | 2017-01-16 | 2018-07-24 | 北京视联动力国际信息技术有限公司 | The method and system that control video file plays under depending on networking under a kind of internet |
CN109660859A (en) * | 2018-12-25 | 2019-04-19 | 北京潘达互娱科技有限公司 | A kind of animated show method and mobile terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7631336B2 (en) * | 2004-07-30 | 2009-12-08 | Broadband Itv, Inc. | Method for converting, navigating and displaying video content uploaded from the internet to a digital TV video-on-demand platform |
US10219040B2 (en) * | 2015-12-28 | 2019-02-26 | The Directv Group, Inc. | Video frame bookmarking user interface component |
CN106028118A (en) * | 2016-05-31 | 2016-10-12 | 武汉斗鱼网络科技有限公司 | Player mark presentation method and device |
-
2019
- 2019-07-30 CN CN201910696180.4A patent/CN110460895B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107920098A (en) * | 2016-10-09 | 2018-04-17 | 北京视联动力国际信息技术有限公司 | The method and system that a kind of web player icon is shown |
CN106792188A (en) * | 2016-12-06 | 2017-05-31 | 腾讯数码(天津)有限公司 | A kind of data processing method of live page, device and system |
CN108322809A (en) * | 2017-01-16 | 2018-07-24 | 北京视联动力国际信息技术有限公司 | The method and system that control video file plays under depending on networking under a kind of internet |
CN109660859A (en) * | 2018-12-25 | 2019-04-19 | 北京潘达互娱科技有限公司 | A kind of animated show method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110460895A (en) | 2019-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110121059B (en) | Monitoring video processing method, device and storage medium | |
CN108881797B (en) | Data processing method and device for video network | |
CN109819214B (en) | Video split-screen method and device | |
CN109168064B (en) | Synchronous display method and system of electronic data | |
CN109246135B (en) | Method and system for acquiring streaming media data | |
CN109547731B (en) | Video conference display method and system | |
CN109743550B (en) | Method and device for monitoring data flow regulation | |
CN109194915B (en) | Video data processing method and system | |
CN110224988B (en) | Image data processing method, system and device and storage medium | |
CN109802952B (en) | Monitoring data synchronization method and device | |
CN110139124B (en) | Processing method and device for monitoring recording | |
CN109743555B (en) | Information processing method and system based on video network | |
CN110012316B (en) | Method, device, equipment and storage medium for processing video networking service | |
CN109768957B (en) | Method and system for processing monitoring data | |
CN110891156B (en) | Conference entering method and device of monitoring camera | |
CN110572363B (en) | Product display method and device based on video network, electronic equipment and storage medium | |
CN109768964B (en) | Audio and video display method and device | |
CN109698953B (en) | State detection method and system for video network monitoring equipment | |
CN110519546B (en) | Method and device for pushing business card information based on video conference | |
CN110113555B (en) | Video conference processing method and system based on video networking | |
CN110737519A (en) | theme switching method and device | |
CN108574655B (en) | Conference monitoring and broadcasting method and device | |
CN110324578B (en) | Monitoring video processing method, device and storage medium | |
CN110830185B (en) | Data transmission method and device | |
CN110460895B (en) | Sign display method and device, electronic equipment and storage medium |
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 |