CN111092863A - Method, client, server, device and medium for accessing internet website - Google Patents

Method, client, server, device and medium for accessing internet website Download PDF

Info

Publication number
CN111092863A
CN111092863A CN201911205945.6A CN201911205945A CN111092863A CN 111092863 A CN111092863 A CN 111092863A CN 201911205945 A CN201911205945 A CN 201911205945A CN 111092863 A CN111092863 A CN 111092863A
Authority
CN
China
Prior art keywords
video
domain name
dns request
address
internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911205945.6A
Other languages
Chinese (zh)
Other versions
CN111092863B (en
Inventor
刘思宇
龙宇峰
史鑫
王艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911205945.6A priority Critical patent/CN111092863B/en
Publication of CN111092863A publication Critical patent/CN111092863A/en
Application granted granted Critical
Publication of CN111092863B publication Critical patent/CN111092863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Abstract

The embodiment of the invention provides a method, a client, a server, equipment and a medium for accessing an internet website, wherein the method is applied to a video network client in a video network, and comprises the following steps: intercepting a DNS request sent by a superior program of a video networking terminal to an Internet domain name server, wherein the DNS request is generated when the superior program requests to access a target Internet website; modifying the format of the DNS request according to the format of the DNS request of the video networking to obtain the DNS request of the video networking; sending a DNS request of the video networking to a domain name server of the video networking; and if a first IP address returned by the domain name server of the video network aiming at the DNS request of the video network is received, returning the first IP address to the superior program in the form of DNS response so that the superior program can access the target Internet website deployed in the video network according to the first IP address. According to the method and the device, the characteristics of higher communication speed and higher safety of the video networking technology are utilized, the speed of responding to the user request is obviously improved, and the use experience of the user is improved.

Description

Method, client, server, device and medium for accessing internet website
Technical Field
The invention relates to the technical field of information processing, in particular to a method, a client, a server, equipment and a storage medium for accessing an internet website in a video network.
Background
In the video network, a user can access an internet site through a browser on a video network terminal to enjoy a network service provided by the internet site. In the related art, the browser on the video networking terminal can acquire the IP address of the internet website in the internet only through a plurality of intermediate servers, and then can access the internet website, so that the operation process of the mode of accessing the internet website in the related art is complicated, the access speed of the browser is greatly limited, and the use experience of a user is influenced.
Disclosure of Invention
In view of the above, the present application proposes a method, a client, a server, a device and a storage medium for accessing an internet site in a video network to overcome the above problems or at least partially solve the above problems.
In order to solve the above problem, a first aspect of the embodiments of the present application provides a method for accessing an internet website in a video network, where the method is applied to a video network client in the video network, and the video network client is installed in a video network terminal, and the method includes:
intercepting a DNS request sent by a superior program of the video networking terminal to an Internet domain name server, wherein the DNS request is generated when the superior program requests to access a target Internet website;
modifying the format of the DNS request according to the format of the video networking DNS request to obtain the video networking DNS request;
sending the DNS request to a domain name server of the video network;
and if a first IP address returned by the domain name server of the video network aiming at the DNS request of the video network is received, returning the first IP address to the superior program in a DNS response mode, so that the superior program accesses the target internet website deployed in the video network according to the first IP address.
Optionally, the method further comprises:
if a first IP address returned by the domain name server of the video networking aiming at the DNS request of the video networking is not received, the DNS request of the video networking is modified into an Internet DNS request;
sending the Internet DNS request to the video networking domain name server, wherein the video networking domain name server is used for forwarding the Internet DNS request to the Internet domain name server and receiving a second IP address of the target Internet website returned by the Internet domain name server, and the second IP address is different from the first IP address;
and receiving a second IP address returned by the video networking domain name server aiming at the Internet DNS request, and returning the second IP address to the superior program in a DNS response mode so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
Optionally, modifying the format of the DNS request according to the format of the DNS request to obtain the DNS request, including:
acquiring a domain name of a target internet website in the DNS request;
if the format of the domain name is the Internet format, modifying the format of the domain name into a video networking format;
generating the DNS request of the video network according to the modified domain name of the video network format;
and if the format of the domain name is a video networking format, taking the DNS request as the video networking DNS request.
Optionally, after sending the first IP address to the upper level program in the form of a DNS response, the method further includes:
intercepting an internet data packet sent by the superior program to the target internet website deployed in the video network;
analyzing the internet data packet to obtain a first IP address of the target internet website;
acquiring a video networking number corresponding to the first IP address;
according to the format of the video networking data packet, packaging the Internet data packet into a video networking data packet according to the video networking number;
and sending the video networking data packet to the target internet website deployed in the video networking through an autonomous server in the video networking.
A second aspect of the embodiments of the present application provides a method for accessing an internet website in a video network, where the method is applied to a domain name server in the video network, and the domain name server is in communication connection with a video network terminal through a video network client installed on the video network terminal, and the method includes:
receiving a target DNS request sent by the video networking client, wherein the target DNS request is generated after the video networking client processes the DNS request, and the DNS request is generated when a superior program of the video networking terminal requests to access a target Internet website;
analyzing the target DNS request to obtain a domain name of the target internet website;
if the format of the domain name is a video networking format, inquiring a pre-stored domain name-IP corresponding relation table to obtain a first IP address matched with the domain name;
and returning the first IP address to the video network client, wherein the video network client is used for sending the first IP address to the superior program so that the superior program can access the target Internet website deployed in the video network according to the first IP address.
Optionally, after obtaining the domain name of the target internet website, the method further includes:
if the format of the domain name is in an internet grid mode, the target DNS request is sent to an internet domain name server;
receiving a second IP address of the target Internet website returned by the Internet domain name server;
and returning the second IP address to the video network client, wherein the video network client is used for sending the second IP address to the superior program so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
A third aspect of the embodiments of the present application provides a video networking client installed in a video networking terminal, where the video networking client includes:
the first intercepting module is used for intercepting a DNS request sent by a superior program of the video networking terminal to an Internet domain name server, wherein the DNS request is generated when the superior program requests to access a target Internet website;
the first modification module is used for modifying the format of the DNS request according to the format of the video networking DNS request to obtain the video networking DNS request;
the first sending module is used for sending the video networking DNS request to a video networking domain name server;
and the first response module is used for returning the first IP address to the superior program in a DNS response mode if the first IP address returned by the video network domain name server aiming at the video network DNS request is received, so that the superior program can access the target Internet website deployed in the video network according to the first IP address.
A fourth aspect of the embodiments of the present application provides a domain name server for video networking, where the domain name server for video networking is connected to a video networking terminal through a video networking client installed on the video networking terminal, and the domain name server for video networking includes:
the first receiving module is used for receiving a target DNS request sent by the video network client, wherein the target DNS request is generated after the video network client processes the DNS request, and the DNS request is generated when a superior program of the video network terminal requests to access a target internet website;
the second analysis module is used for analyzing the target DNS request to obtain the domain name of the target internet website;
the first query module is used for querying a pre-stored domain name-IP corresponding relation table to obtain a first IP address matched with the domain name if the format of the domain name is a video networking format;
and the third sending module is used for returning the first IP address to the video network client, and the video network client is used for sending the first IP address to the superior program so that the superior program can access the target Internet website deployed in the video network according to the first IP address.
A fifth aspect of the embodiments of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method according to the first aspect and the second aspect of the present application are implemented.
A sixth aspect of embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, performs the steps in the method according to the first and second aspects of the present application.
The embodiment of the application provides a method for accessing an internet website, which specifically comprises the following steps: the method comprises the steps that a video network client intercepts a DNS request packet sent by a superior program, the DNS request packet is modified into a DNS request packet in a video network format and sent to a video network domain name server, the video network domain name server inquires a first IP address of a target internet website deployed in the video network, and the first IP address is returned to the superior program through the video network client. According to the method and the device, when a user accesses a target website through a superior program, whether the same-name website of the target website exists in a video network is judged preferentially, if yes, an IP address of the same-name website of the target website in the video network is returned to the superior program, so that the user accesses the same-name website preferentially.
Drawings
FIG. 1 is a schematic illustration of an implementation environment shown in an embodiment of the present application;
FIG. 2 is a flow chart illustrating a first method for accessing an Internet site according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating a second method for accessing an Internet site according to an embodiment of the present application;
FIG. 4 is a flow diagram illustrating one embodiment of the present application for modifying the format of a DNS request;
FIG. 5 is a flow chart illustrating a third method for accessing an Internet site according to an embodiment of the present application;
fig. 5A is a schematic diagram illustrating a domain name-IP correspondence table according to an embodiment of the present application;
FIG. 6 is a flow chart illustrating a fourth method for accessing an Internet site according to an embodiment of the present application;
FIG. 7 is a flow chart illustrating a fifth method for accessing an Internet site according to an embodiment of the present application;
FIG. 8 is a block diagram illustrating a video networking client according to an embodiment of the present application;
fig. 9 is a block diagram illustrating a configuration of a domain name server for video networking according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an electronic device shown in an embodiment of the present application;
FIG. 11 is a schematic diagram illustrating a networking of a video network according to an embodiment of the present application;
fig. 12 is a schematic diagram illustrating a hardware structure of a node server according to an embodiment of the present application;
fig. 13 is a schematic diagram illustrating a hardware structure of an access switch according to an embodiment of the present application;
fig. 14 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before describing the method for accessing internet sites in the internet of view according to the present application, the following description will first describe a manner for accessing internet sites in the internet of view in the related art. In the related art, the internet of view does not have a same-name website of the internet website deployed therein (for example, for a hundred-degree network, the hundred-degree network may be deployed in the internet or in the internet of view, and a service provided by the hundred-degree network in the internet for a user is the same as a service provided by the hundred-degree network in the internet for the user, so the hundred-degree network in the internet of view is a same-name website of the hundred-degree network in the internet of view), and therefore, the user can only access the internet website located in the internet through the terminal of the internet of view.
Based on the above problems, the present application proposes the following technical idea: the method comprises the following steps of erecting an internet website deployed in the internet into the video network, and providing an access method for the internet website located in the video network: when a user accesses a target website through a superior program (such as a browser), whether a homonymous website of the target website exists in a video network is judged preferentially, if so, an IP address of the homonymous website of the target website in the video network is returned to the superior program, so that the user accesses the homonymous website preferentially, and the speed of accessing the internet website in the video network through a video network terminal is higher and the security is higher, so that the speed of responding to a user request can be improved significantly by accessing the homonymous website preferentially; if the target website does not exist, the IP address of the target website in the Internet is returned to the upper-level program, so that the user can access the target website, and the user can be ensured to finally obtain the website service. Therefore, the method for accessing the internet website in the video network can flexibly switch the access mode of the internet website in the video network according to actual requirements, and improves the use experience of users.
FIG. 1 is a schematic diagram of an implementation environment shown in an embodiment of the present application. Referring to fig. 1, in the implementation environment, a browser and a video networking client (the video networking client is a client corresponding to a video networking domain name server) are installed on a video networking terminal, and are in communication connection with the video networking domain name server through the video networking client, the video networking domain name server is in communication connection with an internet domain name server through a data repeater of the video networking and the internet, an internet website a is deployed in the video networking, an internet website a ' is deployed in the internet, the internet website a is a same-name website of the internet website a ', and a service provided by the internet website a for a user is the same as a service provided by the internet website a ' for the user.
The embodiment of the application provides a method for accessing an internet website in a video network, which is applied to a video network client in fig. 1. Fig. 2 is a flowchart illustrating a first method for accessing an internet site according to an embodiment of the present application. Referring to fig. 2, the method for accessing internet sites in a video network provided by the present application includes the following steps:
step S11: and intercepting a DNS request sent by a superior program of the video networking terminal to an Internet domain name server, wherein the DNS request is generated when the superior program requests to access a target Internet website.
In the embodiment of the present application, the upper level program may be understood as the browser in fig. 1. In general, when a user accesses a target internet site through a superior program, the superior program generates a DNS request for an internet domain name server by default, sends the DNS request to the internet domain name server through a series of intermediate forwarding servers, obtains an IP address of the target internet site within the internet, and then accesses the target internet site deployed within the internet through the IP address.
In the embodiment of the application, after the superior program generates and sends the DNS request for the internet domain name server, the video networking client intercepts the DNS request and prevents the DNS request from being sent to the internet domain name server.
Step S12: and modifying the format of the DNS request according to the format of the video networking DNS request to obtain the video networking DNS request.
In the embodiment of the application, after intercepting a DNS request, a client side of the video network modifies the format of the DNS request into a DNS request in the video network format, and the DNS request in the video network format is used for sending to a video network domain name server.
Step S13: and sending the DNS request to a domain name server of the video network.
Step S14: and if a first IP address returned by the domain name server of the video network aiming at the DNS request of the video network is received, returning the first IP address to the superior program in a DNS response mode, so that the superior program accesses the target internet website deployed in the video network according to the first IP address.
In this embodiment of the application, the first IP address is an IP address of a target internet site deployed in the internet of view, and as described above, the target internet site deployed in the internet of view is a same-name site of the target internet site deployed in the internet of view.
After sending the DNS request of the video network to the domain name server of the video network, if the received response packet does not contain the first IP address, it indicates that the same-name website of the target internet website in the video network is not deployed in the video network, that is: the upper program cannot access the target internet website through the video networking approach. On the contrary, if the received response packet contains the first IP address, which indicates that the target internet site is deployed in the video network and is the same name site in the video network, the superior program can access the target internet site through the video network. After the video networking client acquires the first IP address, a DNS response packet is generated according to the first IP address, and the DNS response packet is sent to a superior program. After the DNS response packet is received, the superior program analyzes the DNS response packet to obtain a first IP address, and can access a target Internet website deployed in the video network through a video network according to the first IP address.
In the embodiment of the application, a video network client intercepts a DNS request packet sent by a superior program, the DNS request packet is modified into a DNS request packet in a video network format and sent to a video network domain name server, the video network domain name server inquires a first IP address of a target internet website deployed in the video network, and the first IP address is returned to the superior program through the video network client. According to the method and the device, when a user accesses a target website through a superior program, whether the same-name website of the target website exists in a video network is judged preferentially, if yes, an IP address of the same-name website of the target website in the video network is returned to the superior program, so that the user accesses the same-name website preferentially.
In the embodiment of the present application, if the first IP address is not queried by the domain name server of the video network, then: the method for accessing the target internet site deployed in the internet is provided to ensure that the upper-level program of the video network terminal can still access the target internet site at last, and is shown in fig. 3.
Fig. 3 is a flowchart illustrating a second method for accessing an internet site according to an embodiment of the present application. Referring to fig. 3, an embodiment of the present application may access a target internet site deployed in the internet by:
step S21: and if the first IP address returned by the video networking domain name server aiming at the video networking DNS request is not received, modifying the video networking DNS request into an Internet DNS request.
In the embodiment of the application, if the response packet received by the video network client does not contain the first IP address, the video network DNS request is modified into the Internet DNS request according to the format of the Internet DNS request. If the internet DNS request which is received before is also stored in the video network client, the internet DNS request can be directly read without modifying the video network DNS request into the internet DNS request.
Step S22: and sending the Internet DNS request to the video networking domain name server, wherein the video networking domain name server is used for forwarding the Internet DNS request to the Internet domain name server and receiving a second IP address of the target Internet website returned by the Internet domain name server, and the second IP address is different from the first IP address.
In the embodiment of the application, after modifying the video networking DNS request into the Internet DNS request, the video networking client sends the Internet DNS request to the video networking domain name server, the video networking domain name server sends the Internet DNS request to the Internet domain name server through a data repeater of the video networking and the Internet, the Internet domain name server obtains a second IP address of a target Internet website deployed in the Internet and returns the second IP address to the video networking domain name server, and the video networking domain name server sends the second IP address to the video networking client.
Step S23: and receiving a second IP address returned by the video networking domain name server aiming at the Internet DNS request, and returning the second IP address to the superior program in a DNS response mode so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
And the video networking client receives a second IP address returned by the video networking domain name server, generates a DNS response packet according to the second IP address, sends the DNS response packet to a superior program, and the superior program analyzes the DNS response packet to obtain the second IP address and can access a target Internet website deployed in the Internet according to the second IP address.
In the embodiment of the application, if the upper-level program cannot access the internet website deployed in the video network, the video network client sends the internet DNS request to the video network domain name server again, and the video network domain name server acquires the IP address of the target internet website deployed in the internet from the internet domain name server, so that the upper-level program can still obtain the target internet website.
In combination with the above embodiments, in an implementation manner, the format of the DNS request may be modified through the following steps, so as to obtain a video networking DNS request, as shown in fig. 4 in detail. Fig. 4 is a flow chart illustrating a method for modifying a format of a DNS request according to an embodiment of the present application. Referring to fig. 4, step S12 specifically includes:
step S121: and acquiring the domain name of the target internet website in the DNS request.
Step S122: if the format of the domain name is the Internet format, modifying the format of the domain name into a video networking format;
step S123: generating the DNS request of the video network according to the modified domain name of the video network format;
step S124: and if the format of the domain name is a video networking format, taking the DNS request as the video networking DNS request.
In the embodiment of the present application, the modification of the format of the domain name may be a modification of a suffix of the domain name. For example: the suffix of the format of the internet domain name is: ". COM", the format of the Internet of view domain name being suffixed by ". V", ". T", ". X", ". Y", etc. For ease of presentation of the various embodiments, the suffix to the format of the view network domain name of the present application is taken as ". V".
Exemplarily, taking the domain name of the target internet website in the DNS request as www.baidu.com, the format of the domain name is in an interconnected grid format, and the suffix ". COM" is modified into ". V", i.e. the domain name www.baidu.v in a view networking format is obtained. And after the WWW.BAIDU.V is obtained, regenerating a DNS request of the video network according to the domain name.
In this embodiment of the application, the superior program may also directly send a DNS request with a domain name format in the video networking format to the video networking client, and at this time, the video networking client resolves the domain name format in the DNS request to be the video networking format, and does not perform format conversion, and may directly use the DNS request as the video networking DNS request.
With reference to the foregoing embodiment, in an implementation manner, after receiving the first IP address sent by the video network client, the upper level program of the video network terminal may access the target internet site according to the first IP address. In the process, the video network client can be used for providing data transfer service between the upper-level program and the target internet website, and specifically comprises the following steps:
intercepting an internet data packet sent by the superior program to the target internet website deployed in the video network;
analyzing the internet data packet to obtain a first IP address of the target internet website;
acquiring a video networking number corresponding to the first IP address;
according to the format of the video networking data packet, packaging the Internet data packet into a video networking data packet according to the video networking number;
and sending the video networking data packet to the target internet website deployed in the video networking through an autonomous server in the video networking.
In the embodiment of the application, after obtaining a first IP address, a superior program takes the first IP address as a destination address, encapsulates data to be sent into an internet data packet, and sends the internet data packet to a video network client; after receiving the internet data packet, the video network client analyzes the internet data packet to obtain a first IP address, and initiates a request for inquiring the video network number to a video network domain name server (a domain name-IP-video network number relation table is stored in the video network domain name server in advance, and the corresponding video network number can be inquired according to the first IP address sent by the video network client) so as to inquire the video network number corresponding to the first IP address; after receiving the video networking number, the video networking client takes the video networking number as a destination address, and encapsulates the original internet data packet into a video networking data packet again; and finally, the video networking client sends the video networking data packet obtained by encapsulation to a target internet website in the video networking through an autonomous server in the video networking. Meanwhile, the video network client can also receive a video network data packet returned by a target internet website in the video network through an autonomous server in the video network, decapsulate the video network data packet to obtain an internet data packet, and return the internet data packet to a superior program. In other words, the upper-level program and the target internet website in the video network can mutually transmit internet data through the video network transparent transmission function.
In the embodiment of the application, after the superior program obtains the first IP address, the internet data packet is transmitted to the target internet website through the transparent transmission function of the video network, so that the internet data is transmitted in the video network by using the video network communication technology, and the characteristics of safety and quickness based on the video network communication technology are realized, so that the communication efficiency between the superior program and the target internet website is improved, the speed of responding to the user to access the target internet website is improved, and the use experience of the user is improved.
The embodiment of the application also provides a method for accessing the internet website, which is applied to the video networking domain name server in fig. 1. Fig. 5 is a flowchart illustrating a third method for accessing an internet site according to an embodiment of the present application. Referring to fig. 5, a third method for accessing an internet site in the present application includes the steps of:
step S31: receiving a target DNS request sent by the video networking client, wherein the target DNS request is generated after the video networking client processes the DNS request, and the DNS request is generated when a superior program of the video networking terminal requests to access a target Internet website;
step S32: analyzing the target DNS request to obtain a domain name of the target internet website;
step S33: if the format of the domain name is a video networking format, inquiring a pre-stored domain name-IP corresponding relation table to obtain a first IP address matched with the domain name;
step S34: and returning the first IP address to the video network client, wherein the video network client is used for sending the first IP address to the superior program so that the superior program can access the target Internet website deployed in the video network according to the first IP address.
In the embodiment of the application, a domain name server of the video network receives a target DNS request sent by a client of the video network, and resolves the target DNS request to obtain a domain name therein. If the format of the domain name is judged to be the video networking format, a locally stored domain name-IP corresponding relation table is inquired, a first IP address corresponding to the domain name in the video networking is obtained, and the first IP address is returned to the video networking client, so that a superior program can access a target Internet website deployed in the video networking through a video networking way.
Fig. 5A is a schematic diagram of a domain name-IP correspondence table according to an embodiment of the present application. Illustratively, in fig. 5A, the IP corresponding to the domain name baidu is 10.0.0.1, and the IP corresponding to the domain name google is 10.0.0.2.
The detailed description of the above steps S31-S34 can also refer to the above description.
With reference to the foregoing embodiment, in another implementation manner, if the domain name server of the video network does not query the first IP address, the domain name server of the video network may further perform the steps shown in fig. 6, so as to ensure that the upper-level program of the video network terminal can finally access the target internet website. Fig. 6 is a flowchart illustrating a fourth method for accessing an internet site according to an embodiment of the present application. Referring to fig. 6, the embodiment of the present application may further access a target internet site deployed in the internet by the following steps:
step S41: if the format of the domain name is in an internet grid mode, the target DNS request is sent to an internet domain name server;
step S42: receiving a second IP address of the target Internet website returned by the Internet domain name server;
step S43: and returning the second IP address to the video network client, wherein the video network client is used for sending the second IP address to the superior program so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
In the embodiment of the application, a domain name server of the video network receives a target DNS request sent by a client of the video network, and resolves the target DNS request to obtain a domain name therein. And if the format of the domain name is judged to be the Internet format, the target DNS request is sent to an Internet domain name server, a second IP address returned by the Internet domain name server is received, and the second IP address is returned to the video networking client, so that a superior program can access a target Internet website deployed in the Internet through an Internet way.
The detailed description of the above steps S31-S34 can also refer to the above description.
Fig. 7 is a flowchart illustrating a fifth method for accessing an internet site according to an embodiment of the present application. The method for accessing an internet site provided in the embodiment of the present application will be described in an entirety with reference to fig. 7.
In fig. 7, an agent is a client side of the video network, a vlas is a domain name server of the video network, after a superior program sends out a DNS request packet, the agent first intercepts the DNS request packet, then modifies the format of the domain name in the DNS request packet into the format of the domain name of the video network, then regenerates a DNS request packet, sends the new DNS request packet to the vlas, and after the vlas queries the IP address corresponding to the domain name in the DNS request packet (specifically, the IP address of the domain name in the video network is obtained by querying a local domain name-IP correspondence table, or the IP address of the domain name in the internet is obtained from the internet domain name server), returns the IP address to the agent, and after receiving the IP address, the agent constructs a DNS response packet and sends the DNS response packet to the superior program.
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.
The embodiment of the application also provides a video networking client 800. Fig. 8 is a block diagram illustrating a video network client according to an embodiment of the present application. Referring to fig. 8, the video networking client of the present application may specifically include the following modules:
a first intercepting module 801, configured to intercept a DNS request sent by a superior program of the video networking terminal to an internet domain name server, where the DNS request is generated when the superior program requests to access a target internet website;
a first modification module 802, configured to modify a format of the DNS request according to the format of the DNS request of the video networking, to obtain a DNS request of the video networking;
a first sending module 803, configured to send the DNS request to a domain name server of the video networking;
a first response module 804, configured to, if a first IP address returned by the domain name server for the video network for the DNS request of the video network is received, return the first IP address to the superior program in the form of a DNS response, so that the superior program accesses the target internet site deployed in the video network according to the first IP address.
Optionally, the video networking client 800 further comprises:
the second modification module is used for modifying the video networking DNS request into an Internet DNS request if a first IP address returned by the video networking domain name server aiming at the video networking DNS request is not received;
the forwarding module is used for sending the Internet DNS request to the video networking domain name server, the video networking domain name server is used for forwarding the Internet DNS request to the Internet domain name server, and receiving a second IP address of the target Internet website returned by the Internet domain name server, wherein the second IP address is different from the first IP address;
and the second response module is used for receiving a second IP address returned by the video networking domain name server aiming at the Internet DNS request, and returning the second IP address to the superior program in a DNS response mode so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
Optionally, the first modification module 802 includes:
the first acquisition module is used for acquiring the domain name of the target internet website in the DNS request;
the first modification sub-module is used for modifying the format of the domain name into a video networking format if the format of the domain name is the Internet format;
the generation module is used for generating the DNS request of the video networking according to the modified domain name in the format of the video networking;
and the determining module is used for taking the DNS request as the DNS request of the video networking if the format of the domain name is the format of the video networking.
Optionally, the video networking client 800 further comprises:
the second interception module is used for intercepting an internet data packet sent by the upper-level program to the target internet website deployed in the video network;
the first analysis module is used for analyzing the internet data packet to obtain a first IP address of the target internet website;
the second acquisition module is used for acquiring the video networking number corresponding to the first IP address;
the packaging module is used for packaging the Internet data packet into a video networking data packet according to the video networking number according to the video networking data packet format;
and the second sending module is used for sending the video networking data packet to the target internet website deployed in the video networking through an autonomous server in the video networking.
The embodiment of the present application further provides a domain name server 900 of the video networking. Fig. 9 is a block diagram illustrating a structure of a domain name server in a video network according to an embodiment of the present application. Referring to fig. 9, the domain name server 900 of the present application may specifically include the following modules:
a first receiving module 901, configured to receive a target DNS request sent by the video network client, where the target DNS request is generated after the video network client processes a DNS request, and the DNS request is generated when a superior program of the video network terminal requests to access a target internet website;
a second parsing module 902, configured to parse the target DNS request to obtain a domain name of the target internet website;
a first query module 903, configured to query a pre-stored domain name-IP correspondence table to obtain a first IP address matched with the domain name if the format of the domain name is a video networking format;
a third sending module 904, configured to return the first IP address to the video networking client, where the video networking client is configured to send the first IP address to the superior program, so that the superior program accesses the target internet website deployed in the video networking according to the first IP address.
Optionally, the video networking domain name server 900 includes:
a fourth sending module, configured to send the target DNS request to an internet domain name server if the format of the domain name is in an internet grid format;
the second receiving module is used for receiving a second IP address of the target internet website returned by the internet domain name server;
and the fifth sending module is used for returning the second IP address to the video network client, and the video network client is used for sending the second IP address to the superior program so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
Based on the same inventive concept, another embodiment of the present application provides an electronic device 1000, as shown in fig. 10. Fig. 10 is a schematic diagram of an electronic device according to an embodiment of the present application. The electronic device comprises a memory 1002, a processor 1001 and a computer program stored on the memory and executable on the processor, which when executed performs the steps of the method according to any of the embodiments of the present application.
Based on the same inventive concept, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the above-mentioned embodiments of the present application.
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 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.
Fig. 11 is a networking diagram of a video network according to an embodiment of the present application. As shown in fig. 11, 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:
fig. 12 is a schematic diagram illustrating a hardware structure of a node server according to an embodiment of the present application. As shown in fig. 12, 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:
fig. 13 is a schematic diagram illustrating a hardware structure of an access switch according to an embodiment of the present application. As shown in fig. 13, the network interface module (downlink network interface module 301, uplink network interface module 302), switching engine module 303, and CPU module 304 are mainly included;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
Fig. 14 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to an embodiment of the present application. As shown in fig. 14, the system mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, one of the core concepts of the embodiment of the invention is provided, the protocol of the video network is followed, when a user accesses a target website through a superior program (such as a browser), whether the same-name website of the target website exists in the video network is judged preferentially, if so, the IP address of the same-name website of the target website in the video network is returned to the superior program, so that the user accesses the same-name website preferentially, and the speed of responding to the user request is further improved; if the target website does not exist, the IP address of the target website in the Internet is returned to the upper-level program, so that the user can access the target website.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, client, server, device and medium for accessing internet website provided by the present invention are introduced in detail, and the principle and implementation of the present invention are explained in detail by applying specific examples, and the description of the above embodiments is only used to help understanding the method and core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for accessing an internet website is applied to a video network client in a video network, wherein the video network client is installed on a video network terminal, and the method comprises the following steps:
intercepting a DNS request sent by a superior program of the video networking terminal to an Internet domain name server, wherein the DNS request is generated when the superior program requests to access a target Internet website;
modifying the format of the DNS request according to the format of the video networking DNS request to obtain the video networking DNS request;
sending the DNS request to a domain name server of the video network;
and if a first IP address returned by the domain name server of the video network aiming at the DNS request of the video network is received, returning the first IP address to the superior program in a DNS response mode, so that the superior program accesses the target internet website deployed in the video network according to the first IP address.
2. The method of claim 1, further comprising:
if a first IP address returned by the domain name server of the video networking aiming at the DNS request of the video networking is not received, the DNS request of the video networking is modified into an Internet DNS request;
sending the Internet DNS request to the video networking domain name server, wherein the video networking domain name server is used for forwarding the Internet DNS request to the Internet domain name server and receiving a second IP address of the target Internet website returned by the Internet domain name server, and the second IP address is different from the first IP address;
and receiving a second IP address returned by the video networking domain name server aiming at the Internet DNS request, and returning the second IP address to the superior program in a DNS response mode so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
3. The method of claim 1, wherein modifying a format of the DNS request according to the format of the DNS request to obtain the DNS request comprises:
acquiring a domain name of a target internet website in the DNS request;
if the format of the domain name is the Internet format, modifying the format of the domain name into a video networking format;
generating the DNS request of the video network according to the modified domain name of the video network format;
and if the format of the domain name is a video networking format, taking the DNS request as the video networking DNS request.
4. The method of claim 1, wherein after sending the first IP address to the upper level program in the form of a DNS response, the method further comprises:
intercepting an internet data packet sent by the superior program to the target internet website deployed in the video network;
analyzing the internet data packet to obtain a first IP address of the target internet website;
acquiring a video networking number corresponding to the first IP address;
according to the format of the video networking data packet, packaging the Internet data packet into a video networking data packet according to the video networking number;
and sending the video networking data packet to the target internet website deployed in the video networking through an autonomous server in the video networking.
5. A method for accessing an Internet website is applied to a video networking domain name server, the video networking domain name server is in communication connection with a video networking terminal through a video networking client installed on the video networking terminal, and the method comprises the following steps:
receiving a target DNS request sent by the video networking client, wherein the target DNS request is generated after the video networking client processes the DNS request, and the DNS request is generated when a superior program of the video networking terminal requests to access a target Internet website;
analyzing the target DNS request to obtain a domain name of the target internet website;
if the format of the domain name is a video networking format, inquiring a pre-stored domain name-IP corresponding relation table to obtain a first IP address matched with the domain name;
and returning the first IP address to the video network client, wherein the video network client is used for sending the first IP address to the superior program so that the superior program can access the target Internet website deployed in the video network according to the first IP address.
6. The method of claim 5, wherein after obtaining the domain name of the target internet site, the method further comprises:
if the format of the domain name is in an internet grid mode, the target DNS request is sent to an internet domain name server;
receiving a second IP address of the target Internet website returned by the Internet domain name server;
and returning the second IP address to the video network client, wherein the video network client is used for sending the second IP address to the superior program so that the superior program can access the target Internet website deployed in the Internet according to the second IP address.
7. The utility model provides a visual networking client which characterized in that installs in visual networking terminal, visual networking client includes:
the first intercepting module is used for intercepting a DNS request sent by a superior program of the video networking terminal to an Internet domain name server, wherein the DNS request is generated when the superior program requests to access a target Internet website;
the first modification module is used for modifying the format of the DNS request according to the format of the video networking DNS request to obtain the video networking DNS request;
the first sending module is used for sending the video networking DNS request to a video networking domain name server;
and the first response module is used for returning the first IP address to the superior program in a DNS response mode if the first IP address returned by the video network domain name server aiming at the video network DNS request is received, so that the superior program can access the target Internet website deployed in the video network according to the first IP address.
8. The utility model provides a visual networking domain name server which characterized in that, visual networking domain name server passes through the visual networking client that installs on the visual networking terminal and visual networking terminal communication connection, visual networking domain name server includes:
the first receiving module is used for receiving a target DNS request sent by the video network client, wherein the target DNS request is generated after the video network client processes the DNS request, and the DNS request is generated when a superior program of the video network terminal requests to access a target internet website;
the second analysis module is used for analyzing the target DNS request to obtain the domain name of the target internet website;
the first query module is used for querying a pre-stored domain name-IP corresponding relation table to obtain a first IP address matched with the domain name if the format of the domain name is a video networking format;
and the third sending module is used for returning the first IP address to the video network client, and the video network client is used for sending the first IP address to the superior program so that the superior program can access the target Internet website deployed in the video network according to the first IP address.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executed implements the steps of the method according to any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201911205945.6A 2019-11-29 2019-11-29 Method, client, server, device and medium for accessing internet website Active CN111092863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911205945.6A CN111092863B (en) 2019-11-29 2019-11-29 Method, client, server, device and medium for accessing internet website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911205945.6A CN111092863B (en) 2019-11-29 2019-11-29 Method, client, server, device and medium for accessing internet website

Publications (2)

Publication Number Publication Date
CN111092863A true CN111092863A (en) 2020-05-01
CN111092863B CN111092863B (en) 2022-12-23

Family

ID=70393796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911205945.6A Active CN111092863B (en) 2019-11-29 2019-11-29 Method, client, server, device and medium for accessing internet website

Country Status (1)

Country Link
CN (1) CN111092863B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818395A (en) * 2020-05-29 2020-10-23 视联动力信息技术股份有限公司 Page display method and device, terminal equipment and storage medium
CN111835822A (en) * 2020-05-26 2020-10-27 视联动力信息技术股份有限公司 Service processing method, system, domain name server, electronic device and medium
CN113381906A (en) * 2021-05-19 2021-09-10 郑州信大捷安信息技术股份有限公司 Restrictive external network access test method based on government and enterprise system business
CN113676390A (en) * 2021-07-21 2021-11-19 北京网聚云联科技有限公司 VXLAN-based trigger type dynamic security channel method, user side and central console
CN114286125A (en) * 2021-12-30 2022-04-05 北京爱学习博乐教育科技有限公司 Enterprise live broadcast implementation method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282951A1 (en) * 2006-02-10 2007-12-06 Selimis Nikolas A Cross-domain solution (CDS) collaborate-access-browse (CAB) and assured file transfer (AFT)
WO2014063622A1 (en) * 2012-10-24 2014-05-01 Tencent Technology (Shenzhen) Company Limited Method and system for detecting website visit attempts by browsers
US20150237158A1 (en) * 2012-03-31 2015-08-20 Beijing Qihoo Technology Company Limited Method and system for accessing website
CN108965223A (en) * 2017-12-12 2018-12-07 北京视联动力国际信息技术有限公司 It is a kind of based on view networking web page processing method, proxy server and view networked terminals
CN109802991A (en) * 2018-12-10 2019-05-24 视联动力信息技术股份有限公司 The method and apparatus that a kind of display association turns gateway status

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070282951A1 (en) * 2006-02-10 2007-12-06 Selimis Nikolas A Cross-domain solution (CDS) collaborate-access-browse (CAB) and assured file transfer (AFT)
US20150237158A1 (en) * 2012-03-31 2015-08-20 Beijing Qihoo Technology Company Limited Method and system for accessing website
WO2014063622A1 (en) * 2012-10-24 2014-05-01 Tencent Technology (Shenzhen) Company Limited Method and system for detecting website visit attempts by browsers
CN108965223A (en) * 2017-12-12 2018-12-07 北京视联动力国际信息技术有限公司 It is a kind of based on view networking web page processing method, proxy server and view networked terminals
CN109802991A (en) * 2018-12-10 2019-05-24 视联动力信息技术股份有限公司 The method and apparatus that a kind of display association turns gateway status

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李军: "CDN技术在广电互联视频业务中的应用", 《广播与电视技术》, no. 09, 15 September 2013 (2013-09-15), pages 28 - 30 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835822A (en) * 2020-05-26 2020-10-27 视联动力信息技术股份有限公司 Service processing method, system, domain name server, electronic device and medium
CN111835822B (en) * 2020-05-26 2024-03-19 视联动力信息技术股份有限公司 Service processing method, system, domain name server, electronic equipment and medium
CN111818395A (en) * 2020-05-29 2020-10-23 视联动力信息技术股份有限公司 Page display method and device, terminal equipment and storage medium
CN113381906A (en) * 2021-05-19 2021-09-10 郑州信大捷安信息技术股份有限公司 Restrictive external network access test method based on government and enterprise system business
CN113381906B (en) * 2021-05-19 2022-03-25 郑州信大捷安信息技术股份有限公司 Restrictive external network access test method based on government and enterprise system business
CN113676390A (en) * 2021-07-21 2021-11-19 北京网聚云联科技有限公司 VXLAN-based trigger type dynamic security channel method, user side and central console
CN114286125A (en) * 2021-12-30 2022-04-05 北京爱学习博乐教育科技有限公司 Enterprise live broadcast implementation method and system
CN114286125B (en) * 2021-12-30 2023-12-19 北京爱学习博乐教育科技有限公司 Method and system for realizing enterprise live broadcast

Also Published As

Publication number Publication date
CN111092863B (en) 2022-12-23

Similar Documents

Publication Publication Date Title
CN111092863B (en) Method, client, server, device and medium for accessing internet website
CN110198345B (en) Data request method, system and device and storage medium
CN109167960B (en) Method and system for processing video stream data
CN109474715B (en) Resource configuration method and device based on video network
CN110035005B (en) Data processing method and device
CN110602266B (en) Domain name resolution method and system
CN110719258B (en) Server access method and system
CN109743550B (en) Method and device for monitoring data flow regulation
CN110602039A (en) Data acquisition method and system
CN110475131B (en) Terminal connection method, server and terminal
CN110213334B (en) Method and device for transmitting shared file
CN110113564B (en) Data acquisition method and video networking system
CN110650147A (en) Data acquisition method and system
CN110493149B (en) Message processing method and device
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110336710B (en) Terminal testing method, system and device and storage medium
CN110266577B (en) Tunnel establishment method and video networking system
CN110138729B (en) Data acquisition method and video networking system
CN109842630B (en) Video processing method and device
CN109769012B (en) Web server access method and device
CN108881148B (en) Data acquisition method and device
CN110391922B (en) Version prompting method and device for service platform
CN108989896B (en) Video-on-demand request processing method and device
CN110677315A (en) Method and system for monitoring state
CN110120937B (en) Resource acquisition method, system, device and computer readable 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