CN111464664A - Interactive access system, method and device of multi-access equipment and access equipment - Google Patents

Interactive access system, method and device of multi-access equipment and access equipment Download PDF

Info

Publication number
CN111464664A
CN111464664A CN202010563752.4A CN202010563752A CN111464664A CN 111464664 A CN111464664 A CN 111464664A CN 202010563752 A CN202010563752 A CN 202010563752A CN 111464664 A CN111464664 A CN 111464664A
Authority
CN
China
Prior art keywords
access
equipment
main
slave
master
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
CN202010563752.4A
Other languages
Chinese (zh)
Other versions
CN111464664B (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.)
Yichen Shenzhen Technology Co ltd
Original Assignee
Yichen Shenzhen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yichen Shenzhen Technology Co ltd filed Critical Yichen Shenzhen Technology Co ltd
Priority to CN202010563752.4A priority Critical patent/CN111464664B/en
Publication of CN111464664A publication Critical patent/CN111464664A/en
Application granted granted Critical
Publication of CN111464664B publication Critical patent/CN111464664B/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
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to an interactive access system, a method and a device of multi-access equipment and the access equipment. The system comprises: the master access equipment and the slave access equipment are connected in a networking mode of a peer-to-peer network; the slave access equipment is used for acquiring the master access information of the master access equipment from a pre-configured master access information base when receiving an access information acquisition request aiming at the master access equipment; outputting the main access information to the terminal equipment; and the main access device is used for returning a service program execution result corresponding to the first service access request to the terminal device when receiving the first service access request sent by the terminal device through the main access information. By the scheme, the efficiency of the terminal equipment accessing the access equipment can be effectively improved.

Description

Interactive access system, method and device of multi-access equipment and access equipment
Technical Field
The present application relates to the field of network technologies, and in particular, to an interactive access system, method, apparatus, access device, and storage medium for multiple access devices.
Background
With the development of network technology and the support of speed-increasing and fee-reducing policies, distributed access devices play an increasingly important role in wireless local area network coverage, and terminal devices can access a network through the distributed access devices. In the deployment of the distributed access system, some access devices may be controlled by an access controller (abbreviated as AC), and some access devices belong to a peer-to-peer network, and each access device is in a peer-to-peer status.
For the mode of controlling the access equipment by the access controller, the terminal equipment can be well controlled to access the access equipment by a centralized control mode. However, the cost of the access controller is too high, and the access controller is only suitable for large application scenes such as schools, markets and the like, and is not suitable for small application scenes such as families and the like. The inventors have found that small scenarios are more suitable for using a peer-to-peer network.
For a peer-to-peer network, when a certain terminal device needs to access an access device in a distributed access device, it needs to find access modes, such as an IP address or a domain name, of the access devices one by one, and then access the corresponding access device according to the found access mode, but such access efficiency is too low.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a multi-access device interactive access system, method, apparatus, access device, and storage medium, which can effectively improve the efficiency of accessing the access device by the terminal device.
An interactive access system of multiple access devices, comprising: the master access equipment and the slave access equipment are connected in a networking mode of a peer-to-peer network; the slave access equipment is used for acquiring the master access information of the master access equipment from a pre-configured master access information base when receiving an access information acquisition request aiming at the master access equipment; outputting the main access information to the terminal equipment; and the main access device is used for returning a service program execution result corresponding to the first service access request to the terminal device when receiving the first service access request sent by the terminal device through the main access information.
An interactive access method of multiple access devices is applied to a slave access device, the slave access device is connected with a master access device in a networking mode of a peer-to-peer network, and the method comprises the following steps: when an access information acquisition request aiming at the main access equipment is received, acquiring main access information of the main access equipment from a pre-configured main access information base; and outputting the main access information to the terminal equipment so that the terminal equipment sends a first service access request to the main access equipment through the main access information and receives a service program execution result returned by the main access equipment aiming at the first service access request.
An interactive access device of multiple access devices, which is applied to a slave access device, wherein the slave access device is connected with a master access device in a networking manner of a peer-to-peer network, and the device comprises: the access information acquisition module is used for acquiring the main access information of the main access equipment from a pre-configured main access information base when receiving an access information acquisition request aiming at the main access equipment; and the execution result returning module is used for outputting the main access information to the terminal equipment so that the terminal equipment sends a first service access request to the main access equipment through the main access information and receives a service program execution result returned by the main access equipment aiming at the first service access request.
An access device, said access device being connected to a master access device via a peer-to-peer networking, comprising a memory and a processor, said memory storing a computer program, said processor implementing the following steps when executing said computer program: when an access information acquisition request aiming at the main access equipment is received, acquiring main access information of the main access equipment from a pre-configured main access information base; and outputting the main access information to the terminal equipment so that the terminal equipment sends a first service access request to the main access equipment through the main access information and receives a service program execution result returned by the main access equipment aiming at the first service access request.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: when an access information acquisition request aiming at the main access equipment is received, acquiring main access information of the main access equipment from a pre-configured main access information base; and outputting the main access information to the terminal equipment so that the terminal equipment sends a first service access request to the main access equipment through the main access information and receives a service program execution result returned by the main access equipment aiming at the first service access request.
The interactive access system of the multi-access equipment comprises a main access equipment and a slave access equipment which are connected in a networking mode of a peer-to-peer network; when receiving an access information acquisition request aiming at a main access device, the slave access device outputs the main access information of the main access device to the terminal device, and for the terminal device, the slave access device can acquire the main access information by randomly accessing one access device without trying one by one, so that the master access device can be accessed according to the main access information; furthermore, when receiving a service access request sent by the terminal device through the main access information, the main access device returns a corresponding service program execution result to the terminal device, thereby effectively realizing an interaction process between the terminal device and the main access device and effectively improving the efficiency of the terminal device accessing the access device.
Drawings
FIG. 1 is a block diagram of an interactive access system with multiple access devices in one embodiment;
FIG. 2 is a diagram illustrating an embodiment of an access device connected to a network server;
FIG. 3 is a schematic diagram illustrating an interaction flow between a client and an access device in one embodiment;
FIG. 4 is a schematic diagram illustrating an interaction flow between a client and an access device in another embodiment;
FIG. 5 is a schematic diagram illustrating an interaction flow between a client and an access device in a further embodiment;
FIG. 6 is a schematic diagram illustrating interaction between a client and an access device in yet another embodiment;
FIG. 7 is a flow diagram that illustrates the operation of the interactive access system of the multiple access device in one embodiment;
fig. 8 is a flowchart of the implementation of the interactive access system of the multi-access device in a further embodiment;
FIG. 9 is a flowchart illustrating an interactive access method of a multi-access device in one embodiment;
fig. 10 is a block diagram showing the structure of an interactive access apparatus of a multi-access device in one embodiment;
fig. 11 is an internal structural diagram of an access device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, an interactive access system for multiple access devices is provided. As shown in fig. 1, the interactive access system of the multi-access device includes a master access device 101 (also denoted as controller) and a slave access device (also denoted as Agent) 102 (one master access device and one slave access device are shown in fig. 1, and in an actual application scenario, the number of the master access device and the slave access device may be more).
Wherein, the access device refers to a network access device. The access device can be connected with the terminal device, and can ensure that the terminal device is accessed to the network so as to realize the service process of the terminal device through the network. Specifically, the master Access device 101 and the slave Access device 102 may be implemented by an AP (Access Point), a router, a wireless network Access Point (such as a wireless network card, etc.), and the like.
Further, the interactive access system of the multi-access device can be realized by distributed access devices. The number of access devices may be two or more (of course, there may be only one access device in some cases, and the distributed case may not be considered). In these distributed access devices, there are a master access device and a slave access device (the master access device and the slave access device may also be referred to as a master-slave access device for short), the master access device and the slave access device are connected in a networking manner of a peer-to-peer network, and the master access device and the slave access device are in a peer-to-peer state in the networking. The master access device has a function of synchronous configuration relative to the slave access device, and can synchronize configuration information sent by a configuration terminal or a server into the slave access device, and other functions are the same as those of the slave access device. Through the distributed access equipment, technicians can realize synchronous configuration of all the access equipment by sending configuration information to the main access equipment through the configuration terminal or the server, and the configuration efficiency of the access equipment is effectively improved. Furthermore, the master access device may be selected from the networked candidate access devices through a specific access device selection algorithm, and the remaining candidate access devices are used as slave access devices. In some embodiments, one of the candidate access devices may also be randomly selected as the primary access device. In addition, the primary access device may be varied, for example: when the master access device goes offline, one of the slave access devices may be selected as a new master access device. By the mode, the interaction between the main access equipment and the terminal equipment can be ensured all the time, and the stability of the interactive access system of the multi-access equipment is ensured.
A terminal device (Station, which may be referred to as STA for short) refers to a device that needs to access an access device and then accesses a network through the accessed access device, and may refer to a client device, a WIFI device, a smart phone, and other devices. In the distributed access device, the terminal device communicates mainly with the main access device. However, the terminal device cannot acquire the master-slave allocation and handover situation, and therefore, it may not store the master access information of the master access device. The terminal device may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, portable wearable devices, and smart home-type terminal devices (e.g., smart speakers, sweeping robots, etc.). Further, as shown in fig. 1, the terminal device 103 communicates with the slave access device 102 by acquiring the master access information of the master access device 101 from the slave access device 102.
In addition, the master access device and the slave access device may be connected to a network server, and when a network access request of the terminal device is received, the terminal device may be registered in the network server, and the terminal device is controlled to connect to the network server, and at this time, the terminal device may be considered to be successfully accessed to the network. Fig. 2 shows a schematic structural diagram of connection between the master access device and the slave access device and the network server, in which the master access device and the slave access device in fig. 2 are connected to a switch (which may be implemented by a POE switch) and the switch is connected to the network server by a networking route, and by such a structural configuration, the master access device and the slave access device are connected to the network server, and the terminal device is connected to the network server by accessing the master access device (which may also be implemented by accessing the slave access device, of course), so as to access the network.
The following describes the components of the interactive access system of the multi-access device in detail:
the slave access device 102 is configured to, when receiving an access information acquisition request for the master access device, acquire master access information of the master access device from a pre-configured master access information base; and outputting the main access information to the terminal equipment.
The access information obtaining request may refer to a request for obtaining access information of a certain access device. Further, the access information acquisition request may be an access information acquisition request for the master access device, or may be an access information acquisition request for the slave access device. In this embodiment, the slave access device starts executing the program for acquiring the master access information when receiving the access information acquisition request for the master access device. The access information may refer to information required to access a certain access device and may be characterized by a domain name, an IP address, a MAC address, etc.
The primary access information base may refer to a database for recording primary access information. The master access information can be generated after the interactive access system of the multi-access device is built and the master access device is determined, and is sent to the master access device by a technical worker through a configuration terminal so as to be synchronized to each slave access device through the master access device, and at the moment, each access device stores the master access information into a master access information base. In some embodiments, after the interactive access system of the multi-access device is built and the master access device is determined, the master access device directly generates the master access information and synchronizes the master access information to each slave access device. Further, when the master access device is switched, new master access information may be synchronized with the access device according to the above method to update the master access information in the master access information base.
Further, in the embodiment of the present invention, when receiving an access information acquisition request for the master access device, the slave access device acquires the master access information and outputs the master access information to the terminal device. In some embodiments, the terminal device may also send an access information acquisition request for the master access device to the master access device, where the master access device acquires the master access information (which may be acquired in a manner of acquiring the master access information from the slave access device, or may directly acquire its own access information by reading memory data, etc.), and outputs the master access information to the terminal device. For the terminal device, although the main access information is not stored, the main access information can be obtained only by sending an access information acquisition request aiming at the main access device to one of the access devices randomly, and the processing mode is very friendly to the terminal device, so that the main access information can be obtained without the need that the terminal device accesses the access devices one by one, and the access efficiency of the access devices can be greatly improved.
The master access device 101 is configured to, when receiving a first service access request sent by the terminal device through the master access information, return a service program execution result corresponding to the first service access request to the terminal device.
After receiving the main access information, the terminal device accesses the main access device according to the acquired main access information if the terminal device needs to access the main access device. Further, the terminal device may access the main access device by sending a service access request to the main access device. Further, the service access request may be a request for triggering the primary access device to perform a specific service process, for example, triggering the primary access device to perform a network roaming procedure, performing a network registration procedure for the terminal device, and so on.
And the main access equipment generates a service program execution result after executing the corresponding service program, and returns the service program execution result to the terminal equipment to complete the service interaction process with the terminal equipment. The execution result of the service program can be determined according to the specific content of the service program, taking a network roaming program as an example, the execution result of the service program can be determined target access equipment, and the main access equipment can trigger the terminal equipment to complete network roaming operation after returning the target access equipment to the terminal equipment; taking the execution of the network registration program for the terminal device as an example, the execution result of the service program may be prompt information such as "successful network registration", or may also be a registration number generated by registration, and the terminal device can learn the network registration condition after obtaining the execution result of the service program.
In the interactive access system of the multi-access equipment, when an access information acquisition request aiming at the main access equipment is received, the main access information of the main access equipment is output to the terminal equipment from the access equipment, for the terminal equipment, the terminal equipment does not need to try one by one, the main access information can be acquired by randomly accessing one access equipment, and then the main access equipment can be accessed according to the main access information; furthermore, when receiving a service access request sent by the terminal device through the main access information, the main access device returns a corresponding service program execution result to the terminal device, thereby effectively realizing an interaction process between the terminal device and the main access device and effectively improving the efficiency of the terminal device accessing the access device.
In one embodiment, the terminal device may access the access device through a domain name or IP access.
Further, taking the domain name as an example, the terminal device may access through different domain names when accessing the access device, and the different domain names may correspond to different access requests. For example: com corresponds to a request to obtain access information. Examples are as follows: com denotes acquiring access information of a master access device, slave access device (access information of all slave access devices; access information of a currently accessed slave access device; if the accessed master access device is accessed, the access information may be null), and ap, abc, com denotes acquiring access information of the accessed slave access device. It should be noted that the above domain names are only examples, and the format, content, and the like of the domain names may be adjusted according to actual situations, and the access requests corresponding to the domain names may also be adjusted according to actual scenes.
In one embodiment, the slave access device is further configured to: when receiving an access information acquisition request sent by the terminal equipment through a domain name, acquiring an access equipment identifier contained in the domain name; judging whether the access equipment identification is a main access equipment identification; and if the access equipment identifier is a main access equipment identifier, judging that an access information acquisition request aiming at the main access equipment is received.
When the slave access equipment is connected with the terminal equipment, the terminal equipment can access the slave access equipment through the domain name.
The access device identifier refers to an identifier of an access device to be accessed by the terminal device, and may be represented by a set reference number, a set character, a set letter, or the like. Further, the access device identification may be obtained by resolving the domain name. For example, the information of the set position in the domain name is read as the access device identification. Taking master, slave, and ap.abc.com as examples, a first field in a domain name may be determined as an access device identifier, where master represents a master access device identifier, slave represents a slave access device identifier, and ap represents an identifier for acquiring access information of an access device to be accessed. Further, when the domain name is master.abc.com, the slave access apparatus may determine that the access information acquisition request for the master access apparatus is received, and when the domain name is other xxx.abc.com, the slave access apparatus may determine that the access information acquisition request for the master access apparatus is not received.
In the embodiment, the terminal device requests the access device to return the access information in a domain name access manner, for the terminal device, the implementation manner is simple, the terminal device does not need to send an access information acquisition request to the access device in a complex manner, and the access efficiency of the access device can be effectively improved.
Further, in an embodiment, the slave access device is further configured to: if the access equipment identification is not the main access equipment identification, judging that the access information acquisition request is an acquisition request aiming at the slave access equipment; acquiring slave access information of slave access equipment; and outputting the slave access information to the terminal equipment so that the terminal equipment accesses the slave access equipment through the slave access information.
The slave access information can adopt IPv4 and IPv6 double stack addresses. Therefore, the implementation process of acquiring the slave access information of the slave access device may be: acquiring at least one of the following addresses of the access equipment: the first IPv4 address and the first IPv6 address serve as the slave access information of the slave access equipment.
Further, the slave access device can output the first IPv4 address and the first IPv6 address to the terminal device, and the terminal device can select the first IPv4 address or the first IPv6 address to access the slave access device, which can give more choices to the terminal device. In some embodiments, the slave access device may also determine the IP address format supported by the terminal device, and output the first IPv4 address or the first IPv6 address to the terminal device according to the supported IP address format, and the terminal device may access the slave access device according to the received first IPv4 address or the received first IPv6 address, which may reduce the communication cost between the terminal device and the access device.
Specifically, when the terminal device accesses the slave access device through ap.abc.com, the slave access device determines that the access information acquisition request is an access information acquisition request for itself, acquires the IPv4 address and the IPv6 address (the first IPv4 address and the first IPv6 address) of the terminal at this time, and outputs the addresses to the terminal device. The terminal device may accordingly choose to access the slave access device via either the IPv4 address or the IPv6 address.
In some embodiments, the master access information may also use IPv4 and IPv6 dual stack addresses. Further, in an embodiment, the slave access device is further configured to obtain, from the master access information base, at least one of the following addresses of the master access device: a second IPv4 address and a second IPv6 address as the primary access information; the main access device is further configured to receive the first service access request sent by the terminal device through the IPv4 address or the IPv6 address.
Fig. 3 shows a timing diagram of access by a client (terminal device) 310 to an AP1 (master access device, indicated as "master" in fig. 3) 320 and an AP2 (slave access device, indicated as "slave" in fig. 3) 330 (only one slave access device is shown in the figure, and more slave access devices may be included in an actual application scenario). Specifically, the method comprises the following steps:
s301, the client is connected with the AP 2.
And S302, accessing ap.abc.com by the client.
S303, the AP2 judges that the client does not need to acquire the main access information of the AP1 but needs to acquire the access information of the local terminal, so the IPv4/IPv6 address of the AP2 is acquired, and the IPv4/IPv6 address of the AP2 is returned to the client.
S304, the client accesses the master.
S305 and AP2 judge that the client wants to acquire the main access information of the AP1, so the IPv4/IPv6 address of the AP1 is acquired, and the IPv4/IPv6 address of the AP1 is returned to the client.
S306, after receiving the IPv4/IPv6 address of the AP1, the client accesses the AP1 through the acquired address. At this time, the AP1 may receive a service access request sent by the client, and after receiving the service access request, the AP1 executes a corresponding service program and returns a service program execution result to the client.
In fig. 3, the client accesses the slave access device AP2 by means of the domain name and accesses the master access device AP1 by the acquired IP address.
In the interactive access system of the multi-access device provided by the above embodiment, in the process of obtaining the access information, the access information adopts dual stack addresses of IPv4 and IPv 6. For such a processing mode, no matter the terminal device prefers to IPv6 or the terminal device prefers to IPv4, the corresponding access device can be normally accessed by using the acquired access information, and the access reliability of the access device can be effectively ensured.
The foregoing embodiments describe ways to interact with an access device via a domain name. In fact, the terminal device may also interact with the access device through the IP address. Further, in an embodiment, the slave access device is further configured to: and when a second service access request sent by the terminal equipment through a preset IP address is received, executing a service program corresponding to the second service access request and returning a service program execution result to the terminal equipment.
The preset IP address may be a networking IP address, or a preset IP address of the distributed access device. The networking IP address can be an IP address in a networking where the master access device and the slave access device are located, the networking IP address changes when the master-slave structure changes, and the networking IP address can include a networking identifier (the networking identifier does not change along with the change of the master-slave structure); the preset IP address of the distributed access device may be an IP address of the entire system controlled by the network server, and the IP address may be fixed.
In addition, one IP address corresponds to one access device, so if the terminal device successfully accesses a certain access device a through a certain IP address IP1, it will be intercepted when it accesses other access devices through IP1, and at this time, the access device a may also intercept an IP address request forwarded to other access devices through IP1, that is, at this time, the terminal device can only access the access device a through IP 1.
Fig. 4 shows a timing diagram of access by a client 410 (terminal device) to an AP1 (master access device) 420 and an AP2 (slave access device) 430. Specifically, the method comprises the following steps:
s401, the client is connected with the AP 2.
S402, the client acquires the IP address of the AP 2.
And S403, the client accesses the acquired IP address.
S404, AP2 intercepts the IP address request forwarded to other APs, and the IP address can only be used for accessing AP 2.
S405, AP2 executes the corresponding service program and obtains an access response (service program execution result), and returns the access response to the client.
In fig. 4, the client accesses the uniquely corresponding slave access device through the IP address, and at the same time, the client cannot access the AP1 through the IP address, which can ensure the targeted interaction between the client and the access device and ensure the reliable access of the access device.
Similarly, the main access device may perform the same processing when receiving the service access request sent by the terminal device through the IP address. In one embodiment, the primary access device is further configured to: and when receiving a service access request sent by the terminal equipment through a preset IP address, executing a service program corresponding to the service access request and returning a service program execution result to the terminal equipment.
Fig. 5 shows a timing diagram of access by a client 510 (terminal device) to an AP1 (master access device) 520 and an AP2 (slave access device) 530. Specifically, the method comprises the following steps:
s501, connecting the client with the AP 1.
S502, the client acquires the IP address of the AP 1.
S503, accessing the acquired IP address
S504, AP1 intercepts IP address requests forwarded to other APs at which point the IP address can only be used to access AP 1.
S505 and AP1 execute the corresponding service program and obtain an access response (service program execution result), and return the access response to the client.
In fig. 5, the client accesses the uniquely corresponding master access device through the IP address, and at the same time, the client cannot access the AP2 through the IP address, which can ensure the targeted interaction between the client and the access device and ensure the reliable access of the access device.
In one embodiment, the primary access device is further configured to: and when receiving an access information acquisition request sent by the terminal equipment through the domain name, acquiring the main access information from a pre-configured main access information base and outputting the main access information to the terminal equipment.
Further, when receiving an access information acquisition request sent by a terminal device through a domain name, a main access device acquisition request may acquire an access device identifier included in the domain name; judging whether the access equipment identification is a main access equipment identification; if the access device identifier is the master access device identifier, it is determined that an access information acquisition request for the master access device is received, and if the access device identifier is not the master access device identifier, it may also be determined that an access information acquisition request for the master access device is received.
Taking master.abc.com and ap.abc.com as examples, the device is connected with the main access device, when the terminal device accesses the master.abc.com, the main access device determines that the access information acquisition request for the main access device is received, and when the terminal device accesses the ap.abc.com, the main access device determines that the access information acquisition request for the home terminal is received, and the home terminal is the main access device, so that the main access device can determine that the access information acquisition request for the main access device is received, and at this time, the main access device can acquire the main access information.
In the above embodiment, when the terminal device is connected to the main access device, the terminal device sends an access information acquisition request to the main access device by accessing the domain name, and the main access device acquires the main access information from the main access information base and returns the main access information to the terminal device. For the terminal equipment, the main access information can be conveniently acquired, and the access efficiency of the access equipment can be effectively improved.
Fig. 6 shows a timing diagram of access by a client (terminal device) 610 to an AP1 (master access device) 620 and an AP2 (slave access device) 630 (only one slave access device is shown in the figure, and more slave access devices may be included in an actual application scenario). Specifically, the method comprises the following steps:
s601, the client is connected with the AP 1.
And S602, accessing ap.abc.com by the client.
S603 and AP1 judge that the client is to obtain the access information of the local terminal, so the IPv4/IPv6 address of the AP1 is obtained, and the IPv4/IPv6 address of the AP1 is returned to the client.
S604, the client accesses the master.
S605 and the AP1 judge that the client is to acquire the main access information of the AP1, so the IPv4/IPv6 address of the AP1 is acquired, and the IPv4/IPv6 address of the AP1 is returned to the client.
S606, after receiving the IPv4/IPv6 address of the AP1, the client accesses the AP1 through the acquired address. At this time, the AP1 may receive a service access request sent by the client, and after receiving the service access request, the AP1 executes a corresponding service program and returns a service program execution result to the client.
In fig. 6, the client accesses the master access device AP1 by means of a domain name and accesses the master access device AP1 by the acquired IP address.
In the interactive access system of the multi-access device provided by the above embodiment, in the process of obtaining the access information, the access information adopts dual stack addresses of IPv4 and IPv 6. For such a processing mode, no matter the terminal device prefers to IPv6 or the terminal device prefers to IPv4, the corresponding access device can be normally accessed by using the acquired access information, and the access reliability of the access device can be effectively ensured.
In one embodiment, an interactive access system of multiple access devices is provided, as shown in fig. 7, which performs the following steps when access device access is implemented:
s701, the terminal device accesses the slave access device through the domain name.
S702, the slave access device acquires the access device identifier contained in the domain name, and judges whether the access device identifier is the main access device identifier.
And S703, if the access equipment identifier is the main access equipment identifier, the slave access equipment judges that an access information acquisition request aiming at the main access equipment is received.
S704, the slave access equipment acquires a second IPv4 address and a second IPv6 address of the master access equipment from the master access information base; and outputting the second IPv4 address and the second IPv6 address to the terminal device.
S705, if the access device identifier is not the master access device identifier, the slave access device determines that an acquisition request for the slave access device is received.
S706, acquiring the first IPv4 address and the first IPv6 address of the slave access equipment from the slave access equipment; and outputting the first IPv4 address and the first IPv6 address to the terminal device.
And S707, the terminal equipment accesses the main access equipment through the domain name.
S708, the main access device acquires a second IPv4 address and a second IPv6 address of the main access device from the main access information base; and outputting the second IPv4 address and the second IPv6 address to the terminal device.
And S709, the terminal equipment accesses the slave access equipment through the first IPv4 address or the first IPv6 address.
S710, intercepting the IP address forwarding request forwarded to other access equipment from the access equipment and returning an access response to the terminal equipment.
And S711, the terminal equipment accesses the main access equipment through the second IPv4 address or the second IPv6 address.
S712, the main access device intercepts the IP address forwarding request forwarded to other access devices and returns an access response to the terminal device.
In the interactive access system of the multi-access equipment, for the terminal equipment, the main access information can be acquired by randomly accessing one access equipment without trying one by one, so that the main access equipment can be accessed according to the main access information, meanwhile, the access to the slave access equipment can be realized, and the efficiency of the terminal equipment accessing the access equipment is effectively improved. In addition, an interactive mode of double-channel intercommunication between the terminal and the access equipment is realized in a mode of domain name and IP address, and the interactive mode is very convenient for the terminal equipment.
In another embodiment, an interactive access system of multiple access devices is provided, as shown in fig. 8, which performs the following steps when access device access is implemented:
s801, the terminal device accesses the slave access device through the first domain name.
Wherein, the access device identifier included in the first domain name is other access device identifiers (i.e. not the primary access device identifier).
S802, acquiring a first IPv4 address and a first IPv6 address of the access equipment from the access equipment; and outputting the first IPv4 address and the first IPv6 address to the terminal device.
And S803, the terminal equipment accesses the slave access equipment through the second domain name.
And the access equipment identifier contained in the second domain name is the main access equipment identifier.
S804, the slave access equipment acquires a second IPv4 address and a second IPv6 address of the master access equipment from the master access information base; and outputting the second IPv4 address and the second IPv6 address to the terminal device.
And S805, the terminal equipment accesses the main access equipment through the first domain name.
S806, the main access device obtains a second IPv4 address and a second IPv6 address of the main access device from the main access information base; and outputting the second IPv4 address and the second IPv6 address to the terminal device.
And S807, the terminal equipment accesses the main access equipment through the second domain name.
S808, the main access equipment acquires a second IPv4 address and a second IPv6 address of the main access equipment from the main access information base; and outputting the second IPv4 address and the second IPv6 address to the terminal device.
And S809, the terminal equipment accesses the slave access equipment through the first IPv4 address or the first IPv6 address.
S810, intercepting the IP address forwarding request forwarded to other access equipment from the access equipment and returning an access response to the terminal equipment.
S811, the terminal equipment accesses the main access equipment through the second IPv4 address or the second IPv6 address.
S812, the main access device intercepts the IP address forwarding request forwarded to other access devices and returns an access response to the terminal device.
In the interactive access system of the multi-access equipment, for the terminal equipment, the main access information can be acquired by randomly accessing one access equipment without trying one by one, so that the main access equipment can be accessed according to the main access information, and the efficiency of the terminal equipment accessing the access equipment is effectively improved.
The application also provides an application scenario, and the application scenario applies the interactive access system of the multi-access device. Specifically, the application of the interactive access system of the multi-access device in the application scenario is as follows:
1. the terminal equipment is connected with the slave access equipment AP1 to access ap.jcgcom.com, and at the moment, the AP1 acquires the IPv4/IPv6 address of the terminal equipment; and outputting the IPv4/IPv6 address of the AP1 to the terminal equipment.
2. The terminal equipment is connected with the slave access equipment AP1, the AP1 is directly connected with the master access equipment AP2, the terminal equipment accesses the master. jcgcom. com, and at the moment, the AP1 acquires the IPv4/IPv6 address of the AP 2; and outputting the IPv4/IPv6 address of the AP2 to the terminal equipment.
3. The terminal equipment is connected with a main access equipment AP2, and accesses ap.jcgcom.com, and at the moment, the AP2 acquires the IPv4/IPv6 address of the terminal equipment; and outputting the IPv4/IPv6 address of the AP2 to the terminal equipment.
4. The terminal equipment is connected with the main access equipment AP2, the terminal equipment accesses the master. jcgcom. com, and at the moment, the AP2 acquires the IPv4/IPv6 address of the AP 2; and outputting the IPv4/IPv6 address of the AP2 to the terminal equipment.
The master and slave access devices in this embodiment are distributed APs, are in an AP networking mode, and do not involve an AC, and thus belong to a peer-to-peer AP network. The installation aspect can plug and play, can not be restricted by traditional AC controlgear, and is more nimble convenient in the use scene. The use problem of the access system is solved, the access system is more convenient to use, and the market prospect is bright.
The problems that in the deployment of the distributed AP, the existing AP is inconvenient to set and the access modes cannot be unified can be effectively solved, great convenience is brought to the use of users, and the network deployment efficiency is improved.
In one embodiment, as shown in fig. 9, an interactive access method for multiple access devices is provided, which is described by taking the method as an example applied to a slave access device in fig. 1, where the slave access device is connected to a master access device in a networking manner of a peer-to-peer network, and the method includes the following steps:
s901, when receiving an access information acquisition request aiming at the main access equipment, acquiring the main access information of the main access equipment from a pre-configured main access information base.
S902, outputting the main access information to the terminal device, so that the terminal device sends a first service access request to the main access device through the main access information and receives a service program execution result returned by the main access device for the first service access request.
In the interactive access method of the multi-access equipment, when an access information acquisition request aiming at the main access equipment is received, the main access information of the main access equipment is output to the terminal equipment from the access equipment, for the terminal equipment, the terminal equipment does not need to try one by one, the main access information can be acquired by randomly accessing one access equipment, and then the main access equipment can be accessed according to the main access information; furthermore, when receiving a service access request sent by the terminal device through the main access information, the main access device returns a corresponding service program execution result to the terminal device, thereby effectively realizing an interaction process between the terminal device and the main access device and effectively improving the efficiency of the terminal device accessing the access device.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
Based on the same idea as the interactive access method of the multi-access device in the above embodiment, the present invention further provides an interactive access apparatus of the multi-access device, which can be used to execute the interactive access method of the multi-access device. For convenience of explanation, the schematic structural diagram of the embodiment of the interactive access device of the multiple access apparatus only shows the parts related to the embodiment of the present invention, and those skilled in the art will understand that the illustrated structure does not constitute a limitation to the apparatus, and may include more or less components than those illustrated, or combine some components, or arrange different components.
In one embodiment, as shown in fig. 10, there is provided an interactive access apparatus 1000 for multiple access devices, which is applied to a slave access device, where the slave access device is connected to a master access device in a networking manner of a peer-to-peer network, and the apparatus may adopt a software module or a hardware module, or a combination of the two modules to form a part of a computer device, and specifically includes: an access information acquisition module 1001 and an execution result return module 1002, wherein:
an access information obtaining module 1001, configured to obtain, when receiving an access information obtaining request for the master access device, master access information of the master access device from a pre-configured master access information base.
An execution result returning module 1002, configured to output the main access information to the terminal device, so that the terminal device sends a first service access request to the main access device through the main access information, and receives a service program execution result returned by the main access device for the first service access request.
In the interactive access device of the multi-access equipment, when an access information acquisition request aiming at the main access equipment is received, the main access information of the main access equipment is output to the terminal equipment from the access equipment, for the terminal equipment, the terminal equipment does not need to try one by one, the main access information can be acquired by randomly accessing one access equipment, and then the main access equipment can be accessed according to the main access information; furthermore, when receiving a service access request sent by the terminal device through the main access information, the main access device returns a corresponding service program execution result to the terminal device, thereby effectively realizing an interaction process between the terminal device and the main access device and effectively improving the efficiency of the terminal device accessing the access device.
The modules in the interactive access device of the multi-access apparatus may be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
For specific limitations of the interactive access apparatus and method for multiple access devices, reference may be made to the above limitations of the interactive access system for multiple access devices, which are not described herein again.
In one embodiment, an access device is provided, where the access device is connected to a master access device through a networking manner of a peer-to-peer network, and the access device may be a terminal, and its internal structure diagram may be as shown in fig. 11. The access device includes a processor, a memory, a communication interface, and an input device connected by a system bus. Wherein the processor of the access device is configured to provide computing and control capabilities. The memory of the access device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the access device is used for performing wired or wireless communication with an external terminal, and can be realized by common module extension interfaces such as I2C and UART. The wireless mode can be realized by common protocols such as WiFi, Zigbee, NBIoT, 433, and the like, or other technologies. The computer program is executed by a processor to implement an interactive access method for a multi-access device. The input device of the access device may be a touch layer covered on a display screen, a key, a track ball or a touch pad arranged on a shell of the access device, or an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, an access device is further provided, where the access device is connected to a master access device in a networking manner of a peer-to-peer network, and the access device includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps in the foregoing method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An interactive access system for multiple access devices, comprising: the master access equipment and the slave access equipment are connected in a networking mode of a peer-to-peer network;
the slave access equipment is used for acquiring the master access information of the master access equipment from a pre-configured master access information base when receiving an access information acquisition request aiming at the master access equipment; outputting the main access information to a terminal device;
and the main access device is used for returning a service program execution result corresponding to the first service access request to the terminal device when receiving the first service access request sent by the terminal device through the main access information.
2. The system of claim 1, wherein the slave access device is further configured to:
when receiving an access information acquisition request sent by the terminal equipment through a domain name, acquiring an access equipment identifier contained in the domain name;
judging whether the access equipment identification is a main access equipment identification;
and if the access equipment identifier is a main access equipment identifier, judging that an access information acquisition request aiming at the main access equipment is received.
3. The system of claim 2, wherein the slave access device is further configured to:
if the access equipment identification is not the main access equipment identification, judging that the access information acquisition request is an acquisition request aiming at the slave access equipment;
acquiring at least one of the following addresses of the access equipment: a first IPv4 address and a first IPv6 address as slave access information of the slave access device;
and outputting the slave access information to the terminal equipment so that the terminal equipment accesses the slave access equipment through the slave access information.
4. The system of claim 1,
the slave access device is further configured to obtain at least one of the following addresses of the master access device from the master access information base: a second IPv4 address and a second IPv6 address as the primary access information;
the main access device is further configured to receive the first service access request sent by the terminal device through the IPv4 address or the IPv6 address.
5. The system of any of claims 1 to 4, wherein the slave access device is further configured to:
and when a second service access request sent by the terminal equipment through a preset IP address is received, executing a service program corresponding to the second service access request and returning a service program execution result to the terminal equipment.
6. The system of claim 1, wherein the primary access device is further configured to:
and when receiving an access information acquisition request sent by the terminal equipment through the domain name, acquiring the main access information from a pre-configured main access information base and outputting the main access information to the terminal equipment.
7. An interactive access method for multiple access devices, which is applied to a slave access device, where the slave access device is connected to a master access device in a networking manner of a peer-to-peer network, and the method includes:
when an access information acquisition request aiming at the main access equipment is received, acquiring main access information of the main access equipment from a pre-configured main access information base;
and outputting the main access information to terminal equipment so that the terminal equipment sends a first service access request to the main access equipment through the main access information and receives a service program execution result returned by the main access equipment aiming at the first service access request.
8. An interactive access device of multiple access devices, which is applied to a slave access device, the slave access device is connected to a master access device through a networking manner of a peer-to-peer network, the device comprises:
the access information acquisition module is used for acquiring the main access information of the main access equipment from a pre-configured main access information base when receiving an access information acquisition request aiming at the main access equipment;
and the execution result returning module is used for outputting the main access information to the terminal equipment so that the terminal equipment sends a first service access request to the main access equipment through the main access information and receives a service program execution result returned by the main access equipment aiming at the first service access request.
9. An access device connected to a master access device via a peer-to-peer networking, the access device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of claim 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method as claimed in claim 7.
CN202010563752.4A 2020-06-19 2020-06-19 Interactive access system, method and device of multi-access equipment and access equipment Active CN111464664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010563752.4A CN111464664B (en) 2020-06-19 2020-06-19 Interactive access system, method and device of multi-access equipment and access equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010563752.4A CN111464664B (en) 2020-06-19 2020-06-19 Interactive access system, method and device of multi-access equipment and access equipment

Publications (2)

Publication Number Publication Date
CN111464664A true CN111464664A (en) 2020-07-28
CN111464664B CN111464664B (en) 2021-02-19

Family

ID=71680400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010563752.4A Active CN111464664B (en) 2020-06-19 2020-06-19 Interactive access system, method and device of multi-access equipment and access equipment

Country Status (1)

Country Link
CN (1) CN111464664B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090287790A1 (en) * 2008-05-15 2009-11-19 Upton Kevin S System and Method for Providing a Virtual Environment with Shared Video on Demand
CN102148847A (en) * 2010-02-10 2011-08-10 中兴通讯股份有限公司 Method and system for accessing client to peer-to-peer network on basis of RELOAD (Resource Location And Discovery protocol)
CN102187627A (en) * 2011-04-25 2011-09-14 华为技术有限公司 Method, device and broadband access server system for load share
CN103532751A (en) * 2013-10-09 2014-01-22 北京奇虎科技有限公司 Management method and device for network access equipment
CN104717684A (en) * 2015-03-30 2015-06-17 福州瑞芯微电子有限公司 WIFI mode virtual co-existence method and device
CN106330843A (en) * 2015-07-02 2017-01-11 株式会社理光 System and method for region limited access

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090287790A1 (en) * 2008-05-15 2009-11-19 Upton Kevin S System and Method for Providing a Virtual Environment with Shared Video on Demand
CN102148847A (en) * 2010-02-10 2011-08-10 中兴通讯股份有限公司 Method and system for accessing client to peer-to-peer network on basis of RELOAD (Resource Location And Discovery protocol)
CN102187627A (en) * 2011-04-25 2011-09-14 华为技术有限公司 Method, device and broadband access server system for load share
CN103532751A (en) * 2013-10-09 2014-01-22 北京奇虎科技有限公司 Management method and device for network access equipment
CN104717684A (en) * 2015-03-30 2015-06-17 福州瑞芯微电子有限公司 WIFI mode virtual co-existence method and device
CN106330843A (en) * 2015-07-02 2017-01-11 株式会社理光 System and method for region limited access

Also Published As

Publication number Publication date
CN111464664B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN102811437B (en) For equipment and the method in control data sending/receiving path
JP2019537356A (en) Method of updating location area of user terminal, access network entity, user terminal and core network entity
KR102313165B1 (en) Data transmission method, device and system
EP3361387A1 (en) Data transmission method, equipment and system
US9094483B2 (en) System and method for collecting and evaluating statistics to establish network connections
JP2024504006A (en) Data transmission methods, devices, equipment and computer programs for service integration
CN112040030B (en) Message transmission method and device, computer equipment and storage medium
JP2005530401A (en) Wireless workgroup token control configuration
EP3474146B1 (en) Data processing method, storage system and exchange device
CN112333017B (en) Service configuration method, device, equipment and storage medium
US11451466B2 (en) Controlling route
CN111432044A (en) Multi-link equipment MAC address management method and device and multi-link equipment
CN101369946A (en) Communication device and communication method used for the communication device
JP2004193775A (en) Communication processor, communication processing method, and computer program
EP4046343A1 (en) Systems and methods for providing multiple disjointed paths to core network at first-mile access
JP2003078535A (en) Mac address managing method in wireless lan, mac address managing program for wireless lan, recording medium with the same program recorded, fixed station for wireless lan and wireless lan system
US20180063773A1 (en) System and method of anqp querying using a common anqp group version
JP2012174001A (en) Thin client system, location information management server, migration method and program
CN111464664B (en) Interactive access system, method and device of multi-access equipment and access equipment
US20130260804A1 (en) Apparatus and method for wireless network connection
JP4660379B2 (en) Method, apparatus and system for accurate access to roaming mobile nodes
CN114172853B (en) Configuration method and device of traffic forwarding and bare computer server
CN111600833A (en) Network operating system and message forwarding method
WO2018014708A1 (en) Data transmission method and device
US20050050180A1 (en) Method of automatically determining device's nickname, and method of solving redundant nicknames for devices in network and network system thereof

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