Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demand is met using Packet Switching depending on networking technology.Have point depending on networking technology
Flexible, the simple and low price of group exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtual to realize the whole network switch type
The seamless connection of circuit and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or
National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk battle array
Column module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) end if meeting the following conditions
It is less than that mouth sends caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, packet
Include the operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible for and access switch, terminal (not shown)
Between protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed
Table) configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface
The packet (downlink data) that module 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters exchange
Engine modules 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the guiding letter of packet
Breath;If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close
It is full, then it abandons.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
The ethernet mac DA of measured data packet, ethernet mac SA, Ethernet length or frame type, with regarding networking mesh ground
Location DA, whether meet the requirements, distributed if meeting corresponding depending on networking source address SA, depending on networking data Packet type and packet length
Flow identifier (stream-id);Then, MAC DA, MAC SA, length or frame are subtracted by MAC removing module 410
Type (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module composition.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA |
SA |
Reserved |
Payload |
CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA |
SA |
Reserved |
Label |
Payload |
CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.
Wherein, the format of label can be with reference to such as giving a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, it
Position is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, one of the core concepts of the embodiments of the present invention is proposed, it then follows regard the association of networking
View, the text message for target terminal is received by server, and control target terminal and intercut this article in the form of subtitles
This message.
Referring to Fig. 5, a kind of step flow chart of method for intercutting text message of the invention is shown, this method can answer
For regard networking in view networked server, can specifically include following steps:
Step 501, the text message and broadcasting control parameter for target terminal that web page server is sent are received, it is described
Playing control parameter includes that display time, the text message and the broadcasting control parameter are mentioned by web page server reception
The data of friendship obtain.
For the ease of control target terminal on the basis of showing content, text message is intercutted in the form of subtitles, thus
Reach flexibly and accurately control target terminal targetedly (including for environment, purposes locating for the target terminal, towards
User etc.) release information purpose, that is to say, control the content and opportunity that different terminals release news by subtitle, raising
The accuracy of release information can receive the text message for the target terminal of web page server submission depending on networked server
With broadcasting control parameter.
Text message is the word content for controlling target terminal and being shown, may include that text, additional character etc. are various
The character of various kinds.
It plays control parameter to be used to illustrate to control the mode that target terminal plays text message, for example the display time can be used
In control target terminal display text message opportunity, the display time may include immediately or a set time point or
Period.
Web page server (i.e. web server) is used to receive user and refers to every control that the equipment such as target terminal are submitted
It enables, than content as shown and the mode etc. of display content, it is of course also possible to by the number from equipment such as the target terminals
According to feeding back to user.
Wherein, web page server can be provided a user with webpage or client for the control entrance for intercutting text message,
To receive the text message and play the information such as control parameter that user submits by the control entrance.
It is used to encode the data such as the control instruction of target terminal for what web page server was sent depending on networked server
And it is sent to target terminal, it is of course also possible to receive the data of target terminal, and the data feedback received is taken to webpage
Be engaged in device, i.e., this can play the role of the progress data relay between the web page server and terminal depending on networked server.
Terminal (i.e. depending on networked terminals) is carried out for receiving come the data for networked server of considering oneself as according to the data received
It plays, including the various ways such as display image, broadcasting sound.Wherein, target terminal is the aforementioned selected terminal of middle user.
Web page server can send target terminal mark to view networked server, so that target terminal is indicated to the view
Networked server;Alternatively, web page server also can not send target terminal mark, the view the Internet services to view networked server
All terminals currently connected are all determined as target terminal by device;Alternatively, the web page server is sent to the view networked server
Submit user identifier (such as the mark for submitting the user of above-mentioned text message), the view networked server according to the user identifier,
Select corresponding target terminal.
For terminal iidentification for identifying a terminal, which may include factory sequence number, the IP of the terminal
(Internet Protocol, network protocol) address or device numbering etc., certainly, in practical applications, which may be used also
To include other information that can be identified for that terminal.
User identifier may include user in the user obtained depending on networking registration for identifying a user, the user identifier
Name or User ID.
The corresponding terminal of mark can be determined in advance depending on networked server (for example to refer to the binding of terminal based on user is received
Enable and determining), user identifier and corresponding terminal iidentification are stored, so as to search corresponding according to user identifier
Terminal iidentification makees target terminal mark, and it is target terminal that target terminal, which identifies corresponding terminal,.
In addition, a kind of system for intercutting text message can be as shown in Figure 6.Referring to Fig. 6, which may include the end Web
01, Web server 02, view networked server 03, view networked terminals 04 and display equipment 05, above equipment pass sequentially through network company
It connects.Wherein, the end Web 01 can be used as client to interact with user, and the end Web 01 can be based on HTTP (Hyper
Text Transfer Protocol, hypertext transfer protocol HTTP) Web server 02 communicated;Web server 02,
Depending on networked server 03 and depending on the connection that can be networked by the view in aforementioned between networked terminals 04;It can lead to depending on networked terminals 04
Cross the interfaces such as HDMI (High Definition Multimedia Interface, high-definition multimedia interface) and display equipment
05 connection, to be shown that certainly, in practical applications, this can not also depending on networked terminals 04 by the display equipment 05
Connection display equipment 05 but shown by being set to the display screen depending on networked terminals 04.It is carried out when by above system
When text message is intercutted, user submits text message, display time and target terminal to Web server 02 by the end Web 01
The information received is transmitted to view networked server 03 by the information such as mark, Web server 02, will be received depending on networked server 03
Information be issued to target terminal 04, target terminal 04 receives above- mentioned information, by showing that 05 text message of equipment is rendered
And it shows.
For example, by be applied to hospital intercut the system of text message for.Terminal may include setting in each department (packet
Include ward, pharmacy, financial department, consulting room) display terminal, each display terminal can play more different contents, such as hospital a surname
Pass advertisement, queueing message etc., web page server and can be set in computer room depending on networked server, the end Web can by doctor, protect
The medical staff such as scholar are logged in by the user identifier of registration in advance, are directed to the display terminal of at least one department from submission
Text message and display time, for example, eye doctor is for the text message of the display terminal of ophthalmology by the submission of the end Web
" asking No. 188 patient assessment ".Show that the time is instant.Text message and display time are by web page server and view networking
Server sends the display terminal for being directed to ophthalmology, which receives above- mentioned information, immediately in current screen with subtitle
Form shows " asking No. 188 patient assessment " this text message.It can be seen from the above, the above process can be shown not influencing to have
On the basis of showing content, flexibly and accurately controlling terminal targetedly display text message, improves the flexible of release information
Property and accuracy, alleviate the pressure of medical staff, hospital made the work such as to wait to see the doctor more rationally effectively.
In practical applications, networking is regarded as the network with centralized control functions, including main control server and undernet
Equipment, which includes terminal, and one of the core idea depending on networking is, by notifying to exchange by main control server
Equipment is directed to when time downstream communications link of service matches table, and the table for being then based on the configuration carries out the transmission of data packet.
That is, including: depending on the communication means in networking
Main control server configuration is when time downstream communications link of service;
Work as time data packet of service for what source terminal was sent, is sent to target terminal according to the downstream communications link.
In embodiments of the present invention, it includes: notice when the downlink of secondary service is logical that time downstream communications link of service is worked as in configuration
Believe that switching equipment involved in link matches table;
It furthermore, include: the configured table of inquiry according to downstream communications link transmission, switching equipment is received to institute
Data packet is transmitted by corresponding port.
In the concrete realization, service includes unicast communication service and Multicast Communication Service.I.e. either cast communication is still
Unicast communication can realize the communication in view networking using the above-mentioned core idea with table-table.
As previously mentioned, view networking net includes access mesh portions, in access net, which is node server,
Undernet equipment includes access switch and terminal.
For the unicast communication service in access net, the main control server configuration is when time downlink communication chain of service
The step of road, may comprise steps of:
Sub-step S11, the service request protocol package that main control server is initiated according to source terminal are obtained when time downlink of service
Communication link information, downstream communications link information include participating in when time downlink of the main control server of service and access switch
Communication port information;
Sub-step S12, downstream communication ports information of the main control server according to control server, data packet inside it
The downlink port that setting is oriented to when time data packet of service in the table of location;And believe according to the downstream communication ports of access switch
Breath, to corresponding access switch sending port configuration order;
Sub-step S13, access switch according in port configuration command data packet addressed table inside it, setting when time
The downlink port that the data packet of service is oriented to.
For the Multicast Communication Service (such as controlling multiple terminal plays multi-medium datas) in access net, master control
It may include following sub-step that server, which was obtained when the step of downstream communications link information of time service:
Sub-step S21, main control server obtain the service request agreement for the application Multicast Communication Service that target terminal is initiated
It wraps, includes the access net address of service type information, service content information and target terminal in service request protocol package;Wherein,
It include service number in service content information;
Sub-step S22, main control server according to the service number in preset content-address mapping table, extraction source
The access net address of terminal;
Sub-step S23, main control server obtains the corresponding multicast address of source terminal, and distributes to target terminal;And according to
According to the access net address of service type information, source terminal and target terminal, the communication link information when time multicast services is obtained.
Step 502, it is based on pre-arranged code agreement, the text message and the broadcasting control parameter are encoded to obtain
Carry the data packet of specific identifier.
It, can be by pre- depending on networked server for the ease of to terminal sending information message and playing the information such as control parameter
If coding protocol, the data for needing to be sent to terminal are encoded.
Wherein, pre-arranged code agreement may include view networking subtitle agreement, among the above text message and broadcasting
Control parameter is encoded, which can have is determined in advance depending on networked server.
Specific identifier is for being identified data packet, to illustrate that content included by the data packet is subtitle, the spy
Calibration is known by addition obtains in the packet after being encoded by pre-arranged code agreement to data, which can be ID
(Identification, identity card), for example, the specific identifier can be " 8785 ".
Step 503, the data packet is sent to the target terminal, so that the target terminal is according to the specific mark
Know, receives the data packet, and parsed to obtain the text message and the broadcasting control parameter, root to the data packet
According to the display time, on the basis of broadcasting content, the text message is intercutted in the form of subtitles.
In order to flexibly and accurately be shown to text message according to the control of user according to the display time, thus
It accurately and pointedly releases news, target terminal can receive data packet, and parsing obtains text message and plays control ginseng
Number, and according to the display time in the broadcasting control parameter, text message is shown.
From the foregoing it will be appreciated that depending on networked server can to text message and play control parameter according to pre-arranged code agreement into
Row coding, to obtain carrying the data packet of specific identifier, therefore, target terminal can receive data packet, detect the data packet
Whether the specific identifier is carried, if carrying the specific identifier, it is determined that information included by the data packet is text message and broadcasts
Control parameter is put, it therefore, can be according to respective protocol (i.e. and in advance after the data packet completion for carrying the specific identifier will be received
If the corresponding decoding protocol of coding protocol) data packet is parsed, thus obtain text message and play control parameter, according to
Text message is carried out wash with watercolours by the multimedia frame of the target terminal by the broadcasting control parameter (such as display time)
Dye, is shown on the basis of currently playing content in the form of subtitles.
For example, text message can be sent to frame if the operating system of target terminal installation is linux system and delayed
(i.e. Framebuffer, linux system are the interface for showing equipment and providing, and display buffer is abstracted by it, shielding figure for punching
As the bottom difference of hardware, upper level applications is allowed directly to be written and read to display buffer under graphic model), from
And text message is rendered and is shown.
Wherein, target terminal can by text message according to default font, default text size, the lower section of screen into
Row display.
Default font and default text size can be determined in advance by target terminal, for example, default font may include
The Song typeface, presetting text size may include 50 pixels.
In embodiments of the present invention, firstly, can receive the whole for target of web page server transmission depending on networked server
The text message at end and display time etc. play control parameter, and ask this message and play control parameter this and be sent to target end
Therefore end can flexibly and accurately be controlled target terminal according to the display time, be had by subtitle by the broadcasting control parameter
Specific aim release information, that is to say, can control content and opportunity that different terminals is released news by subtitle, improve hair
The accuracy of cloth information.
Secondly, can be compiled according to pre-arranged code agreement to text message and broadcasting control parameter depending on networked server
Code, obtains the data packet for carrying specific identifier, so as to ensure that target terminal can be received and be solved according to the specific identifier
Analysis data packet further improves the broadcasting control of sending information message to acquire text message and play control parameter
The reliability of parameter, and then also improve the reliability for intercutting literary message.
Referring to Fig. 7, a kind of step flow chart of embodiment of the method for intercutting text message of the invention, this method are shown
It can be applied in view networking, can specifically include following steps:
Step 701, web page server provides text and intercuts the setting page, intercuts the setting page by the text and receives needle
The text message and broadcasting control parameter submit to target terminal, the broadcasting control parameter includes the display time.
The text message and broadcasting control parameter submitted for the ease of reception user, that is, improve the message interacted with user,
And then improve the efficiency for intercutting text message.Web page server can provide text and intercut set interface, to pass through the text
It intercuts set interface and receives the text message and broadcasting control parameter for target terminal that user submits.
Text intercuts the text message and play parameter set interface that set interface is directed to target terminal for receiving user,
It may include the inlet porting for one or more contents that the text, which intercuts set interface, such as target terminal mark
Inlet porting, for the inlet porting of text message, for inlet porting etc. of display time.
Wherein, web page server can provide a user text by the end Web in aforementioned and intercut set interface.
In embodiments of the present invention, optionally, in order to further increase the effect of display text message, for example make display
Text message is more prominent obvious, or reduces influence of the text message of display to having display content, makes the text of display
Message is easier to be perceived by the user, to further increase the effect of release information, the broadcasting control parameter further includes text
At least one of word font, text color, text size, display position and target terminal mark.
Wherein, control parameter is played for any one, at least one optional parameter value can be provided, to be existed by user
One is selected at least one optional parameter value.
For example, it is more yellow, green, blue and red etc. can be provided by way of drop-down menu for text color
A option.
Step 702, the web page server is joined the text message and broadcasting control by view networked server
Number is sent to the target terminal.
Wherein, web page server can be networked by the view in aforementioned, by text message and played control parameter and sent
To target terminal.
In embodiments of the present invention, optionally, in order to ensure target terminal can be accurately received above-mentioned text message and
Control parameter is played, and then accurately text message can be played out, improves the reliability for intercutting text message, the net
The text message and the broadcasting control parameter are sent to the view networked server depending on networking by described by page server,
The view networked server is based on pre-arranged code agreement, is encoded to obtain to the text message and the broadcasting control parameter
The data packet of specific identifier is carried, it is described that the data packet is sent to the target terminal depending on networked server, so that institute
It states target terminal and receives the data packet according to the specific identifier, and the data packet is parsed to obtain the text
Message and the broadcasting control parameter on the basis of broadcasting content, intercut institute according to the display time in the form of subtitles
State text message.
Wherein, coding is carried out to obtain carrying specific identifier to text message and broadcasting control parameter depending on networked server
Data packet mode and target terminal received data packet and according to display time showing text message mode, Ke Yican
See the associated description in aforementioned, no longer repeats one by one herein.
In embodiments of the present invention, optionally, from the foregoing it will be appreciated that playing in control parameter may include target terminal mark
Know, therefore, for the ease of that data packet rapidly and accurately can be sent to target terminal, is intercutted to improve control target terminal
The efficiency and reliability of text message, if the broadcasting control parameter includes the target terminal mark, according to the target
Terminal iidentification determines the target terminal, and the data packet is sent to the target terminal.
Wherein, if playing control parameter includes target terminal mark, web page server can be by described in aforementioned
Relevant way receives the target terminal mark that user submits, and the target terminal received mark is sent to view the Internet services
Device.
Step 703, the target terminal is according to the display time, on the basis of broadcasting content, in the form of subtitles
Intercut the text message.
In order to targetedly release news, while improving the accuracy of release information, text message pair is reduced
Interfered caused by current display content, further increase the effect of release information, target terminal can according to the display time,
On the basis of broadcasting content, shown in screen using text message as subtitle.
In embodiments of the present invention, optionally, it causes to do to be further reduced text message to current display content
It disturbs, improves the effect of release information, target terminal can be shown text message among the above as the first subtitle, and should
The second subtitle is also shown in the screen of target terminal, the second subtitle includes subtitle corresponding with currently playing content, such as
It is currently playing to have song, then the second subtitle may include song the lyrics or it is currently playing have film, the second subtitle can wrap
Include the lines etc. in film.
In addition, in practical applications, if target terminal is currently playing image, current playback progress can be suspended, only
The display text message in current screen continues to play at the end of text message plays from playback progress tentative before
The image.
In embodiments of the present invention, firstly, web page server, which is capable of providing text, intercuts the setting page, to pass through this article
Originally intercut that the setting page receives the text message submitted for target terminal and display time etc. plays control parameter, and by this article
This message and broadcasting control parameter send the target terminal, therefore, can flexibly and accurately be controlled by the broadcasting control parameter
Target terminal was targetedly released news by subtitle, be that is to say, can controlled different terminals and pass through word according to the display time
The content of curtain release information and opportunity, improve the accuracy of release information.
Secondly, playing control parameter can also include character script, text color, text size, display position and target
At least one of terminal iidentification makes the text of display disappear so as to improve text message in the display effect of target terminal
Breath is easier to be perceived by the user, and further increases the effect of release information.
In addition, text message and broadcasting control parameter can be sent to view networked server by web page server, depending on networking
Server can encode text message and broadcasting control parameter according to pre-arranged code agreement, obtain carrying specific mark
The data packet of knowledge, so as to ensure that target terminal can receive and parse through data packet according to the specific identifier to acquire
Text message and broadcasting control parameter, further improve the reliability of the broadcasting control parameter of sending information message, in turn
Also improve the reliability for intercutting literary message.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 8, a kind of structural block diagram of view networked server of the invention is shown, this can be answered depending on networked server
For can specifically include in view networking:
Receiving module 801, for receiving the text message and broadcasting control for target terminal of web page server transmission
Parameter, the broadcasting control parameter include the display time, and the text message and the broadcasting control parameter are taken by the webpage
Business device receives the data submitted and obtains;
Coding module 802 carries out the text message and the broadcasting control parameter for being based on pre-arranged code agreement
Coding obtains carrying the data packet of specific identifier;
Sending module 803, for the data packet to be sent to the target terminal, so that the target terminal is according to institute
Specific identifier is stated, the data packet is received, and the data packet is parsed to obtain the text message and broadcasting control
Parameter processed on the basis of broadcasting content, intercuts the text message according to the display time in the form of subtitles.
In embodiments of the present invention, firstly, can receive the whole for target of web page server transmission depending on networked server
The text message at end and display time etc. play control parameter, and ask this message and play control parameter this and be sent to target end
Therefore end can flexibly and accurately be controlled target terminal according to the display time, be had by subtitle by the broadcasting control parameter
Specific aim release information, that is to say, can control content and opportunity that different terminals is released news by subtitle, improve hair
The accuracy of cloth information.
Secondly, can be compiled according to pre-arranged code agreement to text message and broadcasting control parameter depending on networked server
Code, obtains the data packet for carrying specific identifier, so as to ensure that target terminal can be received and be solved according to the specific identifier
Analysis data packet further improves the broadcasting control of sending information message to acquire text message and play control parameter
The reliability of parameter, and then also improve the reliability for intercutting literary message.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
Referring to Fig. 9, a kind of structural block diagram of system for intercutting text message of the invention is shown, which can apply
In view networking, it can specifically include:
Web page server 901 intercuts the setting page for providing text, intercuts the setting page by the text and receives needle
The text message and broadcasting control parameter submit to target terminal, the broadcasting control parameter includes the display time;
The web page server 901 is also used to control the text message and the broadcasting by view networked server
Parameter is sent to the target terminal;
The target terminal 902 is used for according to the display time, on the basis of broadcasting content, in the form of subtitles
Intercut the text message.
Optionally, the broadcasting control parameter further includes character script, text color, text size, display position and mesh
Mark at least one of terminal iidentification.
Optionally, the web page server is also used to network by the view and controls the text message and the broadcasting
Parameter is sent to the view networked server;
The view networked server, for being based on pre-arranged code agreement, to the text message and broadcasting control ginseng
Number is encoded to obtain the data packet for carrying specific identifier;
The view networked server is also used to the data packet being sent to the target terminal, so that the target is whole
End receives the data packet, and parsed to obtain the text message and institute to the data packet according to the specific identifier
Broadcasting control parameter is stated, according to the display time, on the basis of broadcasting content, the text is intercutted in the form of subtitles and disappears
Breath.
Optionally, described to be also used to depending on networked server:
If the broadcasting control parameter includes the target terminal mark, is identified according to the target terminal, determine institute
State target terminal;
The data packet is sent to the target terminal.
In embodiments of the present invention, web page server is capable of providing text and intercuts the setting page, to be inserted by the text
The reception of the setting page is broadcast for the broadcasting such as the text message of target terminal submission and display time control parameter, and the text is disappeared
Breath and broadcasting control parameter send the target terminal, therefore, can flexibly and accurately control target by the broadcasting control parameter
Terminal was targetedly released news by subtitle, be that is to say according to the display time, can be controlled different terminals and be sent out by subtitle
The content of cloth information and opportunity improve the accuracy of release information.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
It has been carried out in detail to a kind of method for intercutting text message provided by the present invention, depending on networked server and system above
Thin to introduce, used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation
Thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not
It is interpreted as limitation of the present invention.