CN111614792B - Transparent transmission method, system, server, electronic device and storage medium - Google Patents

Transparent transmission method, system, server, electronic device and storage medium Download PDF

Info

Publication number
CN111614792B
CN111614792B CN202010247505.3A CN202010247505A CN111614792B CN 111614792 B CN111614792 B CN 111614792B CN 202010247505 A CN202010247505 A CN 202010247505A CN 111614792 B CN111614792 B CN 111614792B
Authority
CN
China
Prior art keywords
domain name
server
terminal
video network
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010247505.3A
Other languages
Chinese (zh)
Other versions
CN111614792A (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 CN202010247505.3A priority Critical patent/CN111614792B/en
Publication of CN111614792A publication Critical patent/CN111614792A/en
Application granted granted Critical
Publication of CN111614792B publication Critical patent/CN111614792B/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

Abstract

The invention provides a transparent transmission method, a system, a server, electronic equipment and a storage medium. The method comprises the following steps: after receiving an IP address of a domain name inquiry terminal and a terminal number of a transparent transmission destination end sent by a first video network domain name server in a local domain network, a video network access server establishes a mapping relation between the IP address and the terminal number and allocates access resources for the domain name inquiry terminal; the video network access server returns the information of the access resource to the domain name inquiry terminal through the first video network domain name server; after receiving an access request sent by a domain name inquiry terminal according to the information of the access resource, the video network access server determines a terminal number corresponding to the domain name inquiry terminal according to the mapping relation; and the video network access server transparently transmits the access request by taking the terminal number as a destination terminal. The invention can dynamically allocate resources, effectively improve the efficiency of accessing the video network into the server and improve the transparent transmission efficiency.

Description

Transparent transmission method, system, server, electronic device and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a transparent transmission method, a system, a server, an electronic device, and a storage medium.
Background
In the video network, a video network access server can provide a transparent transmission service. The domain name inquiry terminal in one local area network can access the web server in another local area network through the video network access server.
When a domain name inquiry terminal (such as a browser) wants to access a web server through a transparent transmission service provided by an access server of the internet of view, the browser needs to be manually configured, and an access request is initiated to the access server of the internet of view through the packaged browser. After the access server of the video network receives the access request, the domain name query terminal and the web server are configured to form a one-to-one mapping relation, and other domain name query terminals can not access the web server through the access server of the video network. Therefore, the current transparent transmission mode has great limitation in application.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a transparent transmission method, system, server, electronic device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention discloses a transparent transmission method, which is applied to a video network access server located in a local area network; the method comprises the following steps:
after receiving an IP address of a domain name inquiry terminal and a terminal number of a transparent transmission destination end sent by a first video network domain name server in the local domain network, the video network access server establishes a mapping relation between the IP address and the terminal number and allocates access resources for the domain name inquiry terminal;
the video network access server returns the information of the access resource to the domain name inquiry terminal through the first video network domain name server;
after receiving an access request sent by the domain name query terminal according to the information of the access resource, the video network access server determines a terminal number corresponding to the domain name query terminal according to the mapping relation;
and the video network access server transparently transmits the access request by taking the terminal number as a destination end.
Optionally, after the establishing the mapping relationship between the IP address and the terminal number, the method further includes: the video network access server inserts the mapping relation into the tail of a preset task queue; determining a terminal number corresponding to the domain name query terminal according to the mapping relationship, including: and the video network access server searches a terminal number corresponding to the domain name inquiry terminal from the head of the task queue according to the IP address of the domain name inquiry terminal.
Optionally, after the transparent transmission of the access request is performed by using the terminal number as the destination, the method further includes: and the video network access server releases the access resources allocated to the domain name inquiry terminal and deletes the mapping relation corresponding to the domain name inquiry terminal.
In a second aspect, the embodiment of the invention discloses a transparent transmission method, which is applied to a first video network domain name server in a local area network; the method comprises the following steps:
after the first video network domain name server obtains a terminal number of a transparent transmission destination end corresponding to a target domain name inquired by a domain name inquiry terminal, the first video network domain name server sends an IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end to a video network access server in the local area network;
and after receiving the information of the access resource distributed to the domain name inquiry terminal and returned by the video network access server, the first video network domain name server returns the information of the access resource to the domain name inquiry terminal.
In a third aspect, an embodiment of the present invention discloses a transparent transmission system, including: the domain name inquiry system comprises a domain name inquiry terminal, a first video network domain name server and a video network access server;
the first video network domain name server is used for sending the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end to a video network access server in the local domain network after acquiring the terminal number of the transparent transmission destination end corresponding to the target domain name inquired by the domain name inquiry terminal; after receiving the information of the access resources returned by the video network access server, returning the information of the access resources to the domain name query terminal;
the video network access server is used for establishing a mapping relation between the IP address and the terminal number after receiving the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end which are sent by the first video network domain name server, and allocating access resources for the domain name inquiry terminal; returning the information of the access resource to the first video network domain name server; after receiving an access request sent by the domain name inquiry terminal according to the information of the access resource, determining a terminal number corresponding to the domain name inquiry terminal according to the mapping relation; and carrying out transparent transmission on the access request by taking the terminal number as a destination end.
In a fourth aspect, an embodiment of the present invention discloses a server, where the server is a video network access server located in a local area network; the video networking access server comprises:
the distribution module is used for establishing a mapping relation between an IP address and a terminal number after receiving the IP address of a domain name inquiry terminal and the terminal number of a transparent transmission destination end which are sent by a first video network domain name server in the local domain network, and distributing access resources for the domain name inquiry terminal;
the return module is used for returning the information of the access resource to the domain name inquiry terminal through the first video network domain name server;
the determining module is used for determining a terminal number corresponding to the domain name inquiring terminal according to the mapping relation after receiving an access request sent by the domain name inquiring terminal according to the information of the access resource;
and the transparent transmission module is used for carrying out transparent transmission on the access request by taking the terminal number as a destination end.
Optionally, the network of sight access server further comprises: the storage module is used for inserting the mapping relation into the tail of a preset task queue; the determining module is specifically configured to search, according to the IP address of the domain name querying terminal, a terminal number corresponding to the domain name querying terminal from the head of the task queue.
Optionally, the internet of vision access server further comprises: and the release module is used for releasing the resources allocated to the domain name inquiry terminal and deleting the mapping relation corresponding to the domain name inquiry terminal after the transparent transmission module carries out transparent transmission on the access request by taking the terminal number as a destination terminal.
In a fifth aspect, an embodiment of the present invention discloses a server, where the server is a first domain name server of a video network located in a local area network; the first video networking domain name server comprises:
the sending module is used for sending the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end to a video network access server in the local area network after acquiring the terminal number of the transparent transmission destination end corresponding to a target domain name inquired by a domain name inquiry terminal;
and the forwarding module is used for returning the information of the access resources to the domain name inquiry terminal after receiving the information of the access resources distributed to the domain name inquiry terminal, which is returned by the video network access server.
In a sixth aspect, an embodiment of the present invention discloses an electronic device, including: one or more processors; and one or more machine readable media having instructions stored thereon; the instructions, when executed by the one or more processors, cause the processors to perform any of the above-described passthrough methods performed by the video network access server, or the first video network domain name server.
In a seventh aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, where the program, when executed by a processor, implements the transparent transmission method executed by the access server of the video network, or the transparent transmission method executed by the domain name server of the first video network.
In the embodiment of the invention, after a video network access server receives an IP address of a domain name inquiry terminal and a terminal number of a transparent destination end, which are sent by a first video network domain name server in a local area network, the video network access server establishes a mapping relation between the IP address and the terminal number and allocates access resources for the domain name inquiry terminal; the video network access server returns the information of the access resource to the domain name inquiry terminal through the first video network domain name server; after receiving an access request sent by the domain name query terminal according to the information of the access resource, the video network access server determines a terminal number corresponding to the domain name query terminal according to the mapping relation; and the video network access server transparently transmits the access request by taking the terminal number as a destination terminal. Therefore, in the embodiment of the invention, before the domain name query terminal initiates the access request, the first video network domain name server informs the video network access server of the IP address of the domain name query terminal and the terminal number of the transparent destination terminal, so that the video network access server can know which domain name query terminal is to initiate the access request in advance, and allocates the access resource for the domain name query terminal which is to initiate the access request in advance to prepare the service. Based on the dynamic allocation and automatic negotiation of the access resources of the use requirements of the domain name inquiry terminals, a plurality of domain name inquiry terminals in the same local area network can commonly use the transparent transmission service of the same video network access server, so that the efficiency of the video network access server is effectively improved, and the transparent transmission efficiency is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a transparent transmission method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of a transparent transmission method according to a second embodiment of the present invention.
Fig. 3 is a flowchart illustrating steps of a transparent transmission method according to a third embodiment of the present invention.
Fig. 4 is a schematic device interaction diagram of a transparent transmission process according to a fourth embodiment of the present invention.
Fig. 5 is a block diagram of a server according to a fifth embodiment of the present invention.
Fig. 6 is a block diagram of a server according to a sixth embodiment of the present invention.
Fig. 7 is a block diagram of a transparent transmission system according to a seventh 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 transparent transmission method provided by the embodiment of the invention is applied to the video network. Unlike the internet architecture, in order to improve the security of the network in the video network, the local area networks in the video network are isolated from each other, and the network node relationship is unknown. In each local area network, a video network access server, a video network domain name server, a domain name inquiry terminal, a web page server and other devices can be included. The video network access server is used for providing a transparent transmission service, one terminal number can access a local area network where another terminal number is located through the transparent transmission service, and an IP (Internet Protocol) address for locally using the transparent transmission service is associated with a remote terminal number. The domain name server of the internet of view is used for managing domain names in a local area network where the domain name server is located, and domain name registration, domain name resolution and the like can be provided for Hyper Text Transfer Protocol (HTTP) services in the internet of view. The domain name server of the video network can be hardware or software, for example, a monitoring access service system server can be used as the domain name server of the video network. The domain name is the name of a computer or a group of computers on the Internet (network) composed of a string of characters separated by dots, and is used for positioning and identifying the computer during data transmission. For example, www.baidu.com is the domain name. The domain name query terminal refers to a device which can access the video network, such as a device provided with a browser.
Next, the transparent transmission method in the embodiment of the present invention will be described in detail.
Example one
Referring to fig. 1, a flowchart illustrating steps of a transparent transmission method according to a first embodiment of the present invention is shown. The transparent transmission method of the embodiment of the invention can be applied to a video network access server in a local area network. The domain name inquiry terminal, the first video network domain name server and the video network access server in the embodiment of the invention are positioned in the same local area network, and the destination end of the transparent transmission is positioned outside the local area network.
The transparent transmission method of the embodiment of the invention can comprise the following steps:
step 101, after receiving an IP address of a domain name query terminal and a terminal number of a destination terminal of transparent transmission, which are sent by a first domain name server of the video network, a video network access server establishes a mapping relation between the IP address and the terminal number, and allocates access resources for the domain name query terminal.
When a domain name query terminal located in a certain local area network wants to access web servers located in other local area networks, the domain name query terminal can initiate domain name query to a first video network domain name server located in the local area network so as to query information of the web server corresponding to a target domain name. The first video network domain name server acquires the terminal number of the transparent transmission destination end corresponding to the target domain name inquired by the domain name inquiry terminal and the information of the webpage server corresponding to the target domain name. The first video network domain name server informs the video network access server in the local network of which domain name inquiry terminals currently apply for domain name inquiry, and sends the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination terminal to the video network access server in the local network.
The video network access server receives the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination terminal sent by the first video network domain name server in the local domain network. The video network access server can know the domain name inquiry terminal which is going to initiate the access request subsequently according to the IP address of the domain name inquiry terminal, and can know the destination terminal which is going to forward the access request sent by the domain name inquiry terminal subsequently according to the terminal number of the destination terminal which is transmitted transparently, therefore, the video network access server establishes the mapping relation between the IP address and the terminal number, and allocates the access resource for the domain name inquiry terminal.
And step 102, the video network access server returns the information of the access resource to the domain name inquiry terminal through the first video network domain name server.
After allocating the access resource for the domain name query terminal, the access server of the video network returns the information of the access resource allocated for the domain name query terminal to the domain name query terminal. The video network access server returns the information of the access resource to the first video network domain name server, and then the information of the access resource is returned to the domain name inquiry terminal through the first video network domain name server.
Step 103, after receiving an access request sent by the domain name query terminal according to the information of the access resource, the video network access server determines a terminal number corresponding to the domain name query terminal according to the mapping relationship.
After receiving the information of the access resources allocated to the domain name inquiry terminal by the video network access server, the domain name inquiry terminal can establish connection with the video network access server according to the information of the access resources allocated to the domain name inquiry terminal by the video network access server and send an access request to the video network access server. And after receiving the access request sent by the domain name inquiry terminal, the video network access server determines the terminal number corresponding to the domain name inquiry terminal according to the stored mapping relation.
And 104, the video network access server transparently transmits the access request by taking the terminal number as a destination end.
In the embodiment of the invention, before the domain name inquiry terminal initiates the webpage access request, the first video network domain name server informs the video network access server of the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination terminal, so that the video network access server can know which domain name inquiry terminal is to initiate the access request in advance and allocate access resources for the domain name inquiry terminal which is to initiate the access request in advance to prepare services. The access resources are dynamically allocated and automatically negotiated based on the use requirements of the domain name inquiry terminals, and a plurality of domain name inquiry terminals in the same local area network can commonly use the transparent transmission service of the same video network access server, so that the efficiency of the video network access server is effectively improved, and the transparent transmission efficiency is improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a transparent transmission method according to a second embodiment of the present invention is shown. The transparent transmission method of the embodiment of the invention is applied to the access server of the video network in the local area network.
The transparent transmission method of the embodiment of the invention can comprise the following steps:
step 201, after receiving an IP address of a domain name query terminal and a terminal number of a destination terminal of transparent transmission sent by a first domain name server of the local area network, a video network access server establishes a mapping relation between the IP address and the terminal number, and allocates access resources for the domain name query terminal.
The video network comprises a video network core server, wherein the video network core server is a central device of the video network and is used for forwarding a video network instruction, establishing a video multicast address, allocating a video stream and the like. The video networking domain name server may be communicatively coupled to a video networking core server. All devices used in the video network are required to perform network access operation. For example, the network can be accessed through a virtual terminal number, and the virtual terminal number registers the online state on a video network core server through a video network access protocol and is ready to receive or send a video network instruction. When the network is accessed, the video network core server broadcasts a network access instruction and receives a response network access instruction sent by the network access equipment. The video network domain name server is used as a special network access device, so that the response network access instruction sent by the video network domain name server can carry indication information indicating that the network access device is the video network domain name server, and the video network core server can mark the network access device as the video network domain name server according to the indication information. The core server of the video network may store the IP address of each domain name query terminal after network access, the terminal number of the domain name query terminal, and information of each domain name server after network access, where the information of the domain name server of the video network may include one or more of the following information: IP address, terminal number, domain name list, etc. The equipment which is accessed to the network in the video network has a unique terminal number, and the equipment can communicate based on the terminal number.
The domain name inquiry terminal initiates domain name inquiry to a first video network domain name server, and the first video network domain name server acquires the terminal number of a transparent transmission destination end corresponding to a target domain name inquired by the domain name inquiry terminal and the information of a webpage server corresponding to the target domain name.
If the mode that the video network access server allocates the access resources for the domain name query terminal in advance is not adopted in the embodiment of the invention, the first video network domain name server returns the information of the web server corresponding to the acquired target domain name to the domain name query terminal. The domain name inquiry terminal initiates an access request to the video network access server, the video network access server configures the domain name inquiry terminal and the web server to form a one-to-one mapping relation, and other domain name inquiry terminals can not access the web server through the video network access server.
If the mode that the video network access server allocates the access resources for the domain name inquiry terminal in advance is adopted, the first video network domain name server does not return the information of the web server corresponding to the target domain name to the domain name inquiry terminal temporarily, but sends the IP address of the domain name inquiry terminal and the terminal number of the destination terminal of the transparent transmission to the video network access server. After receiving the IP address of the domain name inquiry terminal and the terminal number of the destination end transmitted through, which are sent by the first domain name server, the video network access server establishes the mapping relation between the IP address and the terminal number, and allocates access resources for the domain name inquiry terminal. Wherein the allocated access resource may include a physical resource (such as a port) for connecting with the domain name querying terminal, a computing resource (such as a cache, etc.) for forwarding the access request, and the like.
In an alternative embodiment, a task queue may be preset in the access server of the internet of view, and the access server of the internet of view stores the mapping relationships through the task queue, and one mapping relationship may be understood as a transparent transmission task. Therefore, after the mapping relationship between the IP address and the terminal number is established, the video network access server inserts the mapping relationship into the tail of a preset task queue. Under a normal condition, a domain name query terminal which receives information of access resources allocated by a video network access server first initiates an access request to the video network access server, and if a mapping relation corresponding to the domain name query terminal is at the front position of a task queue, the time required for finding a terminal number corresponding to the domain name query terminal in the task queue is less, so that the processing efficiency of the video network access server is improved in a way of storing the mapping relation through the task queue.
Step 202, the access server of the video network returns the information of the access resource to the domain name query terminal through the first domain name server of the video network.
And the video network access server returns the information of the access resource allocated to the domain name inquiry terminal to the first video network domain name server. After receiving the information of the access resource, the first video network domain name server returns the IP address of the video network access server, the information of the access resource and the information of the web server corresponding to the target domain name to the domain name inquiry terminal.
The information of the access resource returned by the access server of the video network may include a port number of a port allocated for the domain name query terminal. The information of the web server may include an IP address and a port number of the web server.
Step 203, after receiving an access request sent by the domain name query terminal according to the information of the access resource, the video network access server determines a terminal number corresponding to the domain name query terminal according to the mapping relationship.
After receiving the information of the IP address and access resource of the video network access server (the port number allocated to the domain name query terminal by the video network access server) and the IP address and port number of the web server corresponding to the target domain name, the domain name query terminal may establish a TCP (Transmission Control Protocol) connection with the video network access server according to the IP address of the video network access server and the port number allocated to the domain name query terminal by the video network access server. The domain name query terminal generates an access request (for example, the access request may be an HTTP request), and the access request may include an IP address of the domain name query terminal, an IP address and a port number of the web server, and the like. And the domain name inquiry terminal sends the access request to the video network access server through the TCP connection established between the domain name inquiry terminal and the video network access server.
After receiving a webpage access request sent by a domain name inquiry terminal, the video network access server searches for a terminal number corresponding to the domain name inquiry terminal according to the IP address of the domain name inquiry terminal. In an optional implementation manner, if the mapping relationship is stored according to the manner of the task queue, the access server of the internet of view searches the terminal number corresponding to the domain name query terminal from the head of the task queue according to the IP address of the domain name query terminal.
And step 204, the video network access server transparently transmits the access request by taking the terminal number as a destination end.
The access server of the video network can know the destination terminal to which the access request sent by the domain name inquiry terminal is to be transmitted according to the terminal number corresponding to the searched domain name inquiry terminal. The video network access server can be in communication connection with the destination end of the transparent transmission based on the terminal number of the destination end of the transparent transmission through the video network instruction. The access request includes complete link layer-application layer protocol content, and the view network access server may utilize the access resource (specifically, may include a computing resource) allocated for the domain name query terminal, and use the content of the entire access request (including all data from the link layer to the application layer) as the load of the view network instruction. The video networking instruction may include a Media Access Control (MAC) address of the video networking Access server as a source MAC address, a terminal number of the video networking Access server as a source terminal number, and a terminal number of the transparent destination terminal as a destination terminal number. And the video networking access server sends the video networking instruction to a video networking core server, and the video networking core server sends the video networking instruction to the transparent transmission destination terminal after receiving the video networking instruction and analyzing to obtain the terminal number of the transparent transmission destination terminal.
After receiving the video networking instruction, the transparent transmission destination terminal analyzes the video networking instruction to obtain the load, namely the access request, and can forward the access request to the corresponding web server through the information (IP address and port number) of the web server included in the access request. Therefore, the access request sent by the domain name inquiry terminal is sent to the corresponding webpage server. And after receiving the access request, the webpage server obtains corresponding webpage data and returns the webpage data.
In an optional implementation manner, the destination of the transparent transmission may be a second domain name server of the video network in the local area network where the web server corresponding to the target domain name is located.
Step 205, the access server of the video network releases the access resource allocated to the domain name query terminal, and deletes the mapping relationship corresponding to the domain name query terminal.
After sending out the access request, the access server of the video network completes the transparent transmission service required by the domain name query terminal in the current access, so that the access server of the video network can release the access resources allocated to the domain name query terminal, so that other domain name query terminals can use the access resources. The video network access server also deletes the mapping relation corresponding to the domain name query terminal so as to release the corresponding memory in the task queue, and the next sequence of the mapping relation corresponding to the domain name query terminal in the task queue is positioned at the front position of the queue.
EXAMPLE III
Referring to fig. 3, a flowchart illustrating steps of a transparent transmission method according to a third embodiment of the present invention is shown. The transparent transmission method provided by the embodiment of the invention is applied to a first video network domain name server in a local area network.
The transparent transmission method of the embodiment of the invention can comprise the following steps:
step 301, after acquiring a terminal number of a destination end corresponding to a target domain name queried by a domain name querying terminal and transmitted through, a first domain name server of the video network sends an IP address of the domain name querying terminal and the terminal number of the destination end transmitted through to an access server of the video network.
When a domain name query terminal located in a certain local area network wants to access a web server located in another local area network, the domain name query terminal can initiate domain name query to a first video network domain name server located in the local area network so as to query information of the web server corresponding to a target domain name. The first video network domain name server acquires the terminal number of the transparent transmission destination end corresponding to the target domain name inquired by the domain name inquiry terminal and the information of the webpage server corresponding to the target domain name. And the first video network domain name server sends the IP address of the domain name inquiry terminal and the terminal number of the destination terminal of the transparent transmission to the video network access server.
After receiving the IP address of the domain name inquiry terminal and the terminal number of the destination end transmitted by the first video network domain name server, the video network access server establishes the mapping relation between the IP address and the terminal number, allocates access resources for the domain name inquiry terminal, and returns the information of the access resources to the first video network domain name server.
Step 302, after receiving the information of the access resource allocated to the domain name query terminal and returned by the video network access server, the first video network domain name server returns the information of the access resource to the domain name query terminal.
After receiving the information of the access resource returned by the video network access server, the first video network domain name server returns the IP address of the video network access server, the information of the access resource and the information of the web server corresponding to the target domain name to the domain name inquiry terminal.
And the domain name inquiry terminal sends an access request to the video network access server according to the information of the access resource, and after receiving the access request, the video network access server determines a terminal number corresponding to the domain name inquiry terminal according to the mapping relation and transparently transmits the access request by taking the terminal number as a destination terminal.
The process performed by the video network access server in this embodiment is basically the same as that in the first and second embodiments, and specific reference may be made to the related description of the above embodiments.
Example four
The embodiment of the invention introduces a transparent transmission method from the whole interaction process. Referring to fig. 4, a device interaction diagram of a transparent transmission process according to a fourth embodiment of the present invention is shown. As shown in fig. 4, the transparent transmission process may include:
1. and the domain name inquiry terminal initiates domain name inquiry to the first video network domain name server.
2. The first video network domain name server initiates domain name inquiry to the outside.
3. And the terminal number of the transparent transmission destination end corresponding to the target domain name and the information of the webpage server corresponding to the target domain name are returned to the first video network domain name server from the outside.
In the process, the external part refers to the external part of the local area video network where the domain name inquiry terminal, the video network access server and the first video network domain name server are located. The externally involved devices may include a video networking core server, a second video networking domain name server, and a web server.
In implementation, the destination of the transparent transmission may be a second domain name server of the internet of view network, which is located in the same local area network as the web server. The domain name inquiry terminal sends a first domain name inquiry request carrying a target domain name to a first video network domain name server; the method comprises the steps that a first video network domain name server initiates a first connection request carrying a target domain name to a video network core server when receiving a first domain name query request sent by a domain name query terminal and determining that the target domain name does not belong to a domain name maintained by the first video network domain name server; after receiving the first connection request, the video networking core server acquires a terminal number of a second video networking domain name server according to the target domain name and returns the terminal number of the second video networking domain name server to the first video networking domain name server; the first video network domain name server sends a second domain name query request carrying a target domain name to a second video network domain name server based on the terminal number of the second video network domain name server so as to query the IP address of the webpage server corresponding to the target domain name; after receiving the second domain name query request, the second video network domain name server initiates a second connection request carrying the terminal number of the first video network domain name server and the target domain name to the video network core server so as to query the IP network segment of the first video network domain name server; after receiving the second connection request, the core server of the video network acquires the IP network segment (the first two or three digits of the complete IP address) of the first video network domain name server according to the terminal number of the first video network domain name server, and returns the IP network segment of the first video network domain name server to the second video network domain name server. The second video network domain name server checks whether the IP network segment of the first video network domain name server has the access authority to the web server corresponding to the target domain name, if so, the second video network domain name server returns the information (IP address and port number) of the web server corresponding to the target domain name to the first video network domain name server based on the terminal number of the first video network domain name server; and if the second video network domain name server does not have the access authority, the second video network domain name server returns a query failure response to the first video network domain name server based on the terminal number of the first video network domain name server.
The domain name inquiry terminal and the first video network domain name server can communicate based on a TCP connection mode in a local area network. The data transmitted between the first video network domain name server and the second video network domain name server are forwarded through the video network core server, the home terminal carries the terminal number of the opposite terminal when sending the data, the home terminal sends the data to the video network core server, and the video network core server forwards the data to the opposite terminal according to the terminal number of the opposite terminal.
4. And the first video network domain name server sends the IP address of the domain name inquiry terminal and the terminal number of the destination terminal which is transmitted through to the video network access server.
The first video network domain name server and the video network access server can communicate based on a TCP connection mode in a local area network.
5. The video network access server establishes a mapping relation between an IP address of the domain name inquiry terminal and a terminal number of a destination terminal which is transmitted through, allocates access resources for the domain name inquiry terminal which is about to initiate an access request, and returns information (port number) of the access resources allocated for the domain name inquiry terminal to the first video network domain name server when all the domain name inquiry terminals are ready.
6. And the first video network domain name server returns the IP address and the allocated port number of the video network access server, and the IP address and the port number of the webpage server corresponding to the target domain name to the domain name inquiry terminal.
7. The domain name inquiry terminal establishes TCP connection with the video network access server according to the IP address and the port number of the video network access server, and sends an access request to the video network access server, wherein the access request carries the IP address and the port number of the web server corresponding to the target domain name.
8. The video network access server monitors the stored IP addresses of all the domain name inquiry terminals, determines the terminal number of the transparent transmission destination terminal corresponding to the domain name inquiry terminal after receiving an access request sent by one domain name inquiry terminal, uses the computing resource distributed to the domain name inquiry terminal in advance, takes the access request as the load of a video network instruction, carries the information of the video network MAC address of the video network access server, the terminal number of the transparent transmission destination terminal and the like in the video network instruction, and sends the video network instruction to the outside.
In the implementation, the video networking access server sends the video networking instruction to the video networking core server, and the video networking core server forwards the video networking instruction to the transparent transmission destination terminal after analyzing the video networking core server to obtain the transparent transmission destination terminal number. And the transparent transmission destination terminal analyzes the video networking instruction to obtain an access request, and after the IP address and the port number of the webpage server carried in the access request are obtained through analysis, the webpage access request is sent to the corresponding webpage server. Therefore, the access request initiated by the domain name inquiry terminal in one local area network of vision is sent to the web server in the other local area network of vision.
In the embodiment of the invention, the transparent transmission service of the video network access server has predictability, and the access resources can be allocated in advance to carry out service preparation, so that the service efficiency of the video network access server is effectively improved, and the transparent transmission efficiency is improved.
EXAMPLE five
Referring to fig. 5, a block diagram of a server according to a fifth embodiment of the present invention is shown. The server of the embodiment of the invention is a video network access server positioned in a local area network, and the video network access server can comprise the following modules:
the distribution module 501 is configured to establish a mapping relationship between an IP address and a terminal number after receiving the IP address of a domain name query terminal and the terminal number of a destination terminal of transparent transmission, which are sent by a first video network domain name server in the local area network, and distribute access resources to the domain name query terminal;
a returning module 502, configured to return the information of the access resource to the domain name querying terminal via the first video network domain name server;
a determining module 503, configured to determine, according to the mapping relationship, a terminal number corresponding to the domain name querying terminal after receiving an access request sent by the domain name querying terminal according to the information of the access resource;
and an unvarnished transmission module 504, configured to unvarnish the access request by using the terminal number as a destination.
Optionally, the internet of vision access server further comprises: the storage module is used for inserting the mapping relation into the tail of a preset task queue; the determining module 503 is specifically configured to search, according to the IP address of the domain name querying terminal, a terminal number corresponding to the domain name querying terminal from the head of the task queue.
Optionally, the internet of vision access server further comprises: a releasing module, configured to release the access resource allocated to the domain name querying terminal after the transparent transmission module 504 performs transparent transmission on the access request with the terminal number as a destination end, and delete the mapping relationship corresponding to the domain name querying terminal.
EXAMPLE six
Referring to fig. 6, a block diagram of a server according to a sixth embodiment of the present invention is shown. The server of the embodiment of the invention is a first video network domain name server positioned in a local area network; the first video networking domain name server may comprise the following modules:
a sending module 601, configured to send an IP address of a domain name query terminal and a terminal number of a transparent destination terminal to a video network access server in a local area network after acquiring the terminal number of the transparent destination terminal corresponding to a target domain name queried by the domain name query terminal;
a forwarding module 602, configured to return the information of the access resource to the domain name querying terminal after receiving the information of the access resource allocated to the domain name querying terminal and returned by the video networking access server.
EXAMPLE seven
Referring to fig. 7, a block diagram of a transparent transmission system according to a seventh embodiment of the present invention is shown. The transparent transmission system of the embodiment of the invention comprises: a domain name inquiry terminal 701, a first video network domain name server 702 and a video network access server 703;
the first video network domain name server 702 is configured to, after acquiring a terminal number of a transparent destination terminal corresponding to a target domain name queried by the domain name querying terminal 701, send an IP address of the domain name querying terminal 701 and the terminal number of the transparent destination terminal to the video network access server 703 in the local domain network; after receiving the information of the access resource returned by the access server 703 of the video network, returning the information of the access resource to the domain name query terminal 701;
the video network access server 703 is configured to establish a mapping relationship between the IP address and the terminal number after receiving the IP address of the domain name querying terminal 701 and the terminal number of the destination terminal of the transparent transmission, which are sent by the first video network domain name server 702, and allocate access resources to the domain name querying terminal 701; returning information of the access resource to the first video networking domain name server 702; after receiving an access request sent by the domain name query terminal 701 according to the information of the access resource, determining a terminal number corresponding to the domain name query terminal 701 according to the mapping relationship; and carrying out transparent transmission on the access request by taking the terminal number as a destination end.
In the embodiment of the invention, before the domain name inquiry terminal initiates the access request, the first video network domain name server informs the video network access server of the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination terminal, so that the video network access server can know which domain name inquiry terminal is about to initiate the access request in advance and allocate access resources for the domain name inquiry terminal which is about to initiate the access request in advance to prepare services. Based on the dynamic allocation and automatic negotiation of the access resources of the use requirements of the domain name inquiry terminals, a plurality of domain name inquiry terminals in the same local area network can commonly use the transparent transmission service of the same video network access server, so that the efficiency of the video network access server is effectively improved, and the transparent transmission efficiency is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In an embodiment of the invention, an electronic device is also provided. The electronic device may include one or more processors and one or more machine-readable media having instructions, such as an application program, stored thereon. The instructions, when executed by the one or more processors, cause the processors to perform any of the above-described passthrough methods performed by a video networking access server.
In an embodiment of the invention, an electronic device is also provided. The electronic device may include one or more processors and one or more machine-readable media having instructions, such as an application program, stored thereon. The instructions, when executed by the one or more processors, cause the processors to perform the above-described transparent transmission method performed by the first video network domain name server.
In an embodiment of the present invention, there is also provided a non-transitory computer readable storage medium having stored thereon a computer program executable by a processor of an electronic device to implement any of the above-described transparent transmission methods performed by a video networking access server. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an embodiment of the present invention, there is also provided a non-transitory computer readable storage medium having stored thereon a computer program executable by a processor of an electronic device to implement the above-described transparent transmission method performed by a first video network domain name server.
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 phrases "comprising one of \ ...does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The transparent transmission method, system, server, electronic device and storage medium provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A transparent transmission method is characterized in that the transparent transmission method is applied to a video network access server in a local area network; the method comprises the following steps:
after receiving an IP address of a domain name inquiry terminal and a terminal number of a transparent transmission destination end sent by a first video network domain name server in the local domain network, the video network access server establishes a mapping relation between the IP address and the terminal number and allocates access resources for the domain name inquiry terminal;
the video network access server returns the information of the access resource to the domain name inquiry terminal through the first video network domain name server;
after receiving an access request sent by the domain name query terminal according to the information of the access resource, the video network access server determines a terminal number corresponding to the domain name query terminal according to the mapping relation;
and the video network access server transparently transmits the access request by taking the terminal number as a destination end.
2. The method of claim 1,
after the establishing of the mapping relationship between the IP address and the terminal number, the method further includes: the video network access server inserts the mapping relation into the tail of a preset task queue;
determining a terminal number corresponding to the domain name query terminal according to the mapping relationship, wherein the determining comprises the following steps: and the video network access server searches a terminal number corresponding to the domain name inquiry terminal from the head of the task queue according to the IP address of the domain name inquiry terminal.
3. The method of claim 1, further comprising, after the transparent transmission of the access request with the terminal number as a destination, the steps of:
and the video network access server releases the access resources allocated to the domain name inquiry terminal and deletes the mapping relation corresponding to the domain name inquiry terminal.
4. The transparent transmission method is characterized by being applied to a first video network domain name server positioned in a local area network; the method comprises the following steps:
after the first video network domain name server obtains a terminal number of a transparent transmission destination end corresponding to a target domain name inquired by a domain name inquiry terminal, the first video network domain name server sends an IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end to a video network access server in the local area network;
and after receiving the information of the access resource distributed to the domain name inquiry terminal and returned by the video network access server, the first video network domain name server returns the information of the access resource to the domain name inquiry terminal.
5. A pass-through system, comprising: the domain name inquiry system comprises a domain name inquiry terminal, a first video network domain name server and a video network access server;
the first video network domain name server is used for sending the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end to a video network access server in the local domain network after acquiring the terminal number of the transparent transmission destination end corresponding to the target domain name inquired by the domain name inquiry terminal; after receiving the information of the access resources returned by the video network access server, returning the information of the access resources to the domain name query terminal;
the video network access server is used for establishing a mapping relation between the IP address and the terminal number after receiving the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end sent by the first video network domain name server, and allocating access resources for the domain name inquiry terminal; returning the information of the access resource to the first video network domain name server; after receiving an access request sent by the domain name inquiry terminal according to the information of the access resource, determining a terminal number corresponding to the domain name inquiry terminal according to the mapping relation; and carrying out transparent transmission on the access request by taking the terminal number as a destination end.
6. A server, wherein the server is a video network access server located in a local area network; the video network access server comprises:
the distribution module is used for establishing a mapping relation between an IP address and a terminal number after receiving the IP address of a domain name inquiry terminal and the terminal number of a transparent transmission destination end which are sent by a first video network domain name server in a local domain network, and distributing access resources for the domain name inquiry terminal;
the return module is used for returning the information of the access resource to the domain name inquiry terminal through the first video network domain name server;
the determining module is used for determining a terminal number corresponding to the domain name inquiring terminal according to the mapping relation after receiving an access request sent by the domain name inquiring terminal according to the information of the access resource;
and the transparent transmission module is used for carrying out transparent transmission on the access request by taking the terminal number as a destination end.
7. A server, wherein the server is a first domain name server of a video network located in a local area network; the first video networking domain name server comprises:
the sending module is used for sending the IP address of the domain name inquiry terminal and the terminal number of the transparent transmission destination end to a video network access server in the local area network after acquiring the terminal number of the transparent transmission destination end corresponding to a target domain name inquired by a domain name inquiry terminal;
and the forwarding module is used for returning the information of the access resources to the domain name inquiry terminal after receiving the information of the access resources distributed to the domain name inquiry terminal, which is returned by the video network access server.
8. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon;
the instructions, when executed by the one or more processors, cause the processors to perform the pass-through method of any of claims 1 to 3 or the pass-through method of claim 4.
9. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the passthrough method of any one of claims 1 to 3 or the passthrough method of claim 4.
CN202010247505.3A 2020-03-31 2020-03-31 Transparent transmission method, system, server, electronic device and storage medium Active CN111614792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010247505.3A CN111614792B (en) 2020-03-31 2020-03-31 Transparent transmission method, system, server, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010247505.3A CN111614792B (en) 2020-03-31 2020-03-31 Transparent transmission method, system, server, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111614792A CN111614792A (en) 2020-09-01
CN111614792B true CN111614792B (en) 2023-04-18

Family

ID=72205481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010247505.3A Active CN111614792B (en) 2020-03-31 2020-03-31 Transparent transmission method, system, server, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111614792B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598749B (en) * 2020-12-17 2024-01-09 国网信息通信产业集团有限公司 Service access method and device
CN115695381A (en) * 2021-07-30 2023-02-03 中兴通讯股份有限公司 Communication method, signaling control network element, media control network element and communication system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010057105A (en) * 1999-12-18 2001-07-04 이계철 A Provisioning device of IP level connectivity between internet access hosts by using ATM name system(ANS) server and method thereof
CN1874226A (en) * 2006-06-26 2006-12-06 杭州华为三康技术有限公司 Terminal access method and system
CN102238059A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Data message processing method and system and access service node
CN107979655A (en) * 2017-09-29 2018-05-01 新华三技术有限公司 Access control method, access control apparatus and access device
CN108064441A (en) * 2017-09-04 2018-05-22 深圳前海达闼云端智能科技有限公司 Method and system for accelerating network transmission optimization
CN110602182A (en) * 2019-08-27 2019-12-20 深圳前海达闼云端智能科技有限公司 Service scheduling method, device and system, global load balancer and client

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170295131A1 (en) * 2016-04-12 2017-10-12 Dell Software Inc. Resource identification through dynamic domain name system (dns) labels

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010057105A (en) * 1999-12-18 2001-07-04 이계철 A Provisioning device of IP level connectivity between internet access hosts by using ATM name system(ANS) server and method thereof
CN1874226A (en) * 2006-06-26 2006-12-06 杭州华为三康技术有限公司 Terminal access method and system
CN102238059A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Data message processing method and system and access service node
CN108064441A (en) * 2017-09-04 2018-05-22 深圳前海达闼云端智能科技有限公司 Method and system for accelerating network transmission optimization
CN107979655A (en) * 2017-09-29 2018-05-01 新华三技术有限公司 Access control method, access control apparatus and access device
CN110602182A (en) * 2019-08-27 2019-12-20 深圳前海达闼云端智能科技有限公司 Service scheduling method, device and system, global load balancer and client

Also Published As

Publication number Publication date
CN111614792A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
US11811657B2 (en) Updating routing information based on client location
EP3567881B1 (en) Request routing and updating routing information utilizing client location information
JP4053967B2 (en) VLAN server
JP5288204B2 (en) Gateway system and control method
WO2016029821A1 (en) Method and device for creating virtual network instance
US8495190B2 (en) Providing access by a client application program over an internet protocol (IP) network to a server application program instance
CN107636722B (en) Management method and management server for utilizing multiple SIM cards
RU2007148416A (en) UNITED ARCHITECTURE FOR REMOTE NETWORK ACCESS
US20170187840A1 (en) System and method for acquiring, processing and updating global information
CN111614792B (en) Transparent transmission method, system, server, electronic device and storage medium
EP3113539A1 (en) Load balancing user plane traffic in a telecommunication network
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
JP4009591B2 (en) Domain naming system (DNS) for accessing databases
CN111031129B (en) Access request processing method, processing device, electronic equipment and storage medium
WO2016090921A1 (en) Session control method and device
CN109873855A (en) A kind of resource acquiring method and system based on block chain network
CN107222365B (en) Data processing method and device and server
WO2018082452A1 (en) Data transmission method, equipment, device and system
JP6216466B2 (en) Domain control method and domain control apparatus
US20020178289A1 (en) Communications device, address modification device, communications method and communications control program
CN114528114B (en) Data processing method, device and equipment
CN111600969A (en) Domain name addressing method, system, domain name server, electronic device and storage medium
CN111262786B (en) Gateway control method, gateway device, electronic device and storage medium
CN111935083B (en) Business processing method and device, electronic equipment and storage medium
JP3521189B2 (en) Distributed server control method and apparatus, and recording medium recording distributed server control program

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