Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Fig. 1 is a flowchart of a method for loading a video networking module according to an embodiment of the present invention, where the method is applied to a video networking terminal, where the video networking terminal stores a plurality of video networking function modules, each of the video networking function modules has a corresponding module loading interface, and each of the module loading interfaces has a first interface characteristic, where the method specifically includes the following steps:
step 110, when receiving a module loading request, acquiring a module loading interface of at least one video networking function module as a target module loading interface.
First, it should be noted that the loading method of the video networking module provided in the embodiment of the present invention may be applied to a video networking terminal. The video networking terminal can be preset with a plurality of video networking functional modules, such as a communication module, a display module, a data interaction module and the like.
Each video networking function module may have a number of different interfaces, such as a module load interface, a page load interface, a module release interface, and the like. The functions of different interfaces are different, wherein the video networking terminal can load the video networking function module through the calling module loading interface.
In addition, the interface of the video networking function module may have an interface feature, and the interface feature may be used to identify whether the interface is implemented. For the sake of illustration, the interface feature of the module loading interface is named first interface feature.
It should be noted that, when all the interfaces of the video networking functional module are implemented, the related functions of the video networking functional module can be loaded and operated normally, and if there are interfaces that are not implemented, the video networking functional module cannot be loaded or is operated abnormally after being loaded.
In the module loading process in the prior art, the main program of the video networking terminal loads all the video networking functional modules in the specified directory without identifying whether all the interfaces of the video networking functional modules are realized, so that the video networking functional modules cannot be loaded or are abnormally operated after being loaded, and research and development personnel need to spend a great deal of time and energy to perform module investigation and test.
In the module loading method provided by the embodiment of the invention, whether the interface of the video networking function module is realized or not can be identified according to the interface characteristics of the interface of the video networking function module, so that the loading is carried out aiming at the realization state of the interface of the video networking function module.
In a specific implementation, when the video networking terminal is started, the video networking main program can initiate a module loading request. When a module loading request is received, each video network function module can be traversed under a specified directory, and a module loading interface of one or more video network function modules is obtained and used as a target module loading interface.
Step 120, when the first interface feature of the target module loading interface matches with a preset first standard interface feature, calling the target module loading interface to load the at least one video networking function module.
In specific implementation, when a developer develops a certain video networking function module, a socket of the module can be disclosed. For example, the interface characteristics of an implemented interface may be preset. For the sake of differentiation of the description, the interface features of the module loading interface that have already been implemented are named first standard interface features.
After the target module load interface is obtained, a first interface characteristic of the target module load interface may be compared with a first standard interface characteristic to identify whether the target module load interface is implemented.
If the two are matched, the target module loading interface is realized, so that the corresponding video networking function module can be loaded through the target module loading interface. If the two are not matched, the target module loading interface is not realized, possibly in a research and development stage and is not perfected, so that the target module loading interface is not required to be loaded.
Correspondingly, on the interface of the main program of the video network terminal, the identification of the loaded video network function module can be displayed, and the identification of the unloaded video network function module is not displayed. Therefore, for the unloaded video networking functional module, research and development personnel can determine that the video networking functional module is a video networking functional module which does not realize an interface, and do not need to pay attention to the part of video networking functional modules, so that the research and development personnel are prevented from spending a large amount of time and energy to investigate and test the abnormal functional module, and the research and development cost is saved.
According to the embodiment of the invention, when the video networking function module is loaded, the interface characteristic of the module loading interface is matched with the preset standard interface characteristic, and the module loading interface is called to load the video networking function module to the main program when the video networking function module is matched, so that the dynamic loading of the video networking function module is realized, the research and development personnel are prevented from spending a large amount of time and energy to carry out investigation and test on the abnormal function module, and the research and development cost is saved.
Example two
Fig. 2 is a flowchart of a method for loading a video networking module according to a second embodiment of the present invention, where the method is applied to a video networking terminal, where the video networking terminal stores a plurality of video networking function modules, each of the video networking function modules has a corresponding module loading interface, and each of the module loading interfaces has a first interface characteristic, where the method specifically includes the following steps:
step 210, when a module loading request is received, acquiring a module loading interface of at least one video networking function module as a target module loading interface.
Step 220, when the first interface feature of the target module loading interface matches with a preset first standard interface feature, calling the target module loading interface to load the at least one video networking function module.
In a specific implementation, when the video networking terminal is started, the video networking main program can initiate a module loading request. When a module loading request is received, each video network function module can be traversed under a specified directory, and a module loading interface of one or more video network function modules is obtained and used as a target module loading interface. After the target module load interface is obtained, a first interface characteristic of the target module load interface may be compared with a first standard interface characteristic to identify whether the target module load interface is implemented. And when the module loading interface is realized, loading the video networking function module corresponding to the target module loading interface. Since the loading process has been described in detail in the above embodiments, it is not described herein again.
Optionally, the method may further include:
and extracting a module identifier corresponding to the at least one video networking function module as a target module identifier.
And displaying the target module identification.
In concrete implementation, after the video networking function module is loaded to the main program, the module identifier corresponding to the loaded video networking function module can be obtained and displayed on the main interface of the main program, and research personnel can know the video networking function module which currently realizes the module loading interface without paying attention to the video networking function module which does not realize the interface.
Step 230, when a page loading request is received, acquiring a page loading interface of the at least one video networking function module as a target page loading interface; the video network terminal is provided with a plurality of module operation pages respectively corresponding to the video network functional modules, the video network functional modules are provided with corresponding page loading interfaces, and the page loading interfaces are provided with second interface characteristics.
In specific implementation, the video networking terminal can be preset with a module operation page for each video networking functional module, and is used for operating each sub-module and module data in the video networking functional module. Correspondingly, the video network function module is provided with a corresponding page loading interface for loading the module operation page.
Accordingly, only after the page loading interface is realized, the loading of the module operation page and the operation of each sub-module and module data in the video networking functional module can be realized.
In addition, the page loading interface has an interface feature, and for the purpose of distinguishing the description, the interface feature of the page loading interface is named as a second interface feature.
In an application scenario of research and development, research and development personnel can click a certain module identifier aiming at a plurality of module identifiers displayed on a main interface of a main program so as to initiate a page loading request aiming at a certain video networking function module and enter the inside of the module for operation.
When a page loading request is received, a page loading interface of the video networking function module can be obtained and used as a target page loading interface.
Step 240, when the second interface feature of the target page loading interface matches with a preset second standard interface feature, acquiring a target module operation page corresponding to the at least one video networking function module, and calling the target page loading interface to load the target module operation page.
In a specific implementation, after the target page loading interface is obtained, a second interface feature of the target page loading interface may be compared with a preset second standard interface feature to identify whether the target page loading interface is implemented.
If the two are matched, the target page loading interface is realized, so that a target module operation page corresponding to the video networking functional module can be obtained, the target page loading interface is called, the target module operation page is loaded, and the module operation page is popped up to a user for the user to enter the video networking functional module for operation. If the two are not matched, the target page loading interface is not realized, so that the target module operation page does not need to be loaded.
After the user initiates the page loading request, if the module operation page is not popped up, the user can know that the page loading interface of the video networking function module is not realized, and does not need to spend time and energy to carry out investigation and test, thereby further saving the research and development cost.
Optionally, the video networking function module includes a plurality of module data, and after the step of calling the target page loading interface to load the target module operation page, the method further includes:
and adding the module data of the at least one video network function module in the target module operation page.
In specific implementation, each video network function module can contain a large amount of module data, and after a module operation page is loaded, the module data of the video network function module can be added to the module operation page so that a user can operate the module data.
Step 250, when a module release request is received, acquiring a module release interface of the at least one video network function module as a target module release interface; the video network function module is provided with a corresponding module release interface, and the module release interface is provided with a third interface characteristic.
In a specific implementation, the video networking function module may further have a module release interface for releasing the loaded video networking function module. The module release interface has an interface feature, and for the sake of illustration, the interface feature that the module release interface has is named a third interface feature.
In a developed application scenario, a developer may click an exit button for a certain video networking function module to initiate a module release request.
When a module release request is received, a module release interface of the video networking function module can be acquired as a target module release interface.
Step 260, when the third interface feature of the target module release interface is matched with a preset third standard interface feature, the target module release interface is called to release the at least one video networking function module.
In a specific implementation, after the target module release interface is obtained, a third interface characteristic of the target module release interface may be compared with a preset third standard interface characteristic to identify whether the target module release interface is implemented.
If the two are matched, the target module release interface is realized, so that the target module release interface can release the video network function module, quit the current module operation page and return to the main interface of the main program. If the two are not matched, the target module release interface is not realized, a prompt can be generated correspondingly, and the program is ended.
EXAMPLE III
Fig. 3 is a block diagram of a video networking terminal according to a third embodiment of the present invention, where the video networking terminal stores a plurality of video networking function modules, each of the video networking function modules has a corresponding module loading interface, and each of the module loading interfaces has a first interface feature, and the video networking terminal 300 may specifically include the following modules:
a module loading interface obtaining module 310, configured to obtain a module loading interface of at least one video networking function module as a target module loading interface when a module loading request is received;
a video networking function module loading module 320, configured to, when the first interface feature of the target module loading interface matches a preset first standard interface feature, call the target module loading interface to load the at least one video networking function module.
According to the embodiment of the invention, when the video networking function module is loaded, the interface characteristic of the module loading interface is matched with the preset standard interface characteristic, and the module loading interface is called to load the video networking function module to the main program when the video networking function module is matched, so that the dynamic loading of the video networking function module is realized, the research and development personnel are prevented from spending a large amount of time and energy to carry out investigation and test on the abnormal function module, and the research and development cost is saved.
Example four
Fig. 4 is a block diagram of a video networking terminal according to a fourth embodiment of the present invention, where the video networking terminal stores a plurality of video networking function modules, each of the video networking function modules has a corresponding module loading interface, and each of the module loading interfaces has a first interface characteristic, and the video networking terminal 400 may specifically include the following modules:
a module loading interface obtaining module 410, configured to obtain a module loading interface of at least one video networking function module as a target module loading interface when a module loading request is received;
a video networking function module loading module 420, configured to, when a first interface feature of the target module loading interface matches a preset first standard interface feature, call the target module loading interface to load the at least one video networking function module;
a page loading interface obtaining module 430, configured to obtain a page loading interface of the at least one video networking function module as a target page loading interface when a page loading request is received; the video networking terminal stores a plurality of module operation pages respectively corresponding to the plurality of video networking functional modules, the video networking functional modules are provided with corresponding page loading interfaces, and the page loading interfaces are provided with second interface characteristics;
a module operation page loading module 440, configured to, when a second interface feature of the target page loading interface matches a preset second standard interface feature, obtain a target module operation page corresponding to the at least one video networking function module, and call the target page loading interface to load the target module operation page;
a module release interface obtaining module 450, configured to obtain a module release interface of the at least one video network function module as a target module release interface when a module release request is received; the video network function module is provided with a corresponding module release interface, and the module release interface is provided with a third interface characteristic;
a video networking function module releasing module 460, configured to call the target module releasing interface to release the at least one video networking function module if the third interface feature of the target module releasing interface matches with a preset third standard interface feature.
Optionally, the video networking function module includes a plurality of module data, and the video networking terminal 400 may further include the following modules:
and the module data adding module is used for adding the module data of the at least one video networking function module in the target module operation page.
Optionally, the video networking function module has a corresponding module identifier, and the video networking terminal 400 may further include the following modules:
the module identification extracting module is used for extracting a module identification corresponding to the at least one video networking function module to be used as a target module identification;
and the module identifier display module is used for displaying the target module identifier.
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.
To facilitate understanding of embodiments of the present invention by those skilled in the art, the following description will be made with reference to the specific example of fig. 5.
Fig. 5 is a schematic diagram of a video networking call module loading flow according to an embodiment of the present invention. As can be seen from the figure, the video networking terminal starts the main program and triggers the loading of the call module. In the loading process, judging whether a module loading interface of the call module is realized, if so, loading the call module to a main program through the module loading interface, and displaying an icon of the call module on the main interface of the main program; if not, the flow is ended. When a user clicks an icon of the call module and requests to enter a module operation page, judging whether a page loading interface of the call module is realized, if so, loading a home page of the call module through the page loading interface, and jumping from a main interface to the home page of the call module; if not, the flow is ended. When a user requests to quit the home page of the call module, judging whether a module release interface of the call module is realized, if so, releasing the call module through the module release interface, and quitting the home page of the call module to return to the main interface of the main program; if not, the flow is ended.
It should be added that the above embodiments of the present invention can be applied to a communication network of a video network. 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. 6, 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. 7, the system mainly includes a network interface module 701, a switching engine module 702, a CPU module 703, and a disk array module 704;
the network interface module 701, the CPU module 703 and the disk array module 704 enter the switching engine module 702; the switching engine module 702 performs an operation of looking up the address table 705 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a corresponding queue of the packet buffer 706 based on the packet's steering information; if the queue of the packet buffer 706 is nearly full, discard; the switching engine module 702 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 704 mainly implements control over the hard disk, including initialization, read-write, and other operations; the CPU module 703 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 705 (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 704.
The access switch:
as shown in fig. 8, the network interface module mainly includes a network interface module (a downlink network interface module 801, an uplink network interface module 802), a switching engine module 803, and a CPU module 804;
wherein, the packet (uplink data) coming from the downlink network interface module 801 enters the packet detection module 805; the packet detection module 805 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 803, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 802 enters the switching engine module 803; the incoming data packet from the CPU module 804 enters the switching engine module 803; the switching engine module 803 performs an operation of looking up the address table 806 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 803 is from the downstream network interface to the upstream network interface, the packet is stored in a queue of the corresponding packet buffer 807 in association with a stream-id; if the queue of the packet buffer 807 is nearly full, it is discarded; if the packet entering the switching engine module 803 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 807 according to the packet guiding information; if the queue of the packet buffer 807 is nearly full, it is discarded.
The switching engine module 803 polls all packet buffer queues, which in this embodiment of the 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 808 is configured by the CPU module 804, and generates tokens for packet buffer queues from all downlink network interfaces to uplink network interfaces at programmable intervals to control the rate of uplink forwarding.
The CPU module 804 is mainly responsible for protocol processing with the node server, configuration of the address table 806, and configuration of the code rate control module 808.
Ethernet protocol conversion gateway:
As shown in fig. 9, the system mainly includes a network interface module (a downlink network interface module 901 and an uplink network interface module 902), a switching engine module 903, a CPU module 904, a packet detection module 905, a rate control module 908, an address table 906, a packet buffer 907, a MAC adding module 909, and a MAC deleting module 910.
Wherein, the data packet coming from the downlink network interface module 901 enters the packet detection module 905; the packet detection module 905 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 deleting module 910 subtracts MAC DA, MAC SA, length or frame type (2byte), and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 901 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
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:
namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the video network, one of the core concepts of the embodiment of the present invention is proposed, namely, the correct table data format is determined by identifying the table field in the table data, and when the table data and the correct table data format match, the table data and the correct table data format are stored in the table database.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a server, terminal, or the like, according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.