CN110730154A - Service processing method and device for video network - Google Patents
Service processing method and device for video network Download PDFInfo
- Publication number
- CN110730154A CN110730154A CN201810784219.3A CN201810784219A CN110730154A CN 110730154 A CN110730154 A CN 110730154A CN 201810784219 A CN201810784219 A CN 201810784219A CN 110730154 A CN110730154 A CN 110730154A
- Authority
- CN
- China
- Prior art keywords
- virtual terminal
- service
- terminal
- child
- father
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1013—Network architectures, gateways, control or user entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/403—Arrangements for multi-party communication, e.g. for conferences
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a service processing method and a device of a video network, wherein the method comprises the following steps: the method comprises the steps that a video network gateway creates a father virtual terminal and creates one or more child virtual terminals for the father virtual terminal; the video networking gateway receives a service control instruction transmitted by the video networking terminal through the autonomous cloud; the video network gateway inquires the matched target child virtual terminal in the child virtual terminals under the father virtual terminal according to the service control instruction; and the video network gateway calls the target child virtual terminal to proxy the father virtual terminal to perform service processing according to the service control instruction. The service logic of the original video network is maintained, no new function is added, the modification to other equipment is less, the number of global equipment numbers is saved, and the number of heartbeat connection maintenance is reduced, so that the resource consumption is reduced.
Description
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for processing services in a video networking.
Background
In the bit video network, services such as video phones, video conferences and the like are exclusive, that is, one node can only perform one service related to a data stream at the same time.
Therefore, a virtual terminal is created in the gateway, and one virtual terminal can independently perform processing such as recording of a conference, and if a plurality of processing are performed simultaneously, a plurality of virtual terminals need to be created.
However, each virtual terminal needs to maintain heartbeat connection with the network, and each virtual terminal needs to configure a global device number, and multiple virtual terminals need to maintain multiple heartbeat connections and occupy multiple global device numbers, which results in high resource consumption.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a service processing method and apparatus for a video network that overcome or at least partially solve the above problems.
According to one aspect of the invention, a service processing method for an internet of view is provided, wherein the internet of view comprises a plurality of autonomous clouds distributed according to layers, each autonomous cloud comprises an internet of view gateway and an internet of view terminal, and the method comprises the following steps:
the method comprises the steps that a video network gateway creates a father virtual terminal and creates one or more child virtual terminals for the father virtual terminal;
the video networking gateway receives a service control instruction transmitted by the video networking terminal through the autonomous cloud;
the video network gateway inquires the matched target child virtual terminal in the child virtual terminals under the father virtual terminal according to the service control instruction;
and the video network gateway calls the target child virtual terminal to proxy the father virtual terminal to perform service processing according to the service control instruction.
Optionally, the creating, by the video networking gateway, a parent virtual terminal and one or more child virtual terminals for the parent virtual terminal includes:
generating a father virtual terminal, and configuring a global device number for the father virtual terminal;
maintaining heartbeat connection of the parent virtual terminal in the autonomous cloud;
determining the number of the sub-virtual terminals;
and generating the number of the child virtual terminals for the parent virtual terminal, and configuring a child equipment number for the child virtual terminal.
Optionally, the querying, by the video networking gateway, an adapted target child virtual terminal in a child virtual terminal under the parent virtual terminal according to the service control instruction includes:
inquiring the global equipment number and the sub-equipment number from the service control instruction;
searching a father virtual terminal corresponding to the global equipment number;
and searching a child virtual terminal corresponding to the child equipment number under the parent virtual terminal to serve as a target child virtual terminal.
Optionally, the invoking, by the video networking gateway, the target child virtual terminal to proxy the parent virtual terminal to perform service processing according to the service control instruction includes:
extracting a service operation code and a service operation parameter from the service control instruction;
and sending the service operation code and the service operation parameter to the target child virtual terminal through the father virtual terminal, so that the target child virtual terminal acts on the virtual terminal to perform service processing according to the service operation code and the service operation parameter.
Optionally, the method further comprises:
and the video network gateway stops the child virtual terminal when the parent virtual terminal is disconnected in the autonomous cloud.
Optionally, the video networking gateway comprises a streaming media gateway and a storage gateway;
the streaming media gateway is used for processing at least one service of the following services:
services and monitoring services related to the mobile terminal;
the storage gateway is used for processing at least one service of the following services:
resource storage service, on-demand service, and version upgrade service.
According to another aspect of the present invention, there is provided a service processing apparatus for an internet of view, where the internet of view includes a plurality of autonomous clouds distributed in layers, each autonomous cloud includes an internet of view gateway and an internet of view terminal, and the apparatus is located in the internet of view gateway, and includes:
the virtual terminal creating module is used for creating a father virtual terminal and creating one or more child virtual terminals for the father virtual terminal;
the service control instruction receiving module is used for receiving a service control instruction transmitted by the video networking terminal through the autonomous cloud;
the virtual terminal searching module is used for searching the adaptive target child virtual terminal in the child virtual terminals under the father virtual terminal according to the service control instruction;
and the virtual terminal calling module is used for calling the target child virtual terminal to proxy the father virtual terminal to perform service processing according to the service control instruction.
Optionally, the virtual terminal creating module includes:
the father virtual terminal generation submodule is used for generating a father virtual terminal and configuring a global device number for the father virtual terminal;
the heartbeat connection maintenance submodule is used for maintaining the heartbeat connection of the father virtual terminal in the autonomous cloud;
the quantity determining submodule is used for determining the quantity of the sub-virtual terminals;
and the child virtual terminal generation submodule is used for generating the number of child virtual terminals for the parent virtual terminal and configuring a child equipment number for the child virtual terminal.
Optionally, the virtual terminal searching module includes:
the device number inquiry submodule is used for inquiring the global device number and the sub-device number from the service control instruction;
the father virtual terminal searching submodule is used for searching the father virtual terminal corresponding to the global equipment number;
and the child virtual terminal searching submodule is used for searching a child virtual terminal corresponding to the child equipment number under the parent virtual terminal to be used as a target child virtual terminal.
Optionally, the virtual terminal invoking module includes:
a parameter extraction submodule for extracting a service operation code and a service operation parameter from the service control instruction;
and the parameter sending submodule is used for sending the service operation code and the service operation parameter to the target child virtual terminal through the father virtual terminal so that the target child virtual terminal acts on the virtual terminal to perform service processing according to the service operation code and the service operation parameter.
Optionally, the method further comprises:
and the child virtual terminal stopping module is used for stopping the child virtual terminal when the parent virtual terminal is disconnected in the autonomous cloud by the video network gateway.
Optionally, the video networking gateway comprises a streaming media gateway and a storage gateway;
the streaming media gateway is used for processing at least one service of the following services:
services and monitoring services related to the mobile terminal;
the storage gateway is used for processing at least one service of the following services:
resource storage service, on-demand service, and version upgrade service.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the video network gateway creates a parent virtual terminal, creates one or more child virtual terminals for the parent virtual terminal, and if a service control instruction transmitted by the video network terminal through the autonomous cloud is received, the adapted target child virtual terminal is inquired in the child virtual terminals under the parent virtual terminal according to the service control instruction, and the target child virtual terminal is called to act on the parent virtual terminal to perform service processing according to the service control instruction, so that the service logic of the original video network is maintained, no new function is added, the modification on other equipment is less, the number of global equipment numbers is saved, and the number of heartbeat connection maintenance is reduced, thereby reducing the resource consumption.
Drawings
FIG. 1 is a schematic diagram of an autonomous network according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an autonomous cloud in accordance with an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the steps of a method for handling traffic in a video network, in accordance with an embodiment of the present invention;
fig. 4 is a block diagram of a service processing apparatus of a video network according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
To enable those skilled in the art to better understand the embodiments of the present invention, the following description refers to an autonomous network in a video network:
topological structure of autonomous network
Referring to fig. 1, a schematic structural diagram of an autonomous network according to an embodiment of the present invention is shown.
As shown in fig. 1, the autonomous network is a distributed centralized control network, and includes a plurality of autonomous clouds distributed in layers, that is, the overall network structure of the autonomous network is formed by connecting a plurality of substructures called autonomous clouds, and the autonomous clouds exhibit a hierarchical structure when connected with each other.
Each autonomous cloud can be connected with one or more next-layer autonomous clouds from the top-layer autonomous cloud, the lower-layer autonomous clouds are connected with the next-layer autonomous clouds until the lowest-layer autonomous cloud, and all the autonomous clouds are connected layer by layer in the mode to form an autonomous network.
Obviously, the hierarchical structure is a tree structure, each autonomous cloud is a node in the tree, and the whole autonomous network is a tree formed by a plurality of autonomous clouds serving as nodes.
As shown in fig. 1, the autonomous network includes four layers, an autonomous cloud in a fourth layer (L4) connecting autonomous clouds in a plurality of third layers (L3), an autonomous cloud in a third layer (L3) connecting autonomous clouds in a plurality of second layers (L2), and an autonomous cloud in a second layer (L2) connecting autonomous clouds in one or more first layers (L1).
Referring to fig. 2, a schematic structural diagram of an autonomous cloud according to an embodiment of the present invention is shown.
As shown in fig. 2, the autonomous cloud is a basic substructure in the autonomous network structure, and is also a structural unit that enables the autonomous network to operate normally.
Under the condition that one autonomous cloud is configured correctly, the function of the autonomous network can be independently realized in the autonomous cloud.
When the autonomous cloud cannot be connected with the upper and lower autonomous clouds due to communication faults, the service in the autonomous network can still be realized in a single autonomous cloud, which is also the source of the name of the autonomous cloud (autonomous operation).
When the autonomous clouds can normally communicate with the autonomous clouds on the upper and lower layers, the autonomous clouds form an autonomous network with a larger range, and a service crossing the autonomous clouds can be realized.
In a specific implementation, each autonomous cloud includes a master control server, a micro cloud server, a terminal, and a switching network.
1. Master control server (also known as autonomy server)
The main control server is a centralized control node of the autonomous cloud, and the realized functions mainly comprise management of equipment in the autonomous cloud, realization of services inside and across the autonomous clouds, management communication of the autonomous network to realize higher-level management and the like.
In each autonomous cloud, the master control server and the micro cloud servers are accessed to a switching network, namely the master control server can be connected with a plurality of micro cloud servers through the same switching network, the switching network and the devices connected with the switching network jointly form the master control micro cloud of the autonomous cloud, the number of the master control micro clouds in the autonomous cloud is one, and the devices in the master control micro clouds can be connected in various topological types such as tree type, star type, full switching and the like.
Generally, a device in an autonomous network first needs to register on a master control server, and then accesses the autonomous network through a network access process, and a device which is not registered cannot access the network and cannot obtain a service provided by the autonomous network.
2. Micro cloud server
The micro cloud server is an exchange core of the autonomous cloud, and in most cases, communication data sent by equipment in the autonomous network is forwarded to a final destination through the micro cloud server.
Further, the micro cloud server comprises a boundary router, a terminal sub-control server and a boundary sub-control server.
2.1 sub-control server
The terminal sub-control server and the boundary sub-control server are also called sub-control servers, and the sub-control servers are data forwarding nodes of the autonomous cloud and are provided with an uplink interface and a downlink interface. The uplink interface is used for being connected to a main control micro cloud of the autonomous cloud, the downlink interface can be connected with a terminal or a boundary router in other autonomous clouds through the same exchange network, and the exchange network and equipment connected with the exchange network form a sub-control micro cloud of the autonomous cloud.
The terminal sub-control server and the terminal are accessed into another switching network, and the corresponding sub-control micro-cloud is also called as the terminal sub-control micro-cloud.
The boundary sub-control server and the boundary router are connected to another switching network, and the corresponding sub-control micro-cloud is also called as the boundary sub-control micro-cloud.
Each sub-control server in the master control micro-cloud can correspond to one sub-control micro-cloud, and the sub-control micro-cloud and the master control micro-cloud are connected by multiplexing the same sub-control server.
The sub-control server is also an auxiliary control node of the autonomous cloud, and can simply manage other devices in the sub-control micro-cloud and share part of functions of the main control server.
It should be noted that the terminal sub-control server and the boundary sub-control server are role differentiation, and one server may be an independent terminal sub-control server, an independent boundary sub-control server, or both a terminal sub-control server and a boundary sub-control server.
2.2, border routers
The boundary router is also a data forwarding node of the autonomous cloud, can be simultaneously connected to two layers of autonomous clouds, and can realize data forwarding across the autonomous clouds.
The boundary router is provided with an uplink interface and a downlink interface, the downlink interface is used for being connected to a main control micro cloud of one autonomous cloud, and the uplink interface is used for being connected to a sub-control micro cloud of another autonomous cloud.
At the moment, two adjacent layers of autonomous clouds are connected by multiplexing the same boundary router, after the autonomous clouds are connected, the autonomous clouds connected through the downlink interface are called lower-layer autonomous clouds, and the autonomous clouds connected through the uplink interface are called upper-layer autonomous clouds.
After a plurality of autonomous clouds are interconnected by the boundary routers in this way, a distributed network distributed according to layers is formed.
3. Terminal device
A terminal is a device that provides services to users in an autonomous network, such as a set-top box, a streaming media gateway, a code board, a memory, a media compositor, etc.
4. Switching network
Switching networks are used to provide underlying network communication capabilities to autonomous networks so that devices connected to the same switching network can communicate with each other.
In one example, the switching network is an ethernet network, i.e., devices may communicate based on a standard ethernet protocol.
According to the actual situation of the ethernet, after the device accesses the master control clout or the slave control clout, various topologies can be formed, such as full-connected, star-shaped, tree-shaped, and so on.
The communication process between devices differs in different topologies.
Definition of data packets of autonomous network
The data packet of the autonomous network mainly comprises the following parts: ethernet header, autonomous network header, payload (pdu), CRC.
The ethernet header can be further divided into: the Destination MAC Address (DMAC), the Source MAC Address (SMAC), the Ethernet Type (ETYPE), and a VLAN header (VLAN) may be included in the ethernet header as necessary.
The autonomous network header can be further divided into: packet type (VTYPE), Reserved byte (Reserved), destination autonomous network address (DA), and source autonomous network address (SA).
The specific format of the VLAN-less header is shown in the following table:
DMAC | SMAC | ETYPE | VTYPE | Reserved | DA | SA | Reserved | Payload | CRC |
the specific format of the VLAN header is shown in the following table:
DMAC | SMAC | VLAN | ETYPE | VTYPE | Reserved | DA | SA | Reserved | Payload | CRC |
wherein:
the Destination MAC Address (DMAC) may consist of 6 bytes, indicating the MAC address of the network interface of the device receiving the packet;
the Source MAC Address (SMAC) may consist of 6 bytes, indicating the MAC address of the network interface of the device sending the packet;
the Ethernet Type (ETYPE) may consist of 2 bytes, representing the frame type of the ethernet;
the VLAN header may be composed of 4 bytes, indicating VLAN information used when transmitting packets using a VLAN;
the packet type (VTYPE) may be 1 byte, and represents the type of the packet (e.g., a connection packet, a unicast packet, a multicast packet, etc.);
reserved bytes may consist of 1 byte, typically set to 0;
the destination autonomous network address (DA) may consist of 8 bytes, indicating the address in the autonomous network of the receiver receiving the packet, the meaning of which is determined by the packet type;
the source autonomous network address (SA) may consist of 8 bytes, indicating the address in the autonomous network of the recipient sending the packet, the meaning of which is determined by the packet type;
the Payload stores the PDU of the autonomous network, and the length of the PDU is related to the type of the data packet. For example, the multicast packet may be 288 or 1056 bytes in length, and the connection packet and the unicast packet may be 64, 288 or 1056 bytes in length.
Of course, Payload is not limited to the above 3 lengths, and other lengths may be used, which is not limited by the embodiment of the present invention.
The CRC may consist of 4 bytes, which is calculated in accordance with the standard ethernet CRC algorithm.
Referring to fig. 3, a flowchart illustrating steps of a service processing method of a video network according to an embodiment of the present invention is shown, where the method may be applied to a video network, where the video network includes a plurality of autonomous clouds distributed in layers, and each autonomous cloud includes a video network gateway and a video network terminal, and the method specifically includes the following steps:
The video network gateway is used as a terminal to access the autonomous cloud and can be used for analyzing, encapsulating, forwarding and transferring the protocol between the video network and the IP network.
The video network gateway is provided with a video network card for accessing the video network and performing service processing in the video network, and the video network gateway is provided with an IP network card for accessing the IP network and performing service processing in the IP network.
In a specific implementation, the video networking gateway comprises a streaming media gateway and a storage gateway.
The streaming media gateway can be used for processing at least one of the following services:
services related to the mobile terminal, monitoring services.
The storage gateway may be configured to handle at least one of the following services:
the video server comprises a resource storage service (for example, storing video data), an on-demand service (that is, storing the video data in an on-demand server of an IP network, and subsequently pushing the video data to a video network terminal for playing), and a version upgrading service.
In the video network gateway, a father virtual terminal is created, one or more child virtual terminals are created for the father virtual terminal, namely the father virtual terminal and the child virtual terminals belong to a father-child relationship, the child virtual terminals receive management of the father virtual terminal, and meanwhile, each child virtual terminal realizes the responsibility of the father virtual terminal.
In one embodiment of the present invention, step 301 may include the following sub-steps:
and a substep S11 of generating a parent virtual terminal and configuring a global device number for the parent virtual terminal.
And a substep S12 of maintaining the heartbeat connection of the parent virtual terminal in the autonomous cloud.
The video network gateway allocates resources, such as a Central Processing Unit (CPU) resource, a memory resource, a hard disk resource, etc., to the parent virtual terminal, and configures a global device number for the parent virtual terminal.
Further, devices connected to the autonomous network are assigned a global device number that is unique throughout the network when the devices are networked.
The global device number is a 20-digit 10-digit number, and is divided into 4 segments, and each segment is a 5-digit 10-digit number. Such as 12345-.
The global device number may be formed by a local device number of the device, a device number prefix of the autonomous cloud, and a hierarchy of the autonomous cloud according to the following rule:
the global device number of the layer 1 autonomous cloud has a composition rule of < device number prefix of the autonomous cloud > - < local device number of the device >;
the global device number in the layer 2 autonomous cloud has a composition rule of < first 2 segments of device number prefix of the autonomous cloud > - < local device number of the device > -00000;
the global device number in the 3 rd layer autonomous cloud has the composition rule of < 1 st segment of device number prefix of autonomous cloud > - < local device number of device > -00000-;
the global device number in the layer 4 autonomous cloud has a composition rule of < local device number of device > -00000-.
Of course, in addition to the global device number, the video networking gateway may also configure other video networking information for the parent virtual terminal, such as a logical device identification, a logical port address, a logical address, and so forth.
And then, according to the protocol of the video networking, the father virtual terminal is accessed into the autonomous cloud, and the heartbeat connection in the autonomous cloud is maintained.
Further, the micro cloud server (the terminal sub-control server) sends a device heartbeat command to the terminal (i.e., the parent virtual terminal), and the terminal (i.e., the parent virtual terminal) sends a device heartbeat response to the micro cloud server (the terminal sub-control server).
And a sub-step S13 of determining the number of sub-virtual terminals.
And arranging a network management server in the video network, logging in the network management server by a user, configuring the number of the sub virtual terminals, and sending the number to a video network gateway by the network management server.
In addition, the user can also directly log in the video network gateway to configure the number of the sub-virtual terminals.
If the number of the network management server and the number of the configuration of the video network gateway are not consistent, the number of the configuration of the network management server can be discarded based on the number of the configuration of the video network gateway.
And a substep S14 of generating the number of child virtual terminals for the parent virtual terminal, and configuring a child device number for the child virtual terminal.
The video network gateway allocates resources to the sub-virtual terminal, such as CPU resources, memory resources, hard disk resources, etc., and configures the sub-virtual terminal with the sub-device number according to the established number allocation rule
The sub-device number is the only device number in the gateway, so the length of the sub-device number is short and does not occupy the global device number.
In one example, if the network management server sets the number of child virtual terminals of the parent virtual terminal to 10, the child device numbers of the child virtual terminals are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
It should be noted that the child virtual terminal may maintain the operation state (such as idle, in-process task, shutdown, etc.) in the video networking gateway, but does not need to maintain the heartbeat connection in the autonomous cloud.
In one embodiment of the invention, the video network gateway stops the child virtual terminal when the parent virtual terminal is disconnected in the autonomous cloud.
In one case, if the terminal (i.e., the parent virtual terminal) does not receive the device heartbeat command of the micro cloud server (the terminal sub-control server) over the preset time period, the terminal sets itself to be in a non-network-access state, waits for the device connection command of the micro cloud server (the terminal sub-control server), and re-accesses the autonomous cloud.
In another case, if the micro cloud server (the terminal sub-control server) does not receive the device heartbeat response of the terminal (i.e., the parent virtual terminal) over the preset time period, the terminal (i.e., the parent virtual terminal) is set to the non-network-access state, the device connection command is sent to the terminal (i.e., the parent virtual terminal) again, and the autonomous cloud is accessed again.
And during the period that the father virtual terminal is disconnected from the autonomous cloud, the video network gateway stops the operation of the child virtual terminal, so that the related service of the child virtual terminal is stopped.
In the embodiment of the invention, because the sub-virtual device is added and the service protocol of the video network is correspondingly modified, the video network terminal can send service control instructions of various services to the autonomous server in the autonomous cloud, such as ending the current service, initiating a live broadcast request, watching a live broadcast request, requesting a video telephone and the like.
When the network management server configures the registration information (such as the number, the sub-device number and the like) of the sub-virtual terminal, the network management server sends the registration information of the sub-virtual terminal to the autonomous server in the autonomous cloud.
When receiving a service control instruction of the video network terminal, the autonomous server extracts the global equipment number and the sub-equipment number from the service control instruction, judges whether the sub-equipment number under the global equipment number is valid, and sends the service control instruction to the video network gateway if the sub-equipment number under the global equipment number is valid.
The source video networking number of the service control instruction received by the autonomous server is the video networking number of the video networking terminal, the target video networking number is the video networking number of the autonomous server, before the service control instruction is sent to the video networking gateway, the source video networking number is replaced by the video networking number of the autonomous server, and the target video networking number is replaced by the video networking number of the video networking gateway.
And if the video network gateway receives a service control instruction of the autonomous server, the service control instruction is sent to the father virtual terminal, and the father virtual terminal analyzes a child virtual terminal suitable for processing the service control instruction from the subordinate child virtual terminal of the father virtual terminal to serve as a target child virtual terminal.
In one embodiment of the present invention, step 303 may comprise the sub-steps of:
and a substep S21, querying the global device number and the sub-device number from the service control command.
And a substep S22, searching a parent virtual terminal corresponding to the global device number.
And a substep S23, searching a child virtual terminal corresponding to the child device number under the parent virtual terminal as a target child virtual terminal.
In the embodiment of the invention, the video network gateway extracts the global device number and the sub-device number from the service control instruction, and locally inquires the parent virtual terminal corresponding to the global device number.
And the father virtual terminal searches the child virtual terminal corresponding to the child equipment number in the subordinate child virtual terminals of the father virtual terminal to be used as a target child virtual terminal.
And 304, the video network gateway calls the target child virtual terminal to proxy the father virtual terminal to perform service processing according to the service control instruction.
And if the father virtual terminal finds the target child virtual terminal, the father virtual terminal sends a service control instruction to the target child virtual terminal, and the target child virtual terminal responds to the service control instruction and carries out corresponding service processing in the video network and/or the IP network.
When the service processing is carried out, the target child virtual terminal uses the relevant information of the autonomous server, such as the global device number, the Mac address and the like, which is reserved when the parent virtual terminal accesses the autonomous cloud.
In addition, under the conditions that the configuration of the video networking gateway is different from that of the network management server, a user actively modifies the child virtual terminal and the like, a target child virtual terminal cannot be found in the parent virtual, and at the moment, wrong information is returned.
In one embodiment of the present invention, step 304 may include the following sub-steps:
and a substep S31, extracting the service operation code and the service operation parameter from the service control command.
And a substep S32, sending the service operation code and the service operation parameter to the target child virtual terminal through the parent virtual terminal, so that the target child virtual terminal acts on the virtual terminal to perform service processing according to the service operation code and the service operation parameter.
In the embodiment of the present invention, the service control instruction includes at least one of the following fields:
the system comprises a service operation code, a global equipment number, a sub-equipment number, a service operation parameter and a message check code.
The service opcode may refer to a type of service, such as video phone, watching live, video conference, etc.
The service operation parameters may refer to parameters required to process the service, such as called number, forced call, requested bandwidth, multicast address, and the like.
In the embodiment of the invention, the video network gateway creates a parent virtual terminal, creates one or more child virtual terminals for the parent virtual terminal, and if a service control instruction transmitted by the video network terminal through the autonomous cloud is received, the adapted target child virtual terminal is inquired in the child virtual terminals under the parent virtual terminal according to the service control instruction, and the target child virtual terminal is called to act on the parent virtual terminal to perform service processing according to the service control instruction, so that the service logic of the original video network is maintained, no new function is added, the modification on other equipment is less, the number of global equipment numbers is saved, and the number of heartbeat connection maintenance is reduced, thereby reducing the resource consumption.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a block diagram of a service processing apparatus of an internet of view according to an embodiment of the present invention is shown, where the internet of view includes a plurality of autonomous clouds distributed in layers, where the autonomous clouds include an internet of view gateway and an internet of view terminal, and the apparatus is located in the internet of view gateway, and may specifically include the following modules:
a virtual terminal creating module 401, configured to create a parent virtual terminal, and create one or more child virtual terminals for the parent virtual terminal;
a service control instruction receiving module 402, configured to receive a service control instruction transmitted by the video networking terminal through the autonomous cloud;
a virtual terminal searching module 403, configured to query, according to the service control instruction, an adapted target child virtual terminal from child virtual terminals under the parent virtual terminal;
and a virtual terminal calling module 404, configured to call the target child virtual terminal to proxy the parent virtual terminal to perform service processing according to the service control instruction.
In an embodiment of the present invention, the virtual terminal creating module 401 includes:
the father virtual terminal generation submodule is used for generating a father virtual terminal and configuring a global device number for the father virtual terminal;
the heartbeat connection maintenance submodule is used for maintaining the heartbeat connection of the father virtual terminal in the autonomous cloud;
the quantity determining submodule is used for determining the quantity of the sub-virtual terminals;
and the child virtual terminal generation submodule is used for generating the number of child virtual terminals for the parent virtual terminal and configuring a child equipment number for the child virtual terminal.
In an embodiment of the present invention, the virtual terminal searching module 403 includes:
the device number inquiry submodule is used for inquiring the global device number and the sub-device number from the service control instruction;
the father virtual terminal searching submodule is used for searching the father virtual terminal corresponding to the global equipment number;
and the child virtual terminal searching submodule is used for searching a child virtual terminal corresponding to the child equipment number under the parent virtual terminal to be used as a target child virtual terminal.
In an embodiment of the present invention, the virtual terminal invoking module 404 includes:
a parameter extraction submodule for extracting a service operation code and a service operation parameter from the service control instruction;
and the parameter sending submodule is used for sending the service operation code and the service operation parameter to the target child virtual terminal through the father virtual terminal so that the target child virtual terminal acts on the virtual terminal to perform service processing according to the service operation code and the service operation parameter.
In one embodiment of the present invention, further comprising:
and the child virtual terminal stopping module is used for stopping the child virtual terminal when the parent virtual terminal is disconnected in the autonomous cloud by the video network gateway.
In a specific implementation, the video networking gateway comprises a streaming media gateway and a storage gateway;
the streaming media gateway is used for processing at least one service of the following services:
services and monitoring services related to the mobile terminal;
the storage gateway is used for processing at least one service of the following services:
resource storage service, on-demand service, and version upgrade service.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In the embodiment of the invention, the video network gateway creates a parent virtual terminal, creates one or more child virtual terminals for the parent virtual terminal, and if a service control instruction transmitted by the video network terminal through the autonomous cloud is received, the adapted target child virtual terminal is inquired in the child virtual terminals under the parent virtual terminal according to the service control instruction, and the target child virtual terminal is called to act on the parent virtual terminal to perform service processing according to the service control instruction, so that the service logic of the original video network is maintained, no new function is added, the modification on other equipment is less, the number of global equipment numbers is saved, and the number of heartbeat connection maintenance is reduced, thereby reducing the resource consumption.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing 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.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The service processing method and the service processing device of the video network provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A service processing method of video network is characterized in that the video network comprises a plurality of autonomous clouds distributed according to layers, the autonomous clouds comprise video network gateways and video network terminals, and the method comprises the following steps:
the method comprises the steps that a video network gateway creates a father virtual terminal and creates one or more child virtual terminals for the father virtual terminal;
the video networking gateway receives a service control instruction transmitted by the video networking terminal through the autonomous cloud;
the video network gateway inquires the matched target child virtual terminal in the child virtual terminals under the father virtual terminal according to the service control instruction;
and the video network gateway calls the target child virtual terminal to proxy the father virtual terminal to perform service processing according to the service control instruction.
2. The method of claim 1, wherein the video networking gateway creating a parent virtual terminal and creating one or more child virtual terminals for the parent virtual terminal comprises:
generating a father virtual terminal, and configuring a global device number for the father virtual terminal;
maintaining heartbeat connection of the parent virtual terminal in the autonomous cloud;
determining the number of the sub-virtual terminals;
and generating the number of the child virtual terminals for the parent virtual terminal, and configuring a child equipment number for the child virtual terminal.
3. The method according to claim 1 or 2, wherein the querying, by the video networking gateway, the adapted target child virtual terminal from the child virtual terminals under the parent virtual terminal according to the service control instruction comprises:
inquiring the global equipment number and the sub-equipment number from the service control instruction;
searching a father virtual terminal corresponding to the global equipment number;
and searching a child virtual terminal corresponding to the child equipment number under the parent virtual terminal to serve as a target child virtual terminal.
4. The method according to claim 1 or 2, wherein the video networking gateway calls the target child virtual terminal to proxy the parent virtual terminal to perform service processing according to the service control instruction, and the method comprises the following steps:
extracting a service operation code and a service operation parameter from the service control instruction;
and sending the service operation code and the service operation parameter to the target child virtual terminal through the father virtual terminal, so that the target child virtual terminal acts on the virtual terminal to perform service processing according to the service operation code and the service operation parameter.
5. The method according to any one of claims 1-4, further comprising:
and the video network gateway stops the child virtual terminal when the parent virtual terminal is disconnected in the autonomous cloud.
6. The method of any of claims 1-5, wherein the video networking gateway comprises a streaming media gateway and a storage gateway;
the streaming media gateway is used for processing at least one service of the following services:
services and monitoring services related to the mobile terminal;
the storage gateway is used for processing at least one service of the following services:
resource storage service, on-demand service, and version upgrade service.
7. The utility model provides a business processing apparatus of video networking which characterized in that, includes a plurality of autonomous clouds that distribute by layer in the video networking, including video networking gateway, video networking terminal in the autonomous cloud, the device is arranged in the video networking gateway, includes:
the virtual terminal creating module is used for creating a father virtual terminal and creating one or more child virtual terminals for the father virtual terminal;
the service control instruction receiving module is used for receiving a service control instruction transmitted by the video networking terminal through the autonomous cloud;
the virtual terminal searching module is used for searching the adaptive target child virtual terminal in the child virtual terminals under the father virtual terminal according to the service control instruction;
and the virtual terminal calling module is used for calling the target child virtual terminal to proxy the father virtual terminal to perform service processing according to the service control instruction.
8. The apparatus of claim 7, wherein the virtual terminal creation module comprises:
the father virtual terminal generation submodule is used for generating a father virtual terminal and configuring a global device number for the father virtual terminal;
the heartbeat connection maintenance submodule is used for maintaining the heartbeat connection of the father virtual terminal in the autonomous cloud;
the quantity determining submodule is used for determining the quantity of the sub-virtual terminals;
and the child virtual terminal generation submodule is used for generating the number of child virtual terminals for the parent virtual terminal and configuring a child equipment number for the child virtual terminal.
9. The apparatus according to claim 7 or 8, wherein the virtual terminal lookup module comprises:
the device number inquiry submodule is used for inquiring the global device number and the sub-device number from the service control instruction;
the father virtual terminal searching submodule is used for searching the father virtual terminal corresponding to the global equipment number;
and the child virtual terminal searching submodule is used for searching a child virtual terminal corresponding to the child equipment number under the parent virtual terminal to be used as a target child virtual terminal.
10. The apparatus according to claim 7 or 8, wherein the virtual terminal invoking module comprises:
a parameter extraction submodule for extracting a service operation code and a service operation parameter from the service control instruction;
and the parameter sending submodule is used for sending the service operation code and the service operation parameter to the target child virtual terminal through the father virtual terminal so that the target child virtual terminal acts on the virtual terminal to perform service processing according to the service operation code and the service operation parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810784219.3A CN110730154B (en) | 2018-07-17 | 2018-07-17 | Service processing method and device for video network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810784219.3A CN110730154B (en) | 2018-07-17 | 2018-07-17 | Service processing method and device for video network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110730154A true CN110730154A (en) | 2020-01-24 |
CN110730154B CN110730154B (en) | 2021-08-06 |
Family
ID=69217418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810784219.3A Active CN110730154B (en) | 2018-07-17 | 2018-07-17 | Service processing method and device for video network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110730154B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102177697A (en) * | 2011-04-29 | 2011-09-07 | 华为技术有限公司 | Method for controlling internet services, and relevant device and system |
CN102761532A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Information processing system and method for network video |
CN106130747A (en) * | 2016-07-15 | 2016-11-16 | 深圳市中兴云服务有限公司 | A kind of method of Conference control, system and mobile terminal |
CN107357660A (en) * | 2017-07-06 | 2017-11-17 | 华为技术有限公司 | The distribution method and device of a kind of virtual resource |
CN107959665A (en) * | 2016-10-18 | 2018-04-24 | 北京视联动力国际信息技术有限公司 | A kind of communication means and communication system |
CN108121588A (en) * | 2016-11-30 | 2018-06-05 | 北京视联动力国际信息技术有限公司 | It is a kind of access external resource method and its regarding networking access server |
CN108234410A (en) * | 2016-12-15 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | A kind of virtual terminal distribution method and device |
-
2018
- 2018-07-17 CN CN201810784219.3A patent/CN110730154B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102177697A (en) * | 2011-04-29 | 2011-09-07 | 华为技术有限公司 | Method for controlling internet services, and relevant device and system |
CN102761532A (en) * | 2011-04-29 | 2012-10-31 | 腾讯科技(深圳)有限公司 | Information processing system and method for network video |
CN106130747A (en) * | 2016-07-15 | 2016-11-16 | 深圳市中兴云服务有限公司 | A kind of method of Conference control, system and mobile terminal |
CN107959665A (en) * | 2016-10-18 | 2018-04-24 | 北京视联动力国际信息技术有限公司 | A kind of communication means and communication system |
CN108121588A (en) * | 2016-11-30 | 2018-06-05 | 北京视联动力国际信息技术有限公司 | It is a kind of access external resource method and its regarding networking access server |
CN108234410A (en) * | 2016-12-15 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | A kind of virtual terminal distribution method and device |
CN107357660A (en) * | 2017-07-06 | 2017-11-17 | 华为技术有限公司 | The distribution method and device of a kind of virtual resource |
Also Published As
Publication number | Publication date |
---|---|
CN110730154B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10284466B2 (en) | Service processing method, device, and system | |
US11374857B2 (en) | Network device management method and apparatus, and system for indicating a network device to perform management operation | |
CN109428768B (en) | Autonomous network service method and autonomous network | |
US7505464B2 (en) | Method of identifying a home gateway using network traffic sniffing and apparatus employing the same | |
CN109391614B (en) | Method and device for calling monitoring data based on video network | |
EP2947907B1 (en) | Startup configuration method in base station, base station and server | |
CN109617956B (en) | Data processing method and device | |
CN108810581B (en) | Software menu updating method and device | |
CN110035005B (en) | Data processing method and device | |
CN106716939B (en) | QOS improvement in data stream delivery | |
WO2018171396A1 (en) | Data transmission method, device and system | |
KR20110095948A (en) | Multicast quality of service module and method | |
CN109194914B (en) | Method and device for processing equipment information | |
EP3503484B1 (en) | Message transmission methods and devices | |
CN110391922B (en) | Version prompting method and device for service platform | |
EP3468286A1 (en) | Method, device and system for data transmission, physical residential gateway and access node | |
CN109729107B (en) | Network access method of autonomous cloud in autonomous network and related equipment | |
CN109728982B (en) | Network access method and system for autonomous cloud in autonomous network | |
CN108965219B (en) | Data processing method and device based on video network | |
CN110730154B (en) | Service processing method and device for video network | |
CN109743360A (en) | A kind of information processing method and device | |
CN112165416B (en) | Networking and communication method and device | |
CN105323159A (en) | Data message processing method and device | |
CN111654728B (en) | Certificate updating method and device | |
CN110784683B (en) | Management method, device and storage medium for monitoring resources |
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 |