CN110677507A - Method, system, equipment and storage medium for accessing video network terminal - Google Patents

Method, system, equipment and storage medium for accessing video network terminal Download PDF

Info

Publication number
CN110677507A
CN110677507A CN201910819076.XA CN201910819076A CN110677507A CN 110677507 A CN110677507 A CN 110677507A CN 201910819076 A CN201910819076 A CN 201910819076A CN 110677507 A CN110677507 A CN 110677507A
Authority
CN
China
Prior art keywords
video network
address
network address
video
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910819076.XA
Other languages
Chinese (zh)
Other versions
CN110677507B (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 CN201910819076.XA priority Critical patent/CN110677507B/en
Publication of CN110677507A publication Critical patent/CN110677507A/en
Application granted granted Critical
Publication of CN110677507B publication Critical patent/CN110677507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method, a system, equipment and a storage medium for accessing a video network terminal, which are applied to a video network, wherein the video network terminal comprises a local video network terminal and a target video network terminal, and the method comprises the following steps: the local video network terminal acquires a simplified video network address; when the simplified video network address contains a preset symbol, the local video network terminal extracts the local video network address; the local video network terminal restores the simplified video network address into a target video network address according to the local video network address; and the local video network terminal accesses the target video network terminal by adopting the target video network address. The invention can access the target video network terminal in the same Ethernet with the local video network terminal only by inputting the simplified video network address with the preset symbol by the local video network terminal, and the user does not need to input a long string of numbers in the local video network terminal, thereby providing convenience for the user.

Description

Method, system, equipment and storage medium for accessing video network terminal
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method, a system, a device, and a storage medium for accessing a video networking terminal.
Background
The video networking is a real-time network, can realize the real-time transmission of full network high definition video, pushes numerous internet applications to high definition video, and high definition is face to face.
In an internet of view, an internet of view address is represented using a multi-digit decimal number, such as a 64-digit internet of view, with a 20-digit decimal number representing the internet of view address. When a target internet-of-view address needs to be accessed, whether the same or other ethernet network is accessed, the user is required to enter a long string of decimal digits representing the target network.
At present, when a user needs to access the same Ethernet in the video network, the user at the local end needs to input a long string of numbers representing the target video network address, the input amount is large, the user is inconvenient to remember and cannot remember easily, and inconvenience is brought to the user.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a method for accessing a terminal of a video network and a corresponding system, a device and a storage medium for accessing a terminal of a video network that overcome or at least partially solve the above problems.
In order to solve the above problem, an aspect of the embodiments of the present invention discloses a method for accessing a video network terminal, where the method is applied to a video network, the video network terminal includes a local video network terminal and a target video network terminal, and the method includes:
the local video network terminal acquires a simplified video network address;
when the simplified video network address contains a preset symbol, the local video network terminal extracts the local video network address;
the local video network terminal restores the simplified video network address into a target video network address according to the local video network address;
and the local video network terminal accesses the target video network terminal by adopting the target video network address.
Optionally, the method further comprises:
and when the simplified video network address does not contain a preset symbol, the local video network terminal takes the simplified video network address as a target video network address.
Optionally, in the method, the restoring, by the local video networking terminal, the simplified video networking address to the target video networking address according to the local video networking address includes:
the local video network terminal extracts the numbers in the simplified video network address, segments the numbers and generates a first video network address comprising at least one number segment;
verifying the first video network address by adopting a first preset threshold, and converting the verified first video network address into a second video network address, wherein the second video network address is a video network address of which the number digit of each digit section reaches the first preset threshold;
acquiring a prefix part in the local video network address, wherein the prefix part is the same part of any video network address which is in the same Ethernet with the local video network terminal;
adding the prefix part to a second video networking address to obtain a third video networking address;
and verifying the third video network address by adopting a second preset threshold value, and converting the verified third video network address into a target video network address with the total number of digits reaching the second preset threshold value.
Optionally, in the method, the extracting, by the local internet of view terminal, a number in the simplified internet of view address, segmenting the number, and generating a first internet of view address including at least one number segment includes:
traversing numbers behind the preset symbols in the simplified video networking address and generating a number string;
judging whether a space exists in the simplified video network address;
if the simplified video network address has a blank, correspondingly segmenting the extracted numeric string according to the position of the blank;
if the simplified video network address has no blank space, the extracted number string is used as a number field;
a first video network address is generated based on the number field.
Optionally, in the method, the verifying the first internet-of-things address by using a first preset threshold, and before converting the verified first internet-of-things address into a second internet-of-things address, the method further includes:
acquiring the number M of the address levels of the video networking to which the local address belongs, the number N of the number segments in the first video networking address and the total number Q of the address levels of the video networking;
if M + N-1> Q, ending the process and displaying access failure;
and if M + N-1 is not more than Q, the step of verifying the first video network address by adopting a first preset threshold and converting the first video network address passing the verification into a second video network address is carried out.
Optionally, in the method, the verifying the first internet-of-view address by using a first preset threshold, and converting the verified first internet-of-view address into a second internet-of-view address includes:
judging whether the digit number of each digit section in the first video network address reaches a first preset threshold value or not;
if the digit number of the field in the first video network address does not reach a first preset threshold value, adding at least 10 in front of the corresponding digit section to enable the digit number of the corresponding digit section to reach the first preset threshold value;
and obtaining a second video network address based on each digital section of which the digital digits all reach a first preset threshold value.
Optionally, in the method, the obtaining a prefix portion in the local internet of view address includes:
judging the video networking address hierarchy in the Ethernet to which the local video networking address belongs;
and extracting a numerical field positioned at the front side of the video network address hierarchy in the local video network address as the prefix part.
Optionally, in the method, the preset symbol is an underline.
The invention also provides a system for accessing the video network terminal, wherein the system is applied to the video network, the video network terminal comprises a local video network terminal and a target video network terminal, and the local video network terminal comprises:
the simplified website acquisition module is used for acquiring a simplified video network address;
the local website acquisition module is used for extracting a local video network address of the local video network terminal when the simplified video network address contains a preset symbol;
the first target website module is used for restoring the simplified video networking address into a target video networking address according to the local video networking address;
and the access module is used for accessing the target video network terminal by adopting the target video network address.
Optionally, in the system, the local video network terminal further includes:
and the second target website module is used for taking the simplified video network address as a target video network address when the simplified video network address does not contain a preset symbol.
Optionally, in the system, the first target internet of view address module includes:
the first website submodule is used for extracting the numbers in the simplified video network address and segmenting the extracted numbers to form a first video network address containing at least 1 number field;
the second website submodule is used for verifying the first video network address by adopting a first preset threshold value and converting the verified first video network address into a second video network address of which the number digit of each digit section reaches the first preset threshold value;
a prefix part obtaining submodule for obtaining the prefix part in the local video network address, wherein the prefix part is the same part of any video network address in the same Ethernet with the local video network terminal;
the third website submodule is used for adding the prefix part to the second video network address to obtain a third video network address;
and the verification conversion sub-module is used for verifying the third video network address by adopting a second preset threshold value and converting the verified third video network address into a target video network address with the total number of digits reaching the second preset threshold value.
Optionally, in the system, the first website sub-module includes:
the number string unit is used for traversing the numbers behind the preset symbols in the simplified video networking address and generating a number string;
the first judgment unit is used for judging whether a space exists in the simplified video network address or not;
the segmentation unit is used for correspondingly segmenting the extracted numeric string according to the position of the blank if the simplified video network address has the blank; if the simplified video network address has no blank space, the extracted number string is used as a number field;
and the first network address unit is used for generating a first video network address based on the digital field.
Optionally, the system further includes:
the judging and triggering module is used for acquiring the level number M of the video networking address layer to which the local address belongs, the number N of the digital segments in the first video networking address and the total number Q of the video networking address layer before the second website submodule; if M + N-1> Q, ending the process and displaying access failure; if M + N-1 is less than or equal to Q, triggering
And a second website submodule.
Optionally, in the system, the second website sub-module includes:
the second judgment unit is used for judging whether the digit number of each digit section in the first video network address reaches a first preset threshold value or not;
the zero padding unit is used for increasing at least 10 before the corresponding digital section if the digital digit of the digital section in the first video network address does not reach a first preset threshold value, so that the digital digit of the corresponding digital section reaches the first preset threshold value;
and the second website unit is used for obtaining a second video networking address based on each digital section of which the digital digits all reach the first preset threshold value.
Optionally, in the system, the prefix portion obtaining sub-module includes:
the local website acquisition unit is used for acquiring a local video network address;
the third judging unit is used for judging the video networking address hierarchy to which the local video networking address belongs;
and the number segment extracting unit is used for extracting the number segment positioned before the number segment corresponding to the local video network address level in the local video network address.
Optionally, in the system, the preset symbol is an underline.
An apparatus is further provided in an embodiment of the present invention, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the method for accessing a terminal of a video network as described above is implemented.
An embodiment of the present invention further provides a storage medium, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the method for accessing a terminal of a video network as described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, by utilizing the characteristic that the video networking addresses of the video networking terminals in the same Ethernet in the video networking have the common prefix part, when the local video networking terminal acquires the simplified video networking address containing the preset coincidence, the simplified video networking address is restored into the target video networking address through the local video networking address of the local video networking terminal, and then the target video networking address is adopted to access the target video networking terminal, so that the access to the target video networking terminal in the same Ethernet with the local video networking terminal can be realized.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of steps of a method embodiment of the present invention for accessing the same Ethernet network;
fig. 6 is a block diagram of an embodiment of an apparatus for accessing the same ethernet network according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network technology (network technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol gateway:
as shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA 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 embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, one of the core concepts of the embodiments of the present invention is provided, and a simplified video network address is received by a local video network terminal following a video network protocol, and if the simplified video network address contains a preset coincidence, the simplified video network address is restored to a complete target video network address in the same ethernet network by using the local video network address of the local video network terminal, and then a server is requested to access the target video network terminal according to the obtained complete target video network address, and the server accesses the target video network terminal in the same ethernet network as the local video network terminal according to the target video network address.
Referring to fig. 5, fig. 5 is a flowchart illustrating steps of a method for accessing a video network terminal according to an embodiment of the present invention, where the method may be applied to a video network, where the video network terminal includes a local video network terminal and a target video network terminal, and the method specifically includes the following steps:
and step 501, the local video network terminal acquires a simplified video network address.
In the step, the simplified video network address is the video network address input by the local video network terminal by the user, and the simplified video network address corresponds to the target video network terminal which the user needs to access.
In the step, after a user inputs the simplified video networking address at a browser or a web end, a dns request data packet is generated, the data packet contains the simplified video networking address, and the local video networking terminal captures the dns request data packet, so as to acquire the simplified video networking address in the data packet.
Step 502, when the simplified video network address contains a preset symbol, the local video network terminal extracts the local video network address.
In this step, the local video network address extracted by the local video network terminal is the video network address of the local video network terminal. Since the internet-of-view address is a string of decimal digits of a fixed number, for example, in a 64-digit internet-of-view, the internet-of-view address is represented by 20 decimal digits, and if the target internet-of-view terminal is on the same ethernet as the local internet-of-view, the internet-of-view address of the target internet-of-view terminal is also a string of decimal digits of a fixed number. The local network-of-sight address can be divided into a prefix portion and a subsequent portion, wherein the prefix portion is any portion which is identical to any network-of-sight address in the same ethernet with the local network-of-sight terminal, and the subsequent portion is the portion of the local network-of-sight address which is left after the prefix portion is removed. When a target video network terminal in the same Ethernet with the local video network terminal needs to be accessed, the prefix part can be replaced by the preset symbol, so that a user only needs to input the preset symbol and data which can represent the subsequent part of the video network address of the target video network terminal, when the local video network terminal detects the preset symbol, the simplified video network address input by the user can be judged to be the video network address used for accessing the target video network terminal in the same Ethernet with the local video network terminal, and reduction processing is needed, so that the subsequent step can be triggered. Because the user only needs to input the preset symbol and the data representing the subsequent part of the target video networking terminal video networking address, the digital input quantity and the memory quantity of the user can be greatly reduced, and convenience is brought to the user.
Optionally, the preset sign bit is underlined _. For example, the local view network address is 00010002100260500000, and the addresses in the same ethernet network start with 0001000210, this 0001000210 is a prefix portion, which can be replaced with a preset symbol underlined _ and the target view network address can be simplified to _ 0260500000 as a simplified view network address, which the user can input.
And 503, the local video network terminal restores the simplified video network address to a target video network address according to the local video network address.
In the step, the local video network address sequentially comprises the Ethernet numbers of each level from the root node video network to the local Ethernet from head to back, so that the prefix part can be obtained according to the local video network address, and the prefix part can be added to the front end of the digital section of the simplified video network address, so that the simplified video network address is restored to the target video network address with the same prefix part as the local video network address. In addition, if the local ethernet network is also the next level ethernet network, the end of the local video network address also includes at least 1 set of all-zero ethernet numbers.
And step 504, the local video network terminal accesses the target video network terminal by adopting the target video network address.
In the step, network access is carried out through the restored target video network address, and communication of the target video network terminal corresponding to the target video network address can be achieved.
In practical application, the local video network terminal generates an access application instruction according to the target video network address obtained by reduction, and sends the access application instruction to the video network server so as to request the video network server to control access to the target video network terminal.
The method for accessing the video network terminal provided by the embodiment of the invention is applied to the video network, utilizes the characteristic that the video network addresses of the video network terminals in the same Ethernet in the video network have a common prefix part, when the local video network terminal acquires the simplified video network address containing the preset coincidence, the simplified video network address is restored to the target video network address through the local video network address of the local video network terminal, then the target video network terminal is accessed by adopting the target video network address, thereby realizing the access to the target video network terminal which is in the same Ethernet with the local video network terminal, in the process, the user only needs to input the simplified video network address containing the preset coincidence at the local video network terminal, and the user does not need to input a long string of numbers in the local video network terminal, thereby providing convenience for the user.
Optionally, after step 502, further comprising: and when the simplified video network address does not contain a preset symbol, the local video network terminal takes the simplified video network address as a target video network address.
In this step, if the simplified video networking address does not include a preset symbol, it indicates that the simplified video networking address does not need to be restored, and thus the local video networking terminal takes the simplified video networking address as a target video networking address.
In view of the fact that the video network is a tree structure formed by a plurality of ethernet networks, for the tree structure formed by a plurality of subnets, the video network address of the existing video network is designed to be a multilayer structure, and each layer of structure represents the number of the corresponding ethernet network by a fixed number field of a first preset threshold digit, namely each layer represents one level. For example, the address 64 for the internet of view is a 4-layer structure, i.e. 4 sets of 5-bit numbers, each set of five-bit numbers corresponds to an ethernet number, and there are 20 numbers in total. The 20-digit numbers are divided into 4 groups and are marked as A-B-C-D. The root node of the ethernet tree structure is ethernet a corresponding to a, the child node of a is ethernet B corresponding to B, the child node of B is ethernet C corresponding to C, and the child node of C is ethernet D corresponding to D. If a group of numbers are all zero, the video network address is finished in the Ethernet, and the next-level access is not needed, so the all-zero layers can be simplified, and the video network address input quantity of the target video network terminal when the user accesses the local video network terminal in the same Ethernet is further reduced.
The video network address of the target video network terminal can be divided into a prefix part and a distinguishing part, the prefix part is also the prefix part of the local video network address, and the distinguishing part is the part of the video network address of the target video network terminal after the prefix part is removed. If the target video network terminal and the local video network terminal are in the same Ethernet, when the user inputs the simplified video network address, the Ethernet number of all zeros in the distinguishing part can be removed. In this step, because any one of the addresses of the internet of view has a root node, that is, has a corresponding upper-level ethernet number, the front-end ethernet number in the subsequent part cannot be all zero, so the all-zero ethernet number only appears at the end of the distinct part, and represents the number of the ethernet corresponding to the next-level ethernet or the child node of the next-level ethernet that does not access the current ethernet, and thus the number of the part of ethernet can be simplified and saved. And because the video network address has a predetermined level and each layer of Ethernet is a digital string with a first preset threshold digit, the Ethernet number of the tail end all zeros of the saved distinguishing part is re-zero-complemented to the first preset threshold digit to be restored into the following part.
For example, if the internet-of-view address of the target internet-of-view terminal is 00010002100260500000, and the address of the target internet-of-view terminal in the same ethernet all start with 0001000210, this 0001000210 is a prefix portion, and can be replaced with a preset symbol such as underline — and the internet-of-view address can be simplified to _ 0260500000, since the fourth group number field is all 0, which represents an address of the third layer, only the third group number is valid when accessing the target internet-of-view terminal, so that 0 of the fourth group can be further omitted, and the simplified internet-of-view address is obtained as _02605, and the user inputs the simplified internet-of-view address.
Likewise, considering that the view network address has predetermined levels, each level being a string of numbers having a first preset threshold number of bits, optionally, when the user inputs the reduced view network address, zeros preceding the first non-zero numbers of the discriminating portion are removed. When the video network address is subsequently restored, a plurality of zeros are added to the first digit of the simplified video network address until the number of the Ethernet number where the first non-zero digit of the simplified video network address is located reaches a first preset threshold value, and the Ethernet number can be restored to the distinguishing part, so that the input amount of a user accessing the same Ethernet can be further reduced.
For example, if the view network address of the target view network terminal is 00010002100260500000, and the address in the same ethernet network starts with 0001000210, this 0001000210 is a prefix portion, and can be replaced with a preset symbol such as underline _ and the target view network address can be simplified to _ 0260500000, because the fourth group is all 0, which represents an address of the third layer, only the third group of numbers is valid when accessing the target view network terminal, so that 0 of the fourth group can be further omitted to obtain _02605, 0 before the first non-zero number "2" in the group of addresses is omitted to obtain _2605, which is used as a simplified view network address, and the user inputs the simplified view network address.
Optionally, when the user inputs the reduced view networking address, the number segments between different levels are distinguished, for example, a blank space is distinguished, so that the next level of ethernet view networking address taking the child node of the same ethernet as the root node can be reduced.
Based on the simplified view networking address, in a preferred embodiment of the present invention, step 503 specifically includes steps 511 to 515.
And 511, the local video network terminal extracts the numbers in the simplified video network address, segments the numbers and generates a first video network address comprising at least one number segment.
In the step, because the user may input other data except the numbers and the preset symbols by hand when inputting the simplified video networking address, the user can extract the simplified video networking address without being influenced by other data as long as the user inputs the Ethernet number corresponding to the target video networking address included in the simplified video networking address.
The step 511 can include steps 521 ~ 523.
And step 521, traversing the numbers behind the preset symbols in the simplified video network address, and generating a number string.
The step is that the numbers behind the preset symbols in the simplified video network address are extracted from the head to the back, and a number string is formed.
Step 522, judge whether there is a space in the simplified video network address.
If the target video network terminal is in the same Ethernet with the local video network terminal address and in a network structure of a lower hierarchy, namely the video network address of the target video network terminal is the Ethernet led out by the Ethernet node where the local video network address is located. Thus, in this step 521, it is determined whether the simplified internet-of-view address entered by the user is at the same level as the local internet-of-view address or a lower level of the internet-of-view address by means of a space.
Step 523, if there is a blank space in the simplified video network address, correspondingly segmenting the extracted numeric string according to the position of the blank space.
In this step, if it is determined that there is a blank in the simplified video networking address, it is indicated that the video networking address of the target video networking terminal is a video networking address of a lower hierarchy than the local video networking address, and the corresponding end portion has a multi-hierarchy structure, and because each hierarchy structure in the video networking address has a digit number of a first preset threshold, the extracted digit string needs to be correspondingly segmented according to the position of the blank to correspond to the corresponding hierarchy structure, and then the digit number of each digit segment can be adjusted by the subsequent steps, so that each digit segment can reach the digit number of the first preset threshold.
Step 524, if there is no space in the simplified video network address, the extracted number string is used as a number segment.
In this step, if it is determined that there is no blank space in the simplified video network address, it indicates that the video network address in the target video network is not only in the same ethernet as the local video network address, but also in the same level as the local video network address, and therefore the extracted number string is directly used as 1 number field.
Step 525, generating a first video network address based on the number field.
This step takes the digital field from step 523 or step 524 as the first video network address.
And 512, verifying the first video network address by adopting a first preset threshold value, and converting the verified first video network address into a second video network address, wherein the second video network address is a video network address of which the digit number of each digit section reaches the first preset threshold value.
Each level in the video network address has an ethernet number with a first preset threshold number of digits. In the step, it is required to determine whether the number digit of each digit section in the first video network address reaches a first preset value, because each digit section in the first video network address corresponds to the ethernet number of the corresponding hierarchy, if the number digit of some digit sections does not reach a first preset threshold, it is indicated that a plurality of 0 s are arranged in front of the ethernet number of the corresponding hierarchy, and in order to convert the digit section into the ethernet number of the corresponding hierarchy, how much the difference between the number digit of the digit section and the first preset threshold is, how many 0 s are required to be added in front of the digit section, so that the number digit of the digit section reaches the first preset threshold, and the first video network address is converted into the second video network address; and if the digit number of each digit section in the first preset address reaches a first preset threshold value, directly recording the first video network address as a second video network address.
And 513, acquiring a prefix part in the local video network address, wherein the prefix part is the same as any video network address of the local video network terminal in the same ethernet.
Since the local networking address sequentially comprises the ethernet numbers of each level from the root node ethernet to the local ethernet from head to back, the prefix part in the local networking address can be obtained, and optionally, the step 513 comprises steps 531 to 533.
And 531, judging the video networking address hierarchy to which the local video networking address belongs.
In this step, if the local ethernet has a next-level ethernet, the next-level ethernet number in the local networking address is all zero, if the local ethernet has a next-level ethernet, the next-level ethernet number in the local networking address is also all zero, and if the local ethernet has a next-level ethernet, the situation is similar. Each Ethernet number is a first preset threshold value, so that the video networking address level of the local video networking address can be judged according to the number of the Ethernet number groups of which the local video networking address tail end is all zero, Q is the total number of the video networking address levels, the number of the video networking address tail ends which are continuously 0 is detected forwards, an integer obtained by dividing the number by the first preset threshold value is P, and the video networking address level to which the local video networking address belongs is Q-P.
For example, taking a 64-bit internet address with 20-bit digits as an example, the total number of the internet address hierarchy levels is 4, and the determination method is as follows: the number of consecutive 0's starting from the last digit of the 20 digit video network number is viewed. If the number is less than 5, the address is an address of a fourth layer; if the number is less than 10 and not less than 5, the address is an address of a third layer; if the number is less than 15 and not less than 10, the address is an address of the second layer; if the number is less than 20 and not less than 15, this is an address of the first layer.
Step 532, extracting the number segment of the local internet of view address located at the front side of the internet of view address hierarchy as the prefix part.
In this step, the local video network address level corresponds to a digital segment from [ (the video network address level-1) × the first preset threshold +1] bits to (the video network address level × the first preset threshold) bits.
And the number field of the local video network address positioned at the front side of the affiliated video network address level is the number field of the first bit to [ (affiliated video network address level-1) x first preset threshold ] bit in the local video network address as the prefix part.
Step 513, add the prefix portion to the second video network address to obtain a third video network address.
In this step, the prefix part shared by the same ethernet obtained in the foregoing step is added to the head end of the second video network address, so that the video network address of the same ethernet as the local video network terminal or the video network addresses of other ethernet introduced by the same ethernet as the local video network terminal can be obtained.
And 514, verifying the third video network address by adopting a second preset threshold, and converting the verified third video network address into a target video network address with the total number of digits reaching the second preset threshold.
In this step, the second predetermined threshold is the total number of digits of the view network address, for example, 64-bit view network address, and the second predetermined threshold is 20.
The method comprises the following steps: judging whether the total number of digits of the third video network address reaches a second preset threshold value or not; if the total number of digits in the third video network address is equal to a second preset threshold value, taking the third video network address as a target video network address; if the total digit number in the third video network address is greater than a second preset threshold value, ending the process and displaying the access failure; and if the total number of digits in the third video network address is smaller than a second preset threshold value, adding at least one 0 to the total number of digits equal to the second preset threshold value after the third video network address to obtain the target video network address.
In this step, if the total number of digits in the third video network address is greater than the second preset threshold, it indicates that the simplified video network address acquired by the local video network terminal and the local video network address do not belong to the same ethernet, and thus the process is ended and the access failure is displayed. If the total digit number in the third video network address is smaller than the second preset threshold, it indicates that the simplified video network address acquired by the local video network terminal removes the ethernet number of all zeros in the end portion of the video network address of the target video network terminal, and therefore at least 10 needs to be added after the third video network address until the total digit number is equal to the second preset threshold, obviously, because the ethernet number of all zeros in the subsequent portion is removed and is an integer multiple of the first preset threshold, the number of 0 added should also be an integer multiple of the first preset threshold.
Optionally, before step 512, further comprising: acquiring the number M of the address levels of the video networking to which the local address belongs, the number N of the number segments in the first video networking address and the total number Q of the address levels of the video networking; if M + N-1> Q, ending the process and displaying access failure; if M + N-1 is less than or equal to Q, go to step 512.
In the step, if M + N-1> Q, it is indicated that a target video networking address hierarchy corresponding to the simplified video networking address has exceeded a current video networking total hierarchy, and there is no corresponding target video networking terminal in the current video networking, if the step of determining whether the number digit number of the field in the first video networking address does not reach a first preset threshold is continuously entered, the finally obtained target video networking address number digit number total exceeds a second preset threshold, and obviously, there is no corresponding address, and the access is still failed, so that the flow can be directly ended and the access failure is displayed at M + N-1> Q, and the subsequent steps are omitted.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a block diagram of a system embodiment for accessing a video network terminal according to the present invention is shown, where the system is applied to a video network, the video network terminal includes a local video network terminal and a target video network terminal, and the local video network terminal may specifically include:
a simplified website acquisition module 601, configured to acquire a simplified internet of view address;
a local website acquisition module 602, configured to extract a local internet-of-view address of the local internet-of-view terminal when the simplified internet-of-view address includes a preset symbol;
a first target website module 603, configured to restore the simplified internet of view address to a target internet of view address according to the local internet of view address;
and an accessing module 604, configured to access the target internet-of-view terminal by using the target internet-of-view address.
In a preferred embodiment of the present invention, in the system, the local video network terminal further includes:
and the second target website module is used for taking the simplified video network address as a target video network address when the simplified video network address does not contain a preset symbol.
In a preferred embodiment of the present invention, in the system, the first target website module 603 includes:
the first website submodule is used for extracting the numbers in the simplified video network address and segmenting the extracted numbers to form a first video network address containing at least 1 number field;
the second website submodule is used for verifying the first video network address by adopting a first preset threshold value and converting the verified first video network address into a second video network address of which the number digit of each digit section reaches the first preset threshold value;
a prefix part obtaining submodule for obtaining the prefix part in the local video network address, wherein the prefix part is the same part of any video network address in the same Ethernet with the local video network terminal;
the third website submodule is used for adding the prefix part to the second video network address to obtain a third video network address;
and the verification conversion sub-module is used for verifying the third video network address by adopting a second preset threshold value and converting the verified third video network address into a target video network address with the total number of digits reaching the second preset threshold value.
Optionally, in the system, the first network sub-module includes:
the number string unit is used for traversing the numbers behind the preset symbols in the simplified video networking address and generating a number string;
the first judgment unit is used for judging whether a space exists in the simplified video network address or not;
the segmentation unit is used for correspondingly segmenting the extracted numeric string according to the position of the blank if the simplified video network address has the blank; if the simplified video network address has no blank space, the extracted number string is used as a number field;
and the first network address unit is used for generating a first video network address based on the digital field.
Optionally, in the system, the local video network terminal further includes:
the judging and triggering module is used for acquiring the level number M of the video networking address layer to which the local address belongs, the number N of the digital segments in the first video networking address and the total number Q of the video networking address layer before the second website submodule; if M + N-1> Q, ending the process and displaying access failure; and if the M + N-1 is less than or equal to Q, triggering a second website submodule.
Optionally, in the system, the second website sub-module includes:
the second judgment unit is used for judging whether the digit number of each digit section in the first video network address reaches a first preset threshold value or not;
the zero padding unit is used for increasing at least 10 before the corresponding digital section if the digital digit of the digital section in the first video network address does not reach a first preset threshold value, so that the digital digit of the corresponding digital section reaches the first preset threshold value;
and the second website unit is used for obtaining a second video networking address based on each digital section of which the digital digits all reach the first preset threshold value.
Optionally, in the system, the prefix portion obtaining sub-module includes:
the local website acquisition unit is used for acquiring a local video network address;
the third judging unit is used for judging the video networking address hierarchy to which the local video networking address belongs;
and the number segment extracting unit is used for extracting the number segment positioned before the number segment corresponding to the local video network address level in the local video network address.
Optionally, in the system, the preset symbol is an underline.
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.
Preferably, an embodiment of the present invention further provides an apparatus, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above method for accessing a video network terminal, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above method for accessing a video network terminal, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the apparatus for accessing the same ethernet provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (18)

1. A method for accessing a video network terminal is applied to a video network, the video network terminal comprises a local video network terminal and a target video network terminal, and the method comprises the following steps:
the local video network terminal acquires a simplified video network address;
when the simplified video network address contains a preset symbol, the local video network terminal extracts the local video network address;
the local video network terminal restores the simplified video network address into a target video network address according to the local video network address;
and the local video network terminal accesses the target video network terminal by adopting the target video network address.
2. The method of claim 1, further comprising:
and when the simplified video network address does not contain a preset symbol, the local video network terminal takes the simplified video network address as a target video network address.
3. The method of claim 1, wherein the local internet of view terminal restoring the reduced internet of view address to a target internet of view address according to the local internet of view address comprises:
the local video network terminal extracts the numbers in the simplified video network address, segments the numbers and generates a first video network address comprising at least one number segment;
verifying the first video network address by adopting a first preset threshold, and converting the verified first video network address into a second video network address, wherein the second video network address is a video network address of which the number digit of each digit section reaches the first preset threshold;
acquiring a prefix part in the local video network address, wherein the prefix part is the same part of any video network address which is in the same Ethernet with the local video network terminal;
adding the prefix part to a second video networking address to obtain a third video networking address;
and verifying the third video network address by adopting a second preset threshold value, and converting the verified third video network address into a target video network address with the total number of digits reaching the second preset threshold value.
4. The method of claim 3, wherein the local internet of view terminal extracting a number from the reduced internet of view address and segmenting the number to generate a first internet of view address comprising at least one number segment, comprising:
traversing numbers behind the preset symbols in the simplified video networking address and generating a number string;
judging whether a space exists in the simplified video network address;
if the simplified video network address has a blank, correspondingly segmenting the extracted numeric string according to the position of the blank;
if the simplified video network address has no blank space, the extracted number string is used as a number field;
a first video network address is generated based on the number field.
5. The method according to claim 4, wherein the verifying the first internet-of-view address with the first preset threshold before converting the verified first internet-of-view address into the second internet-of-view address further comprises:
acquiring the number M of the address levels of the video networking to which the local address belongs, the number N of the number segments in the first video networking address and the total number Q of the address levels of the video networking;
if M + N-1> Q, ending the process and displaying access failure;
and if M + N-1 is not more than Q, the step of verifying the first video network address by adopting a first preset threshold and converting the first video network address passing the verification into a second video network address is carried out.
6. The method according to claim 4, wherein the verifying the first internet-of-view address with a first preset threshold and converting the verified first internet-of-view address into a second internet-of-view address comprises:
judging whether the digit number of each digit section in the first video network address reaches a first preset threshold value or not;
if the digit number of the field in the first video network address does not reach a first preset threshold value, adding at least 10 in front of the corresponding digit section to enable the digit number of the corresponding digit section to reach the first preset threshold value;
and obtaining a second video network address based on each digital section of which the digital digits all reach a first preset threshold value.
7. The method of claim 4, wherein obtaining the prefix portion of the local internet of view address comprises:
judging the video networking address hierarchy in the Ethernet to which the local video networking address belongs;
and extracting a numerical field positioned at the front side of the video network address hierarchy in the local video network address as the prefix part.
8. The method according to any one of claims 1 to 7, wherein the predetermined symbol is an underline.
9. The system for accessing the video network terminal is characterized in that the system is applied to the video network, the video network terminal comprises a local video network terminal and a target video network terminal, and the local video network terminal comprises:
the simplified website acquisition module is used for acquiring a simplified video network address;
the local website acquisition module is used for extracting a local video network address of the local video network terminal when the simplified video network address contains a preset symbol;
the first target website module is used for restoring the simplified video networking address into a target video networking address according to the local video networking address;
and the access module is used for accessing the target video network terminal by adopting the target video network address.
10. The system of claim 9, wherein the local video networking terminal further comprises:
and the second target website module is used for taking the simplified video network address as a target video network address when the simplified video network address does not contain a preset symbol.
11. The system of claim 9, wherein the first target website module comprises:
the first website submodule is used for extracting the numbers in the simplified video network address and segmenting the extracted numbers to form a first video network address containing at least 1 number field;
the second website submodule is used for verifying the first video network address by adopting a first preset threshold value and converting the verified first video network address into a second video network address of which the number digit of each digit section reaches the first preset threshold value;
a prefix part obtaining submodule for obtaining the prefix part in the local video network address, wherein the prefix part is the same part of any video network address in the same Ethernet with the local video network terminal;
the third website submodule is used for adding the prefix part to the second video network address to obtain a third video network address;
and the verification conversion sub-module is used for verifying the third video network address by adopting a second preset threshold value and converting the verified third video network address into a target video network address with the total number of digits reaching the second preset threshold value.
12. The system of claim 11, wherein the first web site sub-module comprises:
the number string unit is used for traversing the numbers behind the preset symbols in the simplified video networking address and generating a number string;
the first judgment unit is used for judging whether a space exists in the simplified video network address or not;
the segmentation unit is used for correspondingly segmenting the extracted numeric string according to the position of the blank if the simplified video network address has the blank; if the simplified video network address has no blank space, the extracted number string is used as a number field;
and the first network address unit is used for generating a first video network address based on the digital field.
13. The system of claim 12, further comprising:
the judging and triggering module is used for acquiring the level number M of the video networking address layer to which the local address belongs, the number N of the digital segments in the first video networking address and the total number Q of the video networking address layer before the second website submodule; if M + N-1> Q, ending the process and displaying access failure; and if the M + N-1 is less than or equal to Q, triggering a second website submodule.
14. The system of claim 12, wherein the second website sub-module comprises:
the second judgment unit is used for judging whether the digit number of each digit section in the first video network address reaches a first preset threshold value or not;
the zero padding unit is used for increasing at least 10 before the corresponding digital section if the digital digit of the digital section in the first video network address does not reach a first preset threshold value, so that the digital digit of the corresponding digital section reaches the first preset threshold value;
and the second website unit is used for obtaining a second video networking address based on each digital section of which the digital digits all reach the first preset threshold value.
15. The system of claim 12, wherein the prefix portion acquisition sub-module comprises:
the local website acquisition unit is used for acquiring a local video network address;
the third judging unit is used for judging the video networking address hierarchy to which the local video networking address belongs;
and the number segment extracting unit is used for extracting the number segment positioned before the number segment corresponding to the local video network address level in the local video network address.
16. The system according to any one of claims 9 to 15, wherein the predetermined symbol is an underline.
17. An apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps in the method of accessing a terminal of a video network according to any of claims 1 to 8.
18. A storage medium, characterized in that it has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of accessing a terminal of a video network according to any one of claims 1 to 8.
CN201910819076.XA 2019-08-30 2019-08-30 Method, system, equipment and storage medium for accessing video network terminal Active CN110677507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910819076.XA CN110677507B (en) 2019-08-30 2019-08-30 Method, system, equipment and storage medium for accessing video network terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910819076.XA CN110677507B (en) 2019-08-30 2019-08-30 Method, system, equipment and storage medium for accessing video network terminal

Publications (2)

Publication Number Publication Date
CN110677507A true CN110677507A (en) 2020-01-10
CN110677507B CN110677507B (en) 2022-03-11

Family

ID=69076104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910819076.XA Active CN110677507B (en) 2019-08-30 2019-08-30 Method, system, equipment and storage medium for accessing video network terminal

Country Status (1)

Country Link
CN (1) CN110677507B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484154A (en) * 1997-10-28 2004-03-24 ���������˼�빫˾ Method and system for accessing information on a network
US20090248695A1 (en) * 2008-03-31 2009-10-01 Microsoft Corporation Online and offline applications
CN102025658A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Method and system for realizing intercommunication between identity network and internet
CN108093095A (en) * 2017-12-13 2018-05-29 清华大学 Address character string with short name word is converted to the method and device of IPv6 addresses
CN108632236A (en) * 2017-09-08 2018-10-09 北京视联动力国际信息技术有限公司 A kind of data processing method and device regarding networking
CN109302455A (en) * 2018-09-06 2019-02-01 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking
CN109918586A (en) * 2019-01-21 2019-06-21 广东万丈金数信息技术股份有限公司 Short link jump method, device, short linked server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484154A (en) * 1997-10-28 2004-03-24 ���������˼�빫˾ Method and system for accessing information on a network
US20090248695A1 (en) * 2008-03-31 2009-10-01 Microsoft Corporation Online and offline applications
CN102025658A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Method and system for realizing intercommunication between identity network and internet
CN108632236A (en) * 2017-09-08 2018-10-09 北京视联动力国际信息技术有限公司 A kind of data processing method and device regarding networking
CN108093095A (en) * 2017-12-13 2018-05-29 清华大学 Address character string with short name word is converted to the method and device of IPv6 addresses
CN109302455A (en) * 2018-09-06 2019-02-01 视联动力信息技术股份有限公司 A kind of data processing method and device of view networking
CN109918586A (en) * 2019-01-21 2019-06-21 广东万丈金数信息技术股份有限公司 Short link jump method, device, short linked server and storage medium

Also Published As

Publication number Publication date
CN110677507B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN108880926B (en) Server monitoring method and device
CN108965224B (en) Video-on-demand method and device
CN110602266B (en) Domain name resolution method and system
CN109309806B (en) Video conference management method and system
CN109617956B (en) Data processing method and device
CN110022295B (en) Data transmission method and video networking system
CN109788247B (en) Method and device for identifying monitoring instruction
CN108965226B (en) Data acquisition method and device based on video network
CN110719258B (en) Server access method and system
CN110809026B (en) File processing method and device, electronic equipment and storage medium
CN109768957B (en) Method and system for processing monitoring data
CN109743555B (en) Information processing method and system based on video network
CN109768986B (en) Method and device for responding to video network service request signaling
CN109743284B (en) Video processing method and system based on video network
CN109803119B (en) Method and device for monitoring information transmission
CN110493149B (en) Message processing method and device
CN110022500B (en) Packet loss processing method and device
CN109963107B (en) Audio and video data display method and system
CN110012063B (en) Data packet processing method and system
CN110418169B (en) Monitoring data carousel method and device
CN110677315A (en) Method and system for monitoring state
CN108965219B (en) Data processing method and device based on video network
CN110557411A (en) video stream processing method and device based on video network
CN110557658A (en) Monitoring system and method
CN110677507B (en) Method, system, equipment and storage medium for accessing video network terminal

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