Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.Obviously, described embodiments are some of the embodiments of the present invention, without
It is whole embodiment.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
The every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It is the important milestone of network Development depending on networking, is a real-time network, can realize HD video real-time Transmission,
Push numerous the 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 requests, TV Mail, individual character recording (PVR), Intranet (manage) channel, intelligent video Broadcast Control, information publication by oneself
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, word, communication, data, by TV or
Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the embodiment of the present invention, below to being introduced depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (NetworkTechnology)
Network technology innovation depending on networking improves traditional ethernet (Ethernet), potential huge on network to face
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demands are met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price exchanged, is provided simultaneously with quality and the safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road and data format.
Switching technology (Switching Technology)
Depending on two advantages of asynchronous and packet switch networked using Ethernet, it is scarce under the premise of complete be compatible with to eliminate Ethernet
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal directly carries IP data packets.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 realizes at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous Internet video applications to high Qinghua, unitizes.
Server technology (ServerTechnology)
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 include signaling and data transmission.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
State-of-the-art real time operating system is used, 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 for typical time to be 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 internets ad eundem IP, but
The concurrent flow more than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Structural design depending on networking 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, fire wall generally, has prevented black
The attack of visitor and virus, provide structural carefree secure network to the user.
Service innovative technology (Service Innovation Technology)
Business and transmission are merged 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 substituted using " menu type " with table schema traditional
Complicated applications program, and can use considerably less code that complicated application can be realized, and 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 Ethernet can be connected.
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 be formed regarding networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
1, networked devices are regarded to classify
1.1 embodiment of the present invention can be mainly divided into 3 classes depending on the equipment in networking:Server, interchanger (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).It can be divided into Metropolitan Area Network (MAN) on the whole depending on networking
(or national net, World Wide Web etc.) and access net.
The equipment of 1.2 wherein access mesh portions can be mainly divided into 3 classes:Node server, access switch (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The particular hardware structure of each access network equipment is:
Node server:
As shown in Fig. 2, including mainly Network Interface Module 201, switching engine module 202, CPU module 203, disk array
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 to the packet come in look into the operation of address table 205, 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 if meeting the following conditions:1) port
It is less than to send caching;2) the queue package counting facility is more than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operations such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown)
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, including mainly 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,
Corresponding flow identifier (stream-id) is then distributed, and enters switching engine module 303, is otherwise abandoned;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine
Module 303;Switching engine module 303 to the packet come in look into the operation of address table 306, to obtain the navigation information of packet;
It is gone toward uplink network interface if the packet into switching engine module 303 is downstream 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 full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
It is gone toward uplink network interface if the queue is downstream 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 more than zero;3) token that rate control module generates is obtained;
It is gone toward uplink network interface if the queue is not downstream network interface, meets the following conditions and be forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is more than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
The pack buffer queue that interface is gone toward uplink network interface generates token, to control the code check 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, including mainly 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 add modules 409, MAC removing modules 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, networking mesh way address is regarded
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing modules 410
(2byte), and enter corresponding order caching, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze regarding with networking mesh according to packet
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:
Include mainly 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 includes mainly Network Interface Module, video encoding engine
Module, CPU module;Memory includes mainly 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 includes mainly Network Interface Module, switching engine module and CPU module;Metropolitan area server includes mainly
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
The data packet for accessing net includes mainly following sections:Destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net includes mainly 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 parts payload have different length according to the type of different datagrams, are 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 computational methods follow 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
2 kinds can be all can exceed that 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 unique, is closed to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention:Label uniquely describes 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 device A and equipment B there are two connection, then data packet from device A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to device A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of device A is 0x0000, and the label (outgoing label) when this data packet leaves device A may reform into
0x0001.The networking flow 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 is all dominated by metropolitan area server, and node switch, node server are all passive execution, 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) includes mainly following sections:
DA |
SA |
Reserved |
Label |
Payload |
CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition:Label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic regarding networking, it is proposed that the core idea of the embodiment of the present invention, by receiving mobile terminal hair
The video calling request sent, is asked for video calling, is established the downlink that first regards networked terminals regarding networked terminals and second and is led to
Letter link, is then based on downstream communications link, and control first is logical regarding networked terminals progress video with described second regarding networked terminals
Words realize the video calling between networked terminals using mobile terminal control, and relieving must be distant using networked terminals are regarded
Control device carries out regarding the limitation that on-line customer logs in, and the user experience is improved.
With reference to Fig. 5, show that a kind of step flow chart of the method for video calling of the embodiment of the present invention, the method are answered
For regarding networking, described to regard networking include first regarding networked terminals, second regarding networked terminals.
Specifically, the embodiment of the present invention may include steps of:
Step 501, the video calling request that mobile terminal is sent is received;Wherein, the video calling request includes described
First regards the Subscriber Number of networked terminals regarding the Subscriber Number of networked terminals and described second;
Step 502, it is asked for the video calling, establishes described first and regard networking eventually regarding networked terminals and described second
The downstream communications link at end;
Step 503, it is based on the downstream communications link, control described first regards networked terminals and regards networking eventually with described second
End carries out video calling.
In embodiments of the present invention, it is asked by receiving the video calling that mobile terminal is sent, is asked for video calling,
It establishes first and regards the downstream communications link that networked terminals regard networked terminals with second, be then based on downstream communications link, control the
One regards networked terminals regards networked terminals progress video calling with described second, realizes and regards networked terminals using mobile terminal control
Between video calling, relieve must use regarding networked terminals remote controler or carry out regard on-line customer login limitation, carry
User experience is risen.
With reference to Fig. 6, show that a kind of step flow chart of the method for video calling of the embodiment of the present invention, the method are answered
For regarding networking, described to regard networking include first regarding networked terminals, second regarding networked terminals.
Wherein, may include the entities terminals such as set-top box (SetTopBox, STB) depending on networked terminals, set-top box can be referred to as
Box on set-top box or machine is the equipment of connection a television set and outside source, it can change into the digital signal of compression
Television content, and show on a television set.In general, set-top box can connect camera and microphone, for acquiring
The multi-medium datas such as video data and audio data, can also connect television set, for playing video data and audio data etc.
Multi-medium data.
Can also include virtually regarding networked terminals depending on networked terminals, be depending on networked terminals virtually in order to realize particular service and
Access refers to a kind of special software regarding the terminal of networking, it can create a kind of environment between terminal and terminal user, and
Terminal user is then the environment that is created based on this software come operating software, it is virtual can be as real machine one depending on networked terminals
Sample runs the software realization of the terminal of program.
The embodiment of the present invention can be applied to server side, if association turns server, may include steps of:
Step 601, the video calling request that mobile terminal is sent is received;
Wherein, mobile terminal can be located at Ethernet, can be smart mobile phone, PDA (Personal
DigitalAssistant, palm PC), PC (Personal Computer, PC), intelligent robot, intelligence wearing
Equipment etc., and the operating system of mobile terminal may include Android (Android), IOS, Windows Phone, Windows etc.
Operating system, the present invention are not construed as limiting this.
Video calling request may include that the first Subscriber Number for regarding networked terminals and second regard the user of networked terminals
Number, can be the request that is sent based on WebSocket of mobile terminal, WebSocket support in mobile terminal client and
Full-duplex communication is carried out between server, may include one it is open shake hands and subsequent TCP layer on message frame.
Specifically, user can by click open mobile terminal on app (Application) client, into regarding
Frequency call function interface such as enters the public platform of wechat, can show the list of contact person, Yong Huke to user under the interface
To select some contact person, HTML5 webpages are may then based on, video calling request are sent using WebSocket technologies, to ask
Seek video calling.
For the contact person of video calling, it is basic that head portrait, pet name of contact person etc. can be pulled from the interface of client
Information is identified as it, and there is each contact person the acquiescence of binding to regard networked terminals.
Before carrying out video communication, the corresponding user of each contact person can enter terminal management function interface,
Under the interface user can add, change, deleting, check in its corresponding database regard networked terminals list, each user
Can add it is multiple regard networked terminals, but it only regards networked terminals and user and binds there are one acquiescence, dials, answers for giving tacit consent to
Video calling.
When user, which selectes some contact person, carries out video calling, the client in mobile terminal can determine own user
Acquiescence regard networked terminals, such as first regard networked terminals, then can determine the contact person acquiescence regard networked terminals, such as second
Depending on networked terminals, then, mobile terminal can ask to establish to server first between networked terminals, second regard networked terminals
Video calling request, server can receive video calling request.
It, can be in mobile terminal it should be noted that before receiving the video calling request that mobile terminal is sent
It is matched with server, such as carries out server-side configuration in the client, in the client by the link information configuration of server,
As ip and port numbers are preserved as basic data in the database, when user needs to connect some server, Ke Yicong
A server-side is selected in the basic data of multiple server-sides, to realize the selection to server.
In a kind of preferable example, user can also configure the link information of message forwarding services in the client, so
Afterwards server is sent data to by message forwarding services.
Step 602, it is asked for the video calling, establishes described first and regard networking eventually regarding networked terminals and described second
The downstream communications link at end;
After receiving video calling request, first during server can be asked according to video calling regards networked terminals
Subscriber Number and second regard networked terminals Subscriber Number, establish first regard networked terminals with second regarding networked terminals downlink
Communication link, to carry out video calling between the two.
In practical applications, it networks as the network with centralized control functions due to regarding, including main control server and subordinate
The network equipment, which includes terminal, and one of the core idea depending on networking is, by being notified by main control server
Switching 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 by what source terminal was sent, target terminal is sent to (such as according to the downstream communications link
First regards networked terminals, second regarding networked terminals).
In embodiments of the present invention, it configures when time downstream communications link of service includes:Notice is logical when time downlink of service
Believe that the switching equipment involved by link matches table;
Furthermore, include according to downstream communications link transmission:Inquiry configured table, switching equipment is to being received
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 use the above-mentioned core idea with table-table to realize the communication regarded in networking.
As previously mentioned, including access mesh portions regarding networking net, in access is netted, which is node server,
Undernet equipment includes access switch and terminal.
For the unicast communication service during access is netted, 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 and access switch of service
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 video calling) during access is netted, main control server is obtained when under time service
The step of row communication link information may include following sub-step:
Sub-step S21, main control server obtain the service request agreement for the application Multicast Communication Service that target terminal is initiated
Packet, service request protocol package includes the access net address of service type information, service content information and target terminal;Wherein,
Service content information includes service number;
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.
In a kind of preferred embodiment of the present invention, step 602 may include following sub-step:
Sub-step S31, the Subscriber Number for regarding networked terminals according to described first regard networked terminals configuration the to described first
One downstream communications link;
In embodiments of the present invention, server can parse the first user for regarding networked terminals from video calling request
Then number configures the first downstream communications link according to Subscriber Number to regarding networked terminals to first, to regard networking eventually with first
End is communicated.
Sub-step S32, and, the Subscriber Number for regarding networked terminals according to described second regards networked terminals to described second
Configure the second downstream communications link.
Correspondingly, server can parse the second Subscriber Number for regarding networked terminals from video calling request, then
The second downstream communications link is configured to regarding networked terminals to second according to Subscriber Number, to be led to depending on networked terminals with second
Letter.
Step 603, it is based on the downstream communications link, control described first regards networked terminals and regards networking eventually with described second
End carries out video calling;
After establishing downstream communications link, first can be acquired depending on networked terminals, first depending on networked terminals by camera
Live video stream, to carry out video calling.
In a kind of preferred embodiment of the present invention, step 603 may include following sub-step:
Sub-step S41 sends video calling depending on networked terminals depending on networked terminals, described second to described first respectively and refers to
It enables;
As an example, video calling instruction may include that the instruction of the first video calling or the second video calling refer to
It enables, the instruction of the first video calling can be used for controlling camera acquisition live video stream, and the instruction of the second video calling can be used for
Control shows call option, and control camera acquires live video stream after user is selected.
Specifically, before sending video communication request, mobile terminal can show to user dials option, such as forces to dial
It beats, commonly dial, when user is selected to be forced to dial, then server can regard networked terminals to the acquiescence of contact person, such as
Second regards networked terminals, sends the instruction of the first video calling, after second receives the instruction of the first video calling depending on networked terminals, directly
It connects and opens camera acquisition live video stream.
When user is selected commonly to be dialed, then server can regard networked terminals, such as second to the acquiescence of contact person
Depending on networked terminals, the instruction of the second video calling is sent, after second receives the instruction of the second video calling depending on networked terminals, to user
Show call option, such as answers, refuses, it is such as selected by remote controler after user selectes and answers option, open camera acquisition
Live video stream then terminates video calling after user selectes rejecting option.
It should be noted that when first regard networked terminals as the acquiescence of mobile terminal regard networked terminals when, user select into
When row video calling, first can automatically turn on camera depending on networked terminals acquires live video stream, and server can not be to the
One, which regards networked terminals, sends video calling instruction.
Sub-step S42 receives described first and is instructed according to the video calling regarding networked terminals, and the first of transmission regards in real time
Frequency flows, and first live video stream is sent to described second and regards networked terminals;
After first regards networked terminals the first live video stream of acquisition, first can in real time be regarded by the first downlink
Frequency stream is sent to server, and the first live video stream can be sent to second by the second downlink and regard networking eventually by server
End.
Sub-step S43, and, it receives described second and is instructed according to the video calling regarding networked terminals, the second of transmission
Live video stream, and second live video stream is sent to described first and regards networked terminals.
After second regards networked terminals the second live video stream of acquisition, second can in real time be regarded by the second downlink
Frequency stream is sent to server, and the second live video stream can be sent to first by the first downlink and regard networking eventually by server
End.
Step 604, it during the video calling, receives what the mobile terminal was sent, is regarded for described first
Networked terminals and/or described second regard networked terminals the first control instruction;
During first regards networked terminals and second regards networked terminals progress video calling, user can be mobile whole
End carries out clicking operation, and mobile terminal generates corresponding first control instruction after detecting user's operation, by the first control instruction
It is sent to server, server can receive the first control instruction.
Step 605, it is based on regarding networking protocol, first control instruction is converted into the second control instruction;
After receiving the first control instruction, server can be to being based on being converted to the first control instruction depending on networking protocol
The second control instruction that can be identified depending on networked terminals.
Step 606, second control instruction is sent to described first and regards networked terminals and/or described second regarding networking
Terminal, the camera that networked terminals are regarded to control described first regarding networked terminals and/or described second execute second control
Instruct corresponding operation.
After obtaining the second control instruction, server the second control instruction can be sent to first regard networked terminals and/
Or second regard networked terminals can be controlled after first receives the second control instruction depending on networked terminals and/or second depending on networked terminals
Camera processed executes corresponding operation, such as controls camera upper and lower, left and right and swings, adjustment camera position etc..
When user will terminate video calling, " terminate call " button can be clicked in mobile terminal, mobile terminal is to clothes
Be engaged in device send terminate call instruction, server by terminate call instruction is sent to first regard networked terminals and/or second regard networking
Terminal, video calling terminate.
In embodiments of the present invention, it is asked by receiving the video calling that mobile terminal is sent, is asked for video calling,
It establishes first and regards the downstream communications link that networked terminals regard networked terminals with second, be then based on downstream communications link, control the
One regards networked terminals regards networked terminals progress video calling with described second, realizes and regards networked terminals using mobile terminal control
Between video calling, relieve must use regarding networked terminals remote controler or carry out regard on-line customer login limitation, carry
User experience is risen.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group
It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to
According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 7, a kind of structure diagram of the device of video calling of the embodiment of the present invention, described device application are shown
In regarding networking, described to regard networking include first regarding networked terminals, second regarding networked terminals, can specifically include following module:
Video calling request receiving module 701, the video calling request for receiving mobile terminal transmission;Wherein, described
Video calling request includes that the described first Subscriber Number for regarding networked terminals and described second regard the Subscriber Number of networked terminals;
Downstream communications link establishes module 702, for being asked for the video calling, establishes described first and regards networking eventually
The downstream communications link that end regards networked terminals with described second;
Video calling control module 703, for be based on the downstream communications link, control described first regard networked terminals with
Described second, which regards networked terminals, carries out video calling.
In a kind of preferred embodiment of the present invention, further include:
First control instruction receiving module is sent for during the video calling, receiving the mobile terminal
, the first control instruction of networked terminals is regarded regarding networked terminals and/or described second for described first;
Second control instruction conversion module, for based on networking protocol is regarded, first control instruction to be converted to second
Control instruction;
Second control instruction sending module regards networked terminals for second control instruction to be sent to described first
And/or described second regard networked terminals, with control described first regard networked terminals and/or described second regard networked terminals camera shooting
Head executes the corresponding operation of second control instruction.
In a kind of preferred embodiment of the present invention, the video calling control module 703 includes:
Video calling instructs sending submodule, for regarding networking eventually regarding networked terminals, described second to described first respectively
End sends video calling instruction;
First live video stream forwards submodule, refers to according to the video calling depending on networked terminals for receiving described first
It enables, the first live video stream of transmission, and first live video stream is sent to described second and regards networked terminals;
Second live video stream forwards submodule, refers to according to the video calling depending on networked terminals for receiving described second
It enables, the second live video stream of transmission, and second live video stream is sent to described first and regards networked terminals.
In a kind of preferred embodiment of the present invention, the downstream communications link establishes module 702 and includes:
First downstream communications link configures submodule, the Subscriber Number for regarding networked terminals according to described first, to institute
It states first and regards networked terminals the first downstream communications link of configuration;
Second downstream communications link configures submodule, the Subscriber Number for regarding networked terminals according to described second, to institute
It states second and regards networked terminals the second downstream communications link of configuration.
In embodiments of the present invention, it is asked by receiving the video calling that mobile terminal is sent, is asked for video calling,
It establishes first and regards the downstream communications link that networked terminals regard networked terminals with second, be then based on downstream communications link, control the
One regards networked terminals regards networked terminals progress video calling with described second, realizes and regards networked terminals using mobile terminal control
Between video calling, relieve must use regarding networked terminals remote controler or carry out regard on-line customer login limitation, carry
User experience is risen.
The embodiment of the invention also discloses a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the step of processor realizes method as described above when executing described program.
The embodiment of the invention also discloses a kind of computer readable storage mediums, are stored thereon with computer program, the journey
The step of method as described above is realized when sequence is executed by processor.
For device, electronic equipment, computer readable storage medium embodiment, since it is basic with embodiment of the method
Similar, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, 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 be provided 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 with reference 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 flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
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 flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments 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 flow of flow chart or multiple flows
And/or in one box of block diagram or multiple boxes 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 include other elements that are not explicitly listed, or further include 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 including the element.
Above to a kind of method and apparatus of video calling provided by the present invention, it is described in detail, answers herein
With specific case, principle and implementation of the present invention are described, and the explanation of above example is only intended to help to manage
Solve the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention,
There will be changes in specific implementation mode and application range, in conclusion the content of the present specification should not be construed as to this hair
Bright limitation.