CN110493337A - Data access method, gateway, system, storage medium and device - Google Patents
Data access method, gateway, system, storage medium and device Download PDFInfo
- Publication number
- CN110493337A CN110493337A CN201910761791.2A CN201910761791A CN110493337A CN 110493337 A CN110493337 A CN 110493337A CN 201910761791 A CN201910761791 A CN 201910761791A CN 110493337 A CN110493337 A CN 110493337A
- Authority
- CN
- China
- Prior art keywords
- data access
- user
- network equipment
- access information
- visited
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/161—Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
Abstract
The present invention relates to internet of things field, a kind of data access method, gateway, system, storage medium and device are disclosed.The user access information of Cloud Server transparent forwarding is received in the present invention, the user access information is sent to the Cloud Server by user equipment;The corresponding network equipment to be visited is determined according to the user access information;By default virtual communication component by the user access information transparent forwarding to the network equipment to be visited, to carry out data access.Significantly, by carrying out transparent forwarding with based on the virtualisation component of ICP/IP protocol stack in the present invention, it can be by the user access information transparent forwarding from user equipment to the network equipment to be visited, so as to which the communication conversion in local area network dimension for the communication of Internet of Things dimension, is also solved the technical issues of lan device can not carry out long-distance on-line.
Description
Technical field
The present invention relates to internet of things field more particularly to data access method, gateway, system, storage mediums
And device.
Background technique
With the continuous development of Internet of Things, there is the networking requirement in Internet of Things dimension in more and more electronic equipments,
But communications of the electronic equipment of early stage in the upper more only support local area network dimensions of communication configuration, moreover, being also only limitted to same net
Communication connection in section, this is unable to satisfy the networking requirement in Internet of Things dimension.
For example, the scale effect of Internet of Things is considered, if ATM (the Automatic Teller of early stage
Machine, ATM) or robot be also desired with long-distance on-line, but the communication for only supporting the communication of local area network dimension of its early stage
Configuration can not carry out long-distance on-line.
As it can be seen that lan device there is technical issues that not carrying out.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide data access method, gateway, system, storage medium and device, purports
Solving the technical issues of lan device can not carry out long-distance on-line.
To achieve the above object, the present invention provides a kind of data access method, and the data access method includes following step
It is rapid:
The user access information of Cloud Server transparent forwarding is received, the user access information is sent to institute by user equipment
State Cloud Server;
The corresponding network equipment to be visited is determined according to the user access information;
By default virtual communication component by the user access information transparent forwarding to the network equipment to be visited, with
Data access is carried out, the default virtual communication component is transmission control protocol/Internet Protocol ICP/IP protocol stack
Virtualisation component.
Preferably, it is described the corresponding network equipment to be visited is determined according to the user access information after, the data
Access method further include:
Target LAN is generated by default virtual communication component;
Correspondingly, it is described by default virtual communication component by the user access information transparent forwarding to described to be visited
The network equipment is specifically included with carrying out data access:
By the target LAN by the user access information transparent forwarding to the network equipment to be visited, with into
Row data access.
Preferably, before the user access information for receiving Cloud Server transparent forwarding, the data access method is also
Include:
Foundation is connect with the TCP/IP of Cloud Server, and carries out the virtualization of ICP/IP protocol stack, to obtain the TCP/
The corresponding default virtual communication component of IP protocol stack.
Preferably, it is described the corresponding network equipment to be visited is determined according to the user access information before, the data
Access method further include:
The device configuration of each default network equipment is monitored, the default network equipment includes the network equipment to be visited;
In device configuration change, determines the default network equipment of the device configuration change and be denoted as target network
Equipment re-establishes the connection with the destination network device.
Preferably, it is described by default virtual communication component by the user access information transparent forwarding to described to be visited
The network equipment, after carrying out data access, the data access method further include:
The response message of the network equipment transparent forwarding to be visited is received, the response message corresponds to the user
Access information;
The response message transparent forwarding is returned into the Cloud Server, so that the Cloud Server is anti-by the response message
It is fed to the user equipment.
Preferably, the user access information includes in port to be visited, network protocol type, user name and password
At least one of.
In addition, to achieve the above object, the present invention also proposes a kind of gateway, the gateway include memory,
Processor and it is stored in the data access that can be run on the memory and on the processor, the data access journey
Sequence is arranged for carrying out the step of data access method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of data access system, the data access system packet
It includes: user equipment, Cloud Server, the network equipment to be visited and gateway as described above;
The user access information is sent to the cloud service for obtaining user access information by the user equipment
Device;
The Cloud Server is used for the user access information transparent forwarding to the gateway;
The gateway is led to for determining the corresponding network equipment to be visited according to the user access information
Default virtual communication component is crossed by the user access information transparent forwarding to the network equipment to be visited, to carry out data visit
It asks, the default virtual communication component is transmission control protocol/Internet Protocol ICP/IP protocol stack virtualisation component.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, data are stored on the storage medium
The step of access program, the data access realizes data access method as described above when being executed by processor.
In addition, to achieve the above object, the present invention also proposes a kind of data access device, the data access device packet
It includes:
Cloud interactive module, for receiving the user access information of Cloud Server transparent forwarding, the user access information
The Cloud Server is sent to by user equipment;
Determining module is accessed, for determining the corresponding network equipment to be visited according to the user access information;
Data access module, for by default virtual communication component by the user access information transparent forwarding to described
The network equipment to be visited, to carry out data access, the default virtual communication component is transmission control protocol/Internet Interconnection association
Discuss the virtualisation component of ICP/IP protocol stack.
The user access information of Cloud Server transparent forwarding is received in the present invention, the user access information is by user equipment
It is sent to the Cloud Server;The corresponding network equipment to be visited is determined according to the user access information;By default virtual
Communication component is by the user access information transparent forwarding to the network equipment to be visited, to carry out data access.It is apparent that
It, can will be from user equipment by carrying out transparent forwarding with based on the virtualisation component of ICP/IP protocol stack in the present invention
User access information transparent forwarding is to the network equipment to be visited, so as to convert the communication in local area network dimension for Internet of Things
The communication of dimension also solves the technical issues of lan device can not carry out long-distance on-line.
Detailed description of the invention
Fig. 1 is the gateway structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of data access method first embodiment of the present invention;
Fig. 3 is that the network of data access method first embodiment of the present invention disposes frame diagram;
Fig. 4 is the flow diagram of data access method second embodiment of the present invention;
Fig. 5 is the flow diagram of data access method 3rd embodiment of the present invention;
Fig. 6 is the structural block diagram of data access device first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the gateway structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the gateway may include: processor 1001, such as central processing unit (Central
Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein,
Communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display screen
(Display), optional user interface 1003 can also include the wireline interface and wireless interface of standard, and user interface 1003
Wireline interface in the present invention can be universal serial bus (Universal Serial Bus, USB) interface.Network interface
1004 optionally may include the wireline interface and wireless interface (such as WI-FI interface) of standard.Memory 1005 can be height
Fast random access memory (Random Access Memory, RAM);It is also possible to stable memory, for example, non-volatile deposit
Reservoir (Non-volatile Memory), concretely, magnetic disk storage.Memory 1005 optionally can also be independently of
The storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to gateway, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe module, Subscriber Interface Module SIM and data access.
In gateway shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with the backstage
Business device carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;The gateway is called by processor 1001
The data access stored in memory 1005, and execute following operation:
The user access information of Cloud Server transparent forwarding is received, the user access information is sent to institute by user equipment
State Cloud Server;
The corresponding network equipment to be visited is determined according to the user access information;
By default virtual communication component by the user access information transparent forwarding to the network equipment to be visited, with
Data access is carried out, the default virtual communication component is transmission control protocol/Internet Protocol ICP/IP protocol stack
Virtualisation component.
Further, processor 1001 can call the data access stored in memory 1005, also execute following
Operation:
Target LAN is generated by default virtual communication component;
Correspondingly, following operation is also executed:
By the target LAN by the user access information transparent forwarding to the network equipment to be visited, with into
Row data access.
Further, processor 1001 can call the data access stored in memory 1005, also execute following
Operation:
Foundation is connect with the TCP/IP of Cloud Server, and carries out the virtualization of ICP/IP protocol stack, to obtain the TCP/
The corresponding default virtual communication component of IP protocol stack.
Further, processor 1001 can call the data access stored in memory 1005, also execute following
Operation:
The device configuration of each default network equipment is monitored, the default network equipment includes the network equipment to be visited;
In device configuration change, determines the default network equipment of the device configuration change and be denoted as target network
Equipment re-establishes the connection with the destination network device.
Further, processor 1001 can call the data access stored in memory 1005, also execute following
Operation:
The response message of the network equipment transparent forwarding to be visited is received, the response message corresponds to the user
Access information;
The response message transparent forwarding is returned into the Cloud Server, so that the Cloud Server is anti-by the response message
It is fed to the user equipment.
The user access information of Cloud Server transparent forwarding is received in the present embodiment, the user access information is set by user
It is standby to be sent to the Cloud Server;The corresponding network equipment to be visited is determined according to the user access information;Pass through default void
Intend communication component by the user access information transparent forwarding to the network equipment to be visited, to carry out data access.Obviously
Ground can will come from user by carrying out transparent forwarding with based on the virtualisation component of ICP/IP protocol stack in the present embodiment
The user access information transparent forwarding of equipment to the network equipment to be visited, so as to by the communication conversion in local area network dimension in order to
The communication of Internet of Things dimension also solves the technical issues of lan device can not carry out long-distance on-line.
Based on above-mentioned hardware configuration, the embodiment of data access method of the present invention is proposed.
It is the flow diagram of data access method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the data access method the following steps are included:
Step S10: the user access information of Cloud Server transparent forwarding is received, the user access information is by user equipment
It is sent to the Cloud Server.
It is understood that the executing subject of the present embodiment is gateway, network deployment frame shown in Fig. 3 can be also introduced
Frame.
Certainly, the technical solution of the present embodiment description is in practical application, an individual gateway hardware can be produced
It realizes, can also only be realized in a manner of gateway software.For application, it can be used for the networking of industry internet equipment,
It can be used for ad hoc network and networking, the remote desktop and mobile phone remote management etc. of smart home.
In the concrete realization, can dispose just like network deployment framework shown in Fig. 3, include user equipment, Cloud Server,
Gateway and the network equipment.User equipment is connect with Cloud Server, Cloud Server and gateway connect and gateway
It is connect with the network equipment.Wherein, user equipment can be denoted as USERSITE;Cloud Server is to provide the server or clothes of cloud resource
Business device cluster can be denoted as communication and service (Communications-as-a-Service, CaaS) cloud resource (Cloud), i.e.,
CaaS Cloud can provide cloud resource by third party cloud manufacturer;Gateway can be denoted as Gateway;The network equipment can be denoted as
Remote Terminal, alternatively referred to as the next equipment, the next equipment can provide user's data resource to be accessed.
It should be understood that being based on the network deployment framework, user, which initiates a data access by operation user equipment, to be asked
It asks, which includes user access information, and user access information includes port to be visited, network protocol class
At least one of in type, user name and password etc..Data access request is sent to Cloud Server side by user equipment;Cloud service
Device flanks receive the user access information after, set user access information is transferred to gateway by the pass-through mode of transparent forwarding
It is standby.
Step S20: the corresponding network equipment to be visited is determined according to the user access information.
It should be understood that will first determine the data resource to be accessed after gateway gets the user access information
The locating network equipment to be visited, for example, record has 192.168.8.2:8080 in the user access information, it should by access
192.168.8.2:8080 corresponding data resource.
Step S30: by presetting virtual communication component for the user access information transparent forwarding to the net to be visited
Network equipment, to carry out data access, the default virtual communication component is transmission control protocol/Internet Protocol TCP/IP
The virtualisation component of protocol stack.
It is understood that including this in multiple default network equipments in view of there may be multiple default network equipments
When the network equipment to be visited to be accessed.
In the concrete realization, a default virtual communication component can be applied in the present embodiment, which is
Transmission control protocol/Internet Protocol (Transmission Control Protocol/Internet Protocol,
TCP/IP) the virtualisation component of protocol stack.Data access is carried out again after connecting the virtualisation component, which can incite somebody to action
Data access in different segment virtually turns to the data access in same network segment, for example, user equipment can be equal with the network equipment
For local area network dimension communication electronic equipment and be not at same network segment, convert it to the access in same network segment, also just
The communication for Internet of Things dimension is converted in communication in local area network dimension.Even if user equipment or the network equipment use only
Support the early stage electronic equipment that communicates in local area network dimension, by applying this embodiment in gateway, also can reach long-range
The effect of networking reduces modification and upgrade job for user equipment or the network equipment.
It should be noted that the technical solution that the present embodiment describes can be compared with a variety of networking modes, for example, face
Local network communication bring internet of things field application obstacle is only supported to early stage electronic equipment, the next equipment possibly can not actively join
Net, so, Virtual Private Network (Virtual Private Network, VPN)+network address translation (Network
Address Translation, NAT) networking mode can not also break through this using obstacle, still, the present embodiment can break through this
Using obstacle.It may be based on L2TP vpn tunneling or generalized routing protocol encapsulation (Generic Routing
Encapsulation, GRE) tunnel will be distally made into and local same network segment, alternatively, using EOIP (Ethernet over
IP) retransmission technique is acted on behalf of in technology cooperation address resolution protocol (Address Resolution Protocol, ARP), both realities
Existing mode is higher to configuration requirement, moreover, also requiring the IP of each the next equipment that can not conflict, greatly reduces networking effect
Rate, the present embodiment is without these defects.
The user access information of Cloud Server transparent forwarding is received in the present embodiment, the user access information is set by user
It is standby to be sent to the Cloud Server;The corresponding network equipment to be visited is determined according to the user access information;Pass through default void
Intend communication component by the user access information transparent forwarding to the network equipment to be visited, to carry out data access.Obviously
Ground can will come from user by carrying out transparent forwarding with based on the virtualisation component of ICP/IP protocol stack in the present embodiment
The user access information transparent forwarding of equipment to the network equipment to be visited, so as to by the communication conversion in local area network dimension in order to
The communication of Internet of Things dimension also solves the technical issues of lan device can not carry out long-distance on-line.
It is the flow diagram of data access method second embodiment of the present invention referring to Fig. 4, Fig. 4, based on shown in above-mentioned Fig. 2
First embodiment, propose the second embodiment of data access method of the present invention.
In second embodiment, after the step S20, the data access method further include:
Step S201: target LAN is generated by default virtual communication component.
It should be understood that gateway carries out data access after connecting the virtualisation component again, the virtualisation component
Different segment can virtually be turned to the data access in same network segment, for example, user equipment can be not at the network equipment it is same
Network segment.And gateway will be locally generated corresponding local by the virtualisation component after connecting the virtualisation component
Then net goes the forwarding for carrying out user access information based on the local area network.
Correspondingly, the step S30, specifically includes:
Step S301: by the target LAN by the user access information transparent forwarding to the network to be visited
Equipment, to carry out data access.
In the concrete realization, referring to Fig. 3, gateway, which passes through the default virtual communication component of application, will generate a corresponding office
Domain net docks the user equipment and the network equipment under different segment as a transit node in network deployment framework respectively,
The data access in same network segment will be virtually turned to across the data access of different segment, different segment has been got through, so that user
It can successfully be communicated between equipment and the network equipment, breach early stage electronic equipment and Local network communication bring Internet of Things is only supported to lead
Apply obstacle in domain.
In addition, multiple network equipments are each other without in same network segment.
Further, before the step S10, the data access method further include:
Step S101: foundation is connect with the TCP/IP of Cloud Server, and carries out the virtualization of ICP/IP protocol stack, to obtain
The corresponding default virtual communication component of the ICP/IP protocol stack.
It is understood that gateway will be connect with Cloud Server in initial link, and virtualize a TCP/IP association
It discusses stack and forms virtualisation component.Link is being applied, gateway carries out data access after connecting the virtualisation component again.
By carrying out the virtualization of local area network at transit node in the present embodiment, to bring software definition local area network
Characteristic;Meanwhile so that can successfully be communicated between user equipment and the network equipment, breaches early stage electronic equipment and only support local
Bring internet of things field application obstacle is interrogated by Netcom.
It is the flow diagram of data access method 3rd embodiment of the present invention referring to Fig. 5, Fig. 5, based on shown in above-mentioned Fig. 2
First embodiment, propose the 3rd embodiment of data access method of the present invention.
In 3rd embodiment, before the step S20, the data access method further include:
Step S202: the device configuration of each default network equipment of monitoring, the default network equipment includes described to be visited
The network equipment.
It is understood that the automatic detection function of settable gateway, in view of connect with gateway it is multiple under
Position machine, i.e., multiple default network equipments, it is possible that the situation of equipment replacement or configuration change, this easily leads to once can be just
The gateway that some network equipment is asked in frequentation can not again after the successful access change the network equipment.Applying the automatic inspection
When brake, gateway will periodically monitor the device configuration of the default network equipment connected to it.
Step S203: it in device configuration change, determines the default network equipment of the device configuration change and remembers
For destination network device, the connection with the destination network device is re-established.
It should be understood that if there is variation in the device configuration of the default network equipment of the next connection, in order to guarantee just
Frequentation asks, gateway will start against interface channel with the default network equipment of the occurrence of equipment configuration variation, with just
Frequentation is asked to the equipment.
It should be noted that can be connected to multiple default network equipments in view of gateway, moreover, the default network equipment is deposited
In equipment replacement or the situation of configuration change, by introducing the automatic detection function, it can automate to re-establish to connect and lead to
Road substantially increases visit so that gateway has the next plug and play of equipment and the device characteristics of adaptive configuration
Ask efficiency.
In addition, the gateway can also find the default network equipment newly connected automatically, to set up and the new connection
The interface channel of the default network equipment.
Further, after the step S30, the data access method further include:
The response message of the network equipment transparent forwarding to be visited is received, the response message corresponds to the user
Access information;
The response message transparent forwarding is returned into the Cloud Server, so that the Cloud Server is anti-by the response message
It is fed to the user equipment.
In the concrete realization, network deployment framework shown in Figure 3, gateway is by transparent turn of user access information
After being sent to some network equipment, the network equipment will be responded for the user access information, and response message is returned.Net
Network equipment will will be response message transparent forwarding to cloud service response message elder generation transparent forwarding to gateway, gateway
Response message will be fed back to user by device, Cloud Server.
Further, during accessing Cloud Server, authentication link can be also introduced, to improve the safety of browsing process
Property.
The automatic detection function of settable gateway in the present embodiment, the default network equipment there is equipment replacement or
When person's configuration change situation, it can automate and re-establish interface channel, so that gateway has inserting i.e. for the next equipment
With and adaptive configuration device characteristics, substantially increase access efficiency.
In addition, the embodiment of the present invention also proposes that a kind of data access system, the data access system include: that user sets
Standby, Cloud Server, the network equipment to be visited and gateway as described above;
The user access information is sent to the cloud service for obtaining user access information by the user equipment
Device;
The Cloud Server is used for the user access information transparent forwarding to the gateway;
The gateway is led to for determining the corresponding network equipment to be visited according to the user access information
Default virtual communication component is crossed by the user access information transparent forwarding to the network equipment to be visited, to carry out data visit
It asks, the default virtual communication component is transmission control protocol/Internet Protocol ICP/IP protocol stack virtualisation component.
The other embodiments or specific implementation of data access system of the present invention can refer to above-mentioned each method and implement
Example, details are not described herein again.
In addition, the embodiment of the present invention also proposes a kind of storage medium, it is stored with data access on the storage medium,
Following operation is realized when the data access is executed by processor:
The user access information of Cloud Server transparent forwarding is received, the user access information is sent to institute by user equipment
State Cloud Server;
The corresponding network equipment to be visited is determined according to the user access information;
By default virtual communication component by the user access information transparent forwarding to the network equipment to be visited, with
Data access is carried out, the default virtual communication component is transmission control protocol/Internet Protocol ICP/IP protocol stack
Virtualisation component.
Further, following operation is also realized when the data access is executed by processor:
Target LAN is generated by default virtual communication component;
Correspondingly, following operation is also realized:
By the target LAN by the user access information transparent forwarding to the network equipment to be visited, with into
Row data access.
Further, following operation is also realized when the data access is executed by processor:
Foundation is connect with the TCP/IP of Cloud Server, and carries out the virtualization of ICP/IP protocol stack, to obtain the TCP/
The corresponding default virtual communication component of IP protocol stack.
Further, following operation is also realized when the data access is executed by processor:
The device configuration of each default network equipment is monitored, the default network equipment includes the network equipment to be visited;
In device configuration change, determines the default network equipment of the device configuration change and be denoted as target network
Equipment re-establishes the connection with the destination network device.
Further, following operation is also realized when the data access is executed by processor:
The response message of the network equipment transparent forwarding to be visited is received, the response message corresponds to the user
Access information;
The response message transparent forwarding is returned into the Cloud Server, so that the Cloud Server is anti-by the response message
It is fed to the user equipment.
The user access information of Cloud Server transparent forwarding is received in the present embodiment, and the user access information is by user
Equipment is sent to the Cloud Server;The corresponding network equipment to be visited is determined according to the user access information;By default
Virtual communication component is by the user access information transparent forwarding to the network equipment to be visited, to carry out data access.It is bright
Aobviously, it can be used by oneself in the future in the present embodiment by carrying out transparent forwarding with based on the virtualisation component of ICP/IP protocol stack
The user access information transparent forwarding of family equipment is to the network equipment to be visited, so as to be converted to the communication in local area network dimension
The communication of Internet of Things dimension, also solves the technical issues of lan device can not carry out long-distance on-line.
In addition, the embodiment of the present invention also proposes that a kind of data access device, the data access device include: referring to Fig. 6
Cloud interactive module 10, for receiving the user access information of Cloud Server transparent forwarding, the user accesses letter
Breath is sent to the Cloud Server by user equipment.
Certainly, the technical solution of the present embodiment description is in practical application, an individual gateway hardware can be produced
It realizes, can also only be realized in a manner of gateway software.For application, it can be used for the networking of industry internet equipment,
It can be used for ad hoc network and networking, the remote desktop and mobile phone remote management etc. of smart home.
In the concrete realization, can dispose just like network deployment framework shown in Fig. 3, include user equipment, Cloud Server,
Gateway and the network equipment.User equipment is connect with Cloud Server, Cloud Server and gateway connect and gateway
It is connect with the network equipment.Wherein, user equipment can be denoted as USERSITE;Cloud Server is to provide the server or clothes of cloud resource
Business device cluster can be denoted as communication and service (Communications-as-a-Service, CaaS) cloud resource (Cloud), i.e.,
CaaS Cloud can provide cloud resource by third party cloud manufacturer;Gateway can be denoted as Gateway;The network equipment can be denoted as
Remote Terminal, alternatively referred to as the next equipment, the next equipment can provide user's data resource to be accessed.
It should be understood that being based on the network deployment framework, user, which initiates a data access by operation user equipment, to be asked
It asks, which includes user access information, and user access information includes port to be visited, network protocol class
At least one of in type, user name and password etc..Data access request is sent to Cloud Server side by user equipment;Cloud service
Device flanks receive the user access information after, set user access information is transferred to gateway by the pass-through mode of transparent forwarding
It is standby.
Determining module 20 is accessed, for determining the corresponding network equipment to be visited according to the user access information.
It should be understood that will first determine the data resource to be accessed after gateway gets the user access information
The locating network equipment to be visited, for example, record has 192.168.8.2:8080 in the user access information, it should by access
192.168.8.2:8080 corresponding data resource.
Data access module 30, for by presetting virtual communication component for the user access information transparent forwarding to institute
The network equipment to be visited is stated, to carry out data access, the default virtual communication component is transmission control protocol/Internet Interconnection
The virtualisation component of agreement ICP/IP protocol stack.
It is understood that including this in multiple default network equipments in view of there may be multiple default network equipments
When the network equipment to be visited to be accessed.
In the concrete realization, a default virtual communication component can be applied in the present embodiment, which is
Transmission control protocol/Internet Protocol (Transmission Control Protocol/Internet Protocol,
TCP/IP) the virtualisation component of protocol stack.Data access is carried out again after connecting the virtualisation component, which can incite somebody to action
Data access in different segment virtually turns to the data access in same network segment, for example, user equipment can be equal with the network equipment
For local area network dimension communication electronic equipment and be not at same network segment, convert it to the access in same network segment, also just
The communication for Internet of Things dimension is converted in communication in local area network dimension.Even if user equipment or the network equipment use only
Support the early stage electronic equipment that communicates in local area network dimension, by applying this embodiment in gateway, also can reach long-range
The effect of networking reduces modification and upgrade job for user equipment or the network equipment.
The user access information of Cloud Server transparent forwarding is received in the present embodiment, the user access information is set by user
It is standby to be sent to the Cloud Server;The corresponding network equipment to be visited is determined according to the user access information;Pass through default void
Intend communication component by the user access information transparent forwarding to the network equipment to be visited, to carry out data access.Obviously
Ground can will come from user by carrying out transparent forwarding with based on the virtualisation component of ICP/IP protocol stack in the present embodiment
The user access information transparent forwarding of equipment to the network equipment to be visited, so as to by the communication conversion in local area network dimension in order to
The communication of Internet of Things dimension also solves the technical issues of lan device can not carry out long-distance on-line.
In one embodiment, the data access device further include:
Local area network generation module, for generating target LAN by default virtual communication component;
The Data access module 30 is also used to the user access information transparent forwarding through the target LAN
To the network equipment to be visited, to carry out data access.
In one embodiment, the data access device further include:
Component generation module is connect for establishing with the TCP/IP of Cloud Server, and carries out the virtual of ICP/IP protocol stack
Change, to obtain the corresponding default virtual communication component of the ICP/IP protocol stack.
In one embodiment, the data access device further include:
Automatic detection module, for monitoring the device configuration of each default network equipment, the default network equipment includes institute
State the network equipment to be visited;In device configuration change, determines the default network equipment of the device configuration change and remember
For destination network device, the connection with the destination network device is re-established.
In one embodiment, the data access device further include:
Access response module, for receiving the response message of the network equipment transparent forwarding to be visited, the response
Information corresponds to the user access information;The response message transparent forwarding is returned into the Cloud Server, so that the cloud takes
The response message is fed back to the user equipment by business device.
The other embodiments or specific implementation of data access device of the present invention can refer to above-mentioned each method and implement
Example, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.If listing equipment for drying
Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first,
Second and the use of third etc. do not indicate any sequence, can be title by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as read-only memory, RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, count
Calculation machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of data access method, which is characterized in that the data access method the following steps are included:
The user access information of Cloud Server transparent forwarding is received, the user access information is sent to the cloud by user equipment
Server;
The corresponding network equipment to be visited is determined according to the user access information;
By default virtual communication component by the user access information transparent forwarding to the network equipment to be visited, to carry out
Data access, the default virtual communication component are that transmission control protocol/Internet Protocol ICP/IP protocol stack is virtual
Change component.
2. data access method as described in claim 1, which is characterized in that described according to determining pair of the user access information
After the network equipment to be visited answered, the data access method further include:
Target LAN is generated by default virtual communication component;
Correspondingly, described by presetting virtual communication component for the user access information transparent forwarding to the network to be visited
Equipment is specifically included with carrying out data access:
By the target LAN by the user access information transparent forwarding to the network equipment to be visited, to be counted
According to access.
3. data access method as described in claim 1, which is characterized in that the user for receiving Cloud Server transparent forwarding
Before access information, the data access method further include:
Foundation is connect with the TCP/IP of Cloud Server, and carries out the virtualization of ICP/IP protocol stack, to obtain the TCP/IP association
Discuss the corresponding default virtual communication component of stack.
4. data access method as claimed any one in claims 1 to 3, which is characterized in that described to be visited according to the user
Before asking that information determines the corresponding network equipment to be visited, the data access method further include:
The device configuration of each default network equipment is monitored, the default network equipment includes the network equipment to be visited;
In device configuration change, determines the default network equipment of device configuration change and be denoted as target network and set
It is standby, re-establish the connection with the destination network device.
5. data access method as claimed any one in claims 1 to 3, which is characterized in that described by default virtual logical
Believe component by the user access information transparent forwarding to the network equipment to be visited, it is described after carrying out data access
Data access method further include:
The response message of the network equipment transparent forwarding to be visited is received, the response message is accessed corresponding to the user
Information;
The response message transparent forwarding is returned into the Cloud Server, so that the Cloud Server feeds back to the response message
The user equipment.
6. data access method as claimed any one in claims 1 to 3, which is characterized in that the user access information packet
Include in port to be visited, network protocol type, user name and password at least one of.
7. a kind of gateway, which is characterized in that the gateway includes: memory, processor and is stored in the storage
On device and operation data program can be accessed on the processor, the data access is realized when being executed by the processor
Such as the step of data access method described in any one of claims 1 to 6.
8. a kind of data access system, which is characterized in that the data access system includes: user equipment, Cloud Server, wait visit
Ask the network equipment and gateway as described in claim 7;
The user access information is sent to the Cloud Server for obtaining user access information by the user equipment;
The Cloud Server is used for the user access information transparent forwarding to the gateway;
The gateway, for determining the corresponding network equipment to be visited according to the user access information, by pre-
If virtual communication component is by the user access information transparent forwarding to the network equipment to be visited, to carry out data access,
The default virtual communication component is transmission control protocol/Internet Protocol ICP/IP protocol stack virtualisation component.
9. a kind of storage medium, which is characterized in that be stored with data access, the data access journey on the storage medium
It realizes when sequence is executed by processor such as the step of data access method described in any one of claims 1 to 6.
10. a kind of data access device, which is characterized in that the data access device includes:
Cloud interactive module, for receiving the user access information of Cloud Server transparent forwarding, the user access information by with
Family equipment is sent to the Cloud Server;
Determining module is accessed, for determining the corresponding network equipment to be visited according to the user access information;
Data access module, for by default virtual communication component by the user access information transparent forwarding to described wait visit
Ask the network equipment, to carry out data access, the default virtual communication component is transmission control protocol/Internet Protocol
The virtualisation component of ICP/IP protocol stack.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910761791.2A CN110493337A (en) | 2019-08-16 | 2019-08-16 | Data access method, gateway, system, storage medium and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910761791.2A CN110493337A (en) | 2019-08-16 | 2019-08-16 | Data access method, gateway, system, storage medium and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110493337A true CN110493337A (en) | 2019-11-22 |
Family
ID=68551946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910761791.2A Pending CN110493337A (en) | 2019-08-16 | 2019-08-16 | Data access method, gateway, system, storage medium and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110493337A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111163463A (en) * | 2019-12-27 | 2020-05-15 | 深圳市宏电技术股份有限公司 | Method, device, equipment and storage medium for accessing wireless equipment to router |
CN113037541A (en) * | 2021-02-23 | 2021-06-25 | 深信服科技股份有限公司 | Network device management method, device and storage medium |
CN113507464A (en) * | 2021-07-06 | 2021-10-15 | 深圳市吉芯微半导体有限公司 | Data access method, device, equipment and storage medium based on virtual equipment |
CN114745169A (en) * | 2022-04-06 | 2022-07-12 | 北京天融信网络安全技术有限公司 | Multi-port access method, device, equipment, medium and product based on NAT mapping |
CN116033020A (en) * | 2022-12-27 | 2023-04-28 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for enhancing physical gateway computing power |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1622317A2 (en) * | 2004-07-30 | 2006-02-01 | Samsung Electronics Co., Ltd. | Medium access control apparatus for use in a channel overlay network |
CN101242336A (en) * | 2008-03-13 | 2008-08-13 | 杭州华三通信技术有限公司 | Method for remote access to intranet Web server and Web proxy server |
US20130083773A1 (en) * | 2011-09-30 | 2013-04-04 | Interdigital Patent Holdings, Inc. | Methods, apparatus and systems for enabling managed remote access |
CN103051642A (en) * | 2013-01-18 | 2013-04-17 | 上海云和信息系统有限公司 | Method for realizing accessing of local area network equipment in firewall based on VPN (Virtual Private Network) and network system |
CN104639913A (en) * | 2015-02-12 | 2015-05-20 | 浙江宇视科技有限公司 | Network video recorder (NVR) and automatic IPC (Internet Protocol Camera) access method thereof |
CN105847093A (en) * | 2016-02-04 | 2016-08-10 | 四川长虹电器股份有限公司 | Internet-of-things based interconnecting and internetworking system, networking method and communication method |
CN106713090A (en) * | 2017-01-17 | 2017-05-24 | 华东交通大学 | Smart home system |
CN106789667A (en) * | 2016-11-21 | 2017-05-31 | 华为技术有限公司 | A kind of data forwarding method, relevant device and system |
CN108924165A (en) * | 2018-08-24 | 2018-11-30 | 北京和利时工业软件有限公司 | A kind of Intranet remote access method and its device and Intranet gateway |
-
2019
- 2019-08-16 CN CN201910761791.2A patent/CN110493337A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1622317A2 (en) * | 2004-07-30 | 2006-02-01 | Samsung Electronics Co., Ltd. | Medium access control apparatus for use in a channel overlay network |
CN101242336A (en) * | 2008-03-13 | 2008-08-13 | 杭州华三通信技术有限公司 | Method for remote access to intranet Web server and Web proxy server |
US20130083773A1 (en) * | 2011-09-30 | 2013-04-04 | Interdigital Patent Holdings, Inc. | Methods, apparatus and systems for enabling managed remote access |
CN103051642A (en) * | 2013-01-18 | 2013-04-17 | 上海云和信息系统有限公司 | Method for realizing accessing of local area network equipment in firewall based on VPN (Virtual Private Network) and network system |
CN104639913A (en) * | 2015-02-12 | 2015-05-20 | 浙江宇视科技有限公司 | Network video recorder (NVR) and automatic IPC (Internet Protocol Camera) access method thereof |
CN105847093A (en) * | 2016-02-04 | 2016-08-10 | 四川长虹电器股份有限公司 | Internet-of-things based interconnecting and internetworking system, networking method and communication method |
CN106789667A (en) * | 2016-11-21 | 2017-05-31 | 华为技术有限公司 | A kind of data forwarding method, relevant device and system |
CN106713090A (en) * | 2017-01-17 | 2017-05-24 | 华东交通大学 | Smart home system |
CN108924165A (en) * | 2018-08-24 | 2018-11-30 | 北京和利时工业软件有限公司 | A kind of Intranet remote access method and its device and Intranet gateway |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111163463A (en) * | 2019-12-27 | 2020-05-15 | 深圳市宏电技术股份有限公司 | Method, device, equipment and storage medium for accessing wireless equipment to router |
CN111163463B (en) * | 2019-12-27 | 2023-09-19 | 深圳市宏电技术股份有限公司 | Method, device, equipment and storage medium for wireless equipment to access router |
CN113037541A (en) * | 2021-02-23 | 2021-06-25 | 深信服科技股份有限公司 | Network device management method, device and storage medium |
CN113507464A (en) * | 2021-07-06 | 2021-10-15 | 深圳市吉芯微半导体有限公司 | Data access method, device, equipment and storage medium based on virtual equipment |
CN113507464B (en) * | 2021-07-06 | 2023-10-13 | 深圳市吉芯微半导体有限公司 | Data access method, device, equipment and storage medium based on virtual equipment |
CN114745169A (en) * | 2022-04-06 | 2022-07-12 | 北京天融信网络安全技术有限公司 | Multi-port access method, device, equipment, medium and product based on NAT mapping |
CN116033020A (en) * | 2022-12-27 | 2023-04-28 | 中国联合网络通信集团有限公司 | Method, device, equipment and storage medium for enhancing physical gateway computing power |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110493337A (en) | Data access method, gateway, system, storage medium and device | |
CN110896371B (en) | Virtual network equipment and related method | |
US8166538B2 (en) | Unified architecture for remote network access | |
CN103685210B (en) | The register method and device of terminal | |
CN104796396A (en) | Network proxy layer for policy-based application proxies | |
CN104869043B (en) | A kind of method and terminal for establishing VPN connection | |
US8171541B2 (en) | Enabling provider network inter-working with mobile access | |
CN106063229A (en) | Methods and systems for forwarding data | |
CN114157579A (en) | Method and device for accessing gateway | |
CN108093098A (en) | A kind of domain name mapping request sending method and device | |
CN111464334A (en) | System, method and server for realizing terminal equipment management under software defined wide area network system | |
CN101873330B (en) | Access control method and server for supporting IPv6/IPv4 dual stack access | |
CN113364660A (en) | Data packet processing method and device in LVS load balancing | |
CN113132293B (en) | Attack detection method and device and public honeypot system | |
CN107666401A (en) | A kind of configuration information obtaining method and terminal | |
CN107547674A (en) | Address distribution method and device | |
CN111464370A (en) | Network distribution device, Internet of things control system and network distribution method thereof | |
CN109660459B (en) | Physical gateway and method for multiplexing IP address | |
CN106470252B (en) | The method and communication terminal of application program inquiry IP address | |
CN116208483A (en) | Method for realizing high-availability bare metal service, related device and storage medium | |
EP3641226A1 (en) | Address allocation method and related device | |
CN108810168A (en) | A kind of method and L2TP Network Server of access L2TP Network Server | |
CN113132218B (en) | Home gateway access method, device, system processor and storage medium | |
CN105516121B (en) | The method and system that AC is communicated with AP in WLAN | |
CN103701943B (en) | The control method and device of MAC Address |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191122 |