CN109743360B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN109743360B
CN109743360B CN201811528359.0A CN201811528359A CN109743360B CN 109743360 B CN109743360 B CN 109743360B CN 201811528359 A CN201811528359 A CN 201811528359A CN 109743360 B CN109743360 B CN 109743360B
Authority
CN
China
Prior art keywords
video
client
video networking
network
virtual number
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
CN201811528359.0A
Other languages
Chinese (zh)
Other versions
CN109743360A (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 CN201811528359.0A priority Critical patent/CN109743360B/en
Publication of CN109743360A publication Critical patent/CN109743360A/en
Application granted granted Critical
Publication of CN109743360B publication Critical patent/CN109743360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides an information processing method and device. In the application, when a user needs to use the Internet client to access the video network server, the video network gateway can automatically allocate a video network virtual number in an unoccupied state for the Internet client, so that the Internet client uses the video network virtual number to access the video network server, the allocated video network virtual number does not need the participation of workers and is immediately allocated, and then the user can use the Internet client to access the video network server at once, and the user experience is improved.

Description

Information processing method and device
Technical Field
The present application relates to the field of video networking technologies, and in particular, to an information processing method and apparatus.
Background
Currently, it is often the case that a device located in one lan needs to access a device located in another lan.
For example, if a user needs to use the device 1 located in the lan a to access the device 2 located in the lan B, the user first needs to register an access account of the device 1 in a gateway of the lan B, and in a general case, the user may control the device 1 to send a registration request to the gateway of the lan B, where the registration request carries the device identifier of the device 1. The gateway of the local area network B is managed by a special worker, the gateway of the local area network B receives the registration request, the worker needs to manually and asynchronously allocate an access account to the device 1 and bind the device identifier of the access account device 1, then the gateway of the local area network B sends the access account to the device 1, and then the user can use the device 1 to access the device 2 located in the local area network B by sending the access account.
However, the inventors found that: the staff often manually and asynchronously allocate the access account to the device 1, that is, often not immediately allocate the access account after receiving the registration request, so that the user cannot immediately use the device 1 to access the device 2, and the user experience is low.
Disclosure of Invention
In order to solve the above problem, the present application shows an information processing method and apparatus.
In a first aspect, the present application shows an information processing method applied to a video networking gateway, where the video networking gateway is communicatively connected with an internet client based on an internet protocol, and the video networking gateway is communicatively connected with a video networking server based on a video networking protocol, the method includes:
receiving an acquisition request sent by the internet client, wherein the acquisition request carries a client identifier of the internet client;
in a first corresponding relation between a client identifier of a client and an access certificate of the video network, searching whether the access certificate of the video network corresponding to the client identifier exists or not;
if the video networking access certificate corresponding to the client identification does not exist, acquiring a video networking virtual number in an unoccupied state;
and sending the video networking virtual number to the Internet client so that the Internet client accesses the video networking server by using the video networking virtual number.
In an optional implementation, the method further includes:
forming a corresponding table entry by the client identification and the virtual serial number of the video network, and storing the corresponding table entry in a second corresponding relation between the client identification of the client and the virtual serial number of the video network;
and generating an access certificate of the video network, forming a corresponding table entry by the client identifier and the generated access certificate of the video network, and storing the corresponding table entry in the first corresponding relation.
In an optional implementation, the method further includes:
if the video networking access certificate corresponding to the client identification exists, searching the video networking virtual number corresponding to the client identification in a second corresponding relation between the client identification of the client and the video networking virtual number;
and sending the searched virtual serial number of the video network to the Internet client.
In an optional implementation manner, the obtaining the virtual number of the video network in the unoccupied state includes:
selecting one video networking virtual number from a first preset video networking virtual number set, wherein the first preset video networking virtual number set is used for storing the video networking virtual number in an unoccupied state.
In an optional implementation, the method further includes:
and setting the state of the virtual serial number of the video network to be an occupied state.
In an optional implementation manner, the setting the state of the virtual serial number of the video network to the occupied state includes:
and moving the video networking virtual number from the first preset video networking virtual number set to a second preset video networking virtual number set, wherein the second preset video networking virtual number set is used for storing the video networking virtual number in an occupied state.
In an optional implementation, the method further includes:
if the video networking access certificate corresponding to the client identification exists, acquiring the current moment of the video networking gateway;
in a third correspondence between the visual network access credential and a latest query time of the visual network access credential, replacing the latest query time corresponding to the visual network access credential with the current time.
In an optional implementation manner, after replacing the latest query time corresponding to the video network access credential with the current time, the method further includes:
determining whether the duration of the non-queried access voucher of the video network is greater than or equal to a preset duration or not according to the latest query time after replacement in real time;
and if the length of the first corresponding relation is greater than or equal to the preset length of time, deleting the corresponding table entry comprising the client identifier and the video network access certificate in the first corresponding relation, deleting the corresponding table entry comprising the client identifier and the video network virtual number in the second corresponding relation, and moving the video network virtual number from the second preset video network virtual number set to the first preset video network virtual number set.
In a second aspect, the present application shows an information processing apparatus applied to a video networking gateway, where the video networking gateway is in communication connection with an internet client based on an internet protocol, and the video networking gateway is in communication connection with a video networking server based on a video networking protocol, the apparatus includes:
the receiving module is used for receiving an acquisition request sent by the Internet client, wherein the acquisition request carries a client identifier of the Internet client;
the first searching module is used for searching whether the video networking access certificate corresponding to the client identifier exists in a first corresponding relation between the client identifier of the client and the video networking access certificate;
the first acquisition module is used for acquiring the virtual serial number of the video network in an unoccupied state if the video network access certificate corresponding to the client identifier does not exist;
and the first sending module is used for sending the video networking virtual number to the Internet client so that the Internet client accesses the video networking server by using the video networking virtual number.
In an optional implementation, the apparatus further comprises:
the first storage module is used for forming a corresponding table entry by the client identifier and the virtual serial number of the video network and storing the corresponding table entry in a second corresponding relation between the client identifier of the client and the virtual serial number of the video network;
the generation module is used for generating an access certificate of the video network;
and the second storage module is used for forming a corresponding table entry by the client identifier and the generated video network access certificate and storing the corresponding table entry in the first corresponding relation.
In an optional implementation, the apparatus further comprises:
the second searching module is used for searching the video network virtual number corresponding to the client identifier in a second corresponding relation between the client identifier of the client and the video network virtual number if the video network access certificate corresponding to the client identifier exists;
a second sending module for sending the searched virtual serial number of the video network to the internet client,
in an optional implementation manner, the first obtaining module is specifically configured to: selecting one video networking virtual number from a first preset video networking virtual number set, wherein the first preset video networking virtual number set is used for storing the video networking virtual number in an unoccupied state.
In an optional implementation, the apparatus further comprises:
and the setting module is used for setting the state of the virtual serial number of the video network into an occupied state.
In an optional implementation manner, the setting module is specifically configured to: and moving the video networking virtual number from the first preset video networking virtual number set to a second preset video networking virtual number set, wherein the second preset video networking virtual number set is used for storing the video networking virtual number in an occupied state.
In an optional implementation, the apparatus further comprises:
the second acquisition module is used for acquiring the current moment of the video networking gateway if a video networking access certificate corresponding to the client identification exists;
and the replacing module is used for replacing the latest query time corresponding to the video network access certificate by using the current time in a third corresponding relation between the video network access certificate and the latest query time of the video network access certificate.
In an optional implementation, the apparatus further comprises:
the determining module is used for determining whether the duration of the video network access certificate which is not queried is greater than or equal to the preset duration or not according to the latest query time after replacement in real time;
and the deleting module is used for deleting the corresponding table entry comprising the client identifier and the video network access certificate in the first corresponding relation, deleting the corresponding table entry comprising the client identifier and the video network virtual number in the second corresponding relation and moving the video network virtual number from the second preset video network virtual number set to the first preset video network virtual number set if the time length is greater than or equal to the preset time length.
The application includes the following advantages:
in the application, when a user needs to use the Internet client to access the video network server, the video network gateway can automatically allocate a video network virtual number in an unoccupied state for the Internet client, so that the Internet client uses the video network virtual number to access the video network server, the allocated video network virtual number does not need the participation of workers and is immediately allocated, and then the user can use the Internet client to access the video network server at once, and the user experience is improved.
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 block diagram of an information handling system of the present application;
FIG. 6 is a flow chart of steps of a method of information processing of the present application;
fig. 7 is a block diagram of a configuration of an information processing apparatus 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 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 controlled by a layered centralized way, and the network controlled by the node server and the metropolitan area server can be in various structures such as a tree, a star, a ring and the like.
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 present application can be largely 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, in this application two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 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 control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the video networking destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet coordination 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 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 characteristics of the video network, one of the core concepts of the application is provided, and the protocol of the video network is followed.
Referring to fig. 5, a block diagram of an information processing system according to the present application is shown, where the system includes an internet client 01, a video network gateway 02, and a video network server 03, and the video network server 03 includes a streaming server and the like. The video network gateway 02 is in communication connection with the Internet client 01 based on an Internet protocol, and the video network gateway 02 is in communication connection with the video network server 03 based on the video network protocol.
Referring to fig. 6, a flowchart illustrating steps of an information processing method according to the present application is shown, where the method may be applied to the video networking gateway 02 shown in fig. 5, and the method may specifically include the following steps:
in step S101, an acquisition request sent by an internet client is received, where the acquisition request carries a client identifier of the internet client;
when a user needs to access the video network server on the internet client, for example, to obtain a video network video stored in the video network server, the video network virtual number is often needed to be used on the internet client to access the video network server, and therefore, the internet client needs to obtain the video network virtual number first and then access the video network server.
In order to obtain the virtual serial number of the internet of view, the internet client may send an obtaining request to the gateway of the internet of view, where the obtaining request carries a client identifier of the internet client. The acquisition request is received by the video networking gateway. The acquisition request is used for acquiring an acquisition request of a virtual number of the video network, or the acquisition request also comprises an acquisition request for acquiring a video and the like because the video is acquired from a video network server, namely the video network server needs to be accessed.
In step S102, in a first correspondence between a client identifier of a client and an access credential of the video network, whether the access credential of the video network corresponding to the client identifier exists is searched for;
the first corresponding relation comprises a plurality of corresponding table entries, and each corresponding table entry stores a client identifier of one internet client and a video network access certificate generated in advance for the internet client.
If the first corresponding relationship does not have the video network access certificate corresponding to the client identifier, in step S103, acquiring a video network virtual number in an unoccupied state;
the method comprises the steps of generating a plurality of virtual numbers of the video network in an unoccupied state in advance, storing the virtual numbers of the video network in the unoccupied state in a first preset virtual number set of the video network, and thus, in the step, selecting one virtual number of the video network from the first preset virtual number set of the video network, wherein the first preset virtual number set of the video network is used for storing the virtual number of the video network in the unoccupied state.
In step S104, the virtual number of the internet is sent to the internet client, so that the internet client accesses the server of the internet using the virtual number of the internet.
For example, the video network client can then interact with the video network server according to the video network virtual number to achieve the purpose of accessing the video network server, such as obtaining video network videos from the video network server.
In the application, when a user needs to use the Internet client to access the video network server, the video network gateway can automatically allocate a video network virtual number in an unoccupied state for the Internet client, so that the Internet client uses the video network virtual number to access the video network server, the allocated video network virtual number does not need the participation of workers and is immediately allocated, and then the user can use the Internet client to access the video network server at once, and the user experience is improved.
Further, in order to prevent the video network gateway from assigning a video network virtual number to the internet client again when the user uses the internet client to access the video network server again later, so as to achieve the purpose of saving, the method further comprises: forming a corresponding table entry by the client identifier and the acquired virtual serial number of the video network, and storing the corresponding table entry in a second corresponding relation between the client identifier of the client and the virtual serial number of the video network; and generating an access certificate of the video network, forming a corresponding table entry by the client identification and the generated access certificate of the video network, and storing the table entry in the first corresponding relation.
Further, if the first corresponding relation has the video network access certificate corresponding to the client identifier, searching the video network virtual number corresponding to the client identifier in a second corresponding relation between the client identifier of the client and the video network virtual number; and sending the searched virtual serial number of the video network to the Internet client.
If the first corresponding relation has the video networking access certificate corresponding to the client identifier, the video networking access certificate is generated for the internet client in advance, and then the video networking virtual number is distributed for the internet client, so that the video networking virtual number corresponding to the client identifier can be directly searched in the second corresponding relation between the client identifier of the client and the video networking virtual number.
The second corresponding relation comprises a plurality of corresponding table entries, and each corresponding table entry stores a client identifier of one internet client and a video network virtual number which is allocated to the internet client in advance.
Further, in another embodiment, in order to avoid an access error when different internet clients access the internet server due to the same allocation of the internet virtual number to different internet clients later, the state of the acquired internet virtual number in the unoccupied state may be set to the occupied state.
Specifically, the obtained virtual serial number of the video network in the unoccupied state can be moved from the first preset virtual serial number set of the video network to the second preset virtual serial number set of the video network, and the second preset virtual serial number set of the video network is used for storing the virtual serial number of the video network in the occupied state.
In the application, the video networking access certificate is used when the internet client needs to access the video networking server, and after the internet client accesses the video networking server, if the internet client obtains the video networking video which the internet client wants to obtain, namely, if the purpose of the internet client is realized, the internet client does not need to access the video networking server, and further the video networking access certificate is not needed.
Therefore, in the application, the visual networking gateway releases the visual networking access certificate according to the actual situation.
In the application, if the first corresponding relation has the video networking access certificate corresponding to the client identifier, the current moment of the video networking gateway is obtained;
in a third correspondence between the internet of view access credential and the latest query time of the internet of view access credential, the latest query time corresponding to the internet of view access credential is replaced with the current time.
Then, whether the duration of the non-inquired video network access certificate is longer than or equal to the preset duration can be determined in real time according to the replaced latest inquiry time; if the duration is greater than or equal to the preset duration, it indicates that the view networking access credential is not used for a long time, and further indicates that the internet client may no longer need to access the view networking server, that is, the internet client may no longer need to use the view networking access credential, and therefore, the view networking access credential may be released, for example, the corresponding entry including the client identifier and the view networking access credential is deleted in the first corresponding relationship, and then the view networking virtual number may also be released, for example, the corresponding entry including the client identifier and the view networking virtual number is deleted in the second corresponding relationship, and the view networking virtual number is moved from the second preset view networking virtual number set to the first preset view networking virtual number set.
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.
Referring to fig. 7, a block diagram of an information processing apparatus according to the present application is shown, where the apparatus is applied to a video networking gateway, the video networking gateway is communicatively connected to an internet client based on an internet protocol, and the video networking gateway is communicatively connected to a video networking server based on a video networking protocol, and the apparatus includes:
a receiving module 11, configured to receive an acquisition request sent by the internet client, where the acquisition request carries a client identifier of the internet client;
a first searching module 12, configured to search, in a first correspondence between a client identifier of a client and an access credential of an internet of view, whether an access credential of the internet of view corresponding to the client identifier exists;
a first obtaining module 13, configured to obtain, if there is no video networking access credential corresponding to the client identifier, a video networking virtual number in an unoccupied state;
a first sending module 14, configured to send the virtual serial number of the video network to the internet client, so that the internet client accesses the video network server using the virtual serial number of the video network.
In an optional implementation, the apparatus further comprises:
the first storage module is used for forming a corresponding table entry by the client identifier and the virtual serial number of the video network and storing the corresponding table entry in a second corresponding relation between the client identifier of the client and the virtual serial number of the video network;
the generation module is used for generating an access certificate of the video network;
and the second storage module is used for forming a corresponding table entry by the client identifier and the generated video network access certificate and storing the corresponding table entry in the first corresponding relation.
In an optional implementation, the apparatus further comprises:
the second searching module is used for searching the video network virtual number corresponding to the client identifier in a second corresponding relation between the client identifier of the client and the video network virtual number if the video network access certificate corresponding to the client identifier exists;
a second sending module for sending the searched virtual serial number of the video network to the internet client,
in an optional implementation manner, the first obtaining module 13 is specifically configured to: selecting one video networking virtual number from a first preset video networking virtual number set, wherein the first preset video networking virtual number set is used for storing the video networking virtual number in an unoccupied state.
In an optional implementation, the apparatus further comprises:
and the setting module is used for setting the state of the virtual serial number of the video network into an occupied state.
In an optional implementation manner, the setting module is specifically configured to: and moving the video networking virtual number from the first preset video networking virtual number set to a second preset video networking virtual number set, wherein the second preset video networking virtual number set is used for storing the video networking virtual number in an occupied state.
In an optional implementation, the apparatus further comprises:
the second acquisition module is used for acquiring the current moment of the video networking gateway if a video networking access certificate corresponding to the client identification exists;
and the replacing module is used for replacing the latest query time corresponding to the video network access certificate by using the current time in a third corresponding relation between the video network access certificate and the latest query time of the video network access certificate.
In an optional implementation, the apparatus further comprises:
the determining module is used for determining whether the duration of the video network access certificate which is not queried is greater than or equal to the preset duration or not according to the latest query time after replacement in real time;
and the deleting module is used for deleting the corresponding table entry comprising the client identifier and the video network access certificate in the first corresponding relation, deleting the corresponding table entry comprising the client identifier and the video network virtual number in the second corresponding relation and moving the video network virtual number from the second preset video network virtual number set to the first preset video network virtual number set if the time length is greater than or equal to the preset time length.
In the application, when a user needs to use the Internet client to access the video network server, the video network gateway can automatically allocate a video network virtual number in an unoccupied state for the Internet client, so that the Internet client uses the video network virtual number to access the video network server, the allocated video network virtual number does not need the participation of workers and is immediately allocated, and then the user can use the Internet client to access the video network server at once, and the user experience is improved.
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 information processing method and apparatus provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present 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 (9)

1. An information processing method is applied to a video networking gateway, the video networking gateway is in communication connection with an Internet client based on an Internet protocol, the video networking gateway is in communication connection with a video networking server based on a video networking protocol, and the method comprises the following steps:
receiving an acquisition request sent by the internet client, wherein the acquisition request carries a client identifier of the internet client;
in a first corresponding relation between a client identifier of a client and an access certificate of the video network, searching whether the access certificate of the video network corresponding to the client identifier exists or not; the first corresponding relation comprises a plurality of corresponding table entries, and each corresponding table entry stores a client identifier of one internet client and a video network access certificate generated in advance for the internet client;
if the video networking access certificate corresponding to the client identification exists, the video networking virtual number is allocated to the Internet client in advance, and the video networking virtual number corresponding to the client identification is searched in a second corresponding relation between the client identification of the client and the video networking virtual number;
if the video networking access certificate corresponding to the client identification does not exist, the fact that the video networking virtual number is not distributed to the internet client is indicated, and the video networking virtual number in an unoccupied state is obtained;
and sending the video networking virtual number to the Internet client so that the Internet client accesses the video networking server by using the video networking virtual number.
2. The method of claim 1, further comprising:
forming a corresponding table entry by the client identification and the virtual serial number of the video network, and storing the corresponding table entry in a second corresponding relation between the client identification of the client and the virtual serial number of the video network;
and generating an access certificate of the video network, forming a corresponding table entry by the client identifier and the generated access certificate of the video network, and storing the corresponding table entry in the first corresponding relation.
3. The method of claim 1, wherein obtaining the virtual number of the video network in the unoccupied state comprises:
selecting one video networking virtual number from a first preset video networking virtual number set, wherein the first preset video networking virtual number set is used for storing the video networking virtual number in an unoccupied state.
4. The method of claim 3, further comprising:
and setting the state of the virtual serial number of the video network to be an occupied state.
5. The method of claim 4, wherein setting the state of the virtual number to the occupied state comprises:
and moving the video networking virtual number from the first preset video networking virtual number set to a second preset video networking virtual number set, wherein the second preset video networking virtual number set is used for storing the video networking virtual number in an occupied state.
6. The method of claim 5, further comprising:
if the video networking access certificate corresponding to the client identification exists, acquiring the current moment of the video networking gateway;
in a third correspondence between the visual network access credential and a latest query time of the visual network access credential, replacing the latest query time corresponding to the visual network access credential with the current time.
7. The method of claim 6, wherein after replacing the latest query time corresponding to the visual networking access credential with the current time, further comprising:
determining whether the duration of the non-queried access voucher of the video network is greater than or equal to a preset duration or not according to the latest query time after replacement in real time;
and if the length of the first corresponding relation is greater than or equal to the preset length of time, deleting the corresponding table entry comprising the client identifier and the video network access certificate in the first corresponding relation, deleting the corresponding table entry comprising the client identifier and the video network virtual number in the second corresponding relation, and moving the video network virtual number from the second preset video network virtual number set to the first preset video network virtual number set.
8. An information processing apparatus, wherein the apparatus is applied to a video networking gateway, the video networking gateway is in communication connection with an internet client based on an internet protocol, the video networking gateway is in communication connection with a video networking server based on a video networking protocol, and the apparatus comprises:
the receiving module is used for receiving an acquisition request sent by the Internet client, wherein the acquisition request carries a client identifier of the Internet client;
the first searching module is used for searching whether the video networking access certificate corresponding to the client identifier exists in a first corresponding relation between the client identifier of the client and the video networking access certificate; the first corresponding relation comprises a plurality of corresponding table entries, and each corresponding table entry stores a client identifier of one internet client and a video network access certificate generated in advance for the internet client;
the second searching module is used for searching the video networking virtual number corresponding to the client identifier in a second corresponding relation between the client identifier of the client and the video networking virtual number if the video networking access certificate corresponding to the client identifier exists and indicates that the video networking virtual number is allocated to the internet client in advance;
the first acquisition module is used for acquiring the video networking virtual number in an unoccupied state if the video networking access certificate corresponding to the client identification does not exist and indicates that the video networking virtual number is not allocated to the internet client;
and the first sending module is used for sending the video networking virtual number to the Internet client so that the Internet client accesses the video networking server by using the video networking virtual number.
9. The apparatus of claim 8, further comprising:
the first storage module is used for forming a corresponding table entry by the client identifier and the virtual serial number of the video network and storing the corresponding table entry in a second corresponding relation between the client identifier of the client and the virtual serial number of the video network;
the generation module is used for generating an access certificate of the video network;
and the second storage module is used for forming a corresponding table entry by the client identifier and the generated video network access certificate and storing the corresponding table entry in the first corresponding relation.
CN201811528359.0A 2018-12-13 2018-12-13 Information processing method and device Active CN109743360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811528359.0A CN109743360B (en) 2018-12-13 2018-12-13 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811528359.0A CN109743360B (en) 2018-12-13 2018-12-13 Information processing method and device

Publications (2)

Publication Number Publication Date
CN109743360A CN109743360A (en) 2019-05-10
CN109743360B true CN109743360B (en) 2021-11-16

Family

ID=66358938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811528359.0A Active CN109743360B (en) 2018-12-13 2018-12-13 Information processing method and device

Country Status (1)

Country Link
CN (1) CN109743360B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193944B (en) * 2019-12-17 2023-06-06 视联动力信息技术股份有限公司 Sub-equipment number configuration method, device and storage medium
CN111131264B (en) * 2019-12-26 2022-12-23 视联动力信息技术股份有限公司 Video networking communication method and first video networking client

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860834A (en) * 2009-04-08 2010-10-13 北京博越世纪科技有限公司 Technology for automatically registering users in emergency system
CN105429961A (en) * 2015-11-03 2016-03-23 竞技世界(杭州)网络技术有限公司 Automatic account number registration and login method
CN106162040A (en) * 2015-03-30 2016-11-23 北京视联动力国际信息技术有限公司 The method and apparatus that video conference accesses in many ways
CN106303359A (en) * 2015-05-14 2017-01-04 北京视联动力国际信息技术有限公司 The processing method of a kind of network conversion and equipment
CN108632398A (en) * 2017-07-27 2018-10-09 北京视联动力国际信息技术有限公司 A kind of conference access method and system, association turn server and conference management terminal
CN108632233A (en) * 2017-08-14 2018-10-09 北京视联动力国际信息技术有限公司 A kind of alarming check method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881792A (en) * 2017-11-23 2018-11-23 北京视联动力国际信息技术有限公司 A kind of method and apparatus of double fluid communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860834A (en) * 2009-04-08 2010-10-13 北京博越世纪科技有限公司 Technology for automatically registering users in emergency system
CN106162040A (en) * 2015-03-30 2016-11-23 北京视联动力国际信息技术有限公司 The method and apparatus that video conference accesses in many ways
CN106303359A (en) * 2015-05-14 2017-01-04 北京视联动力国际信息技术有限公司 The processing method of a kind of network conversion and equipment
CN105429961A (en) * 2015-11-03 2016-03-23 竞技世界(杭州)网络技术有限公司 Automatic account number registration and login method
CN108632398A (en) * 2017-07-27 2018-10-09 北京视联动力国际信息技术有限公司 A kind of conference access method and system, association turn server and conference management terminal
CN108632233A (en) * 2017-08-14 2018-10-09 北京视联动力国际信息技术有限公司 A kind of alarming check method and apparatus

Also Published As

Publication number Publication date
CN109743360A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109462753B (en) System and method for testing multiple video conferences
CN111193788A (en) Audio and video stream load balancing method and device
CN110198345B (en) Data request method, system and device and storage medium
CN109617956B (en) Data processing method and device
CN110190973B (en) Online state detection method and device
CN109474715B (en) Resource configuration method and device based on video network
CN109768963B (en) Conference opening method and system based on video network
CN109743550B (en) Method and device for monitoring data flow regulation
CN109246135B (en) Method and system for acquiring streaming media data
CN110602039A (en) Data acquisition method and system
CN109743360B (en) Information processing method and device
CN110830826A (en) Video transcoding equipment scheduling method and system
CN110519549B (en) Conference terminal list obtaining method and system
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110022500B (en) Packet loss processing method and device
CN109743555B (en) Information processing method and system based on video network
CN109889516B (en) Method and device for establishing session channel
CN108965219B (en) Data processing method and device based on video network
CN110557411A (en) video stream processing method and device based on video network
CN110191202B (en) Method and device for determining access address of equipment
CN110557687B (en) Multicast data packet processing method, device and storage medium
CN110266768B (en) Data transmission method and system
CN110166840B (en) Service processing method, system and device
CN110493555B (en) Request processing method, user terminal, core server, device and storage medium
CN110620936B (en) Video network video backup method and device, electronic equipment and storage medium

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