CN109194660B - Network access method and device of mobile terminal - Google Patents
Network access method and device of mobile terminal Download PDFInfo
- Publication number
- CN109194660B CN109194660B CN201811064699.2A CN201811064699A CN109194660B CN 109194660 B CN109194660 B CN 109194660B CN 201811064699 A CN201811064699 A CN 201811064699A CN 109194660 B CN109194660 B CN 109194660B
- Authority
- CN
- China
- Prior art keywords
- data
- video
- internet
- network
- protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000006855 networking Effects 0.000 claims abstract description 268
- 238000006243 chemical reaction Methods 0.000 claims abstract description 70
- 239000012634 fragment Substances 0.000 claims description 6
- 239000002699 waste material Substances 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 9
- 230000006854 communication Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000003860 storage Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000015654 memory Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000011144 upstream manufacturing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a network access method and device of a mobile terminal, which are applied to a video network. The method comprises the following steps: the video network terminal receives first data sent by the mobile terminal, performs first protocol conversion on the first data, and sends the first data to the video network Modem through the video network; if the video networking Modem judges that the first data are Internet data, second protocol conversion is carried out on the first data, and then the first data are sent to Internet equipment corresponding to the first data through the Internet; the video networking Modem receives second data returned by the Internet equipment aiming at the first data, performs third protocol conversion on the second data and then sends the second data to the video networking terminal through the video networking; and if the video networking terminal judges that the second data is the internet data, the video networking terminal performs fourth protocol conversion on the second data and then sends the second data to the mobile terminal. The invention ensures that the mobile terminal can also access the Internet under the condition of not being connected with the Internet, meets the user requirements, and reduces the expense of network deployment and the waste of resources.
Description
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a network access method for a mobile terminal and a network access device for a mobile terminal.
Background
With the rapid development of network technologies, users increasingly perform various communications through networks. For example, a user may connect to the internet using a mobile terminal, and perform web searching, instant chatting, watching video, listening to music, etc. through the internet, thereby satisfying various needs of the user.
However, in the prior art, when using the above functions, the user needs to connect the mobile terminal to the internet first, and if the mobile terminal is not connected to the internet, the user cannot use the functions that need to be supported by the network. Therefore, when the mobile terminal is not connected to the internet, the prior art cannot meet the requirements of the user.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a network accessing method of a mobile terminal and a network accessing apparatus of a mobile terminal, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a network access method for a mobile terminal, where the method is applied to a video network, where the video network includes a video network terminal and a video network Modem, and the video network Modem is connected to two networks, namely the video network and the internet, and the method includes:
the video network terminal receives first data sent by the mobile terminal, performs first protocol conversion on the first data, and sends the first data to the video network Modem through the video network;
if the video networking Modem judges that the first data are internet data, performing second protocol conversion on the first data and then sending the first data to internet equipment corresponding to the first data through the internet;
the video networking Modem receives second data returned by the Internet equipment aiming at the first data, performs third protocol conversion on the second data and then sends the second data to the video networking terminal through the video networking;
and if the video networking terminal judges that the second data is internet data, performing fourth protocol conversion on the second data and then sending the second data to the mobile terminal.
Preferably, the step of receiving, by the video network terminal, the first data sent by the mobile terminal includes: the video networking terminal receives a first Internet protocol data packet which is sent by the mobile terminal and encapsulates the first data based on an Internet protocol; the step of sending the first data to the video networking Modem through the video networking after the first protocol conversion is performed on the first data includes: and the video networking terminal converts the first Internet protocol data packet into a first video networking protocol data packet based on a video networking protocol, encapsulates the first data into a first video networking protocol data packet based on the video networking protocol, and sends the first video networking protocol data packet to the video networking Modem through the video networking.
Preferably, the step of sending the first data after the second protocol conversion to the internet device corresponding to the first data through the internet includes: the video networking Modem converts the first video networking protocol data packet into a second Internet protocol data packet which encapsulates the first data based on an Internet protocol; and the video networking Modem transmits the second Internet protocol data packet to the Internet equipment corresponding to the first data through the Internet.
Preferably, the internet of view terminal includes a virtual terminal node, the first internet of view protocol packet includes first path information, the first path information includes a source address and a destination address, the source address includes a MAC address of the virtual terminal node, the destination address includes an IP address of the internet of view Modem, and the step of sending the first internet of view protocol packet to the internet of view Modem through the internet of view includes: and the video network terminal sends the first video network protocol data packet to the video network Modem through the video network according to the first path information through the virtual terminal node.
Preferably, the step of receiving, by the internet device, second data returned by the internet device for the first data includes: the video networking Modem receives a third Internet protocol data packet which is returned by the Internet equipment aiming at the first data and encapsulates the second data based on an Internet protocol; the step of sending the second data to the video network terminal through the video network after the third protocol conversion is performed on the second data comprises the following steps: and the video networking Modem converts the third Internet protocol data packet into a second video networking protocol data packet based on a video networking protocol, encapsulates the second data, and sends the second video networking protocol data packet to the video networking terminal through the video networking.
Preferably, the step of sending the second data after performing the fourth protocol conversion to the mobile terminal includes: the video networking terminal converts the second video networking protocol data packet into a fourth internet protocol data packet which encapsulates the second data based on an internet protocol; and the video networking terminal sends the fourth Internet protocol data packet to the mobile terminal.
Preferably, the video network terminal includes a virtual terminal node, the second video network protocol packet includes second path information, the second path information includes a source address and a destination address, the source address includes an IP address of the video network Modem, the destination address includes a MAC address of the virtual terminal node, and the step of sending the second video network protocol packet to the video network terminal through the video network includes: and the video networking Modem transmits the second video networking protocol data packet to the video networking terminal through the virtual terminal node through the video networking according to the second path information.
Preferably, before the step of the video network terminal receiving the first data sent by the mobile terminal, the method further includes: and the video network terminal opens a WIFI hotspot and establishes a WIFI sharing network with the mobile terminal.
Preferably, the step of receiving, by the video network terminal, the first data sent by the mobile terminal includes: the video networking terminal receives first data sent by the mobile terminal through the WIFI shared network; the step of sending the second data to the mobile terminal after the fourth protocol conversion includes: and after the fourth protocol conversion is carried out on the second data by the video networking terminal, the second data is sent to the mobile terminal through the WIFI shared network.
On the other hand, the embodiment of the invention also discloses a network access device of the mobile terminal, the device is applied to the video network, the video network comprises a video network terminal and a video network Modem, the video network Modem is connected with the video network and the Internet,
the video networking terminal includes:
the first conversion module is used for receiving first data sent by the mobile terminal, performing first protocol conversion on the first data and sending the first data to the video networking Modem through the video networking;
the video networking Modem comprises:
the second conversion module is used for performing second protocol conversion on the first data and then sending the first data to the internet equipment corresponding to the first data through the internet if the first data is judged to be the internet data;
the third conversion module is used for receiving second data returned by the internet equipment aiming at the first data, performing third protocol conversion on the second data and then sending the second data to the video network terminal through the video network;
the video networking terminal further comprises:
and the fourth conversion module is used for performing fourth protocol conversion on the second data and then sending the second data to the mobile terminal if the second data is judged to be the internet data.
In the embodiment of the invention, the video network comprises a video network terminal and a video network Modem, and the video network Modem is connected with two networks of the video network and the Internet. The video network terminal receives first data sent by the mobile terminal, performs first protocol conversion on the first data, and sends the first data to the video network Modem through the video network; if the video networking Modem judges that the first data are Internet data, second protocol conversion is carried out on the first data, and then the first data are sent to Internet equipment corresponding to the first data through the Internet; the video networking Modem receives second data returned by the Internet equipment aiming at the first data, performs third protocol conversion on the second data and then sends the second data to the video networking terminal through the video networking; and if the video networking terminal judges that the second data is the internet data, the video networking terminal performs fourth protocol conversion on the second data and then sends the second data to the mobile terminal. Therefore, in the embodiment of the invention, the mobile terminal can access the internet through the video networking terminal and the video networking Modem, and the video networking terminal and the video networking Modem establish connection through the video networking, so that the mobile terminal can be ensured to access the internet under the condition of not connecting the internet, thereby meeting the user requirements and reducing the expense of network deployment and the waste of resources.
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 schematic interaction diagram of a mobile terminal network access device according to a first embodiment of the present invention;
fig. 6 is a flowchart illustrating steps of a network access method of a mobile terminal according to a first embodiment of the present invention;
fig. 7 is a block diagram of a network access device of a mobile terminal according to a second embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
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.
The devices in the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment 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 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 (2 byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the video networking destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
The 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.
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 data packets, and is 64 bytes if various protocol packets are adopted, and is 32 + 1024 = 1056 bytes if a unicast data packet is adopted, and is of course not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
Packet definition for metropolitan area network
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 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, the network access scheme of the mobile terminal provided by the embodiment of the invention follows the protocol of the video network, and the mobile terminal can access the internet through the video network under the condition of not being connected with the internet.
Example one
The network access method of the mobile terminal of the embodiment of the invention can be applied to video networking. In the video network, a video network terminal and a video network Modem are included. Wherein, the mobile terminal can include: tablet computers, cell phones, notebook computers, and the like. The video network terminal is a video network service landing device, an actual participant or a server of the video network service, the video network terminal can be various conference set-top boxes, video telephone set-top boxes, operation teaching set-top boxes, streaming media gateways, storage gateways, media synthesizers and the like, the video network terminal is registered on the video network server to perform normal service, and the video network server can be the node server. The video networking Modem can access two networks of the video networking and the Internet through the video networking convergence gateway, and the video networking Modem has the capacity of converging the video networking and the Internet data protocol, so that the video networking terminal needs to be manufactured into an intelligent network terminal capable of providing the mobile terminal to access the Internet by means of the video networking Modem and the wireless network card.
Referring to fig. 5, a schematic diagram of device interaction for network access of a mobile terminal according to a first embodiment of the present invention is shown. As can be seen from fig. 5, the video networking Modem may be connected to two networks, namely, the internet and the video networking, the video networking Modem and the video networking terminal may perform bidirectional interaction based on the video networking, and the video networking terminal and the mobile terminal may perform bidirectional interaction based on a WIFI (WIreless-FIdelity) hotspot.
Referring to fig. 6, a flowchart illustrating a step of a network access method of a mobile terminal according to a first embodiment of the present invention is shown.
The network access method of the mobile terminal of the embodiment of the invention can comprise the following steps:
In the embodiment of the invention, as the mobile terminal can not access the internet, the mobile terminal can be set to access the internet through the video networking terminal and the video networking Modem.
The mobile terminal and the video network terminal can be connected through the WIFI hotspot. Therefore, the video network terminal can firstly open the WIFI hotspot of the video network terminal, and the mobile terminal can be connected with the WIFI hotspot on the video network terminal, so that a WIFI sharing network is established between the video network terminal and the mobile terminal.
When the mobile terminal has the requirement of accessing the internet, the corresponding first data can be sent to the video network terminal. For example, if the mobile terminal wants to perform a web page search, the first data may be web page information (including a web page address, etc.); if the mobile terminal wants to conduct instant chatting, the first data may be chatting information (including chatting contents, chatting objects, etc.). Specifically, the mobile terminal can send the first data to the video network terminal through the WIFI shared network. The first data may be specifically sent according to a Socket communication mode. Two programs on the network exchange data via a bidirectional communication link, one end of which is called a Socket. At least one pair of port numbers (sockets) is required to establish the network communication connection. Socket is essentially A Programming Interface (API), and encapsulates TCP/IP, which also provides an interface for programmers to use for network development, namely Socket programming interface. Sockets provide the capability for network communications. Socket, also commonly referred to as "Socket," is used to describe IP addresses and ports, and is a handle of a communication chain that can be used to implement communication between different virtual machines or different computers.
It should be noted that, in the embodiment of the present invention, the WIFI hotspot provided by the video network terminal may be a WIFI hotspot based on the video network, and therefore, a WIFI shared network based on the video network is established between the mobile terminal and the first video network terminal.
In specific implementation, the mobile terminal may encapsulate the first data into a first internet protocol data packet based on an internet protocol, and send the first internet protocol data packet to the video networking terminal through the WIFI shared network. The Internet Protocol may be TCP (Transmission Control Protocol), IP (Internet Protocol), UDP (User Datagram Protocol), ICMP (Internet Control Message Protocol), and the like.
In the embodiment of the invention, the video network terminal registers the MAC address of the virtual terminal node on the video network server, which is equivalent to that one video network terminal comprises a virtual terminal node and an entity video network terminal, the message types of the virtual terminal node and the server are loaded into a Linux kernel of the video network terminal through a netlink, and the virtual terminal node is responsible for interacting video network data with an internet data message with the video network Modem. Therefore, the process executed by the video networking terminal in the embodiment of the present invention may be specifically understood as a process executed by a virtual terminal node in a Linux kernel of the video networking terminal. The video network terminal can comprise a wlan interface and an eth interface, and a virtual terminal node of the video network terminal can interact with the mobile terminal through the wlan interface and interact with the video network Modem through the eth interface.
The mobile terminal sends the first data to the video network terminal (specifically to a virtual terminal node of the video network terminal), and the video network terminal sends the first data to the video network Modem after receiving the first data.
Because the video network terminal and the video network Modem are communicated through the video network, the video network terminal performs first protocol conversion on the first data and then sends the first data to the video network Modem through the video network. In a specific implementation, the video networking terminal converts the first internet protocol data packet into a first video networking protocol data packet encapsulating the first data based on the video networking protocol. Specifically, the video networking terminal decapsulates the first internet protocol data packet to obtain first data therein, and encapsulates the first data into a first video networking protocol data packet based on a video networking protocol. And after the video networking terminal packages the first video networking protocol data packet, the first video networking protocol data packet is sent to the video networking Modem through the video networking. Wherein, the video networking protocol can be a video networking V2V protocol.
In a preferred embodiment, the first video network protocol data packet may include first path information indicating a transmission path of the first video network protocol data packet in the video network. The first path information may comprise a source address and a destination address, wherein the source address may comprise a MAC address of the virtual end node and the destination address may comprise an IP address of the video networking Modem. Therefore, the video network terminal can send the first video network protocol data packet to the video network Modem through the video network according to the first path information through the virtual terminal node.
When a mobile terminal is connected with a video networking terminal WIFI hotspot, a transmitted first internet protocol data packet enters a virtual terminal node of the video networking terminal through a wlan interface, the virtual terminal node defines a data structure of an NF _ hook _ ops storage hook in a Linux kernel, the content of the structure body is registered in an NF _ hooks linked list, when the virtual terminal node operates to an NF _ INET _ POST _ ROUTING mounting point of an nat mechanism in iptables, a video networking message transmitting function is called, first data fragments in a data field area of the first internet protocol data packet are segmented, and each fragment is packaged into the first video networking protocol data packet together with a packet header of a video networking v2v protocol. And the virtual terminal node of the video networking terminal dials a video telephone with the video networking Modem, a communication tunnel is established, the video networking terminal finds the corresponding video networking Modem through the destination IP address index, and the first video networking protocol data packet which is packaged is sent to the video networking Modem.
After receiving the first video networking protocol data packet, the video networking Modem analyzes the first video networking protocol data packet to obtain first data in the first video networking protocol data packet, and judges whether the first data is internet data.
For example, when the video network terminal performs the first protocol conversion on the first data in step 601, a type identifier may be added to the first data, where the type identifier is used to indicate that the first data is internet data. In a specific implementation, the video networking terminal may add the type identifier to a first video networking protocol data packet when the first data is encapsulated into the first video networking protocol data packet based on the video networking protocol. If the type identification exists after the analysis of the video networking Modem, the first data can be determined to be internet data according to the type identification.
If the video networking Modem judges that the first data are internet data, the video networking Modem transmits the first data to the internet because the first data are sent by the video networking terminal based on a video networking protocol, and the video networking Modem performs second protocol conversion on the first data and then transmits the first data to the internet equipment corresponding to the first data through the internet.
In a specific implementation, the video networking Modem converts the first video networking protocol data packet into a second internet protocol data packet which encapsulates the first data based on an internet protocol; and the video networking Modem transmits the second Internet protocol data packet to the Internet equipment corresponding to the first data through the Internet. Specifically, the video networking Modem decapsulates the first video networking protocol data packet to obtain first data therein, and encapsulates the first data into a second internet protocol data packet based on the inter-video networking protocol, that is, removes a video networking v2v protocol header and adds a corresponding IP protocol header. And after the video networking Modem packages the second Internet protocol data packet, the second Internet protocol data packet is sent to the Internet equipment corresponding to the first data through the Internet.
The video networking Modem can determine the Internet equipment corresponding to the first data according to the first data. For example, if the first data is web page information (including a web page address, etc.), the internet device corresponding to the first data may be a server corresponding to the web page address. If the first data is chat information (including chat content, chat objects and the like), the internet device corresponding to the first data may be a server corresponding to the chat tool, and the server forwards the first data to an internet device (such as a mobile phone, a tablet and the like) used by the chat object.
After the internet device corresponding to the first data receives the first data, the internet device may return second data for the first data. For example, if the first data is web page information (including web page addresses, etc.), the second data may be web page data corresponding to the web page addresses. If the first data is chat information (including chat content, chat objects and the like), the second data can be the chat content returned by the chat objects.
In a specific implementation, the internet device may encapsulate the second data into a third internet protocol data packet based on the internet protocol, and transmit the third internet protocol data packet to the video networking Modem through the internet. That is, the video networking Modem receives a third internet protocol data packet, which is returned by the internet device for the first data and encapsulates the second data based on the internet protocol.
The second data is returned by the internet equipment, and the video networking Modem transmits the second data to the video networking terminal, so that the video networking Modem performs third protocol conversion on the second data and then transmits the second data to the video networking terminal through the video networking.
In a specific implementation, the video networking Modem converts the third internet protocol packet into a second video networking protocol packet encapsulating the second data based on the video networking protocol. Specifically, the video networking Modem decapsulates the third internet protocol data to obtain second data therein, and encapsulates the second data into a second video networking protocol data packet based on the video networking protocol. And after the second video networking protocol data packet is obtained by the video networking Modem in a packaging mode, the second video networking protocol data packet is sent to the video networking terminal through the video networking.
In a preferred embodiment, the second video network protocol data packet may include second path information indicating a transmission path of the second video network protocol data packet in the video network. The second path information may comprise a source address and a destination address, wherein the source address may comprise an IP address of the video networking Modem and the destination address may comprise a MAC address of the virtual end node. Therefore, the video networking Modem can send the second video networking protocol data packet to the video networking terminal through the virtual terminal node through the video networking according to the second path information.
And step 604, if the video networking terminal determines that the second data is internet data, performing fourth protocol conversion on the second data and then sending the second data to the mobile terminal.
And after receiving the second video networking protocol data packet, the video networking terminal analyzes the second video networking protocol data packet to obtain second data in the second video networking protocol data packet, and judges whether the second data is internet data or not.
For example, when the video networking Modem performs the third protocol conversion on the second data in step 603, a type identifier may be added to the second data, where the type identifier is used to indicate that the second data is internet data. In a specific implementation, the video networking Modem may add the type identifier to a second video networking protocol data packet when the second data is encapsulated into the second video networking protocol data packet based on the video networking protocol. And if the type identification exists after the video networking terminal analyzes the data, determining that the second data is the internet data according to the type identification.
If the video network terminal judges that the second data is internet data, the video network terminal performs fourth protocol conversion on the second data and then sends the second data to the mobile terminal of the internet as the second data is sent by the video network Modem based on the video network protocol and the video network terminal sends the second data to the mobile terminal of the internet.
In a specific implementation, the video network terminal converts the second video network protocol data packet into a fourth internet protocol data packet which encapsulates second data based on an internet protocol; and the video networking terminal sends the fourth Internet protocol data packet to the mobile terminal. Specifically, the video networking terminal decapsulates the second video networking protocol data packet to obtain first data therein, and encapsulates the second data into a fourth internet protocol data packet based on the internet protocol. And after the video networking terminal packages the fourth Internet protocol data packet, the fourth Internet protocol data packet is sent to the mobile terminal through the WIFI shared network.
And after receiving the fourth internet protocol data packet, the mobile terminal analyzes the fourth internet protocol data packet to obtain second data, so that the mobile terminal can access the internet under the condition of not connecting with the internet. For example, if the second data is web page data corresponding to a web page website, the user of the mobile terminal may view the web page data, thereby obtaining the required content. If the second data is the chat content returned by the chat object, the user of the mobile terminal can know the reply of the chat object, and the instant chat with the chat object is realized.
In the embodiment of the invention, a network cable on a physical layer link layer can be used as a transmission carrier of a video network and an internet at the same time, an internet data packet is converted into a path of data of the video network through the video network cable and the internet cable accessed by a video network Modem and is transmitted to a video network terminal, the video network terminal filters and encapsulates the received video network data packet into internet data through a virtual terminal node of a Linux kernel layer, the internet data is forwarded to a wireless network card of the video network terminal through iptables and is transmitted to an accessed mobile terminal through a WIFI hotspot.
The technical scheme provides a virtual terminal node based on a video networking Modem at a video networking terminal for carrying out eth interface monitoring on a Linux kernel network layer, and a data packet is packaged and unpacked, so that the video networking and the Internet are perfectly combined, the defect that a traditional video networking terminal cannot surf the Internet is overcome by the function of surfing the Internet through the video networking terminal, and meanwhile, the mobile terminal is provided with Internet access service by sharing a WIFI hotspot through a wireless network card module accessed by the video networking terminal. The video networking terminal is mainly responsible for receiving internet data packaged into a video networking data packet by the video networking Modem, unpacking and restoring the internet data in the Linux kernel, sending the restored internet data to the mobile terminal shared by the internet or the WIFI hotspot, receiving the internet data packet responded by the mobile terminal, packaging the internet data packet in the Linux kernel again into the video networking data packet, and sending the video networking data packet to the video networking Modem.
According to the embodiment of the invention, through the WIFI hotspot shared by the video networking terminals, the mobile terminal can perform webpage searching and network chatting functions by connecting the WIFI hotspot of the video networking terminal only connected with one video networking line. The video networking terminal realizes the mutual conversion of the video networking data and the Internet network data, and the video networking can access the Internet. The method for enabling the video network to be capable of accessing the internet through the WIFI hotspot sharing of the video network terminal solves the problem of complex deployment when the video network and the internet are used simultaneously. The video network terminal enables a home user to use the video network service and the Internet service simultaneously only under the condition of deploying the video network. The video network and the Internet in the prior art are independent, if a user wants to experience and use the video network and the Internet simultaneously, two sets of networks need to be deployed respectively, and the deployment is complex.
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.
Example two
Referring to fig. 7, a block diagram of a network access device of a mobile terminal according to a second embodiment of the present invention is shown. The device can be applied to the video network, wherein the video network comprises a video network terminal and a video network Modem, and the video network Modem is connected with the video network and the Internet.
The network access device of the mobile terminal of the embodiment of the invention can comprise the following modules positioned in the video network terminal and the video network Modem:
the video networking terminal includes: a first conversion module 701, configured to receive first data sent by the mobile terminal, perform first protocol conversion on the first data, and send the first data to the video networking Modem through a video networking;
the video networking Modem comprises: a second conversion module 702, configured to, if it is determined that the first data is internet data, perform second protocol conversion on the first data and send the first data to an internet device corresponding to the first data through the internet; a third conversion module 703, configured to receive second data returned by the internet device for the first data, perform third protocol conversion on the second data, and send the second data to the video networking terminal through a video networking;
the video networking terminal further comprises: a fourth conversion module 704, configured to, if it is determined that the second data is internet data, perform fourth protocol conversion on the second data, and send the second data to the mobile terminal.
In a preferred embodiment, the first conversion module comprises: a first receiving unit, configured to receive a first internet protocol data packet that is sent by the mobile terminal and encapsulates the first data based on an internet protocol; a first encapsulation unit, configured to convert the first internet protocol data packet into a first video internet protocol data packet that encapsulates the first data based on a video internet protocol; and the first sending unit is used for sending the first video networking protocol data packet to the video networking Modem through a video networking.
In a preferred embodiment, the second conversion module comprises: a second encapsulating unit, configured to convert the first video networking protocol packet into a second internet protocol packet that encapsulates the first data based on an internet protocol; and the second sending unit is used for sending the second internet protocol data packet to the internet equipment corresponding to the first data through the internet.
In a preferred embodiment, the video networking terminal includes a virtual terminal node, and the first video networking protocol packet includes first path information, where the first path information includes a source address and a destination address, the source address includes a MAC address of the virtual terminal node, and the destination address includes an IP address of the video networking Modem. The first sending unit is specifically configured to send, through the virtual terminal node, the first internet-of-video protocol packet to the internet-of-video Modem through the internet of video according to the first path information.
In a preferred embodiment, the third conversion module comprises: a second receiving unit, configured to receive a third internet protocol data packet, which is returned by the internet device for the first data and encapsulates the second data based on an internet protocol; a third encapsulation unit, configured to convert the third internet protocol data packet into a second video internet protocol data packet that encapsulates the second data based on a video internet protocol; and the third sending unit is used for sending the second video networking protocol data packet to the video networking terminal through the video networking.
In a preferred embodiment, the fourth conversion module comprises: a fourth encapsulating unit, configured to convert the second video networking protocol data packet into a fourth internet protocol data packet that encapsulates the second data based on an internet protocol; a fourth sending unit, configured to send the fourth internet protocol data packet to the mobile terminal.
In a preferred embodiment, the video network terminal includes a virtual terminal node, and the second video network protocol packet includes second path information, where the second path information includes a source address and a destination address, the source address includes an IP address of the video network Modem, and the destination address includes a MAC address of the virtual terminal node. The third sending unit is specifically configured to send the second internet-of-video protocol data packet to the internet-of-video terminal through the virtual terminal node through the internet of video according to the second path information.
In a preferred embodiment, the video network terminal further includes: and the establishing module is used for opening the WIFI hotspot and establishing a WIFI sharing network with the mobile terminal.
In a preferred embodiment, the first conversion module is specifically configured to receive first data sent by the mobile terminal through the WIFI shared network, perform first protocol conversion on the first data, and send the first data to the video networking Modem through a video networking; the fourth conversion module is specifically configured to, if it is determined that the second data is internet data, perform fourth protocol conversion on the second data, and send the second data to the mobile terminal through the WIFI shared network.
In the embodiment of the invention, the mobile terminal can access the internet through the video networking terminal and the video networking Modem, and the video networking terminal and the video networking Modem establish connection through the video networking, so that the mobile terminal can be ensured to access the internet under the condition of not connecting the internet, thereby meeting the user requirements and reducing the expense of network deployment and the waste of resources.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one 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 network access method of the mobile terminal and the network access device of the mobile terminal provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A network access method of a mobile terminal is applied to a video network, wherein the video network comprises a video network terminal and a video network Modem, the video network Modem is connected with two networks of the video network and the Internet, the video network terminal comprises a virtual terminal node, and the method comprises the following steps:
the video network terminal receives first data sent by the mobile terminal, the virtual terminal node calls a video network message sending function, first data fragments in a data field area of a first internet protocol data packet corresponding to the first data are encapsulated into a first video network protocol data packet by adding a message header of a video network v2v protocol to each first data fragment, and the first video network protocol data packet is sent to the video network Modem;
if the video networking Modem judges that the first data are internet data, performing second protocol conversion on the first data and then sending the first data to internet equipment corresponding to the first data through the internet;
the video networking Modem receives second data returned by the Internet equipment aiming at the first data, performs third protocol conversion on the second data and then sends the second data to the video networking terminal through the video networking;
and if the video networking terminal judges that the second data is internet data, performing fourth protocol conversion on the second data and then sending the second data to the mobile terminal.
2. The method of claim 1,
the step of the video network terminal receiving the first data sent by the mobile terminal comprises the following steps:
the video networking terminal receives a first Internet protocol data packet which is sent by the mobile terminal and encapsulates the first data based on an Internet protocol;
the step of sending the first data to the video networking Modem through the video networking after the first protocol conversion is performed on the first data includes:
and the video networking terminal converts the first Internet protocol data packet into a first video networking protocol data packet based on a video networking protocol, encapsulates the first data into a first video networking protocol data packet based on the video networking protocol, and sends the first video networking protocol data packet to the video networking Modem through the video networking.
3. The method according to claim 2, wherein the step of sending the first data after the second protocol conversion to the internet device corresponding to the first data via the internet comprises:
the video networking Modem converts the first video networking protocol data packet into a second Internet protocol data packet which encapsulates the first data based on an Internet protocol;
and the video networking Modem transmits the second Internet protocol data packet to the Internet equipment corresponding to the first data through the Internet.
4. The method of claim 2, wherein the first Internet of view protocol packet includes first path information, the first path information including a source address and a destination address, the source address including the MAC address of the virtual end node, the destination address including the IP address of the Internet of view Modem,
the step of sending the first internet-of-video protocol packet to the internet-of-video Modem via the internet of video includes:
and the video network terminal sends the first video network protocol data packet to the video network Modem through the video network according to the first path information through the virtual terminal node.
5. The method of claim 1,
the step of receiving, by the internet device, second data returned by the internet device for the first data includes:
the video networking Modem receives a third Internet protocol data packet which is returned by the Internet equipment aiming at the first data and encapsulates the second data based on an Internet protocol;
the step of sending the second data to the video network terminal through the video network after the third protocol conversion is performed on the second data comprises the following steps:
and the video networking Modem converts the third Internet protocol data packet into a second video networking protocol data packet based on a video networking protocol, encapsulates the second data, and sends the second video networking protocol data packet to the video networking terminal through the video networking.
6. The method according to claim 5, wherein the step of sending the second data after performing the fourth protocol conversion to the mobile terminal comprises:
the video networking terminal converts the second video networking protocol data packet into a fourth internet protocol data packet which encapsulates the second data based on an internet protocol;
and the video networking terminal sends the fourth Internet protocol data packet to the mobile terminal.
7. The method of claim 5, wherein the second Internet of things protocol packet includes second path information, the second path information including a source address and a destination address, the source address including an IP address of the Internet of things Modem, the destination address including a MAC address of the virtual end node,
the step of sending the second internet of video protocol data packet to the internet of video terminal through the internet of video comprises the following steps:
and the video networking Modem transmits the second video networking protocol data packet to the video networking terminal through the virtual terminal node through the video networking according to the second path information.
8. The method according to claim 1, wherein before the step of the video network terminal receiving the first data sent by the mobile terminal, the method further comprises:
and the video network terminal opens a WIFI hotspot and establishes a WIFI sharing network with the mobile terminal.
9. The method of claim 8,
the step of the video network terminal receiving the first data sent by the mobile terminal comprises the following steps:
the video networking terminal receives first data sent by the mobile terminal through the WIFI shared network;
the step of sending the second data to the mobile terminal after the fourth protocol conversion includes:
and after the fourth protocol conversion is carried out on the second data by the video networking terminal, the second data is sent to the mobile terminal through the WIFI shared network.
10. The network access device of the mobile terminal is characterized in that the device is applied to a video network, the video network comprises a video network terminal and a video network Modem, the video network Modem is connected with the video network and the Internet, and the video network terminal comprises a virtual terminal node;
the virtual terminal node of the video network terminal comprises:
the virtual terminal node calls a video networking message sending function, encapsulates first data fragments in a data field region of a first internet protocol data packet corresponding to the first data, and a packet header of a video networking v2v protocol added to each first data fragment into a first video networking protocol data packet, and sends the first video networking protocol data packet to the video networking Modem;
the video networking Modem comprises:
the second conversion module is used for performing second protocol conversion on the first data and then sending the first data to the internet equipment corresponding to the first data through the internet if the first data is judged to be the internet data;
the third conversion module is used for receiving second data returned by the internet equipment aiming at the first data, performing third protocol conversion on the second data and then sending the second data to the video network terminal through the video network;
the virtual terminal node of the video network terminal further comprises:
and the fourth conversion module is used for performing fourth protocol conversion on the second data and then sending the second data to the mobile terminal if the second data is judged to be the internet data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811064699.2A CN109194660B (en) | 2018-09-12 | 2018-09-12 | Network access method and device of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811064699.2A CN109194660B (en) | 2018-09-12 | 2018-09-12 | Network access method and device of mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109194660A CN109194660A (en) | 2019-01-11 |
CN109194660B true CN109194660B (en) | 2021-05-28 |
Family
ID=64910694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811064699.2A Active CN109194660B (en) | 2018-09-12 | 2018-09-12 | Network access method and device of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109194660B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109819197A (en) * | 2019-01-14 | 2019-05-28 | 视联动力信息技术股份有限公司 | Depending on networking connection method and device |
CN109672572B (en) * | 2019-01-23 | 2022-01-04 | 视联动力信息技术股份有限公司 | Data transmission method and device |
CN109787873B (en) * | 2019-01-31 | 2021-06-29 | 视联动力信息技术股份有限公司 | Many-to-many network access communication method and device |
CN109889910B (en) * | 2019-01-31 | 2021-12-03 | 视联动力信息技术股份有限公司 | Communication method and device for accessing private network |
CN109873817B (en) * | 2019-01-31 | 2021-08-06 | 视联动力信息技术股份有限公司 | Method and device for one-to-one network access |
CN109981571B (en) * | 2019-02-18 | 2021-12-17 | 视联动力信息技术股份有限公司 | Video networking access method and device, electronic equipment and computer readable storage medium |
CN110380946A (en) * | 2019-06-17 | 2019-10-25 | 视联动力信息技术股份有限公司 | A kind of communication means and communication device |
CN110336796B (en) * | 2019-06-17 | 2022-06-14 | 视联动力信息技术股份有限公司 | Communication method and communication device |
CN110380876B (en) * | 2019-06-26 | 2022-02-18 | 视联动力信息技术股份有限公司 | Group chat service implementation method, device, system, terminal, server and medium |
CN110417792B (en) * | 2019-08-02 | 2021-11-09 | 视联动力信息技术股份有限公司 | Communication method, system, gateway device and storage medium |
CN110769521A (en) * | 2019-08-26 | 2020-02-07 | 北京嘀嘀无限科技发展有限公司 | Network access method, network access system, and computer-readable storage medium |
CN110557319B (en) * | 2019-08-28 | 2020-11-13 | 视联动力信息技术股份有限公司 | Message processing method and device based on video network |
CN111464879B (en) * | 2020-02-27 | 2022-12-23 | 视联动力信息技术股份有限公司 | Data communication method and device |
CN111478940B (en) * | 2020-03-03 | 2023-02-28 | 视联动力信息技术股份有限公司 | Data processing method and device |
CN115460040A (en) * | 2022-08-30 | 2022-12-09 | 海南视联通信技术有限公司 | Service processing method, device, terminal equipment and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101682724A (en) * | 2007-05-21 | 2010-03-24 | 汤姆逊许可公司 | Method and device for generating electronic service guide |
CN102752178B (en) * | 2012-06-14 | 2016-05-25 | 广东省广播电视网络股份有限公司 | A kind of CHINA RFTCOM Co Ltd system and realize the method for third-party operator's consumer wideband online |
CN102802063B (en) * | 2012-08-31 | 2015-09-30 | 博视联(苏州)信息科技有限公司 | A kind of TV-set top box with WIFI hot spot |
CN106161335B (en) * | 2015-03-25 | 2019-02-22 | 视联动力信息技术股份有限公司 | A kind for the treatment of method and apparatus of network packet |
-
2018
- 2018-09-12 CN CN201811064699.2A patent/CN109194660B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109194660A (en) | 2019-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109194660B (en) | Network access method and device of mobile terminal | |
CN109547417B (en) | Code stream transmission method and device | |
CN108737768B (en) | Monitoring method and monitoring device based on monitoring system | |
CN110087102B (en) | State query method, device and storage medium | |
CN110035005B (en) | Data processing method and device | |
CN109450982B (en) | Network communication method and system | |
CN109818960B (en) | Data processing method and device | |
CN108462589A (en) | A kind of method for connecting network and device of terminal | |
CN109347844B (en) | Method and device for accessing equipment to Internet | |
CN110545244A (en) | message distribution method and device | |
CN111211982B (en) | Data forwarding method and device, electronic equipment and storage medium | |
CN110336710B (en) | Terminal testing method, system and device and storage medium | |
CN110336796B (en) | Communication method and communication device | |
CN110417792B (en) | Communication method, system, gateway device and storage medium | |
CN110493149B (en) | Message processing method and device | |
CN109862439B (en) | Data processing method and device | |
CN109889755B (en) | Communication connection method and video networking terminal | |
CN109842630B (en) | Video processing method and device | |
CN109769012B (en) | Web server access method and device | |
CN110636029B (en) | Communication method and communication device | |
CN110830762B (en) | Audio and video data processing method and system | |
CN111478880A (en) | Data processing method and device | |
CN110099025B (en) | Call method and device based on video networking | |
CN111478940B (en) | Data processing method and device | |
CN110808896B (en) | Data transmission method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |