CN109768986B - Method and device for responding to video network service request signaling - Google Patents

Method and device for responding to video network service request signaling Download PDF

Info

Publication number
CN109768986B
CN109768986B CN201910127613.4A CN201910127613A CN109768986B CN 109768986 B CN109768986 B CN 109768986B CN 201910127613 A CN201910127613 A CN 201910127613A CN 109768986 B CN109768986 B CN 109768986B
Authority
CN
China
Prior art keywords
terminal
server
video network
storage gateway
gateway server
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
CN201910127613.4A
Other languages
Chinese (zh)
Other versions
CN109768986A (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 CN201910127613.4A priority Critical patent/CN109768986B/en
Publication of CN109768986A publication Critical patent/CN109768986A/en
Application granted granted Critical
Publication of CN109768986B publication Critical patent/CN109768986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a method for responding to a video network service request signaling, which is characterized in that the method is applied to a video network, the video network comprises a storage gateway server and a plurality of video network terminals connected with the storage gateway server, and the storage gateway server extracts a first terminal number from a first service request signaling when receiving the first service request signaling sent by a first video network terminal; and converting the first terminal number into a second terminal number, determining a communication path from the storage gateway server to a second video network terminal based on the second terminal number, generating a second service request signaling, and finally sending the second service request signaling to the second video network terminal based on the communication path. The first terminal number carried in the first service request signaling is a simplified number, so that the data volume of the first service request signaling is smaller, the sending speed is higher, and the user experience is improved.

Description

Method and device for responding to video network service request signaling
Technical Field
The present application relates to the field of video networking technologies, and in particular, to a method for responding to a video networking service request signaling.
Background
In the video network, when a video network terminal initiates a service request to a terminal needing to be accessed, the sent access request information carries a complete device number, so that the data carried by the access request information is large, the bandwidth occupied by the access request information is large when the access request information is sent in the video network, and the sending is slow.
Disclosure of Invention
In view of the above problems, embodiments of the present application are proposed to provide a remote operation method of real-time street view and a corresponding remote operation apparatus of real-time street view that overcome or at least partially solve the above problems.
In order to solve the foregoing technical problem, an embodiment of the present application provides a method for responding to a service request signaling of a video network, where the method is applied to a video network, the video network includes a storage gateway server and a plurality of video network terminals connected to the storage gateway server, and the method includes:
the method comprises the steps that when a storage gateway server receives a first service request signaling sent by a first video network terminal, a first terminal number is extracted from the first service request signaling; the first terminal number comprises a first position prefix number;
the storage gateway server converts the first terminal number into a second terminal number; the digit of the second terminal number is greater than that of the first terminal number, and the second terminal number comprises a second position prefix number corresponding to the first position prefix number;
the storage gateway server determines a communication path from the storage gateway server to a second video network terminal based on the second location prefix number; the second video network terminal is a video network terminal corresponding to the second terminal number;
the storage gateway server generates a second service request signaling; wherein, the second service request signaling comprises the second terminal number;
and the storage gateway server sends the second service request signaling to the second video network terminal based on the communication path.
Optionally, the step of converting, by the storage gateway server, the first terminal number into a second terminal number includes:
the storage gateway server acquires the first half segment number and the second half segment number of the first position prefix number;
when the first half segment number is a first preset number and the second half segment number is a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset first conversion protocol;
when the first half segment number is not a first preset number and the second half segment number is a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset second conversion protocol;
and when the first half segment number is not a first preset number and the second half segment number is not a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset third conversion protocol.
Optionally, the second location prefix number includes one section number or two section numbers or three section numbers; the video network also comprises a micro cloud server connected with the storage gateway server, a plurality of autonomous cloud servers connected with the micro cloud server, and autonomous servers connected with the autonomous cloud servers; the step of determining, by the storage gateway server, a communication path from the storage gateway server to a second video network terminal based on the second location prefix number includes:
when the first terminal number is converted into a second terminal number by adopting the first conversion protocol, the second location prefix number comprises a section number, and the storage gateway server determines a communication path from the storage gateway server to the second video network terminal through the micro cloud server;
when the first terminal number is converted into a second terminal number by adopting a second conversion protocol, the second location prefix number comprises two section numbers, the storage gateway server determines a first autonomous cloud server and a second video network terminal connected with the first autonomous cloud server from the plurality of autonomous cloud servers based on the two section numbers, and determines a communication path from the storage gateway server, the micro cloud server and the first autonomous cloud server to the second video network terminal;
when the first terminal number is converted into the second terminal number using the third conversion protocol,
the second location prefix number comprises three section numbers, the storage gateway server determines a second autonomous cloud server, a first autonomous server connected with the second autonomous cloud server and a second video network terminal connected with the first autonomous cloud server from the plurality of autonomous cloud servers based on the three section numbers, and determines a communication path from the storage gateway server to the second video network terminal through the micro cloud server, the second autonomous cloud server and the first autonomous server.
Optionally, the step of determining, by the storage gateway server, a communication path from the storage server to the second video network terminal via the micro cloud server, the second autonomous cloud server, and the first autonomous server includes:
the storage gateway server generates a virtual MAC address aiming at the second terminal number;
the storage gateway server acquires a micro cloud MAC address of the micro cloud server, a first server MAC address of a second autonomous cloud server, a second server MAC address of the first autonomous cloud server and a terminal MAC address of a second video network terminal;
the storage gateway server generates path information based on the virtual MAC address, the micro-cloud MAC address, the first server MAC address, the second server MAC address and the terminal MAC address, and determines the path information as the communication path.
Optionally, the digits of the first terminal number are 11 digits, the digits of the second terminal number are 20 digits, the digits of the first location prefix number are 6 digits, and the digits of the second location prefix number are 15 digits.
In order to solve the above technical problem, an embodiment of the present application provides an apparatus for responding to a service request signaling of a video network, where the apparatus is applied to the video network, and the video network includes a storage gateway server and a plurality of video network terminals connected to the storage gateway server; the apparatus is located at the storage gateway server, and comprises:
the first service request signaling receiving module is used for receiving a first service request signaling sent by a first video network terminal;
a first terminal number extracting module, configured to extract a first terminal number from the first service request signaling; the first terminal number comprises a first position prefix number;
the number conversion module is used for converting the first terminal number into a second terminal number; the digit of the second terminal number is greater than that of the first terminal number, and the second terminal number comprises a second position prefix number corresponding to the first position prefix number;
a communication path determining module, configured to determine, based on the second location prefix number, a communication path from the storage gateway server to a second video networking terminal; the second video network terminal is a video network terminal corresponding to the second terminal number;
a service request signaling resetting module, configured to generate a second service request signaling; wherein, the second service request signaling comprises the second terminal number;
and the sending module is used for sending the second service request signaling to the second video network terminal based on the communication path.
Optionally, the number conversion module includes:
the number intercepting module is used for acquiring the first half segment number and the second half segment number of the first position prefix number;
the first conversion module is used for converting the first terminal number into a second terminal number based on a preset first conversion protocol when the first half segment number is a first preset number and the second half segment number is a second preset number;
the second conversion module is used for converting the first terminal number into a second terminal number based on a preset second conversion protocol when the first half section number is not a first preset number and the second half section number is a second preset number;
and the third conversion module is used for converting the first terminal number into the second terminal number based on a preset third conversion protocol when the first half section number is not the first preset number and the second half section number is not the second preset number.
Optionally, the second location prefix number includes one section number or two section numbers or three section numbers; the video network also comprises a micro cloud server connected with the storage gateway server, a plurality of autonomous cloud servers connected with the micro cloud server, and autonomous servers connected with the autonomous cloud servers; the communication path determination module includes:
the first determining module is used for determining a communication path from the storage gateway server to the second video network terminal through the micro cloud server when the first terminal number is converted into a second terminal number by adopting the first conversion protocol, wherein the second location prefix number comprises a section number;
a second determining module, configured to determine, by using the second conversion protocol, a first autonomous cloud server and a second video networking terminal connected to the first autonomous cloud server from among the plurality of autonomous cloud servers, and determine a communication path from the storage gateway server, through the micro cloud server, the first autonomous cloud server, and the second video networking terminal, when the first terminal number is converted into a second terminal number, where the second location prefix number includes two segment numbers;
and a third determining module, configured to determine, by using the third conversion protocol, a second autonomous cloud server, a first autonomous server connected to the second autonomous cloud server, and a second internet-of-view terminal connected to the first autonomous cloud server from the plurality of autonomous cloud servers, based on the three segment numbers, when the first terminal number is converted into a second terminal number by using the third conversion protocol, where the second location prefix number includes three segment numbers, and determine, by the storage gateway server, a communication path from the micro cloud server, the second autonomous cloud server, and the first autonomous cloud server to the second internet-of-view terminal.
Optionally, the third determining module includes:
a virtual number generation submodule for generating a virtual MAC address for the second terminal number;
the MAC address acquisition module is used for acquiring a micro cloud MAC address of the micro cloud server, a first server MAC address of a second autonomous cloud server, a second server MAC address of the first autonomous server and a terminal MAC address of a second video network terminal;
and the path information generating module is used for generating path information based on the virtual MAC address, the micro-cloud MAC address, the first server MAC address, the second server MAC address and the terminal MAC address, and determining the path information as the communication path.
Optionally, the number of digits of the first terminal number is 11, the number of digits of the second terminal number is 20, where the number of digits of the first location prefix number is 6, and the number of digits of the second location prefix number is 15.
Compared with the prior art, the embodiment of the application has the following advantages:
firstly, the embodiment of the application applies the characteristics of the video networking, and the first terminal number carried in the service request signaling sent by the video networking terminal as a calling party is a simplified number, so that the number digit of a called terminal carried in the service request signaling is reduced, the data volume of the service request signaling is smaller, the occupied bandwidth of the service request signaling is smaller when the service request signaling is sent in the video networking, the sending speed is higher, meanwhile, the storage gateway server can quickly resolve the first terminal number from the service request signaling with smaller data volume, and the resolving efficiency is improved. And after conversion, the specific video network terminal corresponding to the second terminal number can be determined according to the complete second terminal number, so that the communication connection with the called video network terminal is established, and the response of a service request signaling is completed.
Secondly, in the process of converting the first terminal number into the second terminal number, the first terminal number is converted into the second terminal number by adopting different conversion protocols according to the first position prefix number, so that the storage gateway server can determine the communication path of the called video network terminal according to the second position prefix number of the second terminal number.
Drawings
FIG. 1 is a networking schematic of a video network of the present application;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present application;
fig. 3 is a schematic diagram of a hardware architecture of an access switch of the present application;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present application;
fig. 5 is a flowchart of the steps of embodiment 1 of the present application for responding to a video networking service request signaling;
FIG. 6 is a network level diagram of a 64-bit video network according to embodiment 1 of the present application for responding to video network service request signaling;
fig. 7 is a schematic functional interface diagram described in embodiment 1 of a method for responding to a video network service request signaling according to the present application;
fig. 8 is a block diagram of an apparatus embodiment 2 for responding to video networking service request signaling according to the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
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 application, 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 application 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 data packet coming from the CPU module 204 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 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 operation 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 operation module 208 is configured by the CPU module 204, 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 operation module 308.
Ethernet protocol 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 code rate operation 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 application: 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 networking, one of the core concepts of the embodiments of the present application is provided, following a protocol of the video networking, a first terminal number carried in a service request signaling sent by a video networking terminal as a calling party is a simplified number, so that the number digit of a called terminal carried in the service request signaling is reduced, thereby the data volume of the service request signaling is smaller, the service request signaling occupies a smaller bandwidth when being sent in the video networking, and therefore, the sending speed is faster, and meanwhile, a storage gateway server can rapidly resolve the first terminal number from the service request signaling with a smaller data volume, thereby improving the resolving efficiency. And after conversion, the specific video network terminal corresponding to the second terminal number can be determined according to the complete second terminal number, so that the communication connection with the called video network terminal is established, and the response of a service request signaling is completed.
Example one
Referring to fig. 5, a flowchart of steps of embodiment 1 of a method for responding to a service request signaling of a video network according to the present application is shown, in this embodiment of the present application, the method may be applied to a video network, and the video network may include a storage gateway server and a plurality of video network terminals connected to the storage gateway server.
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 existing Internet, and pushes a plurality of Internet applications to high-definition video, and high-definition faces. Finally, no distance in the world is achieved, the fact that the distance between people in the world is only the distance between one screen is achieved, and in the video networking, a plurality of video networking terminals adopt a video networking protocol to communicate with a storage gateway server.
At present, video networking has been precededThe 32-bit video network is developed into a 64-bit video network, and please refer to FIG. 6, in which the 64-bit video network supports a maximum addressing space of 2 compared to the 32-bit video network64In the 64-bit video network, a micro cloud server exists, each micro cloud server is in service connection with a plurality of autonomous cloud servers, each autonomous cloud server comprises a plurality of autonomous servers and a plurality of video network terminals connected with the respective autonomous servers, namely, each autonomous server and the video network terminals connected with the autonomous servers form a video network with a minimum unit together, thus, a data transmission network with a tree structure is formed in the 64-bit video network, wherein the micro cloud servers are equivalent to servers at a national level, the autonomous cloud servers are equivalent to provincial servers at a next national level, and the autonomous cloud servers are equivalent to city-level servers.
In a 64-bit video network, all devices in the video network need to be registered in related servers to perform subsequent network access services, and the registration can be manually performed by a worker, for example, an a autonomous server to which a certain a video network terminal is connected, so that the a video network terminal needs to be registered in the a autonomous server, the a autonomous server is connected to an a autonomous cloud server, the a autonomous server needs to be registered in the a autonomous cloud server, and the a autonomous cloud server needs to be registered in a micro cloud server connected to the a autonomous cloud server.
At present, when a video network terminal in a 64-bit video network is connected to the video network and needs to perform services, a plurality of attributes such as mac addresses, device numbers and the like are set for the convenience of communication, a video network terminal is generally located by using 20-bit device numbers, and the number registered in a related server by the video network terminal is also the 20-bit device number; therefore, when the video networking service crossing the autonomous cloud server is involved, the calling video networking terminal inputs the 20-bit equipment number of the called video networking terminal, a service request instruction is generated based on the 20-bit equipment number and is sent to the autonomous server connected with the calling video networking terminal, and the autonomous server positions the called video networking terminal according to the 20-bit equipment number, so that communication is established.
In practice, when an audio/video call service is performed in a 64-bit video network, a generated service request signaling is generally sent to a storage gateway server, the storage gateway server is responsible for storing and transmitting audio/video stream data, and after analyzing the service request signaling, the storage gateway server forwards corresponding audio/video stream data according to the service request signaling. Based on the 64-bit video networking service communication mode, the service request signaling sent by the calling video networking terminal is an instruction carrying 20-bit digits, and generally, in a uniform time period, the storage gateway server needs to receive a plurality of service request signaling, and the service request signaling carries 20-bit digits, so that the data volume of the storage gateway server for receiving each service request signaling is large, the receiving is slow, and meanwhile, when a user calls a certain called video networking terminal, the user also needs to input the global number of the called video networking terminal, and the operation is very inconvenient.
Based on the defects of the communication mode adopted in the current 64-bit video network, the method for responding to the video network service request signaling provided by the embodiment of the application can specifically comprise the following steps:
step 501, when receiving a first service request signaling sent by a first video network terminal, the storage gateway server extracts a first terminal number from the first service request signaling.
Wherein the first terminal number comprises a first location prefix number.
In practice, the first video network terminal may be any video network terminal in the video network that needs to perform a service, and the video network terminal may be a mobile phone device or a PC device; when the first video network terminal needs to perform the audio and video call service, a functional interface which is installed on the first video network terminal and supported by the storage gateway server can be utilized to input the first terminal number of the called video network terminal on the functional interface, and after the input is completed, the functional interface is selected to perform operation, so that the first video network terminal generates a first service request signaling based on the first terminal number.
The functional interface can be understood as an interface capable of performing functions such as number input, number dialing, audio and video playing and the like on the interface, and in specific implementation, the functional interface can be understood as a web interface supported by a storage gateway server. For example, referring to the functional interface 701 shown in fig. 7, a video call functional block 702 and an audio call functional block 703 are provided on the functional interface shown in fig. 7, and when the video call functional block 702 is clicked, an interface 704 appears, and a user can input a first terminal number of a called video network terminal in a box 705 of the interface, and then click a box 706, thereby completing sending a service request signaling of a video call.
In practice, the generated first service request signaling may be a series of data messages, where the series of data messages carries the first terminal number.
In the embodiment of the application, the first terminal number comprises a first position prefix number, and the first position prefix number represents the position information of the called video network terminal; as mentioned above, in the 64-bit video network, a 20-bit device number is currently used to identify a terminal of the video network, but the embodiment of the present application does not simplify the input, and reduces the data size of the service request signaling so as to improve the receiving speed and the parsing speed, so the embodiment of the present application simplifies the 20-bit device number.
In a specific implementation, the input first terminal number may be composed of a first location prefix number and a device number. In this embodiment, the first location prefix number includes two area-level numbers, which are a region-level area number (which may be understood as a provincial area number) and a region-level area number (which may be understood as a city-level area number), respectively. Each area code may be respectively represented by 3 digits, i.e., the first location prefix number may be a 6 digit number, e.g., the first location prefix number may be represented as 321125, where 321 is a regional area code and 125 is a regional area code, i.e., indicating that the called internet-of-view terminal is in a 125 regional area network under 321 regional area network. In practice, each area code can also be represented by 2-digit numbers, and the number of digits used depends on the number of areas covered by the network, for example, the area code can be represented by 2-digit numbers according to the fact that the network only covers 11 provinces and the city level of each province is only 10.
The equipment number can be 5 digits, and is the number of the video network terminal, the equipment number can be fixedly set to be 5 digits, namely no matter how many digits the first position prefix number takes, the equipment number can be 5 digits all the time.
Because the first terminal number is a simplified number, compared with a global 20-bit number, the bit number is greatly reduced, so that the byte size occupied by the first terminal number is reduced, the data volume of the first service request signaling is reduced, the speed of receiving the first service request signaling by the storage gateway server is accelerated, and particularly, when a large number of video network terminals send the service request signaling in the same time period, the speed of receiving each service request signaling by the storage gateway server is accelerated due to the small data volume of each service request signaling, so that the speed of receiving the service request signaling by the storage gateway server is greatly improved on the whole.
After receiving the first service request signaling, the storage gateway server may analyze the first service request signaling by using an existing video networking analysis technology, for example, an XML analysis means, to analyze the first terminal number therein.
Step 502, the storage gateway server converts the first terminal number into a second terminal number.
And the digit of the second terminal number is greater than that of the first terminal number and comprises a second position prefix number corresponding to the first position prefix number.
In practice, the first terminal number is a reduced number, and the registered global number, that is, a 20-bit device number, of the video network terminal is both in the storage gateway server and in other servers in the video network, so that after the storage gateway server receives and analyzes the first terminal number, the storage gateway server cannot immediately identify which called video network terminal the first terminal number specifically corresponds to, and therefore, the reduced first terminal number needs to be converted into a 20-bit device number. The second terminal number generated after the conversion includes a second location prefix number corresponding to the first location prefix number, that is, the second location prefix number also identifies location information of the called video network terminal, and in practice, the second location prefix number is all numbers located before the device number.
Optionally, the step 502 may specifically include the following sub-steps:
in substep 5021, the storage gateway server obtains the first half segment number and the second half segment number of the first location prefix number.
In step 501, it is described that the first location prefix number may include two area codes, which means that the first half number and the second half number of the first location prefix number respectively represent the area codes under the different levels. For example, if the first location prefix number is 321125, 321 is the first half number and 125 is the second half number. If the first location prefix number is 3225, 32 is the first half number and 25 is the second half number.
In a specific implementation, the storage gateway server may read the first location prefix number from the first terminal number one by one in order from left to right, where in practice, for example, the first terminal number is 32112525832, and since the device number is preset to be a fixed number of digits, the storage gateway server may read only the first 6 digits of the first terminal number, where the read 6 digits are the first location prefix number.
In the embodiment of the present application, the following substeps 5022, 5023 and 5024 may be respectively adopted according to the first location prefix number to convert the first terminal number, where it should be noted that substeps 5022 to 5024 do not indicate an execution sequence, but only indicate different conversion means according to the difference of the first location prefix number.
In sub-step 5022, when the first half segment number is a first preset number and the second half segment number is a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset first conversion protocol.
In practice, the called terminal of the video network may be at a national level, and in the 64-bit video network, it may be understood that the called terminal of the video network is only connected to a national level micro cloud server, all digits of the first location prefix number of the first terminal number may be represented by 0, the first preset number may be set to 000, and the second preset number may also be 000. Specifically, the first conversion protocol may be understood as a conversion rule, that is, the current half-segment number is a first preset number, and the second half-segment number is a second preset number, and the conversion may be performed according to a preset conversion rule.
For example, if the first terminal number is 00000025832, the first 5 digits of the generated second terminal number are the country-level area code, the sixth digit to the 10 digits are the device number 25832, and the last 11 th digit to the 20 th digit are all 0, according to the conversion rule, the converted second terminal number is 00100285320000000000, where 00100 is the second location prefix number.
In substep 5023, when the first half segment number is not the first preset number and the second half segment number is the second preset number, the storage gateway server converts the first terminal number into the second terminal number based on a preset second conversion protocol.
Namely, the called video network terminal is a terminal at a provincial level, and in the 64-bit video network, the called video network terminal can be understood to be connected to the autonomous cloud server, and then the conversion can be performed according to another preset conversion rule.
For example, when the first terminal number is 32100025832, the first 5 digits of the generated second terminal number are the country-level area code, the sixth digit to the 10 digits are 00321, the 11 th digit to the 15 th digit are the device number 25832, and the subsequent 16 th digit to the 20 th digit are all 0, according to the conversion rule, the converted second terminal number is 00100003212853200000, wherein 0010000321 is the second location prefix number.
In sub-step 5024, when the first half segment number is not a first preset number and the second half segment number is not a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset third conversion protocol.
Namely, the called terminal of the video network is a terminal in the city level, and in the 64-bit video network, it can be understood that the called terminal of the video network is connected to the autonomous server, and then the conversion can be performed according to another preset conversion rule.
For example, when the first terminal number is 32112325832, the first 5 digits of the generated second terminal number are the country-level area code, the sixth digit to the 10 digits are 00321, the 11 th digit to the 15 th digit are 00123, and the subsequent 16 th digit to the 20 th digit are the device number 25832, and according to the conversion rule, the converted second terminal number is 00100003210012328532, wherein 001000032100123 is the second location prefix number.
To sum up from substep 5022 to substep 5024, in the embodiment of the present application, when the number of the first terminal is reduced, the first location prefix number is specially set to identify the location information of the called video network terminal, and when the equipment number is converted, the equipment number is kept unchanged, and the second location prefix number of the converted second terminal number is determined by adopting different conversion rules according to whether the first half number and the second half number of the first location prefix number are the first preset number and the second preset number, respectively. As can be seen from the above example, the number of digits of the second location prefix number depends on whether the first half number is the first preset number and whether the second half number is the second preset number.
Step 503, the storage gateway server determines a communication path from the storage gateway server to a second video network terminal based on the second location prefix number.
And the second video network terminal is a video network terminal corresponding to the second terminal number.
The second location prefix number is specifically location information for identifying the called video network terminal, and the storage gateway server can find the video network area where the called video network terminal is located through the second location prefix number, and can also understand that the called video network terminal is located at a hierarchy level.
In the embodiment of the present application, the second video network terminal is the called video network terminal improved in the above.
Optionally, when the conversion means from sub-step 5021 to sub-step 5024 is taken, the second location prefix number may include one segment number or two segment numbers or three segment numbers; the video network also comprises a micro cloud server connected with the storage gateway server, a plurality of autonomous cloud servers connected with the micro cloud server, and autonomous servers connected with the autonomous cloud servers.
In step 503, the following description is made for the conversion means from sub-step 5022 to sub-step 5024:
in the first case: when the first terminal number is converted into a second terminal number by adopting the first conversion protocol, the second location prefix number comprises a section number, and the storage gateway server determines a communication path from the storage gateway server to the second video network terminal through the micro cloud server.
That is, when the second video network terminal is in the video network of the country level, the first half number and the second half number of the first location prefix number are both the first preset number and the second preset number, in this case, the second terminal number is obtained by adopting the conversion means of the substep 5022, in the second terminal number, the second location prefix number is the initial 5-bit number, and the 5-bit number represents the number of the micro cloud server, and at this time, the storage gateway server can determine the communication path from the storage gateway server to the second video network terminal through the micro cloud server.
In a second case, when the first terminal number is converted into a second terminal number by using the second conversion protocol, the second location prefix number includes two segment numbers, the storage gateway server determines, based on the two segment numbers, a first autonomous cloud server and a second video networking terminal connected to the first autonomous cloud server from the plurality of autonomous cloud servers, and determines a communication path from the storage gateway server, through the micro cloud server, the first autonomous cloud server, to the second video networking terminal.
That is, the second video network terminal is in the video network of the provincial level, the first half segment number of the first location prefix number is not the first preset number, and the second half segment number is the second preset number, in this case, the conversion means of the substep 5023 is adopted to obtain the second terminal number, in the second terminal number, the second location prefix number includes two segment numbers, that is, the initial 10-bit number, the 1 st-5 th numbers (the first segment number) represent the numbers of the clout server, the 6 th-10 th numbers (the second segment number) are the numbers of the first autonomous cloud server, and at this time, the storage gateway server can determine the communication path from the storage gateway server to the second video network terminal via the clout server via the first autonomous cloud server.
In a third case, when the first terminal number is converted into a second terminal number by using the third conversion protocol, the second location prefix number includes three segment numbers, the storage gateway server determines, based on the three segment numbers, a second autonomous cloud server, a first autonomous server connected to the second autonomous cloud server, and a second internet of view terminal connected to the first autonomous cloud server from among the plurality of autonomous cloud servers, and determines a communication path from the storage gateway server to the second internet of view terminal via the micro cloud server, the second autonomous cloud server, and the first autonomous cloud server.
That is, the second video network terminal is in the video network of the city level, the first half segment number of the first location prefix number is not the first preset number, and the second half segment number is not the second preset number, in this case, the conversion means of the substep 5024 is adopted to obtain the second terminal number, in the second terminal number, the second location prefix number is the 15-bit number at the beginning, the 1 st to 5 th numbers represent the number of the micro cloud server (i.e., the first segment number), the 6 th to 10 th numbers represent the number of the second autonomous cloud server (i.e., the second segment number), the 11 th to 15 th numbers represent the number of the first autonomous server (i.e., the third segment number), and at this time, the storage gateway server can determine that the storage gateway server passes through the micro cloud server, the second autonomous cloud server, and the storage gateway server, And the communication path from the first autonomous server to the second video network terminal.
For ease of understanding the three cases above, the following is exemplified:
for example, in the first case, the first terminal number is 00000025832, and according to the first conversion protocol, the generated second terminal number is 00100285320000000000, the second location prefix number has only one zone number, which is 00100, and the storage gateway server determines 28532 that the second internet-of-things terminal is in the internet of things network at the country level according to the zone number, and then the corresponding communication path may be determined as the storage gateway server — the cloudlet server — the second internet-of-things terminal.
In the second case, the first terminal number is 32100025832, the generated second terminal number is 00100003212853200000 according to the second conversion protocol, the second location prefix number has two segment numbers, 00100 and 00321 respectively, the storage gateway server determines the second video networking terminal of 28532 to be in the provincial video networking network according to the two segment numbers, and determines the first autonomous cloud server connected with the micro cloud server according to the segment number of 00321, and the corresponding communication path can be determined to be the storage gateway server, the micro cloud server, the first autonomous cloud server and the second video networking terminal.
In a third case, the first terminal number is 32112325832, the generated second terminal number is 00100003210012328532 according to the third conversion protocol, the second location prefix number has three segment numbers, which are 00100, 00321 and 00123, the storage gateway server determines the second video networking terminal of 28532 as a municipal video networking network according to the two segment numbers, determines the second autonomous cloud server connected with the micro cloud server according to the segment number of 00321, and determines the first autonomous server connected with the first autonomous cloud server according to the segment number of 00123, and the corresponding communication path can be determined as the storage gateway server, the micro cloud server, the second autonomous cloud server, the first autonomous cloud server and the second video networking terminal.
By adopting the conversion means from the substep 5022 to the substep 5024, when the storage gateway server determines the communication path according to the second location prefix number, the communication path can be quickly positioned according to the video network level where the called video network terminal is located, and compared with the method of adopting a fixed conversion protocol, namely adopting a conversion protocol for conversion no matter what the first location prefix number is, the efficiency of determining the communication path with the second video network terminal by the storage gateway server can be improved.
For example, no matter the first terminal number is 32100025832 or 00000028532, if a fixed conversion protocol is adopted, it can be understood that the sequence of the positions of the numbers in the first terminal number is inconvenient, and only zero padding is performed, so that the generated corresponding second terminal number is 00100003210000025832, and 00100000000000025832, in this case, the storage gateway server needs to read all the first 15 digits to determine the position information of the second video network terminal, and the data reading amount is large, and particularly when the second video network terminal is only in a national video network, unnecessary data reading is caused, and the communication path determination efficiency is low.
Therefore, according to the first half number and the second half number of the first position prefix number, different conversion protocols are adopted to convert the first terminal number into the second terminal number, and the efficiency of determining the communication path by the subsequent storage gateway server can be improved.
Optionally, in a third case, the step of determining, by the storage gateway server, that the storage server is connected to the second video networking terminal through the micro cloud server, the second autonomous cloud server, and the first autonomous server may specifically include the following sub-steps:
sub-step 5031, said storage gateway server generates a virtual MAC address for said second terminal number.
The virtual MAC address may be understood as a video network address allocated by the storage gateway server to the second video network terminal, and in practice, because the storage gateway server establishes a connection with a plurality of video network terminals, the storage gateway server may allocate a dedicated video network address to each video network terminal in the form of the virtual MAC address, so as to forward and store audio and video stream data.
In sub-step 5032, the storage gateway server obtains a micro cloud MAC address of the micro cloud server, a first server MAC address of a second autonomous cloud server, a second server MAC address of the first autonomous cloud server, and a terminal MAC address of a second video network terminal.
In the embodiment of the application, when each device is registered, the registered 20-bit device number and the MAC address thereof form a one-to-one binding relationship with the 20-bit device number, so that after the 20-bit device number is determined, the MAC address can be determined.
For example, in this optional example, the second terminal number is 00100003210012328532, then the cloudlet MAC address is a MAC address registered by the cloudlet server of 00100 in the internet of view, the first server MAC address is a MAC address registered by the second autonomous cloud server of 00321 in the internet of view, the second server MAC address is a MAC address registered by the first autonomous server of 00123 in the internet of view, and the terminal MAC address is a MAC address registered by the second internet of view terminal of 28532 in the internet of view.
In sub-step 5033, the storage gateway server generates path information based on the virtual MAC address, the micro-cloud MAC address, the first server MAC address, the second server MAC address, and the terminal MAC address, and determines the path information as the communication path.
Specifically, the path information may be understood as address information generated based on the MAC address described above, and may be in the form of ff: ff: ff: ff: ff: ff, for example.
It should be noted that the other two communication path determination cases described in step 503 can be performed with reference to the operations of sub-steps 5031 to 5033.
Step 504, the storage gateway server generates a second service request signaling.
Wherein the second service request signaling includes the second terminal number.
In this embodiment of the application, the first service request signaling includes a first terminal number, which can improve the speed of the storage gateway server responding to the first service request signaling, and in practice, a device number of 20 bits is still registered on other servers in the video network, and in order to enable the other servers to identify the first service request signaling, after the storage gateway server converts the first terminal number into a second terminal number, a second service request signaling carrying the second terminal number is correspondingly regenerated, so that the other servers in the video network can identify the second terminal number in the second service request signaling.
In this embodiment, when the storage gateway server forwards the second service request signaling, the second service request signaling has a strong operation processing speed compared with the case of the second service request signaling from the server to the terminal device because the second service request signaling is from the server to the server, so that the second service request signaling can be quickly transmitted even if the second service request signaling has a second terminal number with a large number of bits. For the called video network terminal, because the receiving end is connected with the server, the service request signaling which needs to be processed is distributed by the storage gateway server, therefore, the service request signaling amount is small, and even if the second service request signaling has the second terminal number with a large number of digits, the second service request signaling can be quickly transmitted.
It should be noted that, the method adopted in the embodiment of the present application is mainly directed to the storage gateway server, and since the storage gateway server is responsible for all audio and video call services in the video network, facing all video network terminals in the entire video network, in practice, the amount of service request signaling received in the same time period is very large, so that the data amount of the service request signaling sent to the storage gateway server is reduced, the receiving speed and the resolving speed of the storage gateway server for the service request signaling are significantly increased, and the response efficiency to the service request signaling is integrally increased. In practice, there are various means for reducing the data volume of the service request signaling, which reduces the data message length of the signaling, and the byte bit number adopted by the signaling itself (for example, changing 64-bit signaling into 32-bit signaling), but in the present application, it is an optimal scheme to simplify the number of the first terminal, which not only can reduce the data volume of the service request signaling, but also can reduce the number of bits of the number input by the user into the called video network terminal, thereby improving the user experience, and being a win-win means.
Step 505, the storage gateway server sends the second service request signaling to the second video network terminal based on the communication path.
In a specific implementation, the second service request signaling may be transmitted to the second video network terminal in the video network based on the determined communication path, and optionally, the second service request signaling is transmitted to the second video network terminal according to the generated path information.
Optionally, the first terminal number is 11 digits, the second terminal number is 20 digits, the first location prefix number is 6 digits, and the second location prefix number is 15 digits.
In practice, when the first location prefix number is 6 digits, each area code of the two area codes of the first location prefix number may be represented by 3 digits, so that when a large number of minimum units of the internet of view networks are deployed in the internet of view networks, the application range of the method described in the embodiment of the present application may be increased.
In the embodiment of the application, by applying the characteristics of the video network, the first terminal number included in the first service request signaling received by the storage gateway server is a simplified number, so that the number digit of the called terminal carried in the service request signaling is reduced, the data volume of the service request signaling is smaller, the occupied bandwidth of the service request signaling is smaller when the service request signaling is sent in the video network, the receiving speed of the storage gateway server is higher, the first terminal number can be quickly analyzed from the service request signaling with smaller data volume, and the analysis efficiency is improved. And after conversion, the specific video network terminal corresponding to the second terminal number can be determined according to the complete second terminal number, so that the communication connection with the called video network terminal is established, and the original communication mode of the video network is not influenced.
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 embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Example two
Referring to fig. 8, a flowchart of steps of an embodiment 2 of an apparatus for responding to a service request signaling of a video network according to the present application is shown, in the embodiment of the present application, the method may be applied to a video network, the apparatus is applied to a video network, and the video network may include a storage gateway server and a plurality of video network terminals connected to the storage gateway server; the apparatus is located at the storage gateway server, and comprises:
a first service request signaling receiving module 801, configured to receive a first service request signaling sent by a first video network terminal;
a first terminal number extracting module 802, configured to extract a first terminal number from the first service request signaling; the first terminal number comprises a first position prefix number;
a number conversion module 803, configured to convert the first terminal number into a second terminal number; the digit of the second terminal number is greater than that of the first terminal number, and the second terminal number comprises a second position prefix number corresponding to the first position prefix number;
a communication path determining module 804, configured to determine, based on the second location prefix number, a communication path from the storage gateway server to a second video network terminal; the second video network terminal is a video network terminal corresponding to the second terminal number;
a service request signaling resetting module 805, configured to generate a second service request signaling; wherein, the second service request signaling comprises the second terminal number;
a sending module 806, configured to send the second service request signaling to the second internet of things terminal based on the communication path.
Optionally, the number conversion module may include the following modules:
the number intercepting module is used for acquiring the first half segment number and the second half segment number of the first position prefix number;
the first conversion module is used for converting the first terminal number into a second terminal number based on a preset first conversion protocol when the first half segment number is a first preset number and the second half segment number is a second preset number;
the second conversion module is used for converting the first terminal number into a second terminal number based on a preset second conversion protocol when the first half section number is not a first preset number and the second half section number is a second preset number;
and the third conversion module is used for converting the first terminal number into the second terminal number based on a preset third conversion protocol when the first half section number is not the first preset number and the second half section number is not the second preset number.
Optionally, the second location prefix number includes one section number or two section numbers or three section numbers; the video network also comprises a micro cloud server connected with the storage gateway server, a plurality of autonomous cloud servers connected with the micro cloud server, and autonomous servers connected with the autonomous cloud servers; the communication path determination module includes the following modules:
the first determining module is used for determining a communication path from the storage gateway server to the second video network terminal through the micro cloud server when the first terminal number is converted into a second terminal number by adopting the first conversion protocol, wherein the second location prefix number comprises a section number;
a second determining module, configured to determine, by using the second conversion protocol, a first autonomous cloud server and a second video networking terminal connected to the first autonomous cloud server from among the plurality of autonomous cloud servers, and determine a communication path from the storage gateway server, through the micro cloud server, the first autonomous cloud server, and the second video networking terminal, when the first terminal number is converted into a second terminal number, where the second location prefix number includes two segment numbers;
and a third determining module, configured to determine, by using the third conversion protocol, a second autonomous cloud server, a first autonomous server connected to the second autonomous cloud server, and a second internet-of-view terminal connected to the first autonomous cloud server from the plurality of autonomous cloud servers, based on the three segment numbers, when the first terminal number is converted into a second terminal number by using the third conversion protocol, where the second location prefix number includes three segment numbers, and determine, by the storage gateway server, a communication path from the micro cloud server, the second autonomous cloud server, and the first autonomous cloud server to the second internet-of-view terminal.
Optionally, the third determining module in the above optional example may include the following modules:
a virtual number generation submodule for generating a virtual MAC address for the second terminal number;
the MAC address acquisition module is used for acquiring a micro cloud MAC address of the micro cloud server, a first server MAC address of a second autonomous cloud server, a second server MAC address of the first autonomous server and a terminal MAC address of a second video network terminal;
and the path information generating module is used for generating path information based on the virtual MAC address, the micro-cloud MAC address, the first server MAC address, the second server MAC address and the terminal MAC address, and determining the path information as the communication path.
Optionally, the first terminal number is 11 digits, the second terminal number is 20 digits, the first location prefix number is 6 digits, and the second location prefix number is 15 digits.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The 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 of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application 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 application 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 application 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 application. 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 application 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 the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
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 method for responding to the video networking service request signaling and the corresponding device for responding to the video networking service request signaling provided by the application are introduced in detail, specific examples are applied in the text to explain the principle and the implementation mode of the application, and the description of the above embodiments is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 application.

Claims (10)

1. A method for responding to a video network service request signaling is characterized in that the method is applied to a video network, the video network comprises a storage gateway server and a plurality of video network terminals connected with the storage gateway server, wherein the video network forms a data transmission network with a tree structure, and the method comprises the following steps:
the method comprises the steps that when a storage gateway server receives a first service request signaling sent by a first video network terminal, a first terminal number is extracted from the first service request signaling; the first terminal number comprises a first position prefix number;
the storage gateway server converts the first terminal number into a second terminal number; the digit of the second terminal number is greater than that of the first terminal number, and the second terminal number comprises a second position prefix number corresponding to the first position prefix number; the second location prefix number identifies location information of a second video network terminal;
the storage gateway server determines the hierarchy of the second video network terminal based on the second location prefix number, and determines a communication path from the storage gateway server to the second video network terminal; the second video network terminal is a video network terminal corresponding to the second terminal number;
the storage gateway server generates a second service request signaling; wherein, the second service request signaling comprises the second terminal number;
and the storage gateway server sends the second service request signaling to the second video network terminal based on the communication path.
2. The method of claim 1, wherein the step of the storage gateway server converting the first terminal number to a second terminal number comprises:
the storage gateway server acquires the first half segment number and the second half segment number of the first position prefix number;
when the first half segment number is a first preset number and the second half segment number is a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset first conversion protocol;
when the first half segment number is not a first preset number and the second half segment number is a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset second conversion protocol;
and when the first half segment number is not a first preset number and the second half segment number is not a second preset number, the storage gateway server converts the first terminal number into a second terminal number based on a preset third conversion protocol.
3. The method of claim 2, wherein the second location prefix number comprises one sector number or two sector numbers or three sector numbers; the video network also comprises a micro cloud server connected with the storage gateway server, a plurality of autonomous cloud servers connected with the micro cloud server, and autonomous servers connected with the autonomous cloud servers; the step of determining, by the storage gateway server, a communication path from the storage gateway server to a second video network terminal based on the second location prefix number includes:
when the first terminal number is converted into a second terminal number by adopting the first conversion protocol, the second location prefix number comprises a section number, and the storage gateway server determines a communication path from the storage gateway server to the second video network terminal through the micro cloud server;
when the first terminal number is converted into a second terminal number by adopting a second conversion protocol, the second location prefix number comprises two section numbers, the storage gateway server determines a first autonomous cloud server and a second video network terminal connected with the first autonomous cloud server from the plurality of autonomous cloud servers based on the two section numbers, and determines a communication path from the storage gateway server, the micro cloud server and the first autonomous cloud server to the second video network terminal;
when the first terminal number is converted into a second terminal number by adopting the third conversion protocol, the second location prefix number comprises three section numbers, the storage gateway server determines a second autonomous cloud server, a first autonomous cloud server connected with the second autonomous cloud server and a second video network terminal connected with the first autonomous cloud server from the plurality of autonomous cloud servers based on the three section numbers, and determines a communication path from the storage gateway server to the second video network terminal through the micro cloud server, the second autonomous cloud server and the first autonomous cloud server.
4. The method according to claim 3, wherein the step of the storage gateway server determining a communication path from the storage server, through the micro cloud server, a second autonomous cloud server, and the first autonomous server, to the second video networking terminal comprises:
the storage gateway server generates a virtual MAC address aiming at the second terminal number;
the storage gateway server acquires a micro cloud MAC address of the micro cloud server, a first server MAC address of a second autonomous cloud server, a second server MAC address of the first autonomous cloud server and a terminal MAC address of a second video network terminal;
the storage gateway server generates path information based on the virtual MAC address, the micro-cloud MAC address, the first server MAC address, the second server MAC address and the terminal MAC address, and determines the path information as the communication path.
5. The method according to any one of claims 1 to 4, wherein the first terminal number has 11 digits and the second terminal number has 20 digits, and wherein the first location prefix number has 6 digits and the second location prefix number has 15 digits.
6. The device for responding to the video network service request signaling is applied to a video network, wherein the video network comprises a storage gateway server and a plurality of video network terminals connected with the storage gateway server; wherein, the said video network forms the data transmission network of the tree structure, the said apparatus locates at the said storage gateway server, including:
the first service request signaling receiving module is used for receiving a first service request signaling sent by a first video network terminal;
a first terminal number extracting module, configured to extract a first terminal number from the first service request signaling; the first terminal number comprises a first position prefix number;
the number conversion module is used for converting the first terminal number into a second terminal number; the digit of the second terminal number is greater than that of the first terminal number, and the second terminal number comprises a second position prefix number corresponding to the first position prefix number; the second location prefix number represents location information of a second video network terminal;
the communication path determining module is used for determining the hierarchy of the second video network terminal based on the second location prefix number and determining a communication path from the storage gateway server to the second video network terminal; the second video network terminal is a video network terminal corresponding to the second terminal number;
a service request signaling resetting module, configured to generate a second service request signaling; wherein, the second service request signaling comprises the second terminal number;
and the sending module is used for sending the second service request signaling to the second video network terminal based on the communication path.
7. The apparatus of claim 6, wherein the number translation module comprises:
the number intercepting module is used for acquiring the first half segment number and the second half segment number of the first position prefix number;
the first conversion module is used for converting the first terminal number into a second terminal number based on a preset first conversion protocol when the first half segment number is a first preset number and the second half segment number is a second preset number;
the second conversion module is used for converting the first terminal number into a second terminal number based on a preset second conversion protocol when the first half section number is not a first preset number and the second half section number is a second preset number;
and the third conversion module is used for converting the first terminal number into the second terminal number based on a preset third conversion protocol when the first half section number is not the first preset number and the second half section number is not the second preset number.
8. The apparatus of claim 7, wherein the second location prefix number comprises one sector number or two sector numbers or three sector numbers; the video network also comprises a micro cloud server connected with the storage gateway server, a plurality of autonomous cloud servers connected with the micro cloud server, and autonomous servers connected with the autonomous cloud servers; the communication path determination module includes:
the first determining module is used for determining a communication path from the storage gateway server to the second video network terminal through the micro cloud server when the first terminal number is converted into a second terminal number by adopting the first conversion protocol, wherein the second location prefix number comprises a section number;
a second determining module, configured to determine, by using the second conversion protocol, a first autonomous cloud server and a second video networking terminal connected to the first autonomous cloud server from among the plurality of autonomous cloud servers, and determine a communication path from the storage gateway server, through the micro cloud server, the first autonomous cloud server, and the second video networking terminal, when the first terminal number is converted into a second terminal number, where the second location prefix number includes two segment numbers;
and a third determining module, configured to determine, by using the third conversion protocol, a second autonomous cloud server, a first autonomous server connected to the second autonomous cloud server, and a second internet-of-view terminal connected to the first autonomous cloud server from the plurality of autonomous cloud servers, based on the three segment numbers, when the first terminal number is converted into a second terminal number by using the third conversion protocol, where the second location prefix number includes three segment numbers, and determine, by the storage gateway server, a communication path from the micro cloud server, the second autonomous cloud server, and the first autonomous cloud server to the second internet-of-view terminal.
9. The apparatus of claim 8, wherein the third determining module comprises:
a virtual number generation submodule for generating a virtual MAC address for the second terminal number;
the MAC address acquisition module is used for acquiring a micro cloud MAC address of the micro cloud server, a first server MAC address of a second autonomous cloud server, a second server MAC address of the first autonomous server and a terminal MAC address of a second video network terminal;
and the path information generating module is used for generating path information based on the virtual MAC address, the micro-cloud MAC address, the first server MAC address, the second server MAC address and the terminal MAC address, and determining the path information as the communication path.
10. The apparatus according to any one of claims 6 to 9, wherein the first terminal number has a number of digits of 11 and the second terminal number has a number of digits of 20, wherein the first location prefix number has a number of digits of 6 and the second location prefix number has a number of digits of 15.
CN201910127613.4A 2019-02-20 2019-02-20 Method and device for responding to video network service request signaling Active CN109768986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910127613.4A CN109768986B (en) 2019-02-20 2019-02-20 Method and device for responding to video network service request signaling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910127613.4A CN109768986B (en) 2019-02-20 2019-02-20 Method and device for responding to video network service request signaling

Publications (2)

Publication Number Publication Date
CN109768986A CN109768986A (en) 2019-05-17
CN109768986B true CN109768986B (en) 2021-09-07

Family

ID=66456902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910127613.4A Active CN109768986B (en) 2019-02-20 2019-02-20 Method and device for responding to video network service request signaling

Country Status (1)

Country Link
CN (1) CN109768986B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131398B (en) * 2019-12-02 2022-12-23 视联动力信息技术股份有限公司 Method, device, electronic equipment and medium based on direct communication of video network
CN111614921A (en) * 2020-04-15 2020-09-01 视联动力信息技术股份有限公司 Communication method and device
CN113704652B (en) * 2021-07-12 2024-01-02 厦门科灿信息技术有限公司 Data processing method, device, transfer station and data processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968450A (en) * 2006-09-22 2007-05-23 ***通信集团公司 Home location short number service system and implementation method
CN101534492A (en) * 2009-04-22 2009-09-16 中国电信股份有限公司 System for synthetizing virtual private network and method for realizing virtual private network
WO2016206719A1 (en) * 2015-06-23 2016-12-29 Telefonaktiebolaget Lm Ericsson (Publ) Method for handling simultaneous measurement signaling and data communication, network node, wireless device, computer programs and computer program products
CN109302455A (en) * 2018-09-06 2019-02-01 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968450A (en) * 2006-09-22 2007-05-23 ***通信集团公司 Home location short number service system and implementation method
CN101534492A (en) * 2009-04-22 2009-09-16 中国电信股份有限公司 System for synthetizing virtual private network and method for realizing virtual private network
WO2016206719A1 (en) * 2015-06-23 2016-12-29 Telefonaktiebolaget Lm Ericsson (Publ) Method for handling simultaneous measurement signaling and data communication, network node, wireless device, computer programs and computer program products
CN109302455A (en) * 2018-09-06 2019-02-01 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking

Also Published As

Publication number Publication date
CN109768986A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN111193788A (en) Audio and video stream load balancing method and device
CN109474715B (en) Resource configuration method and device based on video network
CN110602266B (en) Domain name resolution method and system
CN110022295B (en) Data transmission method and video networking system
CN110035005B (en) Data processing method and device
CN108809921B (en) Audio processing method, video networking server and video networking terminal
CN110719258B (en) Server access method and system
CN109768986B (en) Method and device for responding to video network service request signaling
CN110149305B (en) Video network-based multi-party audio and video playing method and transfer server
CN109768957B (en) Method and system for processing monitoring data
CN109743284B (en) Video processing method and system based on video network
CN109347844B (en) Method and device for accessing equipment to Internet
CN109302384B (en) Data processing method and system
CN110830826A (en) Video transcoding equipment scheduling method and system
CN111211982B (en) Data forwarding method and device, electronic equipment and storage medium
CN110519543B (en) Video telephone dialing method and device
CN110493149B (en) Message processing method and device
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110336710B (en) Terminal testing method, system and device and storage medium
CN110072154B (en) Video networking-based clustering method and transfer server
CN109889516B (en) Method and device for establishing session channel
CN109768964B (en) Audio and video display method and device
CN110661749A (en) Video signal processing method and video networking terminal
CN110557411A (en) video stream processing method and device based on video network

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