CN114785781A - Data access method and device - Google Patents

Data access method and device Download PDF

Info

Publication number
CN114785781A
CN114785781A CN202210288530.5A CN202210288530A CN114785781A CN 114785781 A CN114785781 A CN 114785781A CN 202210288530 A CN202210288530 A CN 202210288530A CN 114785781 A CN114785781 A CN 114785781A
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.)
Granted
Application number
CN202210288530.5A
Other languages
Chinese (zh)
Other versions
CN114785781B (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

Images

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 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 an area where an accessor 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 of the preset area through the second network for a domain name of the access object; and sending the access request to the access object through the first network so as to enable the visitor to access 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 when cloud storage technology is rapidly developed, a user can utilize cloud storage service to store and access data belonging to the user through a network, and the cloud storage service delivers tasks such as management of storage space to a cloud storage service provider to complete, so that the user can easily and conveniently access the data belonging to the user only through a network environment without concerning conditions such as storage hardware equipment. 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 quality of data access cannot be guaranteed 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.
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 specification, a data access method is provided, which is applied to a router, where 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 an 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 of the preset area through the second network for a domain name of the access object; and transmitting the access request to the access object through the first network so as to enable the visitor to access the target data stored in the access object.
According to a second aspect of one or more embodiments of the present specification, a data access apparatus is provided, which is 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 an 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 through the second network for a domain name of the access object; and the issuing unit is used for issuing the access request to the access object through the first network so as to enable the visitor to access 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, performs the steps of the method according to 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 executing the program.
In the technical solution provided in this specification, the access quality is ensured by deploying the network access point corresponding to the preset area and using the router to access the access request from the second network to the first network with a more stable network environment through the network access point for transmission.
Drawings
FIG. 1 is a block diagram illustrating an architecture of a data access device provided in an exemplary embodiment of the present specification;
FIG. 2 is a flow chart diagram of a data access method provided by an exemplary embodiment of the present description;
FIG. 3 is a block diagram of a data access unit provided in an exemplary embodiment of the present description;
FIG. 4 is a block diagram of a data access system provided in an exemplary embodiment of the present description;
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 device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent 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 certain aspects of one or more embodiments of the specification, as detailed in the claims that follow.
It should be noted that: in other embodiments, the steps of the corresponding methods 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 those described herein. Moreover, a single step described in this specification may be broken down into multiple steps in other embodiments; multiple 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 (OSS) of an Object Storage Service (Object Storage Service) type or the like, 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, which is limited by the network condition between two places, the quality of data access cannot be guaranteed, and the cloud storage server deployment area consumes a large amount of bandwidth resources, resulting in an increase in access cost of the area. In order to solve the above problems, the present specification provides a data access method, where a network access point corresponding to a preset area is deployed, and a router is used to access an access request from a second network to a first network with a more stable network environment through the network access point for transmission, so as to ensure access quality, and meanwhile, in terms of selection of a deployment location of the network access point, a location with a lower bandwidth cost is selected, so as to reduce access cost.
Fig. 1 is a schematic diagram of an architecture of a data access system shown in the present specification. As shown in fig. 1, may include 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.
The data access unit 11 may be a physical server comprising an independent host, or the data access unit 11 may be a virtual server carried by a host cluster, and the storage unit 12 and the network access unit 13 are similar to the data access unit 11. The above units perform data transmission via the first network 15. During operation, the data access unit 11 may be configured with data access means, which may be implemented in software and/or hardware, to receive an access request from a user to the storage unit 12 through 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 target data to which the access request is directed; the network access unit 13 may be configured with network access means, which may be implemented in software and/or hardware, to provide a forwarding interface for the access request to the data access unit 11, so that the access request from the access terminal 16 in the second network 15 enters the first network 14 for transmission and finally reaches the storage unit 12.
The access terminal 16 refers to one type of electronic device that a user may use. Indeed, it is obvious that the user may also use electronic devices of the type such as: examples of the wearable device include, but are not limited to, computers, mobile phones, tablet devices, notebook computers, Personal Digital Assistants (PDAs), wearable devices (e.g., smart glasses, smart watches, etc.), and the like. In the operation process, the electronic device may be used for a user to submit an access request for the storage unit 12, the access request is transmitted to the network access unit 13 through the second network 15, enters a 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 is issued to the storage unit 12 by the data access unit 11.
The second network 15 for interaction between the access terminal 16 and the network access unit 13 and the first network 14 for interaction between 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 (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 flowchart of a data access method provided in an exemplary embodiment of the present specification. The method comprises the following steps:
s201, receiving 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 through the second network for a domain name of the access object.
In an exemplary embodiment of the present specification, the method shown in fig. 2 may be applied to a router, where the router and the 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 the visitor is located.
In an exemplary embodiment of the present specification, the Router may be a Core Service Router (CSR) that is in the same network as the access object and is responsible for receiving access requests forwarded by network access points corresponding to different predetermined areas, and since it is in a Core location in the whole transmission link of the access request, it may be referred to as a Core Service Router. In this embodiment, the core service router is deployed in a data access unit as in fig. 3.
As shown in fig. 3, the core service router 311 is deployed in the first network 31, and 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 predetermined area 321, so that the visitor 322 requesting to access the access object 313 located in the first network 31 is located in the second network 32 different from the first network 31, and the access object 313 is located in the predetermined area 321 corresponding to the network access point.
A visitor 322 in the predetermined area 321 who wants to access the target data stored in the access object 313 needs to send an access request to the access object 313 from the visitor 322. But since visitor 322 is in a different network environment than access object 313, the access request needs to be received first by network access point 312. The access request is received and transmitted over the first network 31. The domain name resolution server configures the domain name of access object 313 described in the received access request as the address of network access point 312 corresponding to area 321 where visitor 322 is located. The core service router 311 receives the access request forwarded by the network access point 312 through the first network 31, at this time, the domain name of the access object 313 pointed by the access request is already 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 sent to the access object through the first network, so that the visitor can access 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 in the access object 313.
In an exemplary embodiment of the present specification, the access object 313 may be an object storage device disposed at a predetermined place.
In an exemplary embodiment of the present specification, the first network 31 may be an internal network having 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 specification, the internal network may be a local area network. In another embodiment, the internal Network may be a Backbone Transport Network (BTN) of a company. In BTN, Internet Data Centers (IDCs) dedicated to BTN deployed around the world are connected to form a complete network architecture through which Data can be transmitted quickly and conveniently. Compared with a public network, the network environment of the internal network is more stable, and the transmission efficiency is higher. Meanwhile, safety-related equipment is more conveniently deployed in the intranet, and the safety of data transmission can be more effectively improved by improving safety configuration.
In order to reduce the bandwidth cost while considering the stability of the network environment, 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 specification, the deployment position of the network access point is in a preset area corresponding to the network access point or in the vicinity of the preset area corresponding to the network access point. The method can reduce the transmission distance of the access request through the second network to the maximum extent, and reduce the transmission distance through the second network 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, congestion is more likely to occur and the transmission speed is lower due to unstable network quality in the public network environment, so that the distance of public network transmission is reduced as much as possible, data transmission is performed through 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 increased, 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 by selecting the place with low bandwidth cost, so that the place with high network bandwidth cost caused by the concentration of users is avoided. The deployment location 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 location, 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 embodiments, it is mentioned that the network security configuration of the intranet is easier to be improved compared with the public network, and therefore, the intranet environment has higher 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 access security can be better ensured and the possibility of user data leakage is reduced by upgrading the security configuration of the intranet and matching the mode of short-distance public network transmission and long-distance intranet transmission.
In an exemplary embodiment of the present specification, 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 first, and the access request may be issued to the access object 313 by the load balancing device 314 based on a load balancing algorithm, in consideration of allocation of the access request among the server groups. The method of reasonably distributing access requests among server groups through the load balancing device 314 can effectively improve the reaction speed and the overall performance of the data access system.
In an exemplary embodiment of the present specification, 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 an 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 this route by issuing a foreign 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 sequentially forward the access request, so that the access request sequentially passes through the above devices and finally reaches the target object.
In an exemplary embodiment of this specification, after the access request reaches the access object, the access object needs to return the access result to the corresponding visitor, and a specific return process is as follows:
and the core service router acquires the 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 returning process of the access result can also be accomplished 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 after the access result is obtained by the core service router 311, the access result is forwarded to the network ap 312 corresponding to the visitor, forwarded from the network ap 312 out of the transmission environment of the first network 31, enters the transmission range of the second network 32, and finally fed back to the visitor 322 in the second network 32.
In an exemplary embodiment of this specification, besides the core service router 311 involved in the process of issuing the access request, 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. The gateway device 315 is configured to manage a virtual gateway corresponding to the network access point 312. The gateway device 315 may be a physical gateway or a virtual gateway borne 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 first distributed to the virtual gateway managed by the gateway device 315 through the first network 31, and then forwarded to the corresponding network access point 312 through the first network 31 by the virtual gateway according to the correspondence between the virtual gateway and the network access point.
The 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, where the preset number corresponds to the preset area 321. The core service router 311 forwards the access result to which the preset number is added 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 the virtual gateway forwards the access results 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 the access target data.
To more clearly illustrate the technical solutions of the present specification, the present specification provides the following exemplary embodiments.
As shown in fig. 4, it is assumed that the access object is an object store 413 deployed in the X region, and data of users are stored in the object store 413. In order to cooperate with the object storage 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 X region. Also, each network access point corresponding to a 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, which respectively correspond to four preset areas: city a access point 4121 corresponding to a region 4211, city B access point 4122 corresponding to B region 4212, city C access point 4123 corresponding to C region 4213, and city D access point 4124 corresponding to D region 4214. The communication between the first network 41 and the second network 42 can be realized through the network access points, and the setting of the deployment position of the network access points simultaneously considers the bandwidth cost at the deployment position and the spacing distance between the deployment position of the network access points and the preset area corresponding to the network access points. For example, taking the D area 4214 as an example, a large number of users in the D area 4214 are distributed in the state of hangzhou, but due to the high bandwidth cost of the state of hangzhou, a D city may be selected to deploy a network access point corresponding to the D area 4214, i.e., a D city access point 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 closer to the Hangzhou state, and it is more appropriate to select a network access point to be deployed in the city d after the factors are comprehensively considered.
Assuming that the user 1 located in the a area transmits an access request 1 to the target object-object store 413 through the second network 42; user 2, located in zone C, sends access request 2 to object store 413 via 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 4211, i.e., the city access point 4121, according to the area a where user 1 is located. Each network access point is deployed with a corresponding static IP, and the static IP is distributed to the core service router 411 and the load balancing device 412 at the same time as the static IP is distributed to each network access point. For the user 1 from the a area 4211, the domain name resolution server resolves the domain name of the access object into a static IP of the a city access point 4121, namely, a city VIP (Virtual Internet Protocol Address, operator IP), according to the source of the access request 1 sent by the domain name resolution server; similarly, for user 2 from C-zone 4213, his domain name of the access object is resolved to the static IP of C-city access point 4123, C-city VIP.
At this time, the user 1 sends the 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 by the a-city access point 4121 through the first network 41, and is further forwarded to the load balancing device 412 by the core service router 411 through the first network 41, 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, for the access request 2 issued by the user 2, the path passes through the similar path as the access request 1, and finally reaches the access object, the object storage 413, via the city access point 4123, the core service router 411 and the load balancing device 412.
Of course, in this specification, the access object is not limited to the object storage device, but also 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 specifically limited in this specification.
A gateway device is further disposed in the first network 41, and the gateway device may be a physical gateway or a virtual gateway, in this embodiment, the gateway device is a virtual gateway device 414, and in an exemplary embodiment of this specification, the virtual gateway device 414 may be a Static Elastic Service Router (SESR).
After the access requests 1 and 2 reach the access object, the access object feeds back the access result to the users 1 and 2 through the network as follows:
the source IP of the access result 1 of the user 1 is the target IP of the access request, that is, the a-city VIP allocated when the access request passes through the a-city access point 4121. A PBR (Policy Based Routing) is set on the core service router 411, and the Policy Routing maintains a Routing table storing a corresponding relationship between each different-location static IP and a preset area, and assigns a preset number to each preset area, for example, the preset number of the a area 4211 is 1, the preset number of the B area 4212 is 2, the preset number of the C area 4213 is 3, and the preset number of the D area 4214 is 4. When the access result 1 corresponding to the access request 1 is returned to the core router 411, the PBR learns that the source IP of the access result 1 is a city VIP, and the corresponding area is the a area 4211, the access result 1 is marked with the number 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 the virtual gateway forwards the access result 1 to the a-city access point 4121. The forwarding of access result 1 in the above process is all done in the first network 41. After the access result 1 reaches the a-city access point 4121, the access result is fed back to the user 1 by the 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, and the access result 2 is forwarded through the first network 41 according to the source IP — C city VIP, 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 finally forwarded out of the first network 41 from the C city access point 4123, enters the second network 42, and finally fed back to the user 2 located in the C area 4213 through the second network 42, thereby completing the feedback of the access result.
Fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present specification. Referring to fig. 5, at the hardware level, the apparatus includes a processor 502, an internal bus 504, a network interface 506, a memory 508, and a non-volatile memory 510. Of course it is also possible to include hardware required for other functions. The processor 502 reads a corresponding computer program from the non-volatile memory 510 into the memory 508 and runs it, forming a data access means on a logical level. Of course, besides software implementation, the one or more embodiments in this specification do not exclude other implementations, such as logic devices or combinations of software and hardware, and so on, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
The present specification also provides a data access device corresponding to the above-mentioned method embodiment.
Referring to fig. 6, a data access apparatus is applied to a router, where 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 an area where an accessor 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 through the second network for a domain name of the access object;
an 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, a static IP address is configured on the network access point; and the domain name resolution result is configured to be a static IP address of a network access point corresponding to the region 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 apparatus may further include:
an obtaining unit 630, configured to obtain an access result fed back by the access object;
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.
Optionally, the returning unit 640 may be specifically configured to:
adding a preset number corresponding to the network access point into 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 the corresponding virtual gateway according to the preset number.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, laptop, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging 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 forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the 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 computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium, that may be used to store information that may be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 an … …" 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 description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and 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, such 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 herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.

Claims (10)

1. A data access method is characterized in that the method is 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 to be an address of the network access point corresponding to the area where an accessor 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 of the preset area through the second network for a domain name of the access object;
and transmitting the access request to the access object through the first network so as to enable the visitor to access the target data stored in the access object.
2. The method of claim 1, wherein a static IP address is configured on the network access point; the domain name resolution result is configured to be a static IP address of a network access point corresponding to the region where the visitor is located.
3. The method of claim 1, wherein a deployment location of the network access point is in or near the preset area.
4. The method as claimed in claim 1, wherein the first network further includes a load balancing device connected to the router, and the issuing the access request to the access object through the first network includes:
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.
5. The method of claim 1, further comprising:
obtaining an access result fed back by an access object;
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.
6. The method of claim 5, further comprising a gateway device connected to the router, the gateway device configured to manage a virtual gateway corresponding to the network access point, wherein returning the access result to the network access point via the first network comprises:
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.
7. The method of claim 6, wherein said distributing the access result to a virtual gateway corresponding to the network access point via 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 device through the first network, so that the gateway device forwards the access result to the corresponding virtual gateway according to the preset number.
8. The data access device is 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 to be an address of the network access point corresponding to the area where an accessor 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 through the second network for a domain name of the access object;
and the issuing unit is used for issuing the access request to the access object through the first network so as to enable the visitor to access the target data stored in the access object.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. 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-7 when executing the program.
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 true CN114785781A (en) 2022-07-22
CN114785781B 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 (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110208863A1 (en) * 2008-06-24 2011-08-25 France Telecom Remote Network Access via a Visited Network
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110208863A1 (en) * 2008-06-24 2011-08-25 France Telecom Remote Network Access via a Visited Network
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
CN114785781B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
JP7252356B2 (en) MOBILE EDGE COMPUTING NODE SELECTION METHOD, APPARATUS AND SYSTEM AND COMPUTER PROGRAM
CN102137014B (en) Resource management method, system and resource manager
US10257115B2 (en) Cloud-based service resource provisioning based on network characteristics
US10404790B2 (en) HTTP scheduling system and method of content delivery network
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
CN113783922A (en) Load balancing method, system and device
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN110740162A (en) Communication link establishing method, device, electronic equipment and medium
US11627169B2 (en) Network-based Media Processing (NBMP) workflow management through 5G Framework for Live Uplink Streaming (FLUS) control
US20120005274A1 (en) System and method for offering cloud computing service
CN105045762A (en) Management method and apparatus for configuration file
US9967232B1 (en) Network traffic management system using customer policy settings
CN113467970B (en) Cross-security-area resource access method in cloud computing system and electronic equipment
CN111694639A (en) Method and device for updating address of process container and electronic equipment
CN115174674A (en) Flow forwarding method
US11108854B2 (en) Peer-to-peer network for internet of things resource allocation operation
CN113301079B (en) Data acquisition method, system, computing device and storage medium
CN115079935A (en) Method, electronic device and computer program product for storing and querying data
CN114911602A (en) Load balancing method, device, equipment and storage medium for server cluster
US10231269B2 (en) Dynamic generation of geographically bound manet IDs
CN109547508A (en) A kind of method, apparatus and system for realizing resource access
CN114785781B (en) Data access method and device
CN116389599A (en) Gateway service request processing method and device and cloud native gateway system management method and device
KR20180068767A (en) Server and method for providing software group service

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