CN114785781B - Data access method and device - Google Patents

Data access method and device Download PDF

Info

Publication number
CN114785781B
CN114785781B CN202210288530.5A CN202210288530A CN114785781B CN 114785781 B CN114785781 B CN 114785781B CN 202210288530 A CN202210288530 A CN 202210288530A CN 114785781 B CN114785781 B CN 114785781B
Authority
CN
China
Prior art keywords
network
access
access point
result
visitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210288530.5A
Other languages
Chinese (zh)
Other versions
CN114785781A (en
Inventor
岳乾坤
蒋治春
张靖
李志红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210288530.5A priority Critical patent/CN114785781B/en
Publication of CN114785781A publication Critical patent/CN114785781A/en
Application granted granted Critical
Publication of CN114785781B publication Critical patent/CN114785781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

One or more embodiments of the present disclosure provide a data access method and apparatus, which are applied to a router, where the router and an access object are both located in a first network, the first network is provided with a network access point corresponding to a preset area, and a domain name resolution result of the access object in a second network is configured as an address of the network access point corresponding to the area where a visitor is located; the method comprises the following steps: receiving an access request forwarded by the network access point through the first network, wherein the access request is initiated by a visitor in the preset area aiming at the domain name of the access object through the second network; and issuing the access request to the access object through the first network so that the visitor accesses the target data stored in the access object.

Description

Data access method and device
Technical Field
One or more embodiments of the present disclosure relate to the field of data transmission technologies, and in particular, to a data access method and apparatus.
Background
In the present day of rapid development of cloud storage technology, users can store and access data belonging to themselves through a network by using a cloud storage service, and the cloud storage service can complete tasks such as management of storage space and the like by a cloud storage service provider, so that the users can easily and conveniently access the data belonging to themselves only through a network environment without concerning conditions such as storage hardware equipment and the like. However, when the distance between the area where the user is located and the cloud storage server deployment area is too long, long-distance network transmission is required when accessing data, and the data access quality cannot be ensured due to the network condition between two places.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure provide a data access method and apparatus.
In order to achieve the above object, one or more embodiments of the present disclosure provide the following technical solutions:
according to a first aspect of one or more embodiments of the present disclosure, a data access method is provided and applied to a router, where the router and an access object are both located in a first network, the first network is provided with a network access point corresponding to a preset area, and a domain name resolution result of the access object in a second network is configured as an address of the network access point corresponding to the area where the visitor is located; the method comprises the following steps: receiving an access request forwarded by the network access point through the first network, wherein the access request is initiated by a visitor in the preset area aiming at the domain name of the access object through the second network; and issuing the access request to the access object through the first network so that the visitor accesses the target data stored in the access object.
According to a second aspect of one or more embodiments of the present disclosure, a data access device is provided and applied to a router, where the router and an access object are both located in a first network, the first network is provided with a network access point corresponding to a preset area, and a domain name resolution result of the access object in a second network is configured as an address of the network access point corresponding to the area where a visitor is located; the device comprises: a receiving unit, configured to receive an access request forwarded by the network access point through the first network, where the access request is initiated by a visitor in the preset area for a domain name of the access object through the second network; and the issuing unit is used for issuing the access request to the access object through the first network so that the visitor accesses the target data stored in the access object.
According to a third aspect of one or more embodiments of the present description, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the method as described in the first aspect.
According to a fourth aspect of one or more embodiments of the present description, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect when the program is executed.
In the technical scheme provided by the specification, the access request from the second network is accessed to the first network with more stable network environment for transmission by deploying the network access point corresponding to the preset area and using the router through the network access point, so that the access quality is ensured.
Drawings
FIG. 1 is a schematic diagram of a data access device according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart of a method for accessing data according to an exemplary embodiment of the present disclosure;
FIG. 3 is a block diagram of a data access unit provided in an exemplary embodiment of the present disclosure;
FIG. 4 is a block diagram of a data access system according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic diagram of a data access apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. 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. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of one or more embodiments of the present description as detailed in the accompanying claims.
It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
When a user accesses data belonging to the user through a network using a cloud storage service of a type such as object storage (Object Storage Service, OSS), network stability is a main factor affecting access quality. For example, when the distance between the area where the user is located and the cloud storage server deployment area is too long, long-distance network transmission is required when accessing data, and the data access quality is limited by the network condition between two places, and the cloud storage server deployment area consumes a large amount of bandwidth resources, so that the access cost of the area increases. In order to solve the above problems, the present disclosure proposes a data access method, by deploying a network access point corresponding to a preset area, and transmitting an access request from a second network to a first network with a more stable network environment through the network access point by using a router, thereby ensuring the quality of access.
Fig. 1 is a schematic architecture diagram of a data access system shown in the present specification. As shown in fig. 1, a data access unit 11, a storage unit 12, a network access unit 13, a first network 14, a second network 15, and an access terminal 16 may be included.
The data access unit 11 may be a physical server comprising a separate host, or the data access unit 11 may be a virtual server carried by a cluster of hosts, the storage unit 12, the network access unit 13 being similar to the data access unit 11. The data transmission between the above units is performed through the first network 15. In operation, the data access unit 11 may be configured with data access means, which may be implemented in software and/or hardware, to receive a user access request to the storage unit 12 via the network access unit 13; the storage unit 12 may be configured with a data storage device, which may be implemented in software and/or hardware, to store the target data to which the access request is directed; the network access unit 13 may be provided with network access means, which may be implemented in software and/or hardware, to provide a forwarding interface for access requests to said data access unit 11, to enable access requests from access terminals 16 in the second network 15 to enter the first network 14 for transmission and finally to the storage unit 12.
The access terminal 16 refers to one type of electronic device that may be used by a user. Indeed, it is obvious that the user may also use electronic devices of the type such as: computers, cell phones, tablet devices, notebook computers, palm top computers (PDAs, personal Digital Assistants), wearable devices (e.g., smart glasses, smart watches, etc.), etc., as one or more embodiments of the present disclosure are not limited in this regard. In operation, the electronic device may be used by a user to submit an access request to the storage unit 12, where the access request is transmitted to the network access unit 13 through the second network 15, enters the transmission range of the first network 14 through the network access unit 13, is received by the data access unit 11 through the first network 14, and then is issued to the storage unit 12 by the data access unit 11.
The second network 15, which interacts with the network access unit 13, and the first network 14, which interacts with the data access unit 11, the storage unit 12, and the network access unit 13, are isolated from each other. The first network 14 and the second network 15 may include various types of wired or wireless networks. In one embodiment, the first network 14 and the second network 15 may include a public switched telephone network (Public Switched Telephone Network, PSTN) and the internet.
The data access method proposed in the present specification is specifically described below with reference to fig. 2. Fig. two is a schematic flow chart of a data access method according to an exemplary embodiment of the present disclosure. The method comprises the following steps:
s201, receiving an access request forwarded by the network access point through the first network, wherein the access request is initiated by a visitor in the preset area aiming at the domain name of the access object through the second network.
In an exemplary embodiment of the present disclosure, the method shown in fig. 2 may be applied to a router, where the router and the access object are both located in a first network, the first network is provided with a network access point corresponding to a preset area, and a domain name resolution result of the access object in a second network is configured as an address of the network access point corresponding to the area where the visitor is located.
In an exemplary embodiment of the present disclosure, the router may be a core service router (Core Service Router, CSR) that is in the same network as the access object and is responsible for receiving the access requests forwarded by the network access points corresponding to different preset areas, and may be referred to as a core service router because it is in a core position in the transmission link of the entire access request. In this embodiment, the core service router is deployed in the data access unit as in fig. 3.
As shown in fig. 3, the core service router 311 is disposed in the first network 31, meanwhile, the access object 313 is also located in the first network 31, and the first network 31 is further provided with a network access point 312 corresponding to a preset area 321, so that a visitor 322 requesting to access the access object 313 located in the first network 31 is located in a second network 32 different from the first network 31, and the access object 313 is located in the preset area 321 corresponding to the network access point.
The visitor 322 in the preset area 321 wants to access the target data stored in the access object 313, and needs to send an access request to the access object 313 by the visitor 322. But because visitor 322 is not the same network environment as access object 313, the access request needs to be received first by network access point 312. The access request is received and transmitted via the first network 31. The domain name resolution server configures the domain name of the access object 313 described in the received access request as the address of the network access point 312 corresponding to the area 321 in which the visitor 322 is located. The core service router 311 receives the access request forwarded by the network access point 312 via the first network 31, and at this time, the domain name of the access object 313 to which the access request is directed has been resolved to the address of the corresponding network access point 312 according to the source area of the access request.
S202, the access request is issued to the access object through the first network, so that the visitor accesses the target data stored in the access object.
Since the access request has entered the transmission environment of the first network 31 through the network access point 312 and the access object 313 is also in the first network, the core service router 311 may issue the access request to the access object 313 through the first network so that the visitor 322 may access the target data stored and accessed in the object 313.
In an exemplary embodiment of the present specification, the access object 313 may be an object storage device deployed at a predetermined place.
In an exemplary embodiment of the present description, the first network 31 may be an internal network with higher stability, and the second network 32 is a public network, i.e. an open network provided by an operator.
For example, in an exemplary embodiment of the present disclosure, the internal network may be a local area network. In another embodiment, the internal network may be a corporate backbone transport network (Backbone Transmission Network, BTN). In BTN, a complete network architecture is formed by connecting BTN-specific internet data centers (Internet Data Center, IDC) deployed worldwide, and data can be quickly and conveniently transmitted through the network architecture. Compared with the public network, the internal network has more stable network environment and higher transmission efficiency. Meanwhile, in an intranet, safety related equipment is more convenient to deploy, and the safety of data transmission can be more effectively improved by improving safety configuration.
In order to reduce bandwidth cost while considering network environment stability, the deployment location of the network access point and the relative position between the deployment location of the network access point and the corresponding preset area need to be considered. In an exemplary embodiment of the present disclosure, the deployment location of the network access point is in or near a preset area corresponding to the network access point. The method can furthest reduce the transmission distance of the access request through the second network, and the transmission distance through the second network is reduced as much as possible under the condition that the first network environment has higher transmission stability, and the transmission through the first network as much as possible can effectively improve the access quality and reduce the possibility of access failure caused by the instability of the second network environment. For example, when the first network is an intranet and the second network is a public network, because the network quality is unstable in the public network environment, congestion is more likely to occur, and the transmission speed is lower, so that the distance of public network transmission is reduced as much as possible, the data is transmitted by the intranet with more stable network quality and high transmission speed, and the mode of "short-distance public network transmission" and "long-distance intranet transmission" is used for replacing the mode of "long-distance public network transmission" and "short-distance intranet transmission", so that the data transmission speed can be obviously improved, and the data access efficiency can be improved.
Meanwhile, in the selection of the network access point position, the network access point can be set at a place with low bandwidth cost, and the place with high network bandwidth cost caused by the concentration of the selected users is avoided. The deployment site of the network access point and the relative position between the network access point and the corresponding preset area are comprehensively considered, and the network access point is arranged at a proper site, so that the data access efficiency can be effectively improved, the access cost is reduced, and the access quality is improved.
In addition, in the above embodiment, the network security configuration of the intranet is easier to be improved compared with the public network, so that the intranet environment is higher in security compared with the extranet environment. Under the condition that the first network is an intranet and the second network is a public network, the safety of access can be ensured by upgrading the safety configuration of the intranet and matching with a mode of 'short-distance public network transmission' plus 'long-distance intranet transmission', and the possibility of leakage of user data is reduced.
In an exemplary embodiment of the present disclosure, as shown in fig. 3, the first network 31 further includes a load balancing device 314 connected to the core service router 311. In issuing the access request to the access object 313 through the first network 31, the access request may be issued to the load balancing device 314 by the core service router 311 in consideration of allocation of the access request among the server groups, and the access request may be allocated to the access object 313 by the load balancing device 314 based on a load balancing algorithm. The method of reasonably distributing access requests among server groups through the load balancing device 314 can effectively improve the response speed and the overall performance of the data access system.
In an exemplary embodiment of the present disclosure, the network access point 312 is configured with a static IP address, and the domain name resolution result of the access object 313 in the second network is configured as the address of the network access point 312 corresponding to the area where the visitor 322 is located, that is, the static IP address of the network access point 312 corresponding to the area where the visitor 322 is located. At this time, since the address is a static IP address, the network access point 312, the core service router 311, and the load balancing device 314 can learn the route by a route learning function by issuing a different static IP corresponding to different areas on the network access point 312, the core service router 311, and the load balancing device 314. According to the routing information, the network access point 312, the core service router 311 and the load balancing device 314 forward the access request in sequence, so that the access request passes through the devices in sequence and finally reaches the target object.
In an exemplary embodiment of the present disclosure, after an access request reaches an access object, the access object needs to return an access result to a corresponding visitor, and the specific return process is as follows:
the core service router acquires an access result fed back by the access object, and returns the access result to the network access point through the first network, so that the access result is fed back to the visitor through the second network.
The above-mentioned return process of the access result may also be completed by the data access unit as shown in fig. 3, where the access result fed back by the access object 313 in the first network 31 is transmitted to the core service router 311 through the first network 31, and the access result is forwarded to the network access point 312 corresponding to the visitor after being acquired by the core service router 311, is forwarded from the network access point 312 out of the transmission environment of the first network 31, enters the transmission range of the second network 32, and is finally fed back to the visitor 322 in the second network 32.
In an exemplary embodiment of the present disclosure, in addition to the core service router 311 involved in the access request issuing process, a gateway device 315 is further disposed in the first network 31, and the gateway device 315 is connected to the core service router 311. Gateway device 315 is used to manage a virtual gateway corresponding to network access point 312. The gateway device 315 may be a physical gateway or a virtual gateway carried by a server, and the implementation form of the gateway device is not specifically limited in this specification. The purpose of the gateway device 315 is to control and schedule the feedback of the access result, so as to improve the security and transmission efficiency of network transmission.
When the core service router 311 returns the access result to the network access point 312 through the first network 31, the access result may be distributed to the virtual gateway managed by the gateway device 315 through the first network 31, and then the virtual gateway forwards the access result to the corresponding network access point 312 through the first network 31 according to the corresponding relationship between the virtual gateway and the network access point.
The above-mentioned process of forwarding the access result through the virtual gateway may be specifically completed in the following form:
the core service router 311 adds a preset number corresponding to the network access point 312 to the access result, the preset number corresponding to the preset area 321. The core service router 311 forwards the access result added with the preset number to the gateway device 315 through the first network 31, so that the gateway device 315 forwards the access result to the corresponding virtual gateway according to the preset number. And forwards the access result by the virtual gateway to its corresponding network access point 312. The access result enters the transmission range of the second network 32 through the network access point 312 and is finally fed back to the visitor 322 in the preset area 321 through the second network 32, thereby completing the feedback process of accessing the target data.
In order to more clearly illustrate the technical solutions of the present specification, the present specification provides the following exemplary embodiments.
As shown in fig. 4, assuming that the access object is an object store 413 disposed in the region X, the data of the user is stored in the object store 413. To coordinate the object store 413, a core service router 411 and a load balancing device 412 connected to the core service router 411 are also disposed in the first network 41 in the region X. And, each network access point corresponding to the preset area is also provided in the first network 41. For example, as shown in fig. 4, the data access system is deployed with four access points corresponding to four preset areas: a city access point 4121 corresponding to a region 4211, B city access point 4122 corresponding to B region 4212, C city access point 4123 corresponding to C region 4213, D city access point 4124 corresponding to D region 4214. Communication between the first network 41 and the second network 42 can be achieved through the above-mentioned respective network access points, and the above-mentioned respective network access points take into account both the bandwidth cost at the deployment site and the spacing distance between the deployment site of the network access point and the preset area corresponding to the network access point in the setting of the deployment site. For example, taking D-zone 4214 as an example, a large number of users in D-zone 4214 are distributed in hangzhou, but due to the high bandwidth costs of hangzhou, D-city may be selected to deploy network access points corresponding to D-zone 4214—d-city access points 4124. On one hand, the bandwidth cost of the city d is lower, on the other hand, the geographic position of the city d is relatively close to Hangzhou, and the network access point is properly selected to be deployed in the city d after the factors are comprehensively considered.
Assuming user 1 located in area a, sending an access request 1 to the target object, object store 413, over the second network 42; user 2, located in zone C, sends access request 2 to object store 413 over second network 42. For user 1 in area a, the domain name of the object store 413 in the second network 42 is resolved by the domain name resolution server into the address of the network access point corresponding to area a, the a city access point 4121, according to the area a in which user 1 is located. Each network access point is deployed with a corresponding static IP that is published to each network access point and also to the core service router 411, the load balancing device 412. For user 1 from a region 4211, the domain name resolution server resolves the domain name of the access object into a static IP of a city access point 4121, a city VIP (Virtual Internet Protocol Address, operator IP), according to the source of the access request 1 sent by the user; similarly, for user 2 from zone C4213, the domain name of its access object is resolved to the static IP of C city access point 4123, C city VIP.
At this time, the user 1 transmits an access request 1 to its corresponding a-city access point 4121 through the second network 42, the access request enters the first network 41 through the a-city access point 4121, and is forwarded to the core service router 411 through the first network 41 by the a-city access point 4121, further forwarded to the load balancing device 412 through the first network 41 by the core service router 411, and the access request is distributed to the access object—the object storage 413 by the load balancing device 412 based on the load balancing algorithm. Similarly, the access request 2 sent by the user 2 passes through a path similar to the access request 1, and the path passes through the city access point 4123, the core service router 411 and the load balancing device 412, and finally reaches the access object—object storage 413.
Of course, in the present specification, the access object is not limited to the object storage device, but includes other types of cloud storage or physical storage devices, or other types of devices including a storage function, and the type of the access object is not particularly limited in the present specification.
The first network 41 further has a gateway device disposed therein, which may be a physical gateway or a virtual gateway, in this embodiment, a virtual gateway device 414, and in an exemplary embodiment of the present disclosure, the virtual gateway device 414 may be a static elastic service router (Static Elastic Service Router, SESR).
After the access requests 1 and 2 reach the access object, the process of feeding back the access result to the users 1 and 2 through the network by the access object is as follows:
the source IP of the access result 1 of the user 1 is the destination IP of the access request, that is, the a-city VIP allocated when the access request passes through the a-city access point 4121. The core service router 411 is provided with a PBR (Policy Based Routing, policy routing) that maintains a routing table storing the correspondence between the respective off-site static IPs and preset areas, and is assigned a preset number for each preset area, for example, preset number 1 for the a area 4211, preset number 2 for the b area 4212, preset number 3 for the c area 4213, and preset number 4 for the d area 4214. When the access result 1 corresponding to the access request 1 is returned to the core router 411, knowing that the source IP of the access result 1 is a city VIP and the corresponding area is an a area 4211 through the PBR, the number 1 is marked in the access result 1, and the access result is forwarded to the virtual gateway device 414. The virtual gateway device 414 forwards the access result 1 to the virtual gateway corresponding to the a city access point 4121 according to the number 1 of the access result 1, and forwards the access result 1 to the a city access point 4121 by the virtual gateway. The forwarding of the access result 1 in the above-described procedure is completed in the first network 41. After access result 1 reaches a city access point 4121, the access result is fed back to user 1 by a city access point 4121 through the second network 42. The return process of the access result 2 for the user 2 is similar to the return process of the access result 1, the access result 2 is forwarded through the first network 41 according to the source IP, namely the C city VIP, and sequentially forwarded through the core service router 411, the virtual gateway device 414, the virtual gateway corresponding to the C city access point 4123 and the C city access point 4123, finally forwarded from the C city access point 4123 to the first network 41, enters the second network 42, and finally fed back to the user 2 located in the C area 4213 through the second network 42, so that the feedback of the access result is completed.
Fig. 5 is a schematic structural view of an electronic device according to an exemplary embodiment of the present specification. Referring to fig. 5, at a hardware level, the device includes a processor 502, an internal bus 504, a network interface 506, a memory 508, and a non-volatile storage 510. Of course, also hardware required for other functions may be included. The processor 502 reads a corresponding computer program from the non-volatile memory 510 into the memory 508 and then runs, forming a data access means at a logic level. Of course, in addition to software implementation, one or more embodiments of the present disclosure do not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but may also be hardware or a logic device.
Corresponding to the embodiment of the method, the present specification also provides a data access device.
Referring to fig. 6, a data access device is applied to a router, wherein the router and an access object are both located in a first network, the first network is provided with a network access point corresponding to a preset area, and a domain name resolution result of the access object in a second network is configured as an address of the network access point corresponding to the area where a visitor is located; the apparatus may include:
a receiving unit 610, configured to receive an access request forwarded by the network access point through the first network, where the access request is initiated by a visitor in the preset area for the domain name of the access object through the second network;
and a issuing unit 620, configured to issue the access request to the access object through the first network, so that the visitor accesses the target data stored in the access object.
Optionally, the network access point is configured with a static IP address; the domain name resolution result is configured as a static IP address of a network access point corresponding to the area where the visitor is located.
Optionally, the deployment location of the network access point is in or near the preset area.
Optionally, the first network further includes a load balancing device connected to the router, and the issuing unit 620 may be specifically configured to:
and issuing the access request to the load balancing equipment through the first network, and distributing the access request to the access object by the load balancing equipment based on a load balancing algorithm.
Optionally, the data access device may further include:
an obtaining unit 630, configured to obtain an access result fed back by the access object;
and a returning unit 640 configured to return the access result to the network access point through the first network, so that the access result is fed back to the visitor through the second network.
Alternatively, the return unit 640 may be specifically configured to:
adding a preset number corresponding to the network access point to the access result;
and forwarding the access result to the gateway equipment through the first network, so that the gateway equipment forwards the access result to a corresponding virtual gateway according to the preset number.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer 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, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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, read only compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the 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.
In one or more embodiments of the present specification, 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 the element.
The terminology used in the one or more embodiments of the specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the specification. As used in this specification, one or more embodiments 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. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The foregoing description of the preferred embodiment(s) is (are) merely intended to illustrate the embodiment(s) of the present invention, and it is not intended to limit the embodiment(s) of the present invention to the particular embodiment(s) described.

Claims (9)

1. The data access method is characterized by being applied to a router, wherein the router and an access object are both in a first network, the first network is provided with a network access point corresponding to a preset area, and a domain name resolution result of the access object in a second network is configured as an address of the network access point corresponding to the area where a visitor is located; the method comprises the following steps:
receiving an access request forwarded by the network access point through the first network, wherein the access request is initiated by a visitor in the preset area aiming at the domain name of the access object through the second network;
issuing the access request to the access object through the first network so that the visitor accesses the target data stored in the access object;
the network access point is configured with a static IP address; the domain name resolution result is configured as a static IP address of a network access point corresponding to the area where the visitor is located.
2. The method of claim 1, wherein the deployment location of the network access point is in or near the preset area.
3. The method of claim 1, further comprising a load balancing device coupled to the router in the first network, wherein the issuing the access request to the access object via the first network comprises:
and issuing the access request to the load balancing equipment through the first network, and distributing the access request to the access object by the load balancing equipment based on a load balancing algorithm.
4. The method as recited in claim 1, further comprising:
obtaining an access result fed back by an access object;
and returning the access result to the network access point through the first network so that the access result is fed back to the visitor through the second network.
5. The method of claim 4, further comprising a gateway device connected to the router in the first network, the gateway device being configured to manage a virtual gateway corresponding to the network access point, and returning the access result to the network access point through the first network, including:
and distributing the access result to the virtual gateway through the first network so that the virtual gateway forwards the access result to the network access point through the first network.
6. The method of claim 5, wherein the distributing the access result to the virtual gateway corresponding to the network access point through the first network comprises:
adding a preset number corresponding to the network access point to the access result;
and forwarding the access result to the gateway equipment through the first network, so that the gateway equipment forwards the access result to a corresponding virtual gateway according to the preset number.
7. The data access device is characterized by being applied to a router, wherein the router and an access object are both in a first network, the first network is provided with a network access point corresponding to a preset area, and a domain name resolution result of the access object in a second network is configured as an address of the network access point corresponding to the area where a visitor is located; the device comprises:
a receiving unit, configured to receive an access request forwarded by the network access point through the first network, where the access request is initiated by a visitor in the preset area for a domain name of the access object through the second network;
the issuing unit is used for issuing the access request to the access object through the first network so that the visitor accesses the target data stored in the access object;
the network access point is configured with a static IP address; the domain name resolution result is configured as a static IP address of a network access point corresponding to the area where the visitor is located.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-6.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-6 when the program is executed.
CN202210288530.5A 2022-03-22 2022-03-22 Data access method and device Active CN114785781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210288530.5A CN114785781B (en) 2022-03-22 2022-03-22 Data access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210288530.5A CN114785781B (en) 2022-03-22 2022-03-22 Data access method and device

Publications (2)

Publication Number Publication Date
CN114785781A CN114785781A (en) 2022-07-22
CN114785781B true CN114785781B (en) 2024-03-26

Family

ID=82424736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210288530.5A Active CN114785781B (en) 2022-03-22 2022-03-22 Data access method and device

Country Status (1)

Country Link
CN (1) CN114785781B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117455A1 (en) * 2014-08-20 2015-08-13 深圳市中兴微电子技术有限公司 Network access method, system and terminal device, and computer storage medium
CN106331213A (en) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 Domain name system DNS processing method and apparatus
CN108259237A (en) * 2018-01-05 2018-07-06 葛晗 Network access accelerated method, cloud dns server, CE and cloud IP accelerate network system
CN110557443A (en) * 2019-08-20 2019-12-10 武汉绿色网络信息服务有限责任公司 cross-network communication method and address translation equipment
WO2021004144A1 (en) * 2019-07-11 2021-01-14 广东美的制冷设备有限公司 Domain name resolution method, domain name resolution device, household appliance, and storage medium
CN112804366A (en) * 2019-11-13 2021-05-14 北京百度网讯科技有限公司 Method and device for resolving domain name
CN113315848A (en) * 2020-02-27 2021-08-27 阿里巴巴集团控股有限公司 Access control method, device and equipment
CN113438307A (en) * 2021-06-22 2021-09-24 北京金山安全软件有限公司 Domain name resolution method, server, system and storage medium
CN113489691A (en) * 2021-06-22 2021-10-08 腾讯科技(深圳)有限公司 Network access method, device, computer readable medium and electronic equipment
CN114040025A (en) * 2020-07-21 2022-02-11 深圳市腾讯网域计算机网络有限公司 Method and device for controlling switching of network environment and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2291980B1 (en) * 2008-06-24 2012-05-23 France Telecom Remote network access via a visited network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117455A1 (en) * 2014-08-20 2015-08-13 深圳市中兴微电子技术有限公司 Network access method, system and terminal device, and computer storage medium
CN106331213A (en) * 2016-08-29 2017-01-11 广东欧珀移动通信有限公司 Domain name system DNS processing method and apparatus
CN108259237A (en) * 2018-01-05 2018-07-06 葛晗 Network access accelerated method, cloud dns server, CE and cloud IP accelerate network system
WO2021004144A1 (en) * 2019-07-11 2021-01-14 广东美的制冷设备有限公司 Domain name resolution method, domain name resolution device, household appliance, and storage medium
CN110557443A (en) * 2019-08-20 2019-12-10 武汉绿色网络信息服务有限责任公司 cross-network communication method and address translation equipment
CN112804366A (en) * 2019-11-13 2021-05-14 北京百度网讯科技有限公司 Method and device for resolving domain name
CN113315848A (en) * 2020-02-27 2021-08-27 阿里巴巴集团控股有限公司 Access control method, device and equipment
CN114040025A (en) * 2020-07-21 2022-02-11 深圳市腾讯网域计算机网络有限公司 Method and device for controlling switching of network environment and electronic equipment
CN113438307A (en) * 2021-06-22 2021-09-24 北京金山安全软件有限公司 Domain name resolution method, server, system and storage medium
CN113489691A (en) * 2021-06-22 2021-10-08 腾讯科技(深圳)有限公司 Network access method, device, computer readable medium and electronic equipment

Also Published As

Publication number Publication date
CN114785781A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
JP7252356B2 (en) MOBILE EDGE COMPUTING NODE SELECTION METHOD, APPARATUS AND SYSTEM AND COMPUTER PROGRAM
US10404790B2 (en) HTTP scheduling system and method of content delivery network
CN102137014B (en) Resource management method, system and resource manager
CN107517228B (en) Dynamic acceleration method and device in content distribution network
CN109327542B (en) Game service access response method, request forwarding method, connection method and device
US20170099345A1 (en) Content delivery network load balancing
US20130019089A1 (en) Applying settings in a cloud computing environment based on geographical region
Zheng et al. A heuristic survivable virtual network mapping algorithm
CN113783922A (en) Load balancing method, system and device
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN103781055A (en) Data downloading method and associated device
CN104378452A (en) Method, device and system for domain name resolution
CN105357233A (en) Remote call method and device
CN110740162A (en) Communication link establishing method, device, electronic equipment and medium
US10623469B2 (en) Methods and apparatuses for information transmission
CN107172214B (en) Service node discovery method and device with load balancing function
CN113467970B (en) Cross-security-area resource access method in cloud computing system and electronic equipment
CN105045762A (en) Management method and apparatus for configuration file
US20120005274A1 (en) System and method for offering cloud computing service
CN101599910B (en) Method and device for sending messages
US11108854B2 (en) Peer-to-peer network for internet of things resource allocation operation
CN113885797A (en) Data storage method, device, equipment and storage medium
CN114785781B (en) Data access method and device
JP2012247865A (en) Guest os arrangement system and guest os arrangement method
US10231269B2 (en) Dynamic generation of geographically bound manet IDs

Legal Events

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