CN117221396A - Network data interaction method, device, system, storage medium and computer equipment - Google Patents

Network data interaction method, device, system, storage medium and computer equipment Download PDF

Info

Publication number
CN117221396A
CN117221396A CN202311407608.1A CN202311407608A CN117221396A CN 117221396 A CN117221396 A CN 117221396A CN 202311407608 A CN202311407608 A CN 202311407608A CN 117221396 A CN117221396 A CN 117221396A
Authority
CN
China
Prior art keywords
protocol
network
data
network management
network terminal
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.)
Pending
Application number
CN202311407608.1A
Other languages
Chinese (zh)
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.)
Shenzhen Toptel Technology Co ltd
Original Assignee
Shenzhen Toptel 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 Shenzhen Toptel Technology Co ltd filed Critical Shenzhen Toptel Technology Co ltd
Priority to CN202311407608.1A priority Critical patent/CN117221396A/en
Publication of CN117221396A publication Critical patent/CN117221396A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a network data interaction method, a device, a system, a storage medium and computer equipment, wherein the method comprises the following steps: receiving a registration packet sent by network terminal equipment based on a first protocol connection relation between the network terminal equipment of a private network and a cloud network management server of a public network to obtain a network protocol address, a user data protocol port number and equipment information of the network terminal equipment so as to generate an access link of the network terminal equipment; responding to the triggering operation of accessing the access link, and sending browser setting data to cloud network management front-end equipment to redirect pages; according to the network protocol address and the user data protocol port number of the page request sent by the cloud network management front-end equipment, data interaction is carried out with the corresponding network terminal equipment through the first protocol connection relation so as to obtain page data sent by the network terminal equipment, and the page data is forwarded to the cloud network management front-end equipment through the second protocol connection relation. The application can improve the convenience of management of the network equipment deployed in the private network.

Description

Network data interaction method, device, system, storage medium and computer equipment
Technical Field
The application relates to the technical field of network data interaction, in particular to a network data interaction method, a device, a system, a storage medium and computer equipment.
Background
Currently, many network devices support a network management service, which refers to a service that a user can manage the network devices through network connection. However, when the network device is deployed in the private network, the user cannot remotely access the network device portion deployed in the private network through the public network, that is, the existing related technology has a technical defect that the network device deployed in the private network cannot be managed through the public network, so that the management of the network device deployed in the private network is very inconvenient.
Disclosure of Invention
The application aims to overcome the defects and shortcomings in the prior art and provide a network data interaction method, a device, a system, a storage medium and computer equipment, which can manage network equipment deployed in a private network through a public network and improve the convenience of management of the network equipment deployed in the private network.
A first aspect of an embodiment of the present application provides a network data interaction method, including:
receiving a registration packet sent by a network terminal device based on a first protocol connection relation between the network terminal device of a private network and a cloud network management server of a public network, and analyzing the registration packet to obtain a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relation and device information of the network terminal device;
Generating an access link of the network terminal equipment according to the equipment information, the network protocol address and the user data protocol port number;
responding to a triggering operation of the cloud network management front-end equipment for accessing the access link based on a second protocol connection relation between the cloud network management server and the cloud network management front-end equipment, and sending browser setting data to the cloud network management front-end equipment so that the cloud network management front-end equipment redirects a page according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
receiving a page request sent by the cloud network management front-end equipment, and acquiring the network protocol address and the user data protocol port number from the page request;
and according to the network protocol address and the user data protocol port number, carrying out data interaction with the corresponding network terminal equipment through the first protocol connection relation so as to acquire page data sent by the network terminal equipment, and forwarding the page data to the cloud network management front-end equipment through the second protocol connection relation.
A second aspect of an embodiment of the present application provides a network data interaction device, including:
The device information acquisition module is used for receiving a registration packet sent by the network terminal device based on a first protocol connection relation between the network terminal device of the private network and a cloud network management server of the public network, analyzing the registration packet to obtain a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relation and device information of the network terminal device;
an access link generation module, configured to generate an access link of the network terminal device according to the device information, the network protocol address, and the user data protocol port number;
the page redirection module is used for responding to the triggering operation of the cloud network management front-end equipment for accessing the access link based on the second protocol connection relation between the cloud network management server and the cloud network management front-end equipment, sending browser setting data to the cloud network management front-end equipment, and enabling the cloud network management front-end equipment to redirect pages according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
the page request receiving module is used for receiving a page request sent by the cloud network management front-end equipment, and acquiring the network protocol address and the user data protocol port number from the page request;
And the data interaction module is used for carrying out data interaction with the corresponding network terminal equipment through the first protocol connection relation according to the network protocol address and the user data protocol port number so as to acquire page data sent by the network terminal equipment, and forwarding the page data to the cloud network management front-end equipment through the second protocol connection relation.
A third aspect of an embodiment of the present application provides a network data interaction system, including: network terminal equipment, cloud network management server and cloud network management front-end equipment;
the network terminal equipment sends a registration packet to the cloud network management server according to a first protocol connection relation;
the cloud network management server analyzes the registration packet to obtain a network protocol address pointing to the network terminal equipment, a user data protocol port number of the network terminal equipment in the first protocol connection relation and equipment information of the network terminal equipment;
the cloud network management server generates an access link of the network terminal equipment according to the equipment information, the network protocol address and the user data protocol port number;
responding to a triggering operation of the cloud network management front-end equipment for accessing the access link based on a second protocol connection relation between the cloud network management server and the cloud network management front-end equipment, wherein the cloud network management server sends browser setting data to the cloud network management front-end equipment, so that the cloud network management front-end equipment redirects a page according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
The cloud network management front-end equipment sets a browser according to the browser setting data and then sends out a page request;
the cloud network management server receives the page request, and acquires the network protocol address and the user data protocol port number from the page request;
and the cloud network management server performs data interaction with the corresponding network terminal equipment through the first protocol connection relation according to the network protocol address and the user data protocol port number so as to acquire page data sent by the network terminal equipment, and forwards the page data to the cloud network management front-end equipment through the second protocol connection relation.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of a network data interaction method as described above.
A fifth aspect of an embodiment of the present application provides a computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the network data interaction method as described above when executing the computer program.
Compared with the related art, the method and the device for managing the network equipment based on the cloud network management server have the advantages that based on the first protocol connection relation between the network terminal equipment of the private network and the cloud network management server of the public network, the registration packet sent by the network terminal equipment is received, so that the access link is generated according to the network protocol address, the user data protocol port number and the equipment information of the network terminal equipment in the first protocol connection relation, which are obtained by analyzing the registration packet, of the network terminal equipment, then the browser setting data are sent to the cloud network management front-end equipment to redirect a page according to the network protocol address and the user data protocol port number in the page request sent by the cloud network management front-end equipment, and then the data interaction is carried out with the corresponding network terminal equipment through the first protocol connection relation, so that the page data sent by the network terminal equipment are forwarded to the cloud network management front-end equipment through the second protocol connection relation, the technical effect of managing the network equipment deployed in the private network through the public network is achieved, and the convenience of managing the network equipment deployed in the private network is improved.
In order that the application may be more clearly understood, specific embodiments thereof will be described below with reference to the accompanying drawings.
Drawings
Fig. 1 is an application scenario diagram of a network data interaction method according to an embodiment of the present application.
Fig. 2 is a flowchart of a network data interaction method according to an embodiment of the present application.
Fig. 3 is a schematic block diagram of a network data interaction device according to an embodiment of the present application.
Fig. 4 is a first data interaction diagram of a network data interaction system according to an embodiment of the present application.
Fig. 5 is a second data interaction diagram of the network data interaction system according to an embodiment of the present application.
Fig. 6 is a third data interaction diagram of a network data interaction system according to an embodiment of the present application.
Fig. 7 is a fourth data interaction diagram of a network data interaction system according to an embodiment of the present application.
Fig. 8 is a fifth data interaction diagram of a network data interaction system according to an embodiment of the present application.
100. A network data interaction device; 101. an equipment information acquisition module; 102. an access link generation module; 103. a page redirection module; 104. a page request receiving module; 105. a data interaction module; 10. a network terminal device; 30. cloud network management server; 50. cloud network management front-end equipment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the application, are intended to be within the scope of the embodiments of the present application.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. In the description of the present application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The word "if"/"if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination".
Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In order to better understand the technical scheme of the application, the following describes related application scenarios of the application.
Referring to fig. 1, the present application is applied to a cloud network management server, the cloud network management server is deployed in a public network, the cloud network management server is connected with a network terminal device deployed in a private network, and the cloud network management server is connected with a cloud network management front-end device.
The cloud network management server mainly comprises two functional modules, namely a cloud network management service and a transparent transmission plug-in. The cloud network management service is responsible for accessing network terminals, such as SNMP (simple network management protocol), TR069 (communication protocol between CPE and ACS), MQTT (message protocol based on publish/subscribe paradigm under ISO standard), and the like, and is used for managing an equipment information database and supporting cloud network management front-end service. The transparent plug-in of the cloud network management server mainly realizes STUN service function and WEB/CLI network management service transparent transmission function, wherein the STUN service function is a function for serving a network protocol STUN (totally Session Traversal Utilities for NAT, chinese name is NAT session traversing application program), STUN is used as a network protocol, STUN allows a client located at NAT (or multiple NAT, NAT refers to network address translation and is used for using private addresses in private networks) to find out own public network address, and find out which type of NAT is located behind and an Internet port bound by a certain local port. The WEB/CLI network management service transparent transmission function can be used for supporting WEB (wide area network) network management service and CLI (command line interface) network management service, and can transmit a control interface of network terminal equipment to cloud network management front-end equipment in a data form of WEB network management service or a data form of CLI network management service, and can also transmit control data modified by the cloud network management front-end equipment to the network terminal equipment so as to realize data transparent transmission interaction of the wide area network and the private network.
However, when the network terminal device is deployed in the private network and the cloud network management front-end device is not deployed in the private network where the network terminal device is located, the cloud network management front-end device cannot directly access the network terminal device. In the application scene, the network terminal equipment comprises a transparent plug-in unit and a cloud network management access process, and the transparent plug-in unit of the network terminal equipment is matched with the transparent plug-in unit of the cloud network management server to realize a STUN service function and a WEB/CLI network management service transparent transmission function. The cloud network management access process is responsible for periodically reporting equipment information to the cloud network management platform through SNMP/TR069/MQTT and other protocols, wherein the equipment information comprises STUN state, equipment MAC, serial number, equipment name, equipment model, equipment version and the like.
Referring to fig. 2, a flowchart of a network data interaction method according to a first embodiment of the present application includes:
s10: based on a first protocol connection relation between network terminal equipment of a private network and a cloud network management server of a public network, receiving a registration packet sent by the network terminal equipment, and analyzing the registration packet to obtain a network protocol address pointing to the network terminal equipment, a user data protocol port number of the network terminal equipment in the first protocol connection relation and equipment information of the network terminal equipment.
Step S10 belongs to a network management registration process, and is implemented based on a first protocol connection relationship that the network terminal device and the cloud network management server complete STUN hole establishment. At this time, when the network terminal device initiates registration to the cloud network management server, a registration packet is generated according to a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relationship, and device information of the network terminal device, and then sent to the cloud network management server based on the first protocol connection relationship.
The first protocol connection relationship refers to a protocol connection relationship between the network terminal device and the cloud network management server, and UDP (user datagram protocol) may be adopted as the first protocol connection relationship. UDP has the following characteristics: the connection is not formed: the connection is not required to be established, and the destination address and the port number are determined when the data message is sent; the transmission speed is high: UDP has no mechanisms such as data check and flow control, so that the transmission speed is high.
The network protocol address may be a network protocol address of a private network where the network terminal device is located, and the device information includes: STUN status, device MAC, serial number, device name, device model number, device version, etc.
S20: and generating an access link of the network terminal equipment according to the equipment information, the network protocol address and the user data protocol port number.
When the cloud network management server stores access links of a plurality of network terminal devices, the access links of the network terminal devices can be displayed in a list form. For example, after the step S2, the method further includes:
s21: and generating a device list according to the device information of the network terminal devices and the corresponding access links.
Wherein the device information and the access link may be displayed as different row attributes or column attributes, respectively, in the device list. The STUN state, the device MAC, the serial number, the device name, the device model number, and the device version in the device information may be displayed as different row attributes or column attributes on the device list.
S22: and displaying the equipment list on the cloud network management front-end equipment, so that the cloud network management front-end equipment selects a corresponding access link according to the equipment information in the equipment list.
The user can realize the triggering operation of accessing the access link by selecting any one of the access links in the cloud network management front-end equipment.
S30: responding to a triggering operation of the cloud network management front-end equipment for accessing the access link based on a second protocol connection relation between the cloud network management server and the cloud network management front-end equipment, and sending browser setting data to the cloud network management front-end equipment so that the cloud network management front-end equipment redirects a page according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number.
Wherein the second protocol connection relation may employ TCP (transmission control protocol). The redirecting the page refers to modifying the setting parameters of the browser of the cloud network management front-end device according to the browser setting data, so that when the cloud network management front-end device accesses the access link through the browser, a page request can be smoothly sent to the network terminal device, specifically, the browser setting data includes a STUN state, the STUN state includes the network protocol address and the user data protocol port number acquired in step S10, and a cookie (i.e., a small text file, refers to data stored on the user local terminal for identifying the user identity) of the browser of the cloud network management front-end device is modified according to the browser setting data, so that the cloud network management front-end device accesses the access link or the page request triggered by the operation of the website/webpage corresponding to the access link includes the network protocol address and the user data protocol port number.
S40: and receiving a page request sent by the cloud network management front-end equipment, and acquiring the network protocol address and the user data protocol port number from the page request.
When a page request sent by the cloud network management front-end equipment is received, the cloud network management front-end equipment is indicated to access the network management interface of the network terminal equipment, so that the network management interface of the network terminal equipment corresponding to the network protocol address and the user data protocol port number can be accessed only by acquiring the network protocol address and the user data protocol port number from the page request.
S50: and according to the network protocol address and the user data protocol port number, carrying out data interaction with the corresponding network terminal equipment through the first protocol connection relation so as to acquire page data sent by the network terminal equipment, and forwarding the page data to the cloud network management front-end equipment through the second protocol connection relation.
Through the first protocol connection relation, the network terminal equipment can receive the page data sent by the network terminal equipment, then perform data conversion, and then forward the converted page data to the cloud network management front-end equipment through the second protocol connection relation, so that the cloud network management front-end equipment can smoothly access the network management interface of the network terminal equipment, and remote cross-network control is performed on the network terminal equipment.
Compared with the related art, the method and the device for managing the network equipment based on the cloud network management server have the advantages that based on the first protocol connection relation between the network terminal equipment of the private network and the cloud network management server of the public network, the registration packet sent by the network terminal equipment is received, so that the access link is generated according to the network protocol address, the user data protocol port number and the equipment information of the network terminal equipment in the first protocol connection relation, which are obtained by analyzing the registration packet, of the network terminal equipment, then the browser setting data are sent to the cloud network management front-end equipment to redirect a page according to the network protocol address and the user data protocol port number in the page request sent by the cloud network management front-end equipment, and then the data interaction is carried out with the corresponding network terminal equipment through the first protocol connection relation, so that the page data sent by the network terminal equipment are forwarded to the cloud network management front-end equipment through the second protocol connection relation, the technical effect of managing the network equipment deployed in the private network through the public network is achieved, and the convenience of managing the network equipment deployed in the private network is improved.
In one possible embodiment, the step S10: the method comprises the steps of, before a step of receiving a registration packet sent by a network terminal device based on a first protocol connection relation between the network terminal device of a private network and a cloud network management server of a public network and analyzing the registration packet to obtain a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relation and device information of the network terminal device,:
s01: and receiving the message data sent by the network terminal equipment, and detecting the network protocol address and the user data protocol port number corresponding to the message data.
The message data is sent to a cloud network management server of the public network by a network terminal device based on the private network, namely the network terminal device has determined the destination address and the port number of the cloud network management server.
S02: and sending the network protocol address and the user data protocol port number to the network terminal equipment so as to establish the first protocol connection relation with the network terminal equipment according to the network protocol address and the user data protocol port number.
After receiving the message data, the transparent plug-in of the cloud network management server acquires a network protocol address and a user data protocol port number in the message data, constructs a STUN binding response message and sends the STUN binding response message to network terminal equipment of the private network. The network terminal equipment of the private network stores the network protocol address and the user data protocol port number acquired from the STUN binding response message, and then the cloud network management server and the network terminal equipment can mutually send the STUN binding request to perform punching according to the network protocol address, the user data protocol port number and the destination address and the port number of the cloud network management server so as to establish the first protocol link relation.
In this embodiment, during the data interaction process between the network terminal device and the cloud network management server, the network protocol address and the user data protocol port number of the network terminal device may be acquired, so as to establish the first protocol link relationship according to the network protocol address and the user data protocol port number.
In one possible embodiment, the step S50: according to the network protocol address and the user data protocol port number, performing data interaction with the corresponding network terminal equipment through the first protocol connection relationship to obtain page data sent by the network terminal equipment, and after the step of forwarding the page data to the cloud network management front-end equipment through the second protocol connection relationship, the method further comprises the following steps:
s51: and receiving first protocol data sent by the network terminal equipment according to a first protocol connection relation, converting the first protocol data into second protocol data, and then sending the second protocol data to the cloud network management front-end equipment according to a second protocol connection relation.
In step S51, the first protocol data sent by the network terminal device refers to UDP data sent by the network terminal device to the cloud network management server, and the second protocol data is TCP data obtained by converting the UDP data by the cloud network management server. Specifically, if the cloud network management front-end device accesses a WED network management interface of the network terminal device, the converted second protocol data is the first TCP data, and if the cloud network management front-end device accesses a CLI network management interface of the network terminal device, the converted second protocol data is the second TCP data. Specifically, the data formats of the first TCP data and the second TCP data are different, or the data contents are different.
S52: and receiving second protocol data sent by the cloud network management front-end equipment according to a second protocol connection relation, converting the second protocol data into first protocol data, and sending the first protocol data to the network terminal equipment according to the first protocol connection relation.
In step S52, the second protocol data sent by the cloud network management front-end device refers to TCP data sent by the cloud network management front-end device, specifically, if the cloud network management front-end device accesses a WED network management interface of the network terminal device, the second protocol data sent by the cloud network management front-end device is the first TCP data, and if the cloud network management front-end device accesses a CLI network management interface of the network terminal device, the second protocol data sent by the cloud network management front-end device is the second TCP data.
In this embodiment, the first protocol data sent by the network terminal device is converted into the second protocol data and then sent to the cloud network management front-end device, and the second protocol data sent by the cloud network management front-end device is converted into the first protocol data and then sent to the network terminal device, so that the network terminal device and the cloud network management front-end device smoothly realize data interaction.
In a possible embodiment, the network terminal device accesses the local network management server in the private network according to the third protocol connection relationship.
The third protocol connection relationship may adopt TCP, so that the third protocol connection relationship is deployed in the same private network terminal device and the local network management server to perform data interaction stably.
The 51: the step of receiving first protocol data sent by the network terminal equipment according to a first protocol connection relation, converting the first protocol data into second protocol data, and then sending the second protocol data to the cloud network management front-end equipment according to a second protocol connection relation comprises the following steps:
s511: after the network terminal equipment converts third protocol data sent by the local network management server according to a third protocol connection relation into first protocol data, the first protocol data sent by the network terminal equipment according to the first protocol connection relation is received, and after the first protocol data is converted into second protocol data, the second protocol data is sent to the cloud network management front-end equipment according to a second protocol connection relation.
The third protocol data is TCP data sent by the local network management server. If the cloud network management front-end equipment accesses a WED network management interface of the local network management server, the third protocol data sent by the cloud network management front-end equipment is the first TCP data, and if the cloud network management front-end equipment accesses a CLI network management interface of the local network management server, the third protocol data sent by the cloud network management front-end equipment is the second TCP data.
In this embodiment, after the network terminal device converts the third protocol data sent by the local network management server into the first protocol data, the first protocol data sent by the network terminal device is received and then is converted into the second protocol data, and the second protocol data is sent to the cloud network management front-end device, so that the cloud network management front-end device smoothly receives the data sent by the local network management server.
In a possible embodiment, the network terminal device accesses the local network management server in the private network according to the third protocol connection relationship.
The step S52: the step of receiving second protocol data sent by the cloud network management front-end equipment according to a second protocol connection relation, converting the second protocol data into first protocol data, and then sending the first protocol data to the network terminal equipment according to the first protocol connection relation comprises the following steps:
s521: and receiving second protocol data sent by the cloud network management front-end equipment according to a second protocol connection relation, converting the second protocol data into first protocol data, and then sending the first protocol data to the network terminal equipment according to the first protocol connection relation, so that the first protocol data is converted into third protocol data through the network terminal equipment, and then sending the third protocol data to the local network management server according to the third protocol connection relation.
If the cloud network management front-end device accesses a WED network management interface of the local network management server, the network terminal device converts and sends third protocol data to be first TCP data, and if the cloud network management front-end device accesses a CLI network management interface of the local network management server, the network terminal device converts and sends third protocol data to be second TCP data.
In this embodiment, the network terminal device converts the first protocol data obtained by converting the second protocol data sent by the cloud network management front-end device into the first protocol data, and then sends the first protocol data to the local network management server, so that the cloud network management front-end device smoothly sends the data to the local network management server.
Referring to fig. 3, a second embodiment of the present application provides a network data interaction device 100, including:
the device information obtaining module 101 is configured to receive a registration packet sent by a network terminal device based on a first protocol connection relationship between the network terminal device of a private network and a cloud network management server of a public network, and analyze the registration packet to obtain a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relationship, and device information of the network terminal device;
An access link generation module 102, configured to generate an access link of the network terminal device according to the device information, the network protocol address, and the user data protocol port number;
a page redirection module 103, configured to respond to a triggering operation that a cloud network management front-end device accesses the access link based on a second protocol connection relationship between the cloud network management server and the cloud network management front-end device, and send browser setting data to the cloud network management front-end device, so that the cloud network management front-end device redirects a page according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
a page request receiving module 104, configured to receive a page request sent by the cloud network management front-end device, and obtain the network protocol address and the user data protocol port number from the page request;
and the data interaction module 105 is configured to perform data interaction with the corresponding network terminal device through the first protocol connection relationship according to the network protocol address and the user data protocol port number, so as to obtain page data sent by the network terminal device, and forward the page data to the cloud network management front-end device through the second protocol connection relationship.
It should be noted that, when the network data interaction device 100 according to the second embodiment of the present application performs the network data interaction method, only the above-mentioned division of each functional module is used as an example, in practical application, the above-mentioned functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules, so as to complete all or part of the above-mentioned functions. In addition, the network data interaction device 100 provided in the second embodiment of the present application belongs to the same concept as the network data interaction method in the first embodiment of the present application, and the implementation process is detailed in the method embodiment, which is not described herein again.
Referring to fig. 4-8, a third embodiment of the present application provides a network data interaction system, comprising: the network terminal equipment 10, the cloud network management server 30 and the cloud network management front-end equipment 50;
the network terminal device 10 sends a registration packet to the cloud network management server 30 according to a first protocol connection relationship;
the cloud network management server 30 analyzes the registration packet to obtain a network protocol address pointing to the network terminal device 10, a user data protocol port number of the network terminal device 10 in the first protocol connection relationship, and device information of the network terminal device 10;
The cloud network management server 30 generates an access link of the network terminal device 10 according to the device information, the network protocol address and the user data protocol port number;
responding to a triggering operation of the cloud network management front-end equipment 50 for accessing the access link based on a second protocol connection relation between the cloud network management server 30 and the cloud network management front-end equipment 50, the cloud network management server 30 sends browser setting data to the cloud network management front-end equipment 50, so that the cloud network management front-end equipment 50 redirects a page according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
the cloud network management front-end device 50 sets a browser according to the browser setting data and then sends out a page request;
the cloud network management server 30 receives the page request, and obtains the network protocol address and the user data protocol port number from the page request;
the cloud network management server 30 performs data interaction with the corresponding network terminal device 10 through the first protocol connection relationship according to the network protocol address and the user data protocol port number, so as to obtain page data sent by the network terminal device 10, and forwards the page data to the cloud network management front-end device 50 through the second protocol connection relationship.
It should be noted that, the network data interaction system provided by the third embodiment of the present application and the network data interaction method of the first embodiment of the present application belong to the same concept, which embody detailed implementation procedures and are not described herein.
A fourth embodiment of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the network data interaction method as described above.
A fifth embodiment of the present application provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the network data interaction method as described above when executing the computer program.
The above-described apparatus embodiments are merely illustrative, wherein the components illustrated as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purposes of the present application. Those of ordinary skill in the art will understand and implement the present application without undue burden.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (10)

1. A method of network data interaction, comprising:
receiving a registration packet sent by a network terminal device based on a first protocol connection relation between the network terminal device of a private network and a cloud network management server of a public network, and analyzing the registration packet to obtain a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relation and device information of the network terminal device;
Generating an access link of the network terminal equipment according to the equipment information, the network protocol address and the user data protocol port number;
responding to a triggering operation of the cloud network management front-end equipment for accessing the access link based on a second protocol connection relation between the cloud network management server and the cloud network management front-end equipment, and sending browser setting data to the cloud network management front-end equipment so that the cloud network management front-end equipment redirects a page according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
receiving a page request sent by the cloud network management front-end equipment, and acquiring the network protocol address and the user data protocol port number from the page request;
and according to the network protocol address and the user data protocol port number, carrying out data interaction with the corresponding network terminal equipment through the first protocol connection relation so as to acquire page data sent by the network terminal equipment, and forwarding the page data to the cloud network management front-end equipment through the second protocol connection relation.
2. The network data interaction method according to claim 1, wherein after the step of performing data interaction with the corresponding network terminal device through the first protocol connection relationship according to the network protocol address and the user data protocol port number to obtain the page data sent by the network terminal device and forwarding the page data to the cloud network management front-end device through the second protocol connection relationship, the method further comprises:
Receiving first protocol data sent by the network terminal equipment according to a first protocol connection relation, converting the first protocol data into second protocol data, and then sending the second protocol data to the cloud network management front-end equipment according to a second protocol connection relation;
and receiving second protocol data sent by the cloud network management front-end equipment according to a second protocol connection relation, converting the second protocol data into first protocol data, and sending the first protocol data to the network terminal equipment according to the first protocol connection relation.
3. The network data interaction method according to claim 2, wherein the network terminal device accesses the local network management server in the private network according to a third protocol connection relationship;
the step of receiving the first protocol data sent by the network terminal device according to the first protocol connection relation, converting the first protocol data into second protocol data, and then sending the second protocol data to the cloud network management front-end device according to the second protocol connection relation includes:
after the network terminal equipment converts third protocol data sent by the local network management server according to a third protocol connection relation into first protocol data, the first protocol data sent by the network terminal equipment according to the first protocol connection relation is received, and after the first protocol data is converted into second protocol data, the second protocol data is sent to the cloud network management front-end equipment according to a second protocol connection relation.
4. The network data interaction method according to claim 2, wherein the network terminal device accesses the local network management server in the private network according to a third protocol connection relationship;
the step of receiving second protocol data sent by the cloud network management front-end equipment according to a second protocol connection relation, converting the second protocol data into first protocol data, and then sending the first protocol data to the network terminal equipment according to the first protocol connection relation comprises the following steps:
and receiving second protocol data sent by the cloud network management front-end equipment according to a second protocol connection relation, converting the second protocol data into first protocol data, and then sending the first protocol data to the network terminal equipment according to the first protocol connection relation, so that the first protocol data is converted into third protocol data through the network terminal equipment, and then sending the third protocol data to the local network management server according to the third protocol connection relation.
5. The network data interaction method according to claim 1, wherein the step of receiving a registration packet sent by the network terminal device and analyzing the registration packet to obtain a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relationship, and device information of the network terminal device, based on a first protocol connection relationship between the network terminal device of the private network and a cloud network management server of the public network, includes:
Receiving message data sent by the network terminal equipment, and detecting the network protocol address and the user data protocol port number corresponding to the message data;
and sending the network protocol address and the user data protocol port number to the network terminal equipment so as to establish the first protocol connection relation with the network terminal equipment according to the network protocol address and the user data protocol port number.
6. The network data interaction method according to claim 1, wherein after the step of generating the access link of the network terminal device according to the device information, the network protocol address and the user data protocol port number, the method further comprises:
generating a device list according to the device information of the network terminal devices and the corresponding access links;
and displaying the equipment list on the cloud network management front-end equipment, so that the cloud network management front-end equipment selects a corresponding access link according to the equipment information in the equipment list.
7. A network data interaction device, comprising:
the device information acquisition module is used for receiving a registration packet sent by the network terminal device based on a first protocol connection relation between the network terminal device of the private network and a cloud network management server of the public network, analyzing the registration packet to obtain a network protocol address pointing to the network terminal device, a user data protocol port number of the network terminal device in the first protocol connection relation and device information of the network terminal device;
An access link generation module, configured to generate an access link of the network terminal device according to the device information, the network protocol address, and the user data protocol port number;
the page redirection module is used for responding to the triggering operation of the cloud network management front-end equipment for accessing the access link based on the second protocol connection relation between the cloud network management server and the cloud network management front-end equipment, sending browser setting data to the cloud network management front-end equipment, and enabling the cloud network management front-end equipment to redirect pages according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
the page request receiving module is used for receiving a page request sent by the cloud network management front-end equipment, and acquiring the network protocol address and the user data protocol port number from the page request;
and the data interaction module is used for carrying out data interaction with the corresponding network terminal equipment through the first protocol connection relation according to the network protocol address and the user data protocol port number so as to acquire page data sent by the network terminal equipment, and forwarding the page data to the cloud network management front-end equipment through the second protocol connection relation.
8. A network data interaction system, comprising: network terminal equipment, cloud network management server and cloud network management front-end equipment;
the network terminal equipment sends a registration packet to the cloud network management server according to a first protocol connection relation;
the cloud network management server analyzes the registration packet to obtain a network protocol address pointing to the network terminal equipment, a user data protocol port number of the network terminal equipment in the first protocol connection relation and equipment information of the network terminal equipment;
the cloud network management server generates an access link of the network terminal equipment according to the equipment information, the network protocol address and the user data protocol port number;
responding to a triggering operation of the cloud network management front-end equipment for accessing the access link based on a second protocol connection relation between the cloud network management server and the cloud network management front-end equipment, wherein the cloud network management server sends browser setting data to the cloud network management front-end equipment, so that the cloud network management front-end equipment redirects a page according to the browser setting data; the browser setting data includes the network protocol address and the user data protocol port number;
The cloud network management front-end equipment sets a browser according to the browser setting data and then sends out a page request;
the cloud network management server receives the page request, and acquires the network protocol address and the user data protocol port number from the page request;
and the cloud network management server performs data interaction with the corresponding network terminal equipment through the first protocol connection relation according to the network protocol address and the user data protocol port number so as to acquire page data sent by the network terminal equipment, and forwards the page data to the cloud network management front-end equipment through the second protocol connection relation.
9. A computer-readable storage medium storing a computer program, characterized in that: the computer program implementing the steps of the method according to any of claims 1 to 6 when executed by a processor.
10. A computer device, characterized by: comprising a memory, a processor and a computer program stored in the memory and executable by the processor, the processor implementing the steps of the method according to any one of claims 1 to 6 when the computer program is executed.
CN202311407608.1A 2023-10-26 2023-10-26 Network data interaction method, device, system, storage medium and computer equipment Pending CN117221396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311407608.1A CN117221396A (en) 2023-10-26 2023-10-26 Network data interaction method, device, system, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311407608.1A CN117221396A (en) 2023-10-26 2023-10-26 Network data interaction method, device, system, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN117221396A true CN117221396A (en) 2023-12-12

Family

ID=89048390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311407608.1A Pending CN117221396A (en) 2023-10-26 2023-10-26 Network data interaction method, device, system, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN117221396A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549499A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Proxy network management realizing method based on SNMP protocol
WO2005117346A1 (en) * 2004-05-28 2005-12-08 Zte Corporation A method of registration for the private nerwork terminal to the gatekeeper based on the h.323 protocol
CN1744521A (en) * 2005-08-26 2006-03-08 杭州华为三康技术有限公司 Network equipment management method and network management system
CN102118527A (en) * 2009-12-31 2011-07-06 北京大唐高鸿数据网络技术有限公司 Voice over Internet phone (VoIP) equipment management system capable of traversing private networks and method thereof
CN102882733A (en) * 2012-10-24 2013-01-16 广东天波信息技术股份有限公司 WEB webmaster method realized by penetrating through NAT (Network Address Translation) equipment
WO2021136175A1 (en) * 2019-12-30 2021-07-08 京信网络系统股份有限公司 Device management method, apparatus, communication device, and storage medium
WO2022170518A1 (en) * 2021-02-09 2022-08-18 Oppo广东移动通信有限公司 Method and apparatus for determining address of terminal device, and network device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549499A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Proxy network management realizing method based on SNMP protocol
WO2005117346A1 (en) * 2004-05-28 2005-12-08 Zte Corporation A method of registration for the private nerwork terminal to the gatekeeper based on the h.323 protocol
CN1744521A (en) * 2005-08-26 2006-03-08 杭州华为三康技术有限公司 Network equipment management method and network management system
CN102118527A (en) * 2009-12-31 2011-07-06 北京大唐高鸿数据网络技术有限公司 Voice over Internet phone (VoIP) equipment management system capable of traversing private networks and method thereof
CN102882733A (en) * 2012-10-24 2013-01-16 广东天波信息技术股份有限公司 WEB webmaster method realized by penetrating through NAT (Network Address Translation) equipment
WO2021136175A1 (en) * 2019-12-30 2021-07-08 京信网络系统股份有限公司 Device management method, apparatus, communication device, and storage medium
WO2022170518A1 (en) * 2021-02-09 2022-08-18 Oppo广东移动通信有限公司 Method and apparatus for determining address of terminal device, and network device

Similar Documents

Publication Publication Date Title
EP2611111B1 (en) Method of implementing content-centric network (CCN) using internet protocol (IP)-based network in gateway, and gateway
US11582685B2 (en) Transparent network function discovery and addressing
CN104243627A (en) Domain name resolution method, device and system
CN109451014B (en) WebService agent system and transparent agent method thereof
CN101895520B (en) Widget system data sharing method, server and data sharing system
CN113315848B (en) Access control method, device and equipment
US9203704B2 (en) Discovering a server device, by a non-DLNA device, within a home network
CN103581361A (en) Domain name resolution proxy method, device and system
US20240089317A1 (en) Method and electronic device for accessing service device in local area network
CN107800745B (en) Method, apparatus, and computer-readable storage medium for service announcement and service discovery based on mDNS
CN110888329A (en) Intelligent home platform with open access of equipment manufacturer and data processing method thereof
CN111107119B (en) Data access method, device and system based on cloud storage system and storage medium
US20130226984A1 (en) Method and apparatus of providing optimized web browser communications
CN104219257A (en) Web real-time communication method, system, server and client
CN113364660A (en) Data packet processing method and device in LVS load balancing
CN115242882B (en) Method and device for accessing k8s container environment based on transport layer route
CN117221396A (en) Network data interaction method, device, system, storage medium and computer equipment
Pierleoni et al. A cross-protocol proxy for sensor networks based on CoAP
JP6605149B2 (en) Method and apparatus for detecting shared terminal
EP3079328A1 (en) Media resource sharing method, shared server and shared system
CN112702441B (en) Container-based access data processing method, device, system and storage medium
CN110661895A (en) Network address mapping method and network address mapping equipment of server
CN114710560A (en) Data processing method and system, proxy equipment and terminal equipment
EP4049420A1 (en) Satellite network acceleration and optimization
CN110868317B (en) Equipment monitoring method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination