CN110248134B - Method and device for controlling terminal, electronic equipment and storage medium - Google Patents

Method and device for controlling terminal, electronic equipment and storage medium Download PDF

Info

Publication number
CN110248134B
CN110248134B CN201910533909.6A CN201910533909A CN110248134B CN 110248134 B CN110248134 B CN 110248134B CN 201910533909 A CN201910533909 A CN 201910533909A CN 110248134 B CN110248134 B CN 110248134B
Authority
CN
China
Prior art keywords
terminal
video
audio
request
call
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910533909.6A
Other languages
Chinese (zh)
Other versions
CN110248134A (en
Inventor
朱道彦
王艳辉
彭庆太
余姗姗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910533909.6A priority Critical patent/CN110248134B/en
Publication of CN110248134A publication Critical patent/CN110248134A/en
Application granted granted Critical
Publication of CN110248134B publication Critical patent/CN110248134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Abstract

The invention provides a method and a device for controlling a terminal, electronic equipment and a storage medium. The method comprises the following steps: the method comprises the steps that a first terminal sends a forced call request to a video networking server, the video networking server responds to the forced call request, an audio and video data channel between the first terminal and a second terminal is established according to a video networking number of the first terminal and a video networking number of the second terminal, the video networking server forwards the forced call request to the second terminal, and the second terminal responds to the forced call request and carries out audio and video call with the first terminal through the audio and video data channel. By adopting the method provided by the invention, the terminal initiating the audio and video call can forcibly carry out the audio and video call with the called terminal, the audio and video call of the two terminals can be rapidly realized in emergency, the time is saved, the use feeling of a user is improved, the technical development of the video networking is promoted, and the application range of the video networking is wider.

Description

Method and device for controlling terminal, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video networking, and in particular, to a method and an apparatus for controlling a terminal, an electronic device, and a storage medium.
Background
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the Internet at present, pushes a plurality of Internet applications to high-definition video, and finally realizes that the distance between people in the global range is only the distance of one screen.
In the existing video network, a device capable of initiating or receiving audio and video calls is a terminal, when one terminal needs to perform audio and video calls with another terminal, the terminal initiating the audio and video calls needs to send a signaling to a video network server to determine the terminal needing to be called, the video network server establishes an audio and video data transmission channel between the two terminals, the video network server sends the signaling to the terminal needing to be called after the signaling is established, and when the terminal needing to be called receives the signaling, the terminal chooses to receive the audio and video calls and performs the audio and video calls with the terminal initiating the audio and video calls; or when the terminal needing to communicate receives the signaling, the terminal selects to reject the audio and video communication, namely the terminal does not carry out the audio and video communication with the terminal initiating the audio and video communication.
When the audio and video call is carried out, if the terminal initiating the audio and video call needs to carry out the audio and video call with the called terminal in an emergency, and the called terminal does not have the request information for responding to the audio and video call at the first time, or the called terminal cannot respond to the request information for receiving the audio and video call because of various reasons such as hardware and the like, many things can be delayed in the emergency, and the use sense of the terminal in the video network and the popularization and application of the video network are influenced.
Disclosure of Invention
The method, the device, the electronic equipment and the storage medium for controlling the terminal solve the problem that the terminal initiating the audio and video call cannot forcibly carry out the audio and video call with the called terminal.
In order to solve the above technical problem, an embodiment of the present invention provides a method for controlling a terminal, where the method is applied to a video network including a first terminal, a video network server, and a second terminal, where the first terminal and the second terminal are any terminals in the video network, and the method includes:
the first terminal sends a forced call request to the video networking server, wherein the forced call request is used for indicating the first terminal to request a second terminal to carry out audio and video call forcibly, and the forced call request comprises: the video networking number of the first terminal and the video networking number of the second terminal;
the video network server responds to the forced call request, and establishes an audio and video data channel between the first terminal and the second terminal according to the video network number of the first terminal and the video network number of the second terminal;
the video network server forwards the forced call request to the second terminal;
and the second terminal responds to the forced call request and carries out audio and video call with the first terminal through the audio and video data channel.
Optionally, after the video networking server forwards the forced call request to the second terminal, the method further includes:
the second terminal responds to the forced call request and sends a call rejection request to the video networking server, wherein the call rejection request is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal;
and the video networking server responds to the call rejection request, closes the audio and video data channel and forwards the call rejection request to the first terminal.
Optionally, the second terminal responds to the forced call request, and performs an audio/video call with the first terminal through the audio/video data channel, including:
the second terminal responds to the forced call request and sends own audio and video data to a video networking server, and the audio and video data of the second terminal are forcibly sent by the second terminal under the condition that the authority level of the second terminal is lower than that of the first terminal;
the video networking server receives the audio and video data sent by the second terminal, transmits the audio and video data of the second terminal to the first terminal through the audio and video data channel, and transmits the audio and video data of the first terminal to the second terminal through the audio and video data channel.
Optionally, after the video networking server receives the audio and video data sent by the second terminal, transmits the audio and video data of the second terminal to the first terminal through the audio and video data channel, and transmits the audio and video data of the first terminal to the second terminal through the audio and video data channel, the method further includes:
the second terminal sends a call stopping request to the video networking server, wherein the call stopping request is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal;
and the video networking server responds to the call stopping request, closes the audio and video data channel and forwards the call stopping request to the first terminal.
Optionally, the forced call request further includes: channel information of the audio and video data channel; after the second terminal responds to the forced call request and carries out audio and video call with the first terminal through the audio and video data channel, the method further comprises the following steps:
the video network server keeps the audio and video data channel under the condition that the second terminal is determined to be abnormally offline;
the video network server forwards the forced call request to the second terminal according to the channel information under the condition that the second terminal is determined to be connected again;
and the second terminal responds to the forced call request and carries out audio and video call with the first terminal through the audio and video data channel.
The embodiment of the invention also provides a device for controlling the terminal, which is applied to the video network comprising a first terminal, a video network server and a second terminal, wherein the first terminal and the second terminal are any one terminal in the video network, and the device comprises:
sending a forced call request for the first terminal to send a forced call request to the video networking server, wherein the forced call request is used for indicating the first terminal to request a second terminal to forcibly perform audio and video call, and the forced call request comprises: the video networking number of the first terminal and the video networking number of the second terminal;
the response establishing module is used for responding to the forced call request by the video networking server and establishing an audio and video data channel between the first terminal and the second terminal according to the video networking number of the first terminal and the video networking number of the second terminal;
the forwarding module is used for forwarding the forced call request to the second terminal by the video networking server;
and the response call module is used for the second terminal to respond to the forced call request and carry out audio and video call with the first terminal through the audio and video data channel.
Optionally, the apparatus further comprises:
a response rejection request module, configured to send a call rejection request to the video networking server in response to the forced call request, where the call rejection request is sent by the second terminal when the permission level of the second terminal is higher than the permission level of the first terminal;
and the response closing and forwarding rejection module is used for responding to the call rejection request by the video networking server, closing the audio and video data channel and forwarding the call rejection request to the first terminal.
Optionally, the response session module includes:
the response sending data submodule is used for the second terminal to respond to the forced call request and send own audio and video data to the video network server, and the audio and video data of the second terminal are sent by force under the condition that the authority level of the second terminal is lower than that of the first terminal;
and the receiving interactive call submodule is used for the video networking server to receive the audio and video data sent by the second terminal, transmit the audio and video data of the second terminal to the first terminal through the audio and video data channel and transmit the audio and video data of the first terminal to the second terminal through the audio and video data channel.
Optionally, the apparatus further comprises:
a sending stopping request module, configured to send, by the second terminal to the video networking server, a call stopping request, where the call stopping request is sent by the second terminal when the permission level of the second terminal is higher than the permission level of the first terminal;
and the response closing stopping request module is used for responding to the call stopping request by the video networking server, closing the audio and video data channel and forwarding the call stopping request to the first terminal.
Optionally, the apparatus further comprises:
the offline holding module is used for holding the audio and video data channel by the video networking server under the condition that the second terminal is determined to be abnormally offline;
the recovery forwarding module is used for forwarding the forced call request to the second terminal according to the channel information under the condition that the video networking server determines that the second terminal recovers connection;
and the response channel communication module is used for the second terminal to respond to the forced communication request and carry out audio and video communication with the first terminal through the audio and video data channel.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to the present invention.
An embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the electronic device implements the steps in the above-described method of the present invention.
The invention provides a method and a device for controlling terminals.A first terminal sends a forced call request to a video network server, the video network server responds to the forced call request, establishes an audio and video data channel between the first terminal and a second terminal according to a video network number of the first terminal and a video network number of the second terminal, then the video network server forwards the forced call request to the second terminal, and the second terminal actively sends self audio and video data to the channel established by the video network server according to the forced call request so as to realize that the first terminal forcibly carries out audio and video call with the second terminal through the audio and video data channel. By adopting the method provided by the invention, the terminal initiating the audio and video call can forcibly carry out the audio and video call with the called terminal, the audio and video call of the two terminals can be rapidly realized in emergency, the time is saved, the use feeling of a user is improved, the technical development of the video networking is promoted, and the application range of the video networking is wider.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
fig. 5 is a flowchart of a method of controlling a terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of an apparatus for controlling a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the video network, one of the core concepts of the embodiments of the present invention is provided, following the protocol of the video network, the video network server receives the request sent by the terminal initiating the forced call in the video network, and the video network server establishes a data interaction channel between the two terminals while forwarding the request to the terminal requiring the forced call, so as to realize that the terminal initiating the forced call in the video network forcibly makes a call with the terminal requiring the forced call.
Fig. 5 shows a flowchart of a method for controlling a terminal according to an embodiment of the present invention, where the method is applied to a video network including a first terminal, a video network server, and a second terminal, where the first terminal and the second terminal are any terminals in the video network, and the method for controlling the terminal includes the following steps:
step 501: the method comprises the following steps that a first terminal sends a forced call request to a video networking server, the forced call request is used for indicating the first terminal to request to carry out audio and video call with a second terminal in a forced mode, and the forced call request comprises the following steps: the video networking number of the first terminal and the video networking number of the second terminal.
In the embodiment of the invention, the video network comprises a plurality of terminals, users can use the terminals to use and operate related services of the video network, and the instruction and data interaction between the terminals needs to be processed and forwarded by a video network server. When a first terminal in a plurality of terminals needs to forcibly perform audio and video call with a second terminal in the plurality of terminals, a forced call request needs to be sent to a video networking server, the request is used for indicating the first terminal and the second terminal to forcibly perform the audio and video call, and the request comprises: the video networking number of the first terminal and the video networking number of the second terminal. When the request is received by the video network server, the subsequent operation can be carried out according to the request.
For example: the number of the first terminal video network in the video network is as follows: 86-999999, the second terminal video network number is: 01-444444, the first terminal needs to forcibly talk to the second terminal. The first terminal sends a forced call request to a video network server, wherein the request comprises: the number field, operation type field, wherein operation type field includes: setting information, wherein the setting information is information representing the operation type, wherein 1 represents that the operation type is forced conversation, and 0 represents that the operation type is forced conversation to be common conversation; then the forced call request includes: number field: 86-999999, 01-444444; operation type field: 1.
step 502: and the video networking server responds to the forced call request and establishes an audio and video data channel between the first terminal and the second terminal according to the video networking number of the first terminal and the video networking number of the second terminal.
In the embodiment of the invention, when a terminal in the video network performs data interaction, the video network server is required to provide a channel for data interaction, so that after the video network server receives a forced call request, the video network server is required to establish an audio/video data channel between a first terminal and a second terminal according to a video network number of the first terminal and a video network number of the second terminal in the request, the data channel is marked with channel information, the channel information represents what the channel is for which terminals, and the channel information also stores the forced call request sent by the first terminal.
For example: the forced call request received by the video networking server comprises the following steps: number field: 86-999999, 01-444444; operation type field: the video network server, according to the video network number in the request: 86-999999, 01-444444, and operation type 1: and forced conversation, namely establishing an audio and video data channel between the two terminals, and marking the data channel as the audio and video data channel for forced conversation between the 86-999999 terminal and the 01-444444 terminal.
Step 503: and the video network server forwards the forced call request to the second terminal.
In the embodiment of the invention, after the channel is established by the video network server, the video network server forwards the forced call request sent by the first terminal to the second terminal.
Step 504: and the second terminal responds to the forced call request and carries out audio and video call with the first terminal through the audio and video data channel.
In the embodiment of the invention, after the video networking server forwards the forced call request to the second terminal, the second terminal receives the request and responds to the request, and the request is used for forcibly enabling the second terminal to carry out audio and video data interaction with the first terminal so as to realize the forced audio and video call between the second terminal and the first terminal through the audio and video data channel.
For example: after an audio and video data channel for forced conversation between a 86-999999 terminal and a 01-444444 terminal is established by a video networking server, a forced conversation request sent by the 86-999999 terminal is forwarded to the 01-444444 terminal, after the 01-444444 terminal receives the request, the audio and video data of the 01-444444 terminal are transmitted to the 86-999999 terminal through the audio and video data channel without any permission or authentication or detection, and meanwhile, the 01-444444 terminal receives the audio and video data sent by the 86-999999 terminal through the audio and video data channel without any permission or authentication or detection.
Therefore, the audio and video conversation between any terminal and any other terminal in the video network is realized.
Optionally, in practical application, in order to prevent some users of the video networking from maliciously using the terminal to forcibly talk with other terminals, an authority level may be further set, and a terminal with a high-level authority may select whether to talk with a terminal with a low-level authority according to their own will, and based on this situation, after the video networking server forwards the forced talk request to the second terminal, the method for controlling the terminal further includes:
step X1: and the second terminal responds to the forced call request and sends a call rejection request to the video networking server, wherein the call rejection request is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal.
In the embodiment of the invention, after receiving the forced call request sent by the video networking server, the second terminal firstly judges the relationship between the authority level of the second terminal and the authority level of the first terminal. And if the authority level of the second terminal is higher than that of the first terminal, the second terminal can choose to refuse to forcibly talk with the first terminal, and in the case of rejection of the second terminal, the second terminal sends a request for refusing the talk to the video network server.
For example: the authority level of a first terminal 86-999999 in the video network is 2, the authority level of a second terminal 01-444444 in the video network is 0, after an audio and video data channel for forced conversation between the 86-999999 terminal and a 01-444444 terminal is established by a video network server, a forced conversation request is forwarded to the 01-444444 terminal, after the 01-444444 terminal receives the request, the authority level of the 01-444444 terminal is judged to be higher than that of the 86-999999 terminal, the 01-444444 terminal refuses to conduct audio and video conversation with the 86-99999999 terminal, and then the 01-444444 terminal sends the refusing conversation request to the video network server.
Step X2: and the video networking server responds to the call rejection request, closes the audio and video data channel and forwards the call rejection request to the first terminal.
In the embodiment of the invention, the video networking server receives the call rejection request sent by the second terminal, responds to the request, closes the established audio and video data channel between the first terminal and the second terminal, and forwards the call rejection request to the first terminal. After receiving the call rejection request, the first terminal displays the call rejection information on a display interface of the first terminal.
For example: the second terminal 01-444444 refuses to carry out audio and video conversation with the first terminal 86-999999 in the video network, the 01-444444 terminal sends a conversation refusing request to the video network server, the video network server responds to the conversation refusing request, forwards the conversation refusing request to the 86-999999 terminal, and closes an established audio and video data channel between the 86-999999 terminal and the 01-444444 terminal. And after the 86-999999 terminal receives the call rejection request, the information of call rejection is displayed on a display interface of the terminal.
It can be understood that if the second terminal agrees to perform audio and video communication with the first terminal under the condition that the authority level of the second terminal is higher than that of the first terminal, the second terminal responds to the forced communication request and performs audio and video data interaction with the first terminal, that is, the second terminal performs audio and video communication with the first terminal.
Under the condition that the self authority level of the second terminal is higher than that of the first terminal, after the second terminal agrees to carry out audio and video conversation with the first terminal, the second terminal and the first terminal start to carry out audio and video conversation, and the second terminal can actively stop the audio and video conversation with the first terminal, and the method comprises the following steps:
step Y1: and the call stopping request is sent by the second terminal to the video networking server, and is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal.
Step Y2: and the video networking server responds to the call stopping request, closes the audio and video data channel and forwards the call stopping request to the first terminal.
In the embodiment of the invention, under the condition that the self authority level of the second terminal is higher than that of the first terminal, the second terminal and the first terminal start audio and video communication, then the second terminal wants to actively stop the audio and video communication with the first terminal, the second terminal sends a communication stopping request to the video networking server, and after receiving the request, the video networking server responds to the request, forwards the communication stopping request to the first terminal and closes the established audio and video data channel between the first terminal and the second terminal. After receiving the call stopping request, the first terminal displays the call stopping information on a display interface of the first terminal.
For example: the second terminal 01-444444 and the first terminal 86-999999 in the video network carry out audio and video conversation, the 01-444444 terminal needs to stop the audio and video conversation with the 86-999999 terminal, the 01-444444 terminal sends a conversation stopping request to the video network server, the video network server responds to the conversation stopping request, forwards the conversation stopping request to the 86-9999 terminal, and closes the established audio and video data channel between the 86-999999 terminal and the 01-444444 terminal. After receiving the call stop request, the 86-999999 terminal displays the call stop information on its own display interface.
It can be understood that, because the forced call is initiated by the first terminal, even if the permission level of the first terminal is lower than that of the second terminal, the first terminal can still actively stop the audio/video call with the second terminal, and the implementation method of the forced call is the same as the method for stopping the audio/video call with the first terminal by the second terminal, and is not described herein again.
Similarly, if the forced call is initiated by the first terminal. And the authority level of the first terminal is higher than the second authority, so that only the first terminal can actively stop the audio and video call after the audio and video call is carried out between the first terminal and the second terminal, and the second terminal cannot actively stop.
If the second terminal judges that the authority level of the second terminal is lower than that of the first terminal, the steps are as follows:
step X3: the second terminal responds to the forced call request and sends own audio and video data to the video network server, and the audio and video data of the second terminal are forcibly sent by the second terminal under the condition that the authority level of the second terminal is lower than that of the first terminal;
step X4: the video networking server receives the audio and video data sent by the second terminal, transmits the audio and video data of the second terminal to the first terminal through the audio and video data channel, and transmits the audio and video data of the first terminal to the second terminal through the audio and video data channel.
In the embodiment of the invention, after receiving the forced call request sent by the video networking server, the second terminal firstly judges the relationship between the authority level of the second terminal and the authority level of the first terminal. And if the permission level of the second terminal is lower than that of the first terminal, the second terminal responds to the forced call request, actively sends the audio and video data of the second terminal to the first terminal through the audio and video data channel, and receives the audio and video data of the first terminal through the audio and video data channel.
For example: the authority level of a first terminal 86-999999 in the video network is 1, the authority level of a second terminal 01-444444 in the video network is 3, after an audio and video data channel for forced conversation between a 86-999999 terminal and a 01-444444 terminal is established by a video network server, a forced conversation request is forwarded to the 01-444444 terminal, after the 01-444444 terminal receives the request, the authority level of the 01-444444 terminal is judged to be lower than that of the 86-999999 terminal, the 01-444444 terminal responds to the forced conversation request, and actively sends own audio and video data to the 86-9999999999 terminal through the audio and video data channel, and meanwhile receives the audio and video data of the 86-9999 terminal through the audio and video data channel.
Optionally, the forced call request further includes: channel information of the audio and video data channel; after step 504, the method for controlling a terminal further includes:
step 505: and the video network server keeps the audio and video data channel under the condition of determining that the second terminal is abnormally offline.
In the embodiment of the invention, in the process of audio and video conversation between the second terminal and the first terminal through the audio and video data channel, if the second terminal does not send a conversation stopping request, the audio and video data interaction with the first terminal is suddenly interrupted, the abnormal offline of the second terminal is judged, and the video network server keeps the preset time length of the audio and video data channel under the condition of determining the abnormal offline of the second terminal, so that the audio and video conversation can be automatically reconnected to continue to be carried out with the first terminal under the condition that the second terminal is recovered to be normal. And if the second terminal does not recover to be normal after the preset duration, the audio and video data channel is cancelled, and the first terminal needs to initiate a forced call request to the second terminal again.
For example: the video networking server establishes an audio and video data channel between a 86-999999 terminal and a 01-444444 terminal, the 86-999999 terminal and a 01-444444 terminal carry out audio and video conversation, in the process, the 01-444444 terminal does not send a conversation stopping request, the audio and video conversation with the 86-999999 terminal is suddenly interrupted, the video networking server determines that the 01-444444 terminal is abnormally off-line in the audio and video conversation process with the 86-999999 terminal, and the video networking server continues to keep the audio and video data channel between the 86-999999 terminal and the 01-444444 terminal for 5 minutes if the preset time is 5 minutes.
Step 506: and the video network server forwards the forced call request to the second terminal according to the channel information under the condition of determining that the second terminal is recovered to be connected.
In the embodiment of the invention, because the audio and video data channel is marked with the channel information after being established, the video network server sends a forced call request to the second terminal according to the channel information under the condition that the video network server determines that the second terminal is recovered to be connected, so that the second terminal is forced to carry out audio and video call with the first terminal through the audio and video data channel.
For example: the video network server establishes an audio and video data channel between the 86-999999 terminal and the 01-444444 terminal, the data channel is marked as an audio and video data channel for forced conversation between the 86-999999 terminal and the 01-444444 terminal, and the forced conversation request is sent by the 86-999999 terminal and stored in channel information. After the 01-444444 terminal suddenly goes off-line abnormally, the video network server determines that the 01-444444 terminal goes off-line abnormally in the process of audio-video communication with the 86-999999 terminal, and the video network server continues to keep the audio-video data channels of the 86-999999 terminal and the 01-444444 terminal for 5 minutes. And in 5 minutes, when the video network server determines that the 01-444444 terminal is recovered to be connected, the video network server sends a forced call request to the 01-444444 terminal according to the channel information of the audio and video data channels of the 86-999999 terminal and the 01-444444 terminal, so that the 01-444444 terminal can carry out audio and video call with the 86-999999 terminal through the audio and video data channels. If the video network server determines that the 01-444444 terminal is not recovered after 5 minutes, the video network server logs out the audio and video data channels of the 86-999999 terminal and the 01-444444 terminal, and then the 86-999999 terminal wants to have a forced call with the 01-444444 terminal and needs to send a forced call request to the 01-444444 terminal again.
In summary, assume that the number of the first terminal in the video network is: 86-999999, the second terminal video network number is: 01-444444, the first terminal authority level is 2, the second terminal authority level is 0, the first terminal needs to compulsorily communicate with the second terminal.
The method comprises the following steps that a first terminal sends a forced call request to a video networking server, wherein the forced call request comprises: number field: 86-999999, 01-444444; operation type field: 1; permission field: 2. the video network server receives the forced call request, and according to the video network number in the request: 86-999999, 01-444444, and operation type 1: and forced conversation, namely establishing an audio and video data channel between the two terminals, storing the forced conversation request sent by the 86-999999 terminal in channel information, and marking the data channel as the audio and video data channel for forced conversation between the 86-999999 terminal and the 01-444444 terminal.
After an audio and video data channel for forced conversation between a 86-999999 terminal and a 01-444444 terminal is established by a video networking server, a forced conversation request is forwarded to the 01-444444 terminal, after the 01-444444 terminal receives the request, the authority level 0 of the 01-444444 terminal is judged to be higher than the authority level 2 of the 86-999999 terminal, and if the 01-444444 terminal refuses audio and video conversation with the 86-9999 terminal, the 01-444444 terminal sends a request for refusing conversation to the video networking server.
And the video network server responds to the call rejection request, forwards the call rejection request to the 86-999999 terminal, and closes the established audio-video data channel between the 86-999999 terminal and the 01-444444 terminal. And after the 86-999999 terminal receives the call rejection request, the information of call rejection is displayed on a display interface of the terminal.
Assuming that a second terminal 01-444444 in the video network agrees to carry out audio and video call with a 86-999999 terminal, the 01-444444 terminal actively sends audio and video data of the terminal to the 86-999999 terminal through an audio and video data channel in response to a forced call request, and simultaneously receives the audio and video data of the 86-9999 terminal through the audio and video data channel. And then the 01-444444 terminal needs to stop the audio and video call with the 86-999999 terminal, the 01-444444 terminal sends a call stop request to the video network server, the video network server responds to the call stop request, forwards the call stop request to the 86-999999 terminal, and closes the established audio and video data channel between the 86-999999 terminal and the 01-444444 terminal. After receiving the call stop request, the 86-999999 terminal displays the call stop information on its own display interface.
In the process of audio and video communication between the 86-999999 terminal and the 01-444444 terminal, the 01-444444 terminal is suddenly disconnected, at the moment, the video network server determines that the 01-444444 terminal is disconnected in the process of audio and video communication between the 86-999999 terminal and the 01-444444 terminal, and the video network server continues to maintain audio and video data channels between the 86-999999 terminal and the 01-444444 terminal. And when the video network server determines that the 01-444444 terminal is recovered to be connected, the video network server sends a forced call request to the 01-444444 terminal according to the channel information of the audio and video data channels of the 86-999999 terminal and the 01-444444 terminal, so that the 01-444444 terminal can carry out audio and video call with the 86-999999 terminal through the audio and video data channels.
Referring to fig. 6, a block diagram of an apparatus for controlling a terminal according to an embodiment of the present invention is shown, where the apparatus is applied to a video network including a first terminal, a video network server, and a second terminal, and the first terminal and the second terminal are any terminals in the video network, and the apparatus for controlling a terminal includes:
sending a forced call request 610, which is used for sending a forced call request to a video networking server by a first terminal, wherein the forced call request is used for indicating the first terminal to request a second terminal to forcibly carry out audio and video call, and the forced call request comprises: the video networking number of the first terminal and the video networking number of the second terminal;
a response establishing module 620, configured to, in response to the forced call request, establish an audio/video data channel between the first terminal and the second terminal according to the video networking number of the first terminal and the video networking number of the second terminal by the video networking server;
a forwarding module 630, configured to forward, by the video networking server, the forced call request to the second terminal;
and the response call module 640 is used for the second terminal to respond to the forced call request and perform audio and video call with the first terminal through the audio and video data channel.
Optionally, the apparatus for controlling a terminal further includes:
the response rejection request module is used for the second terminal to respond to the forced call request and send a call rejection request to the video networking server, wherein the call rejection request is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal;
and the response closing and forwarding rejection module is used for responding to the call rejection request by the video networking server, closing the audio and video data channel and forwarding the call rejection request to the first terminal.
Optionally, the call response module includes:
the response sending data submodule is used for the second terminal to respond to the forced call request and send own audio and video data to the video network server, and the audio and video data of the second terminal are sent by force under the condition that the authority level of the second terminal is lower than that of the first terminal;
and the receiving interactive communication submodule is used for the video networking server to receive the audio and video data sent by the second terminal, transmit the audio and video data of the second terminal to the first terminal through the audio and video data channel and transmit the audio and video data of the first terminal to the second terminal through the audio and video data channel.
Optionally, the apparatus for controlling a terminal further includes:
the call stopping request module is used for sending a call stopping request to the video networking server by the second terminal, wherein the call stopping request is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal;
and the response closing stopping request module is used for responding to the call stopping request by the video networking server, closing the audio and video data channel and forwarding the call stopping request to the first terminal.
Optionally, the apparatus for controlling a terminal further includes:
the offline holding module is used for holding the audio and video data channel when the video network server determines that the second terminal is offline;
the recovery forwarding module is used for forwarding the forced call request to the second terminal according to the channel information under the condition that the video network server determines that the second terminal recovers the connection;
and the response channel conversation module is used for the second terminal to respond to the forced conversation request and carry out audio and video conversation with the first terminal through the audio and video data channel.
According to the embodiment, a first terminal sends a forced call request to a video networking server, the video networking server responds to the forced call request, an audio and video data channel between the first terminal and a second terminal is established according to the video networking number of the first terminal and the video networking number of the second terminal, then the video networking server forwards the forced call request to the second terminal, if each terminal is provided with an authority level, the second terminal determines whether to carry out call with the first terminal or not according to the relation between the authority level of the second terminal and the authority level of the first terminal, if the call is approved, the first terminal actively sends self audio and video data to the channel established by the video networking server in response to the forced call request, and the first terminal and the second terminal can carry out audio and video call through the audio and video data channel; and if the call is not approved, sending a call rejection request to the video networking server, and forwarding the call rejection request to the first terminal while the video networking server closes the established audio and video channel. By adopting the method provided by the invention, the terminal initiating the audio and video call can forcibly carry out the audio and video call with the called terminal, the audio and video call of the two terminals can be rapidly realized in emergency, the time is saved, the use feeling of a user is improved, the technical development of the video networking is promoted, and the application range of the video networking is wider.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, herein, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A method for controlling a terminal is applied to a video network comprising a first terminal, a video network server and a second terminal, wherein the first terminal and the second terminal are any terminals in the video network, and the method comprises the following steps:
the first terminal sends a forced call request to the video networking server, wherein the forced call request is used for indicating the first terminal to request a second terminal to carry out audio and video call forcibly, and the forced call request comprises: the video network number of the first terminal, the video network number of the second terminal and an operation type field, wherein the operation type field comprises: setting information, wherein the setting information is information representing the operation type;
the video network server responds to the forced call request, establishes an audio and video data channel between the first terminal and the second terminal according to the video network number of the first terminal and the video network number of the second terminal, and stores channel information of the audio and video data channel;
the video network server forwards the forced call request to the second terminal;
the second terminal responds to the forced call request and carries out audio and video call with the first terminal through the audio and video data channel;
the video network server keeps the preset time length of the audio and video data channel under the condition that the abnormal offline of the second terminal is determined;
the video network server forwards the forced call request to the second terminal according to the channel information under the condition that the second terminal is determined to be connected within the preset time length;
and the second terminal responds to the forced call request and carries out audio and video call with the first terminal through the audio and video data channel.
2. The method of claim 1, wherein after the video networking server forwards the forced call request to the second terminal, the method further comprises:
the second terminal responds to the forced call request and sends a call rejection request to the video networking server, wherein the call rejection request is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal;
and the video networking server responds to the call rejection request, closes the audio and video data channel and forwards the call rejection request to the first terminal.
3. The method according to claim 1, wherein the second terminal responds to the forced call request and performs an audio/video call with the first terminal through the audio/video data channel, and the method comprises the following steps:
the second terminal responds to the forced call request and sends own audio and video data to a video networking server, and the audio and video data of the second terminal are forcibly sent by the second terminal under the condition that the authority level of the second terminal is lower than that of the first terminal;
the video networking server receives the audio and video data sent by the second terminal, transmits the audio and video data of the second terminal to the first terminal through the audio and video data channel, and transmits the audio and video data of the first terminal to the second terminal through the audio and video data channel.
4. The method according to claim 3, wherein after the video networking server receives the audio and video data sent by the second terminal, transmits the audio and video data of the second terminal to the first terminal through the audio and video data channel, and transmits the audio and video data of the first terminal to the second terminal through the audio and video data channel, the method further comprises:
the second terminal sends a call stopping request to the video networking server, wherein the call stopping request is sent by the second terminal under the condition that the authority level of the second terminal is higher than that of the first terminal;
and the video networking server responds to the call stopping request, closes the audio and video data channel and forwards the call stopping request to the first terminal.
5. An apparatus for controlling a terminal, the apparatus being applied to a video network including a first terminal, a video network server, and a second terminal, the first terminal and the second terminal being any one of terminals in the video network, the apparatus comprising:
sending a forced call request for the first terminal to send a forced call request to the video networking server, wherein the forced call request is used for indicating the first terminal to request a second terminal to forcibly perform audio and video call, and the forced call request comprises: the video network number of the first terminal, the video network number of the second terminal and an operation type field, wherein the operation type field comprises: setting information, wherein the setting information is information representing the operation type;
the response establishing module is used for responding to the forced call request by the video networking server, establishing an audio and video data channel between the first terminal and the second terminal according to the video networking number of the first terminal and the video networking number of the second terminal, and storing channel information of the audio and video data channel;
the forwarding module is used for forwarding the forced call request to the second terminal by the video networking server;
the response call module is used for the second terminal to respond to the forced call request and carry out audio and video call with the first terminal through the audio and video data channel;
the offline holding module is used for holding the preset time length of the audio and video data channel by the video networking server under the condition that the second terminal is determined to be abnormally offline;
the recovery forwarding module is used for forwarding the forced call request to the second terminal according to the channel information under the condition that the video networking server determines that the second terminal recovers connection within the preset time length;
and the response channel communication module is used for the second terminal to respond to the forced communication request and carry out audio and video communication with the first terminal through the audio and video data channel.
6. The apparatus of claim 5, further comprising:
a response rejection request module, configured to send a call rejection request to the video networking server in response to the forced call request, where the call rejection request is sent by the second terminal when the permission level of the second terminal is higher than the permission level of the first terminal;
and the response closing and forwarding rejection module is used for responding to the call rejection request by the video networking server, closing the audio and video data channel and forwarding the call rejection request to the first terminal.
7. The apparatus of claim 6, wherein the responsive call module comprises:
the response sending data submodule is used for the second terminal to respond to the forced call request and send own audio and video data to the video network server, and the audio and video data of the second terminal are sent by force under the condition that the authority level of the second terminal is lower than that of the first terminal;
and the receiving interactive call submodule is used for the video networking server to receive the audio and video data sent by the second terminal, transmit the audio and video data of the second terminal to the first terminal through the audio and video data channel and transmit the audio and video data of the first terminal to the second terminal through the audio and video data channel.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executed implements the steps of the method according to any of claims 1-4.
CN201910533909.6A 2019-06-19 2019-06-19 Method and device for controlling terminal, electronic equipment and storage medium Active CN110248134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910533909.6A CN110248134B (en) 2019-06-19 2019-06-19 Method and device for controlling terminal, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910533909.6A CN110248134B (en) 2019-06-19 2019-06-19 Method and device for controlling terminal, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110248134A CN110248134A (en) 2019-09-17
CN110248134B true CN110248134B (en) 2021-11-02

Family

ID=67888196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910533909.6A Active CN110248134B (en) 2019-06-19 2019-06-19 Method and device for controlling terminal, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110248134B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787261A (en) * 2020-06-04 2020-10-16 视联动力信息技术股份有限公司 Audio and video data sending method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237493A (en) * 2008-03-07 2008-08-06 兴唐通信科技有限公司 Manual call processing method and manual dispatching video call system
CN101686439A (en) * 2008-07-23 2010-03-31 广州市汇维通信设备有限公司 Mobile phone talkback
CN104660803A (en) * 2015-01-09 2015-05-27 同济大学 Method and equipment for calling for help on basis of intelligent mobile terminal
WO2017034171A1 (en) * 2015-08-25 2017-03-02 주식회사 조아로지스 Method for direct dealing of metal scraps through enlarged collection quantities
CN106851030A (en) * 2017-02-17 2017-06-13 烟台北方星空自控科技有限公司 A kind of network telephone exchanger and its implementation for extending extraordinary calling
CN108388779A (en) * 2018-02-09 2018-08-10 上海溪湾智能科技有限公司 A kind of Portable Automatic stamper machine and management system and its management control method
CN109640027A (en) * 2019-01-14 2019-04-16 视联动力信息技术股份有限公司 Call method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237493A (en) * 2008-03-07 2008-08-06 兴唐通信科技有限公司 Manual call processing method and manual dispatching video call system
CN101686439A (en) * 2008-07-23 2010-03-31 广州市汇维通信设备有限公司 Mobile phone talkback
CN104660803A (en) * 2015-01-09 2015-05-27 同济大学 Method and equipment for calling for help on basis of intelligent mobile terminal
WO2017034171A1 (en) * 2015-08-25 2017-03-02 주식회사 조아로지스 Method for direct dealing of metal scraps through enlarged collection quantities
CN106851030A (en) * 2017-02-17 2017-06-13 烟台北方星空自控科技有限公司 A kind of network telephone exchanger and its implementation for extending extraordinary calling
CN108388779A (en) * 2018-02-09 2018-08-10 上海溪湾智能科技有限公司 A kind of Portable Automatic stamper machine and management system and its management control method
CN109640027A (en) * 2019-01-14 2019-04-16 视联动力信息技术股份有限公司 Call method and device

Also Published As

Publication number Publication date
CN110248134A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110049271B (en) Video networking conference information display method and device
CN109561072B (en) Link detection method and system
CN109246486B (en) Method and device for framing
CN110536100B (en) Video networking conference recording method and system
CN110545395B (en) Video networking conference switching method and device
CN110049273B (en) Video networking-based conference recording method and transfer server
CN109194902B (en) Hierarchical conference scheduling method and system
CN109218306B (en) Audio and video data stream processing method and system
CN111385287A (en) Network reconnection method and device for service system
CN109286775B (en) Multi-person conference control method and system
CN111327868A (en) Method, terminal, server, device and medium for setting conference speaking party role
CN111182258B (en) Data transmission method and device for network conference
CN110417792B (en) Communication method, system, gateway device and storage medium
CN110072154B (en) Video networking-based clustering method and transfer server
CN109922297B (en) Call method and device
CN109889755B (en) Communication connection method and video networking terminal
CN109698953B (en) State detection method and system for video network monitoring equipment
CN110401808B (en) Conference control method and device
CN110248134B (en) Method and device for controlling terminal, electronic equipment and storage medium
CN110445701B (en) Business object processing method and device and storage medium
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110233872B (en) Data transmission method based on video network and video network terminal
CN110719433B (en) Method and device for displaying online state of terminal, electronic equipment and storage medium
CN110493311B (en) Service processing method and device
CN109819200B (en) Method and device for checking posts of participating terminals

Legal Events

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