CN108696918B - Method, apparatus and medium for establishing wireless connection - Google Patents

Method, apparatus and medium for establishing wireless connection Download PDF

Info

Publication number
CN108696918B
CN108696918B CN201810698748.1A CN201810698748A CN108696918B CN 108696918 B CN108696918 B CN 108696918B CN 201810698748 A CN201810698748 A CN 201810698748A CN 108696918 B CN108696918 B CN 108696918B
Authority
CN
China
Prior art keywords
user equipment
wireless
information
configuration information
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810698748.1A
Other languages
Chinese (zh)
Other versions
CN108696918A (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.)
Shanghai Shangxiang Network Technology Co.,Ltd.
Original Assignee
Lianshang Xinchang Network 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 Lianshang Xinchang Network Technology Co Ltd filed Critical Lianshang Xinchang Network Technology Co Ltd
Priority to CN201810698748.1A priority Critical patent/CN108696918B/en
Publication of CN108696918A publication Critical patent/CN108696918A/en
Application granted granted Critical
Publication of CN108696918B publication Critical patent/CN108696918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

An object of the present application is to provide a method for establishing a wireless connection, the method comprising: acquiring user equipment identification information of user equipment detected by the wireless routing equipment; sending the user equipment identification information of the user equipment to corresponding network equipment; receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment; enabling the hotspot configuration information. According to the scheme, the network equipment distributes the hotspot configuration information, wireless active connection of a user equipment end is not needed, and the operation of a user is simplified.

Description

Method, apparatus and medium for establishing wireless connection
Technical Field
The present application relates to the field of communications, and more particularly, to a technique for establishing a wireless connection.
Background
With the rapid development and popularization of network technology, wireless networks are gradually developed, and in recent years, wireless networks have become an important way for network expansion, and people rely on intelligent devices more and more, resulting in higher and higher dependence on wireless networks. In an office place, a wireless network is actively connected between a staff and a visitor by using intelligent equipment, so that the daily work becomes part, however, due to the fact that the networks of the office place are numerous, the operation of the staff and the visitor for distinguishing the wireless connection between the network and the visitor is complex, and the time is wasted.
Disclosure of Invention
It is an object of the present application to provide a method, apparatus and medium for establishing a wireless connection.
According to an aspect of the present application, there is provided a method for establishing a wireless connection at a wireless routing device, the method comprising:
acquiring user equipment identification information of user equipment detected by the wireless routing equipment;
sending the user equipment identification information of the user equipment to corresponding network equipment;
receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment;
enabling the hotspot configuration information.
According to another aspect of the present application, there is provided a method for establishing a wireless connection at a network device, the method comprising:
receiving user equipment identification information of user equipment, which is sent by corresponding wireless routing equipment and detected by the wireless routing equipment;
distributing corresponding hotspot configuration information to the user equipment based on the user equipment identification information of the user equipment;
and sending the hotspot configuration information to the user equipment and the wireless routing equipment.
According to another aspect of the present application, there is provided a method for establishing a wireless connection at a user equipment, the method comprising:
receiving hotspot configuration information sent by corresponding network equipment;
and when the wireless access point in the hotspot configuration information is scanned, establishing the wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information.
According to another aspect of the present application, there is provided a method for establishing a wireless connection, the method comprising:
a wireless routing equipment terminal acquires user equipment identification information of user equipment detected by the wireless routing equipment, and sends the user equipment identification information of the user equipment to corresponding network equipment;
the network equipment receives user equipment identification information of the user equipment, distributes corresponding hotspot configuration information for the user equipment based on the user equipment identification information of the user equipment, and sends the hotspot configuration information to the user equipment and the wireless routing equipment;
the wireless routing equipment receives the hotspot configuration information and enables the hotspot configuration information;
the user equipment receives the hotspot configuration information;
when the user equipment scans the wireless access point in the hotspot configuration information, the user equipment establishes wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information.
According to an aspect of the present application, there is provided an apparatus for establishing a wireless connection, the apparatus comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform:
acquiring user equipment identification information of user equipment detected by the wireless routing equipment;
sending the user equipment identification information of the user equipment to corresponding network equipment;
receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment;
enabling the hotspot configuration information.
According to an aspect of the present application, there is provided an apparatus for establishing a wireless connection, the apparatus comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform:
receiving user equipment identification information of user equipment, which is sent by corresponding wireless routing equipment and detected by the wireless routing equipment;
distributing corresponding hotspot configuration information to the user equipment based on the user equipment identification information of the user equipment;
and sending the hotspot configuration information to the user equipment and the wireless routing equipment.
According to an aspect of the present application, there is provided an apparatus for establishing a wireless connection, the apparatus comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform:
receiving hotspot configuration information sent by corresponding network equipment;
and when the wireless access point in the hotspot configuration information is scanned, establishing the wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information.
According to an aspect of the application, there is provided a computer-readable medium comprising instructions that, when executed, cause a system to:
acquiring user equipment identification information of user equipment detected by the wireless routing equipment;
sending the user equipment identification information of the user equipment to corresponding network equipment;
receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment;
enabling the hotspot configuration information.
According to an aspect of the application, there is provided a computer-readable medium comprising instructions that, when executed, cause a system to:
receiving user equipment identification information of user equipment, which is sent by corresponding wireless routing equipment and detected by the wireless routing equipment;
distributing corresponding hotspot configuration information to the user equipment based on the user equipment identification information of the user equipment;
and sending the hotspot configuration information to the user equipment and the wireless routing equipment.
According to an aspect of the application, there is provided a computer-readable medium comprising instructions that, when executed, cause a system to:
receiving hotspot configuration information sent by corresponding network equipment;
and when the wireless access point in the hotspot configuration information is scanned, establishing the wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information.
Compared with the prior art, the method and the device have the advantages that the user equipment identification information around is detected through the wireless routing equipment, the user equipment identification information is sent to the network equipment end to be identified, the network equipment end distributes the corresponding hotspot configuration information to the user equipment and the wireless routing equipment, the wireless routing equipment is successfully connected with the user equipment configured with the hotspots after the configuration is started, the user equipment end does not need to be in wireless active connection, and the user operation is simplified. Meanwhile, the scheme can be applied to office scenes, for example, corresponding hotspot configuration information is distributed to target users with different identities in an office area based on the user equipment identification information, so that the office resource utilization rate is greatly improved, and the user experience is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 illustrates a system topology for establishing a wireless connection according to one embodiment of the present application;
fig. 2 shows a flowchart of a method for establishing a wireless connection at a wireless routing device according to another embodiment of the present application;
fig. 3 shows a flow chart of a method for establishing a wireless connection at a network device according to another embodiment of the present application;
fig. 4 shows a flowchart of a method for establishing a wireless connection at a user equipment according to another embodiment of the present application;
FIG. 5 illustrates a system method diagram for establishing a wireless connection according to one embodiment of the present application;
FIG. 6 illustrates an apparatus diagram of a wireless routing device for establishing a wireless connection in accordance with an aspect of the subject application;
FIG. 7 illustrates an apparatus diagram of a network device for establishing a wireless connection in accordance with an aspect of the subject application;
FIG. 8 illustrates an apparatus diagram of a user equipment for establishing a wireless connection in accordance with an aspect of the subject application;
FIG. 9 illustrates an apparatus diagram of a system for establishing a wireless connection in accordance with an aspect of the subject application;
FIG. 10 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include 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 non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of 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 Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, etc. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Fig. 1 shows a typical scenario of the present application, in which a wireless routing device detects the surroundings and sends obtained user identification information of a user device to a network device, the network device allocates corresponding hotspot configuration information to the user device according to the user identification information of the user device, the network device simultaneously allocates the hotspot configuration information to the wireless routing device, and after the wireless routing device starts the configuration information, the user device wirelessly connects with the wireless routing device based on the same hotspot configuration information. The scheme is completed by the cooperation of wireless routing equipment, network equipment and user equipment, wherein the user equipment comprises intelligent equipment such as but not limited to a mobile phone, a tablet and a computer, and the user equipment comprises one or more user equipment. Here, taking a mobile phone as an example of the user equipment, taking a wireless router as a wireless routing device, the following implementation is described; those skilled in the art will appreciate that the embodiments are equally applicable to other existing or future-developed user devices, such as tablets, computer-based smart devices, and the like.
Fig. 2 shows a method for establishing a wireless connection at a wireless routing device according to an aspect of the present application, the method comprising step S11, step S12, step S13 and step S14. In step S11, the wireless routing device acquires the user equipment identification information of the user equipment detected by the wireless routing device; in step S12, the wireless routing device sends the user equipment identification information of the user equipment to the corresponding network equipment; in step S13, the wireless routing device receives hotspot configuration information distributed to the user equipment and sent by the network device; in step S14, the wireless routing device enables the hotspot configuration information.
Specifically, in step S11, the wireless routing device acquires the user equipment identification information of the user equipment detected by the wireless routing device. Under the condition of no wireless connection, the user equipment, such as a mobile phone, may continuously send probe frames to probe surrounding wireless access points. Wherein the user equipment identification information comprises MAC address information. The wireless router, for example, a wireless router, acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by the surrounding mobile phones.
In step S12, the wireless routing device sends the user equipment identification information of the user equipment to the corresponding network equipment. For example, the wireless router has an independent communication capability, acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, and sends the MAC address information to the corresponding network device. For example, the wireless routing device sends MAC address information about the handset to the network device once in a period of time.
In step S13, the wireless routing device receives the hotspot configuration information allocated to the user equipment and sent by the network device. The hotspot configuration information comprises a user name and a password of the wireless access point. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by the surrounding mobile phones, and sends the MAC address information to the network device, and the network device sends the corresponding hotspot configuration information allocated to the mobile phone to the wireless router according to the MAC address information.
In step S14, the wireless routing device enables the hotspot configuration information. For example, the wireless router receives a user name and a password of the hotspot configuration sent by the network device, and the wireless router sets the user name and the password as the admission configuration of the wireless access point.
For example, based on the IEEE802.11 network protocol, a user equipment, such as a mobile phone, scans which 802.11 networks are currently in the area using probe frames. The probe Frame sent by the mobile phone contains a MAC header and a Frame body, wherein the MAC header includes MAC address information. When the mobile phone opens the mobile phone wireless setting to broadcast the probe frame to the surrounding and search for the wireless access point, the wireless router can detect the probe frame sent by the surrounding mobile phone and acquire the user equipment identification information of the mobile phone, wherein the user equipment identification information comprises MAC address information. For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, the mobile phone A stores the hotspot configuration information, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123, and the mobile phone A of the user is connected with the wireless router immediately at the moment.
Of course, those skilled in the art should understand that the above-mentioned existing ue identification information is only an example, and other existing or future existing ue identification information, as applicable to the present application, should be included within the scope of the present application and is hereby incorporated by reference.
In some embodiments, the method further comprises step S15 (not shown), in step S15, the wireless routing device detecting whether the user equipment enters a wireless signal coverage of the wireless routing device; in step S14, if the user equipment enters the wireless signal coverage of the wireless routing device, the wireless routing device enables the hotspot configuration information. For example, after the wireless device is turned on, the mobile phone continuously broadcasts probe frames about itself to the surrounding, the wireless router acquires the user equipment identification information of the mobile phone by detecting the probe frames of the surrounding mobile phones, the wireless router judges whether the target mobile phone enters the wireless signal coverage range of the wireless router device by detecting the user equipment identification information of the surrounding mobile phones, if the wireless router detects the user equipment identification information of the target mobile phone, the wireless router sends the user equipment identification information to the network device, the network device determines the corresponding hotspot configuration information allocated to the target mobile phone according to the user equipment identification information, and sends the hotspot configuration information to the wireless router, and the wireless router starts the hotspot configuration.
For example, the wireless router is already turned on and intercepts the probe frame of the handset that can be detected in the surroundings, the wireless router acquires the MAC address information 00-01-6C-06-a6-29 of the detected a handset after detecting the probe frame of the a handset, and the wireless router sends the MAC address information to the corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. The network device sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123.
In some embodiments, the method further comprises step S16 (not shown), in step S16, the wireless routing device detecting whether the user device exits the wireless signal coverage of the wireless routing device; and if the user equipment exits the wireless signal coverage range of the wireless routing equipment, closing the hotspot configuration information. For example, the wireless router determines whether the user equipment exits the wireless signal coverage of the wireless router device by detecting whether a probe frame of the user equipment can be detected, and if the wireless router does not detect the probe frame of the user equipment, the wireless router confirms that the user equipment exits the wireless signal coverage of the wireless router device, and closes hotspot configuration information corresponding to the user equipment. For example, when a plurality of user equipments adopt the same hotspot configuration, the wireless router needs to detect the number of connected user equipments, and the configuration is closed only when all the user equipments adopting the same configuration exit the wireless signal coverage of the wireless router.
For example, the wireless router acquires the MAC address information 00-01-6C-06-A6-29 of the A handset detected by the wireless router, and the wireless router transmits the MAC address information to the corresponding network equipment, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. The network device sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123. The wireless router continuously detects probe frames of surrounding mobile phones, and when the probe frames of the A mobile phones cannot be detected, the wireless router disables hotspot configuration information with the user name of WK123 and the password of 0987123. Or, the wireless router acquires MAC address information of the multiple handsets detected by the wireless router, and the wireless router transmits the MAC address information of the multiple handsets to the corresponding network device, such as a server. The network equipment confirms that the A mobile phone corresponding to the MAC address information 00-01-6C-06-A6-29, the B mobile phone corresponding to the MAC address information 01-01-6C-06-A6-29 and the C mobile phone corresponding to the MAC address information 10-01-6C-06-A6-29 should be distributed with the same hot spot configuration according to the MAC address information, and the wireless router confirms that the hot spot configuration of the three mobile phones is the user name WK123 and the password 0987123. The network device sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123. The wireless router continuously detects probe frames of surrounding mobile phones, when the probe frames of the A mobile phones are not detected, the wireless router still starts the hot spot configuration, the wireless router continuously detects the probe frames of the surrounding mobile phones, and when the probe frames containing the MAC address information corresponding to the three mobile phones are not detected, the wireless router closes the hot spot configuration.
In some embodiments, in step S14, the wireless routing device enables the hotspot configuration information according to the working time information of the location where the wireless routing device is located. For example, the working time specified by the location of the wireless device is 9:00-18:00, and the wireless routing device starts the relevant hotspot configuration information in the time period.
For example, the wireless router is installed in an office area, the working time of the office area is 9:00-18:00, the wireless router acquires the MAC address information 00-01-6C-06-A6-29 of the A mobile phone detected by the wireless router, and the wireless router sends the MAC address information to the corresponding network equipment, such as a server. And the network equipment confirms that the user of the mobile phone A is the employee of the office area according to the MAC address information 00-01-6C-06-A6-29, and distributes hotspot configuration information to the mobile phone A, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123 in the specified working time.
Of course, those skilled in the art will appreciate that the above-described existing operating time information is merely exemplary, and that other existing or future existing operating time information, as may be applicable to the present application, is also encompassed within the scope of the present application and is hereby incorporated by reference.
In some embodiments, in step S13, the wireless routing device receives hotspot configuration information allocated to the user device and activation time information of the hotspot configuration information, which are sent by the network device; in step S14, the wireless routing device enables the hotspot configuration information according to the enabling time information. For example, the wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and the network device sends corresponding hotspot configuration information allocated to the mobile phone and startup time information of hotspot configuration confirmed according to the MAC address information to the wireless router. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, the wireless router acquires the MAC address information 00-01-6C-06-A6-29 of the mobile phone of the user A detected by the wireless router, and the wireless router transmits the MAC address information to the corresponding network equipment, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. Meanwhile, the network equipment determines that the hot spot configuration starting time of the mobile phone of the user A is 19:00-7:00 based on the MAC address information of the mobile phone of the user A, the network equipment sends the hot spot configuration information and the starting time to the wireless router, and the wireless router starts the hot spot configuration information with the user name of WK123 and the password of 0987123 in the time period of 19:00-7: 00.
Of course, those skilled in the art will appreciate that the above-described conventional startup time information is merely exemplary, and that other conventional startup time information, now known or later developed, such as may be suitable for use in the present application, is also included within the scope of the present application and is hereby incorporated by reference.
In some embodiments, the method further comprises step S17 (not shown), in step S17, the wireless routing device determining dwell time information of the user device in wireless signal coverage of the wireless routing device; in step S12, the wireless router device sends the ue identification information of the ue and the stay time information to a corresponding network device; in step S13, the wireless routing device receives hotspot configuration information allocated to the user device and activation time information of the hotspot configuration information, which are sent by the network device, where the activation time information is determined based on the stay time information. For example, the dwell time information of the user equipment within range of the wireless routing device is determined from log information of the wireless routing device. The wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, sends the MAC address information to the network equipment, meanwhile, according to the previous connection record of the wireless router, the wireless router searches the corresponding retention time information of the intercepted mobile phone in the log information, and sends the retention time information of the mobile phone to the network equipment. The network equipment determines corresponding hotspot configuration information according to the MAC address information and determines corresponding enabling time information according to the staying time information of the mobile phone, and the network equipment sends the corresponding hotspot configuration information distributed to the mobile phone and the enabling time information of the hotspot configuration to the wireless router. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, the wireless router acquires the MAC address information 00-01-6C-06-a6-29 of the user a mobile phone detected by the wireless router, and meanwhile, according to the log information of the wireless router, the wireless router determines the stay time information of the user a mobile phone in the history record of the log information, and the wireless router sends the MAC address information and the stay time information of the user a mobile phone to the corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. Meanwhile, the network equipment determines that the hotspot configuration starting time of the user A mobile phone is 19:00-7:00 based on the stay time information of the user A mobile phone, the network equipment sends the hotspot configuration information and the starting time to the wireless router, and the wireless router starts the hotspot configuration information with the user name of WK123 and the password of 0987123 in the time period of 19:00-7: 00.
Of course, those skilled in the art will appreciate that the above-described existing dwell time information is by way of example only, and that other existing or future existing dwell time information, as may be applicable to the present application, is also encompassed within the scope of the present application and is hereby incorporated by reference.
In some embodiments, the accumulated dwell time information of the user equipment within the wireless signal coverage of the wireless routing device is greater than or equal to a predetermined dwell time threshold. For example, if the accumulated staying time information of the user equipment in the wireless signal coverage of the wireless routing equipment is greater than or equal to a predetermined staying time threshold, the user equipment is determined to be the equipment used by the employee.
For example, in an office, a user holds an a mobile phone to enter a wireless signal coverage area of a certain wireless router, the wireless router detects the a mobile phone, and confirms accumulated residence time information of the a mobile phone in the wireless signal coverage area of the wireless router according to log information of wireless router equipment, the accumulated residence time is 50 hours of residence in one week, the accumulated residence time is more than 40 hours of preset residence time, and the wireless router confirms that the a mobile phone is used by a certain employee of the office.
In some embodiments, the method further includes step S18 (not shown), where the wireless routing device receives guest hotspot configuration information sent by the network device and allocated for the guest user equipment; enabling the guest hotspot configuration information. For example, if the accumulated staying time information of the user equipment in the wireless signal coverage area of the wireless routing equipment is less than a preset staying time threshold value, the user equipment is confirmed to be the equipment used by the visitor. The wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frames sent by the surrounding mobile phones, and sends the MAC address information to the network equipment, and the network equipment returns the visitor hotspot configuration information to the wireless router equipment. The wireless routing device enables the guest hotspot configuration information.
For example, in an office, a user holds an a mobile phone to enter a wireless signal coverage area of a certain wireless router, the wireless router detects the a mobile phone, and confirms accumulated residence time information of the a mobile phone in the wireless signal coverage area of the wireless router according to log information of wireless router equipment, the accumulated residence time is 2 hours of residence in one week, the accumulated residence time is less than 40 hours of preset residence time, and the wireless router confirms that the a mobile phone is used by a certain visitor of the office. The wireless router acquires MAC address information 00-01-6C-06-A6-28 of the user A mobile phone detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server, and allocates visitor hotspot configuration information to the user A mobile phone, wherein the visitor hotspot configuration information has a user name of FK 123. The network equipment sends the hotspot configuration information to a wireless router, and the wireless router enables visitor hotspot configuration information with the user name of FK123, wherein the hotspot configuration information can be connected without a password of a mobile phone of a user A.
Fig. 2 shows a method for establishing a wireless connection at a network device according to an aspect of the present application, the method comprising step S21, step S22 and step S23. In step S21, the network device receives the user equipment identification information of the user equipment detected by the wireless routing device, which is sent by the corresponding wireless routing device; in step S22, the network device allocates corresponding hotspot configuration information to the user device based on the user device identification information of the user device; in step S23, the network device sends the hotspot configuration information to the user device and the wireless routing device.
In step S21, the network device receives the user equipment identification information of the user equipment detected by the wireless routing device, which is sent by the corresponding wireless routing device. For example, the user equipment (handset) may continuously send probe frames to probe surrounding wireless access points. Wherein the user equipment identification information comprises MAC address information. The wireless router, such as a wireless router, acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and then the network device receives the MAC address information.
In step S22, the network device allocates corresponding hotspot configuration information to the user device based on the user device identification information of the user device. For example, the hotspot configuration information includes information such as a username and password of the wireless access point that the determined one or more wireless routing devices are to enable. The network device determines one or more corresponding wireless routing devices, and allocates hotspot configuration information to the user device, such as generating a hotspot user name and password according to user device identification information of the user device.
In step S23, the network device sends the hotspot configuration information to the user device and the wireless routing device. For example, the network device generates hotspot configuration information such as a hotspot user name and a password according to user device identification information of the user device, and sends the hotspot configuration information to the corresponding wireless routing device and the corresponding user device within a wireless signal coverage range of the wireless routing device.
For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment receives MAC address information sent by a corresponding wireless router and distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29 of the mobile phone A, if the high-speed access channel of the mobile phone A, which is suitable for the wireless router, is determined according to the past historical access record of the mobile phone A, and distributes hotspot configuration information with the user name GS123 and the password 0987123 to the mobile phone A. And then the network equipment sends the hotspot configuration information to the mobile phone A of the user, the mobile phone A acquires and stores the hotspot configuration information, the network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of GS123 and the password of 0987123, and the mobile phone A of the user is connected with the wireless router immediately at the moment.
Of course, those skilled in the art should understand that the above-mentioned hotspot configuration information is only an example, and other existing or future hotspot configuration information may be applicable to the present application, and is included in the scope of the present application and is included herein by reference.
In some embodiments, the method includes step S24 (not shown), in step S24, the network device determines enabling time information of the hotspot configuration information; in step S23, the network device sends the enabling time information of the hotspot configuration information to the wireless routing device. For example, the wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and the network device determines enabling time information of a corresponding hotspot configuration according to the MAC address information and sends the enabling time information to the wireless router, for example, the enabling time information may be determined according to the working time of a place where the wireless router is located. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, a user holds a mobile phone a, and in the wireless signal coverage of the wireless router device, the wireless router detects the MAC address information 00-01-6C-06-a6-29 of the mobile phone a of the user, and the wireless router acquires the MAC address information and sends the MAC address information to a corresponding network device, such as a server. The network equipment determines a time period that the hot spot configuration starting time of the mobile phone of the user A is 19:00-7:00 in past historical data according to the MAC address information 00-01-6C-06-A6-29 of the mobile phone of the user A, the network equipment sends the starting time of the hot spot configuration information to the wireless router, and the wireless router starts corresponding hot spot configuration information in the time period of 19:00-7: 00.
In some embodiments, in step S21, the network device receives the user equipment identification information of the user equipment detected by the wireless routing device and the stay time information of the user equipment in the wireless signal coverage area of the wireless routing device, which are sent by the corresponding wireless routing device; in step S24 (not shown), the network device determines enabling time information of the hotspot configuration information according to the staying time information of the user equipment in the wireless signal coverage area of the wireless routing device. For example, the wireless routing device determines dwell time information of the user equipment in the wireless signal coverage area of the wireless routing device according to log information of the wireless routing device. The wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, sends the MAC address information to the network equipment, meanwhile, according to the previous connection record of the wireless router, the wireless router searches the corresponding retention time information of the intercepted mobile phone in the log information, and sends the retention time information of the mobile phone to the network equipment. The network equipment receives MAC address information of a corresponding mobile phone and residence time information of the corresponding mobile phone, which are sent by the wireless routing equipment, determines corresponding hot spot configuration information according to the MAC address information, determines corresponding enabling time information according to the residence time information of the mobile phone in a wireless signal coverage range of the wireless routing equipment, and sends the corresponding hot spot configuration information distributed for the mobile phone and the enabling time information configured for the hot spot to the wireless router. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, a user holds a mobile phone a, the wireless router acquires MAC address information 00-01-6C-06-a6-29 of the mobile phone a of the user detected by the wireless router, meanwhile, according to log information of the wireless routing device, the wireless routing device determines stay time information of the mobile phone a of the user in a wireless signal coverage area of the wireless routing device in a history record of the log information, and the wireless router transmits the MAC address information and the stay time information of the mobile phone a of the user to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. Meanwhile, the network equipment determines that the hotspot configuration starting time of the user A mobile phone is 18: in the time period of 00-8:00, the network device sends the hotspot configuration information and the enabling time to the wireless router, and the wireless router performs the following steps in 18: and starting hotspot configuration information with the user name of WK123 and the password of 0987123 in the time period of 00-8: 00.
In some embodiments, the method further comprises step S25 (not shown), in step S25, the network device determining accumulated dwell time information of the user equipment in the wireless signal coverage of the wireless routing device; step S22 includes that, if the accumulated staying time information is greater than or equal to the predetermined staying time threshold, the network device allocates corresponding hotspot configuration information to the user device based on the user device identification information of the user device. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and meanwhile, the wireless router acquires the accumulated residence time information of the user equipment in the wireless signal coverage area of the wireless router device, and sends the accumulated residence time information to the network device. If the accumulated staying time information is larger than or equal to the preset staying time threshold, the network equipment determines that the current user equipment is the employee equipment, and allocates corresponding hotspot configuration information to the user equipment based on the MAC address information of the user equipment.
For example, in an office, a user holds a mobile phone a and enters a wireless signal coverage area of a certain wireless router, the wireless router detects the mobile phone a, and confirms accumulated residence time information of the mobile phone a in the wireless signal coverage area of the wireless router according to log information of the wireless router, and the accumulated residence time is 50 hours of residence in one week. The wireless router acquires the MAC address information 00-01-6C-06-A6-28 of the mobile phone of the user A detected by the wireless router, and the wireless router sends the MAC address information and the stay time information to corresponding network equipment, such as a server. The network equipment determines that the accumulated 50-hour dwell time of the mobile phone A is larger than a preset dwell time threshold value by 40 hours based on the accumulated 50-hour dwell time of the mobile phone A, confirms that the mobile phone A is held by a certain user in the office, and distributes hotspot configuration information to the mobile phone A according to MAC address information 00-01-6C-06-A6-28, wherein the user name is WK123, and the password is 0987123.
In some embodiments, the method further includes step S26 (not shown), in step S26, the network device assigning guest hotspot configuration information to the guest user device and sending the guest hotspot configuration information to the wireless routing device. For example, the wireless routing device obtains the accumulated residence time information of the user equipment in the wireless signal coverage area of the wireless routing device, and sends the accumulated residence time information to the network device, and if the accumulated residence time information of the user equipment in the wireless signal coverage area of the wireless routing device is smaller than a preset residence time threshold, the network device confirms that the user equipment is the device used by the visitor. Or the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, and sends the MAC address information to the network equipment, and the network equipment confirms that the wireless router is not accessed or visitor user equipment with low access frequency is accessed according to the MAC address information. Based on the guest user device, the network device returns guest hotspot configuration information to the wireless routing device. The wireless routing device enables the guest hotspot configuration information.
For example, in an office, company a receives a visitor user, the user holds a mobile phone a and enters the office, in a wireless signal coverage area of a wireless routing device, the wireless router detects the mobile phone a and confirms accumulated residence time information of the mobile phone a in the wireless signal coverage area of the wireless routing device according to log information of the wireless routing device, the accumulated residence time is 2 hours of residence in one week, the wireless router detects MAC address information 00-01-6C-06-a6-28 of the mobile phone a of the user, and the wireless router sends the MAC address information and the residence time information to a corresponding network device, such as a server. And the network equipment confirms that the A mobile phone is used by a visitor entering the office according to the fact that the accumulated residence time of the A mobile phone is less than the preset residence time of 40 hours, and distributes visitor hotspot configuration information to the user A mobile phone according to the MAC address information 00-01-6C-06-A6-28, wherein the visitor hotspot configuration information has the user name of FK123 and does not need to log in an authentication password. The network equipment sends the hotspot configuration information to a wireless router, and the wireless router enables visitor hotspot configuration information with the user name of FK123, wherein the hotspot configuration information can be connected without a password of a mobile phone of a user A.
In some embodiments, the method further includes step S27 (not shown), in step S27, the network device determines the communication identifier information of the user equipment according to the user equipment identifier information of the user equipment and the mapping relationship between the user equipment identifier and the communication identifier; wherein the sending the hotspot configuration information to the user equipment comprises: and sending the hotspot configuration information to the user equipment according to the communication identification information. The communication identification information includes, but is not limited to, a mobile phone number of a user equipment (such as a mobile phone), an application ID of an application installed on the user equipment, and the like. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by the surrounding mobile phones, and sends the MAC address information to the network device, and the network device allocates the corresponding hotspot configuration information to the user equipment according to the MAC address information. The network device stores a mapping relation between MAC address information of the user device and an application ID of the user device, and determines the application ID of the user device corresponding to the MAC address information based on the mapping relation. And then the network equipment sends the corresponding hotspot configuration information to the corresponding user equipment based on the application ID of the user equipment.
For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment receives the MAC address information sent by the corresponding wireless router and distributes hotspot configuration information to the A mobile phone according to the MAC address information 00-01-6C-06-A6-29 of the A mobile phone. Wherein the user name is WK123 and the password is 12345. Meanwhile, the network equipment confirms that the application ID of the mobile phone A is 'employee 167' in the mapping relation between the stored MAC address information of the user equipment and the application ID of the user equipment according to the MAC address information 00-01-6C-06-A6-29 of the mobile phone A, for example, in the office, all the user equipment install a certain application B and register, and the mobile phone A installs the application and registers the ID name of 'employee 167'. And then, the network equipment sends the hotspot configuration information to a mobile phone with an ID of 'employee 167' in the application B, and the mobile phone acquires and stores the hotspot configuration information with a user name of WK123 and a password of 12345.
In some embodiments, the method further includes step S28 (not shown), in step S28, the network device establishes or updates the mapping relationship between the user equipment identity and the communication identity according to the access record information of the user equipment to the network device or the user equipment identity information of the user equipment received by the network device. For example, the access record information contains both user equipment identification information and communication identification, where the user identification information includes MAC address information, and the communication identification information includes, but is not limited to, a mobile phone number of the user equipment (such as a mobile phone), an application ID of an application installed on the user equipment, and the like. For example, a user device initiates access to a network device based on an application at which the user device has registered an ID. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device. The network device stores a mapping relation between the MAC address information of the user device and the application ID of the user device, and based on the mapping relation, the network device confirms the updated application ID registered by the user device based on the MAC address information. And then the network equipment rebuilds or updates the mapping relation between the user equipment identification and the communication identification based on the updated application ID of the user equipment.
Fig. 4 illustrates a method for establishing a wireless connection at a user equipment according to an aspect of the present application, the method including steps S31 and S32. In step S31, the user equipment receives hotspot configuration information sent by the corresponding network device; in step S32, when the wireless access point in the hotspot configuration information is scanned, the user equipment establishes a wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information.
In step S31, the user device receives the hotspot configuration information sent by the corresponding network device. For example, the wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, the network device sends corresponding hotspot configuration information allocated to the mobile phone to the user device according to the MAC address information, and the user device receives hotspot configuration information sent by the corresponding network device.
In step S32, when the wireless access point in the hotspot configuration information is scanned, the user equipment establishes a wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information. For example, a wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to network equipment, the network equipment sends hotspot configuration information allocated to the mobile phone correspondingly to user equipment according to the MAC address information, the user equipment receives the hotspot configuration information sent by the corresponding network equipment, and the user equipment accesses a wireless access point of the wireless router equipment on the basis of storing the hotspot configuration information in a wireless signal coverage range of the corresponding wireless router.
For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, the mobile phone A stores the hotspot configuration information, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123, the mobile phone A of the user is still in the wireless signal coverage range of the wireless router equipment, and at the moment, the mobile phone A of the user is successfully accessed to the wireless access point in the hotspot configuration information, and the wireless router is connected immediately.
In some embodiments, the method further comprises step S33 (not shown), in step S33, the user equipment sends user equipment identification information of the user equipment to the corresponding network equipment; in step S31, the user equipment receives hotspot configuration information sent by the network device and allocated to the user equipment based on the user equipment identification information. For example, the user equipment actively sends user equipment identification information of the user equipment to the network equipment, wherein the user equipment identification information comprises MAC address information, the network equipment determines hotspot configuration information of a corresponding ear stud according to the MAC address information and sends the hotspot configuration information to the user equipment, and the user equipment receives hotspot configuration information which is sent by the network equipment and distributed to the user equipment based on the MAC address information.
For example, the user holds a mobile phone a, the MAC address information of the mobile phone a is 00-01-6C-06-a6-29, and the mobile phone a sends the MAC address information to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, the mobile phone A stores the hotspot configuration information, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123, and the mobile phone A of the user is connected with the wireless router immediately in the wireless signal coverage range of the wireless router equipment.
Fig. 5 illustrates a method for establishing a wireless connection according to an aspect of the subject application, wherein the method comprises:
a wireless routing equipment terminal acquires user equipment identification information of user equipment detected by the wireless routing equipment, and sends the user equipment identification information of the user equipment to corresponding network equipment;
the network equipment receives user equipment identification information of the user equipment, distributes corresponding hotspot configuration information for the user equipment based on the user equipment identification information of the user equipment, and sends the hotspot configuration information to the user equipment and the wireless routing equipment;
the wireless routing equipment receives the hotspot configuration information and enables the hotspot configuration information;
the user equipment receives the hotspot configuration information;
when the user equipment scans the wireless access point in the hotspot configuration information, the user equipment establishes wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information.
Fig. 6 illustrates a wireless routing device for establishing a wireless connection according to an aspect of the present application, which includes an obtaining module 11, a sending module 12, a receiving module 13, and an enabling module 14. An obtaining module 11, configured to obtain user equipment identifier information of the user equipment detected by the wireless routing device; a sending module 12, configured to send the user equipment identifier information of the user equipment to a corresponding network device; a receiving module 13, configured to receive hotspot configuration information that is sent by the network device and allocated to the user equipment; an enabling module 14, configured to enable the hotspot configuration information.
Specifically, the obtaining module 11 is configured to obtain user equipment identification information of the user equipment detected by the wireless routing device. Under the condition of no wireless connection, the user equipment, such as a mobile phone, may continuously send probe frames to probe surrounding wireless access points. Wherein the user equipment identification information comprises MAC address information. The wireless router, for example, a wireless router, acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by the surrounding mobile phones.
A sending module 12, configured to send the ue identification information of the ue to a corresponding network device. For example, the wireless router has an independent communication capability, acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, and sends the MAC address information to the corresponding network device. For example, the wireless routing device sends MAC address information about the handset to the network device once in a period of time.
A receiving module 13, configured to receive hotspot configuration information that is sent by the network device and allocated to the user equipment. The hotspot configuration information comprises a user name and a password of the wireless access point. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by the surrounding mobile phones, and sends the MAC address information to the network device, and the network device sends the corresponding hotspot configuration information allocated to the mobile phone to the wireless router according to the MAC address information.
An enabling module 14, configured to enable the hotspot configuration information. For example, the wireless router receives a user name and a password of the hotspot configuration sent by the network device, and the wireless router sets the user name and the password as the admission configuration of the wireless access point.
For example, based on the IEEE802.11 network protocol, a user equipment, such as a mobile phone, scans which 802.11 networks are currently in the area using probe frames. The probe Frame sent by the mobile phone contains a MAC header and a Frame body, wherein the MAC header includes MAC address information. When the mobile phone opens the mobile phone wireless setting to broadcast the probe frame to the surrounding and search for the wireless access point, the wireless router can detect the probe frame sent by the surrounding mobile phone and acquire the user equipment identification information of the mobile phone, wherein the user equipment identification information comprises MAC address information. For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, the mobile phone A stores the hotspot configuration information, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123, and the mobile phone A of the user is connected with the wireless router immediately at the moment.
Of course, those skilled in the art should understand that the above-mentioned existing ue identification information is only an example, and other existing or future existing ue identification information, as applicable to the present application, should be included within the scope of the present application and is hereby incorporated by reference.
In some embodiments, the apparatus further comprises a first detection module 15, wherein the first detection module 15 is configured to detect whether the user equipment enters a wireless signal coverage of the wireless routing device; the enabling module 14 is configured to enable the hotspot configuration information by the wireless routing device if the user equipment enters a wireless signal coverage of the wireless routing device. For example, after the wireless device is turned on, the mobile phone continuously broadcasts probe frames about itself to the surrounding, the wireless router acquires the user equipment identification information of the mobile phone by detecting the probe frames of the surrounding mobile phones, the wireless router judges whether the target mobile phone enters the wireless signal coverage range of the wireless router device by detecting the user equipment identification information of the surrounding mobile phones, if the wireless router detects the user equipment identification information of the target mobile phone, the wireless router sends the user equipment identification information to the network device, the network device determines the corresponding hotspot configuration information allocated to the target mobile phone according to the user equipment identification information, and sends the hotspot configuration information to the wireless router, and the wireless router starts the hotspot configuration.
For example, the wireless router is already turned on and intercepts the probe frame of the handset that can be detected in the surroundings, the wireless router acquires the MAC address information 00-01-6C-06-a6-29 of the detected a handset after detecting the probe frame of the a handset, and the wireless router sends the MAC address information to the corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. The network device sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123.
In some embodiments, the apparatus further comprises a second detection module 16. A second detecting module 16, configured to detect whether the user equipment exits a wireless signal coverage of the wireless routing device; and if the user equipment exits the wireless signal coverage range of the wireless routing equipment, closing the hotspot configuration information. For example, the wireless router determines whether the user equipment exits the wireless signal coverage of the wireless router device by detecting whether a probe frame of the user equipment can be detected, and if the wireless router does not detect the probe frame of the user equipment, the wireless router confirms that the user equipment exits the wireless signal coverage of the wireless router device, and closes hotspot configuration information corresponding to the user equipment. For example, when a plurality of user equipments adopt the same hotspot configuration, the wireless router needs to detect the number of connected user equipments, and the configuration is closed only when all the user equipments adopting the same configuration exit the wireless signal coverage of the wireless router.
For example, the wireless router acquires the MAC address information 00-01-6C-06-A6-29 of the A handset detected by the wireless router, and the wireless router transmits the MAC address information to the corresponding network equipment, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. The network device sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123. The wireless router continuously detects probe frames of surrounding mobile phones, and when the probe frames of the A mobile phones cannot be detected, the wireless router disables hotspot configuration information with the user name of WK123 and the password of 0987123. Or, the wireless router acquires MAC address information of the multiple handsets detected by the wireless router, and the wireless router transmits the MAC address information of the multiple handsets to the corresponding network device, such as a server. The network equipment confirms that the A mobile phone corresponding to the MAC address information 00-01-6C-06-A6-29, the B mobile phone corresponding to the MAC address information 01-01-6C-06-A6-29 and the C mobile phone corresponding to the MAC address information 10-01-6C-06-A6-29 should be distributed with the same hot spot configuration according to the MAC address information, and the wireless router confirms that the hot spot configuration of the three mobile phones is the user name WK123 and the password 0987123. The network device sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123. The wireless router continuously detects probe frames of surrounding mobile phones, when the probe frames of the A mobile phones are not detected, the wireless router still starts the hot spot configuration, the wireless router continuously detects the probe frames of the surrounding mobile phones, and when the probe frames containing the MAC address information corresponding to the three mobile phones are not detected, the wireless router closes the hot spot configuration.
In some embodiments, the enabling module 14 is configured to enable the hotspot configuration information according to the working time information of the place where the wireless routing device is located. For example, the working time specified by the location of the wireless device is 9:00-18:00, and the wireless routing device starts the relevant hotspot configuration information in the time period.
For example, the wireless router is installed in an office area, the working time of the office area is 9:00-18:00, the wireless router acquires the MAC address information 00-01-6C-06-A6-29 of the A mobile phone detected by the wireless router, and the wireless router sends the MAC address information to the corresponding network equipment, such as a server. And the network equipment confirms that the user of the mobile phone A is the employee of the office area according to the MAC address information 00-01-6C-06-A6-29, and distributes hotspot configuration information to the mobile phone A, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, and the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123 in the specified working time.
Of course, those skilled in the art will appreciate that the above-described existing operating time information is merely exemplary, and that other existing or future existing operating time information, as may be applicable to the present application, is also encompassed within the scope of the present application and is hereby incorporated by reference.
In some embodiments, the receiving module 13 is configured to receive hotspot configuration information distributed to the user equipment and sent by the network device, and start time information of the hotspot configuration information; the enabling module 14 is configured to enable the hotspot configuration information according to the enabling time information. For example, the wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and the network device sends corresponding hotspot configuration information allocated to the mobile phone and startup time information of hotspot configuration confirmed according to the MAC address information to the wireless router. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, the wireless router acquires the MAC address information 00-01-6C-06-A6-29 of the mobile phone of the user A detected by the wireless router, and the wireless router transmits the MAC address information to the corresponding network equipment, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. Meanwhile, the network equipment determines that the hot spot configuration starting time of the mobile phone of the user A is 19:00-7:00 based on the MAC address information of the mobile phone of the user A, the network equipment sends the hot spot configuration information and the starting time to the wireless router, and the wireless router starts the hot spot configuration information with the user name of WK123 and the password of 0987123 in the time period of 19:00-7: 00.
Of course, those skilled in the art will appreciate that the above-described conventional startup time information is merely exemplary, and that other conventional startup time information, now known or later developed, such as may be suitable for use in the present application, is also included within the scope of the present application and is hereby incorporated by reference.
In some embodiments, the apparatus further comprises a determination module 17. The determining module 17 is configured to determine dwell time information of the user equipment in a wireless signal coverage area of the wireless routing device; in step S12, the wireless router device sends the ue identification information of the ue and the stay time information to a corresponding network device; the receiving module 17 is configured to receive hotspot configuration information that is sent by the network device and allocated to the user equipment, and enabling time information of the hotspot configuration information, where the enabling time information is determined based on the stay time information. For example, the dwell time information of the user equipment within range of the wireless routing device is determined from log information of the wireless routing device. The wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, sends the MAC address information to the network equipment, meanwhile, according to the previous connection record of the wireless router, the wireless router searches the corresponding retention time information of the intercepted mobile phone in the log information, and sends the retention time information of the mobile phone to the network equipment. The network equipment determines corresponding hotspot configuration information according to the MAC address information and determines corresponding enabling time information according to the staying time information of the mobile phone, and the network equipment sends the corresponding hotspot configuration information distributed to the mobile phone and the enabling time information of the hotspot configuration to the wireless router. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, the wireless router acquires the MAC address information 00-01-6C-06-a6-29 of the user a mobile phone detected by the wireless router, and meanwhile, according to the log information of the wireless router, the wireless router determines the stay time information of the user a mobile phone in the history record of the log information, and the wireless router sends the MAC address information and the stay time information of the user a mobile phone to the corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. Meanwhile, the network equipment determines that the hotspot configuration starting time of the user A mobile phone is 19:00-7:00 based on the stay time information of the user A mobile phone, the network equipment sends the hotspot configuration information and the starting time to the wireless router, and the wireless router starts the hotspot configuration information with the user name of WK123 and the password of 0987123 in the time period of 19:00-7: 00.
Of course, those skilled in the art will appreciate that the above-described existing dwell time information is by way of example only, and that other existing or future existing dwell time information, as may be applicable to the present application, is also encompassed within the scope of the present application and is hereby incorporated by reference.
In some embodiments, the accumulated dwell time information of the user equipment within the wireless signal coverage of the wireless routing device is greater than or equal to a predetermined dwell time threshold. For example, if the accumulated staying time information of the user equipment in the wireless signal coverage of the wireless routing equipment is greater than or equal to a predetermined staying time threshold, the user equipment is determined to be the equipment used by the employee.
For example, in an office, a user holds an a mobile phone to enter a wireless signal coverage area of a certain wireless router, the wireless router detects the a mobile phone, and confirms accumulated residence time information of the a mobile phone in the wireless signal coverage area of the wireless router according to log information of wireless router equipment, the accumulated residence time is 50 hours of residence in one week, the accumulated residence time is more than 40 hours of preset residence time, and the wireless router confirms that the a mobile phone is used by a certain employee of the office.
In some embodiments, the apparatus further comprises a second receiving module 18. A second receiving module 18, configured to receive guest hotspot configuration information sent by the network device and allocated to a guest user device; enabling the guest hotspot configuration information. For example, if the accumulated staying time information of the user equipment in the wireless signal coverage area of the wireless routing equipment is less than a preset staying time threshold value, the user equipment is confirmed to be the equipment used by the visitor. The wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frames sent by the surrounding mobile phones, and sends the MAC address information to the network equipment, and the network equipment returns the visitor hotspot configuration information to the wireless router equipment. The wireless routing device enables the guest hotspot configuration information.
For example, in an office, a user holds an a mobile phone to enter a wireless signal coverage area of a certain wireless router, the wireless router detects the a mobile phone, and confirms accumulated residence time information of the a mobile phone in the wireless signal coverage area of the wireless router according to log information of wireless router equipment, the accumulated residence time is 2 hours of residence in one week, the accumulated residence time is less than 40 hours of preset residence time, and the wireless router confirms that the a mobile phone is used by a certain visitor of the office. The wireless router acquires MAC address information 00-01-6C-06-A6-28 of the user A mobile phone detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server, and allocates visitor hotspot configuration information to the user A mobile phone, wherein the visitor hotspot configuration information has a user name of FK 123. The network equipment sends the hotspot configuration information to a wireless router, and the wireless router enables visitor hotspot configuration information with the user name of FK123, wherein the hotspot configuration information can be connected without a password of a mobile phone of a user A.
Fig. 7 illustrates a network device for establishing a wireless connection according to an aspect of the present application, the device comprising a receiving module 21, an assigning module 22 and a transmitting module 23. A receiving module 21, configured to receive user equipment identifier information, sent by a corresponding wireless routing device, of user equipment detected by the wireless routing device; the allocating module 22 is configured to allocate, based on the user equipment identification information of the user equipment, corresponding hotspot configuration information to the user equipment; a sending module 23, configured to send the hotspot configuration information to the user equipment and the wireless routing device.
A receiving module 21, configured to receive user equipment identifier information, sent by a corresponding wireless routing device, of the user equipment detected by the wireless routing device. For example, the user equipment (handset) may continuously send probe frames to probe surrounding wireless access points. Wherein the user equipment identification information comprises MAC address information. The wireless router, such as a wireless router, acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and then the network device receives the MAC address information.
The allocating module 22 is configured to allocate corresponding hotspot configuration information to the user equipment based on the user equipment identification information of the user equipment. For example, the hotspot configuration information includes information such as a username and password of the wireless access point that the determined one or more wireless routing devices are to enable. The network device determines one or more corresponding wireless routing devices, and allocates hotspot configuration information to the user device, such as generating a hotspot user name and password according to user device identification information of the user device.
A sending module 23, configured to send the hotspot configuration information to the user equipment and the wireless routing device. For example, the network device generates hotspot configuration information such as a hotspot user name and a password according to user device identification information of the user device, and sends the hotspot configuration information to the corresponding wireless routing device and the corresponding user device within a wireless signal coverage range of the wireless routing device.
For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment receives MAC address information sent by a corresponding wireless router and distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29 of the mobile phone A, if the high-speed access channel of the mobile phone A, which is suitable for the wireless router, is determined according to the past historical access record of the mobile phone A, and distributes hotspot configuration information with the user name GS123 and the password 0987123 to the mobile phone A. And then the network equipment sends the hotspot configuration information to the mobile phone A of the user, the mobile phone A acquires and stores the hotspot configuration information, the network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of GS123 and the password of 0987123, and the mobile phone A of the user is connected with the wireless router immediately at the moment.
Of course, those skilled in the art should understand that the above-mentioned hotspot configuration information is only an example, and other existing or future hotspot configuration information may be applicable to the present application, and is included in the scope of the present application and is included herein by reference.
In some embodiments, the apparatus includes a determining module 24, and the determining module 24 is configured to determine enabling time information of the hotspot configuration information; a sending module 23, configured to send the enabling time information of the hotspot configuration information to the wireless routing device. For example, the wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and the network device determines enabling time information of a corresponding hotspot configuration according to the MAC address information and sends the enabling time information to the wireless router, for example, the enabling time information may be determined according to the working time of a place where the wireless router is located. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, a user holds a mobile phone a, and in the wireless signal coverage of the wireless router device, the wireless router detects the MAC address information 00-01-6C-06-a6-29 of the mobile phone a of the user, and the wireless router acquires the MAC address information and sends the MAC address information to a corresponding network device, such as a server. The network equipment determines a time period that the hot spot configuration starting time of the mobile phone of the user A is 19:00-7:00 in past historical data according to the MAC address information 00-01-6C-06-A6-29 of the mobile phone of the user A, the network equipment sends the starting time of the hot spot configuration information to the wireless router, and the wireless router starts corresponding hot spot configuration information in the time period of 19:00-7: 00.
In some embodiments, the receiving module 21 is configured to receive user equipment identification information, sent by a corresponding wireless routing device, of a user equipment detected by the wireless routing device, and dwell time information of the user equipment in a wireless signal coverage area of the wireless routing device; a determining module 24, configured to determine, according to the staying time information of the user equipment in the wireless signal coverage of the wireless routing device, enabling time information of the hotspot configuration information. For example, the wireless routing device determines dwell time information of the user equipment in the wireless signal coverage area of the wireless routing device according to log information of the wireless routing device. The wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, sends the MAC address information to the network equipment, meanwhile, according to the previous connection record of the wireless router, the wireless router searches the corresponding retention time information of the intercepted mobile phone in the log information, and sends the retention time information of the mobile phone to the network equipment. The network equipment receives MAC address information of a corresponding mobile phone and residence time information of the corresponding mobile phone, which are sent by the wireless routing equipment, determines corresponding hot spot configuration information according to the MAC address information, determines corresponding enabling time information according to the residence time information of the mobile phone in a wireless signal coverage range of the wireless routing equipment, and sends the corresponding hot spot configuration information distributed for the mobile phone and the enabling time information configured for the hot spot to the wireless router. Then, the wireless routing device starts the hotspot configuration within the starting time set by the network device.
For example, in an office, a user holds a mobile phone a, the wireless router acquires MAC address information 00-01-6C-06-a6-29 of the mobile phone a of the user detected by the wireless router, meanwhile, according to log information of the wireless routing device, the wireless routing device determines stay time information of the mobile phone a of the user in a wireless signal coverage area of the wireless routing device in a history record of the log information, and the wireless router transmits the MAC address information and the stay time information of the mobile phone a of the user to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, wherein the user name is WK123, and the password is 0987123. Meanwhile, the network equipment determines that the hotspot configuration starting time of the user A mobile phone is 18: in the time period of 00-8:00, the network device sends the hotspot configuration information and the enabling time to the wireless router, and the wireless router performs the following steps in 18: and starting hotspot configuration information with the user name of WK123 and the password of 0987123 in the time period of 00-8: 00.
In some embodiments, the apparatus further includes a determining module 25, where the determining module 25 is configured to determine accumulated residence time information of the user equipment in a wireless signal coverage area of the wireless routing device; the allocating module 22 is configured to allocate, if the accumulated staying time information is greater than or equal to a predetermined staying time threshold, corresponding hotspot configuration information to the user equipment based on the user equipment identification information of the user equipment. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, and meanwhile, the wireless router acquires the accumulated residence time information of the user equipment in the wireless signal coverage area of the wireless router device, and sends the accumulated residence time information to the network device. If the accumulated staying time information is larger than or equal to the preset staying time threshold, the network equipment determines that the current user equipment is the employee equipment, and allocates corresponding hotspot configuration information to the user equipment based on the MAC address information of the user equipment.
For example, in an office, a user holds a mobile phone a and enters a wireless signal coverage area of a certain wireless router, the wireless router detects the mobile phone a, and confirms accumulated residence time information of the mobile phone a in the wireless signal coverage area of the wireless router according to log information of the wireless router, and the accumulated residence time is 50 hours of residence in one week. The wireless router acquires the MAC address information 00-01-6C-06-A6-28 of the mobile phone of the user A detected by the wireless router, and the wireless router sends the MAC address information and the stay time information to corresponding network equipment, such as a server. The network equipment determines that the accumulated 50-hour dwell time of the mobile phone A is larger than a preset dwell time threshold value by 40 hours based on the accumulated 50-hour dwell time of the mobile phone A, confirms that the mobile phone A is held by a certain user in the office, and distributes hotspot configuration information to the mobile phone A according to MAC address information 00-01-6C-06-A6-28, wherein the user name is WK123, and the password is 0987123.
In some embodiments, the apparatus further comprises a second allocation module 26. And a second allocating module 26, configured to allocate guest hotspot configuration information to the guest user equipment, and send the guest hotspot configuration information to the wireless routing device. For example, the wireless routing device obtains the accumulated residence time information of the user equipment in the wireless signal coverage area of the wireless routing device, and sends the accumulated residence time information to the network device, and if the accumulated residence time information of the user equipment in the wireless signal coverage area of the wireless routing device is smaller than a preset residence time threshold, the network device confirms that the user equipment is the device used by the visitor. Or the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting the probe frame sent by the surrounding mobile phone, and sends the MAC address information to the network equipment, and the network equipment confirms that the wireless router is not accessed or visitor user equipment with low access frequency is accessed according to the MAC address information. Based on the guest user device, the network device returns guest hotspot configuration information to the wireless routing device. The wireless routing device enables the guest hotspot configuration information.
For example, in an office, company a receives a visitor user, the user holds a mobile phone a and enters the office, in a wireless signal coverage area of a wireless routing device, the wireless router detects the mobile phone a and confirms accumulated residence time information of the mobile phone a in the wireless signal coverage area of the wireless routing device according to log information of the wireless routing device, the accumulated residence time is 2 hours of residence in one week, the wireless router detects MAC address information 00-01-6C-06-a6-28 of the mobile phone a of the user, and the wireless router sends the MAC address information and the residence time information to a corresponding network device, such as a server. And the network equipment confirms that the A mobile phone is used by a visitor entering the office according to the fact that the accumulated residence time of the A mobile phone is less than the preset residence time of 40 hours, and distributes visitor hotspot configuration information to the user A mobile phone according to the MAC address information 00-01-6C-06-A6-28, wherein the visitor hotspot configuration information has the user name of FK123 and does not need to log in an authentication password. The network equipment sends the hotspot configuration information to a wireless router, and the wireless router enables visitor hotspot configuration information with the user name of FK123, wherein the hotspot configuration information can be connected without a password of a mobile phone of a user A.
In some embodiments, the apparatus further comprises an information determination module 27. An information determining module 27, configured to determine, according to the user equipment identifier information of the user equipment and the mapping relationship between the user equipment identifier and the communication identifier, communication identifier information of the user equipment; wherein the sending the hotspot configuration information to the user equipment comprises: and sending the hotspot configuration information to the user equipment according to the communication identification information. The communication identification information includes, but is not limited to, a mobile phone number of a user equipment (such as a mobile phone), an application ID of an application installed on the user equipment, and the like. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by the surrounding mobile phones, and sends the MAC address information to the network device, and the network device allocates the corresponding hotspot configuration information to the user equipment according to the MAC address information. The network device stores a mapping relation between MAC address information of the user device and an application ID of the user device, and determines the application ID of the user device corresponding to the MAC address information based on the mapping relation. And then the network equipment sends the corresponding hotspot configuration information to the corresponding user equipment based on the application ID of the user equipment.
For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment receives the MAC address information sent by the corresponding wireless router and distributes hotspot configuration information to the A mobile phone according to the MAC address information 00-01-6C-06-A6-29 of the A mobile phone. Wherein the user name is WK123 and the password is 12345. Meanwhile, the network equipment confirms that the application ID of the mobile phone A is 'employee 167' in the mapping relation between the stored MAC address information of the user equipment and the application ID of the user equipment according to the MAC address information 00-01-6C-06-A6-29 of the mobile phone A, for example, in the office, all the user equipment install a certain application B and register, and the mobile phone A installs the application and registers the ID name of 'employee 167'. And then, the network equipment sends the hotspot configuration information to a mobile phone with an ID of 'employee 167' in the application B, and the mobile phone acquires and stores the hotspot configuration information with a user name of WK123 and a password of 12345.
In some embodiments, the apparatus further comprises a mapping module 28. The mapping module 28 is configured to establish or update a mapping relationship between the ue identifier and the communication identifier according to access record information of the ue to the network device or ue identifier information of the ue received by the network device. For example, the access record information contains both user equipment identification information and communication identification, where the user identification information includes MAC address information, and the communication identification information includes, but is not limited to, a mobile phone number of the user equipment (such as a mobile phone), an application ID of an application installed on the user equipment, and the like. For example, a user device initiates access to a network device based on an application at which the user device has registered an ID. For example, the wireless router acquires the MAC address information of the corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device. The network device stores a mapping relation between the MAC address information of the user device and the application ID of the user device, and based on the mapping relation, the network device confirms the updated application ID registered by the user device based on the MAC address information. And then the network equipment rebuilds or updates the mapping relation between the user equipment identification and the communication identification based on the updated application ID of the user equipment.
Fig. 8 shows a user equipment for establishing a wireless connection according to an aspect of the present application, the user equipment comprising a receiving module 31 and a connecting module 32. A receiving module 31, configured to receive hotspot configuration information sent by a corresponding network device; a connection module 32, configured to, when a wireless access point in the hotspot configuration information is scanned, establish a wireless connection between the user equipment and the wireless access point by using access information of the wireless access point in the hotspot configuration information.
The receiving module 31 is configured to receive hotspot configuration information sent by a corresponding network device. For example, the wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to the network device, the network device sends corresponding hotspot configuration information allocated to the mobile phone to the user device according to the MAC address information, and the user device receives hotspot configuration information sent by the corresponding network device.
A connection module 32, configured to, when a wireless access point in the hotspot configuration information is scanned, establish, by a user equipment, a wireless connection between the user equipment and the wireless access point by using access information of the wireless access point in the hotspot configuration information. For example, a wireless router acquires MAC address information of a corresponding mobile phone by intercepting probe frames sent by surrounding mobile phones, and sends the MAC address information to network equipment, the network equipment sends hotspot configuration information allocated to the mobile phone correspondingly to user equipment according to the MAC address information, the user equipment receives the hotspot configuration information sent by the corresponding network equipment, and the user equipment accesses a wireless access point of the wireless router equipment on the basis of storing the hotspot configuration information in a wireless signal coverage range of the corresponding wireless router.
For example, in an office, a user holds a mobile phone a, wherein the wireless setting of the mobile phone a is already on, the mobile phone a continuously broadcasts probe frames around to find a wireless access point, a wireless router at a certain distance from the mobile phone a acquires the MAC address information 00-01-6C-06-a6-29 of the mobile phone a detected by the wireless router, and the wireless router sends the MAC address information to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, the mobile phone A stores the hotspot configuration information, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123, the mobile phone A of the user is still in the wireless signal coverage range of the wireless router equipment, and at the moment, the mobile phone A of the user is successfully accessed to the wireless access point in the hotspot configuration information, and the wireless router is connected immediately.
In some embodiments, the apparatus further comprises a sending module 33. A sending module 33, configured to send user equipment identification information of the user equipment to a corresponding network device; the receiving module 31 is configured to receive hotspot configuration information sent by the network device and allocated to the user device based on the user device identification information. For example, the user equipment actively sends user equipment identification information of the user equipment to the network equipment, wherein the user equipment identification information comprises MAC address information, the network equipment determines hotspot configuration information of a corresponding ear stud according to the MAC address information and sends the hotspot configuration information to the user equipment, and the user equipment receives hotspot configuration information which is sent by the network equipment and distributed to the user equipment based on the MAC address information.
For example, the user holds a mobile phone a, the MAC address information of the mobile phone a is 00-01-6C-06-a6-29, and the mobile phone a sends the MAC address information to a corresponding network device, such as a server. The network equipment distributes hotspot configuration information to the mobile phone A according to the MAC address information 00-01-6C-06-A6-29, the mobile phone A stores the hotspot configuration information, wherein the user name is WK123, and the password is 0987123. The network equipment sends the hotspot configuration information to the wireless router, the wireless router enables the hotspot configuration information with the user name of WK123 and the password of 0987123, and the mobile phone A of the user is connected with the wireless router immediately in the wireless signal coverage range of the wireless router equipment.
Fig. 9 illustrates a system for establishing a wireless connection according to an aspect of the subject application, wherein the system comprises:
a wireless routing equipment terminal acquires user equipment identification information of user equipment detected by the wireless routing equipment, and sends the user equipment identification information of the user equipment to corresponding network equipment;
the network equipment receives user equipment identification information of the user equipment, distributes corresponding hotspot configuration information for the user equipment based on the user equipment identification information of the user equipment, and sends the hotspot configuration information to the user equipment and the wireless routing equipment;
the wireless routing equipment receives the hotspot configuration information and enables the hotspot configuration information;
the user equipment receives the hotspot configuration information;
when the user equipment scans the wireless access point in the hotspot configuration information, the user equipment establishes wireless connection between the user equipment and the wireless access point by using the access information of the wireless access point in the hotspot configuration information.
The present application also provides a computer readable storage medium having stored thereon computer code which, when executed, performs a method as in any one of the preceding.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 10 illustrates an exemplary system that can be used to implement the various embodiments described herein;
in some embodiments, as shown in fig. 10, the system 300 can be used as a device for establishing a wireless connection in any of the described embodiments. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
System memory 315 may be used, for example, to load and store data and/or instructions for system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310 to form a system on a chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a holding computing device, a tablet, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (20)

1. A method for establishing a wireless connection at a wireless routing device, wherein the method comprises:
acquiring user equipment identification information of user equipment detected by the wireless routing equipment;
sending the user equipment identification information of the user equipment to corresponding network equipment;
receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment;
and enabling the hotspot configuration information by setting a user name and a password in the hotspot configuration information as an access configuration of a wireless access point, so that the user equipment establishes wireless connection between the user equipment and the wireless routing equipment by using the access information of the wireless access point in the hotspot configuration information after receiving the hotspot configuration information from the network equipment and scanning the wireless access point, wherein the access information of the wireless access point is used for establishing wireless connection between the user equipment and the wireless access point.
2. The method of claim 1, wherein the method further comprises:
detecting whether the user equipment enters a wireless signal coverage range of the wireless routing equipment;
wherein the enabling of the hotspot configuration information comprises:
and if the user equipment enters the wireless signal coverage range of the wireless routing equipment, starting the hotspot configuration information.
3. The method of claim 2, wherein the method further comprises:
detecting whether the user equipment exits the wireless signal coverage range of the wireless routing equipment;
and if the user equipment exits the wireless signal coverage range of the wireless routing equipment, closing the hotspot configuration information.
4. The method of claim 1, wherein the enabling the hotspot configuration information comprises:
and enabling the hotspot configuration information according to the working time information of the place where the wireless routing equipment is located.
5. The method of claim 1, wherein the receiving hotspot configuration information distributed to the user equipment and sent by the network device comprises:
receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment, and starting time information of the hotspot configuration information;
wherein the enabling of the hotspot configuration information comprises:
and enabling the hotspot configuration information according to the enabling time information.
6. The method of claim 5, wherein the method further comprises:
determining the stay time information of the user equipment in the wireless signal coverage area of the wireless routing equipment;
wherein, the sending the user equipment identification information of the user equipment to the corresponding network equipment comprises:
sending the user equipment identification information of the user equipment and the residence time information to corresponding network equipment;
the receiving hotspot configuration information which is sent by the network device and allocated to the user device includes:
receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment, and enabling time information of the hotspot configuration information, wherein the enabling time information is determined based on the stay time information.
7. The method of any of claims 1-6, wherein accumulated dwell time information of the user equipment within wireless signal coverage of the wireless routing device is greater than or equal to a predetermined dwell time threshold.
8. The method of claim 7, further comprising:
receiving visitor hotspot configuration information which is sent by the network equipment and distributed to visitor user equipment;
enabling the guest hotspot configuration information.
9. A method for establishing a wireless connection at a network device, wherein the method comprises:
receiving user equipment identification information of user equipment, which is sent by corresponding wireless routing equipment and detected by the wireless routing equipment;
distributing corresponding hotspot configuration information to the user equipment based on the user equipment identification information of the user equipment;
and sending the hotspot configuration information to the user equipment and the wireless routing equipment, wherein the user equipment enables the hotspot configuration information by setting a user name and a password in the hotspot configuration information as an access configuration of a wireless access point, and after the user equipment scans the wireless access point, the user equipment establishes wireless connection between the user equipment and the wireless routing equipment by using the access information of the wireless access point in the hotspot configuration information, wherein the access information of the wireless access point is used for establishing wireless connection between the user equipment and the wireless access point.
10. The method of claim 9, wherein the method further comprises:
determining enabling time information of the hotspot configuration information;
wherein the sending the hotspot configuration information to the user equipment and the wireless routing equipment further comprises:
and sending the starting time information of the hotspot configuration information to the wireless routing equipment.
11. The method of claim 10, wherein the receiving user equipment identification information of the user equipment detected by the wireless routing device, which is sent by the corresponding wireless routing device, comprises:
receiving user equipment identification information of user equipment detected by wireless routing equipment and sent by the corresponding wireless routing equipment, and stay time information of the user equipment in a wireless signal coverage range of the wireless routing equipment;
wherein the determining the enabling time information of the hotspot configuration information comprises:
and determining the starting time information of the hotspot configuration information according to the staying time information of the user equipment in the wireless signal coverage range of the wireless routing equipment.
12. The method of any of claims 9 to 11, wherein the method further comprises:
determining accumulated staying time information of the user equipment in a wireless signal coverage area of the wireless routing equipment;
wherein the allocating the corresponding hotspot configuration information to the user equipment based on the user equipment identification information of the user equipment comprises:
and if the accumulated staying time information is larger than or equal to a preset staying time threshold, distributing corresponding hotspot configuration information for the user equipment based on the user equipment identification information of the user equipment.
13. The method of claim 12, wherein the method further comprises:
and allocating visitor hotspot configuration information for visitor user equipment, and sending the visitor hotspot configuration information to the wireless routing equipment.
14. The method according to claim 9 or 10, wherein the method further comprises:
determining communication identification information of the user equipment according to the user equipment identification information of the user equipment and the mapping relation between the user equipment identification and the communication identification;
wherein the sending the hotspot configuration information to the user equipment comprises:
and sending the hotspot configuration information to the user equipment according to the communication identification information.
15. The method of claim 14, wherein the method further comprises:
and establishing or updating the mapping relation between the user equipment identification and the communication identification according to the access record information of the user equipment to the network equipment or the user equipment identification information of the user equipment received by the network equipment.
16. A method at a user equipment for establishing a wireless connection, wherein the method comprises:
receiving hotspot configuration information sent by corresponding network equipment, wherein the hotspot configuration information is also sent to the corresponding wireless routing equipment by the network equipment, and the hotspot configuration information is distributed to the user equipment by the network equipment based on user equipment identification information after the wireless routing equipment sends the detected user equipment identification information of the user equipment to the network equipment;
when the hotspot configuration information is enabled by the wireless routing equipment by setting a user name and a password in the hotspot configuration information as an admission configuration of a wireless access point and scans the wireless access point in the hotspot configuration information, establishing wireless connection between the user equipment and the wireless routing equipment by using access information of the wireless access point in the hotspot configuration information, wherein the access information of the wireless access point is used for establishing wireless connection between the user equipment and the wireless access point.
17. The method of claim 16, wherein the method further comprises:
sending user equipment identification information of the user equipment to corresponding network equipment;
the receiving hotspot configuration information sent by the corresponding network device includes:
and receiving hotspot configuration information which is sent by the network equipment and distributed to the user equipment based on the user equipment identification information.
18. A method for establishing a wireless connection, wherein the method comprises:
a wireless routing equipment terminal acquires user equipment identification information of user equipment detected by the wireless routing equipment, and sends the user equipment identification information of the user equipment to corresponding network equipment;
the network equipment receives user equipment identification information of the user equipment, distributes corresponding hotspot configuration information for the user equipment based on the user equipment identification information of the user equipment, and sends the hotspot configuration information to the user equipment and the wireless routing equipment;
the wireless routing equipment receives the hotspot configuration information and enables the hotspot configuration information by setting a user name and a password in the hotspot configuration information as the access configuration of a wireless access point;
the user equipment receives the hotspot configuration information;
the hotspot configuration information is enabled by the wireless routing equipment, the user equipment scans a wireless access point in the hotspot configuration information, the user equipment establishes wireless connection between the user equipment and the wireless routing equipment by using access information of the wireless access point in the hotspot configuration information, wherein the access information of the wireless access point is used for establishing wireless connection between the user equipment and the wireless access point.
19. An apparatus for establishing a wireless connection, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of the method of any of claims 1 to 17.
20. A computer-readable medium comprising instructions that, when executed, cause a system to perform the operations of any of the methods of claims 1-17.
CN201810698748.1A 2018-06-29 2018-06-29 Method, apparatus and medium for establishing wireless connection Active CN108696918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810698748.1A CN108696918B (en) 2018-06-29 2018-06-29 Method, apparatus and medium for establishing wireless connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810698748.1A CN108696918B (en) 2018-06-29 2018-06-29 Method, apparatus and medium for establishing wireless connection

Publications (2)

Publication Number Publication Date
CN108696918A CN108696918A (en) 2018-10-23
CN108696918B true CN108696918B (en) 2021-04-13

Family

ID=63851126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810698748.1A Active CN108696918B (en) 2018-06-29 2018-06-29 Method, apparatus and medium for establishing wireless connection

Country Status (1)

Country Link
CN (1) CN108696918B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166955B (en) * 2019-05-14 2020-09-08 上海连尚网络科技有限公司 Method and equipment for reminding schedule

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517461B (en) * 2017-08-21 2021-08-27 上海掌门科技有限公司 Method and equipment for carrying out wireless connection pre-authorization on user equipment
CN107567021B (en) * 2017-08-21 2021-08-27 上海掌门科技有限公司 Method and equipment for carrying out wireless connection pre-authorization on user equipment

Also Published As

Publication number Publication date
CN108696918A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
AU2019300978B2 (en) Method and electronic device for edge computing service
CN108566656B (en) Method and equipment for detecting security of wireless network
US11184319B2 (en) Method, device, apparatus for MAC address conflict detection and computer readable storage medium
CN109413759B (en) Method and equipment for wireless connection
CN107135149B (en) Method and equipment for recommending social users
CN107690175B (en) Method and equipment for managing wireless access point
US20200245146A1 (en) Method and a device for performing wireless connection pre-authorization on a user device
CN107332700B (en) Method and equipment for configuring wireless routing equipment
CN107567021B (en) Method and equipment for carrying out wireless connection pre-authorization on user equipment
CN107396364B (en) Method and equipment for carrying out wireless connection pre-authorization on user equipment
KR20130093953A (en) Method and apparatus for supporting device to device communications
CN108430063B (en) Method and equipment for monitoring ARP spoofing in wireless local area network
WO2017201961A1 (en) Method and device for identifying wi-fi type
US20230016491A1 (en) Terminal device and method for identifying malicious ap by using same
US20230180007A1 (en) Electronic device and method for electronic device to provide ranging-based service
CN108696918B (en) Method, apparatus and medium for establishing wireless connection
KR20200077259A (en) Apparatus and method for connetcting a network
US11258804B2 (en) Method and system for controlling access for a user equipment to a local device
CN109890027B (en) Method and apparatus for determining security risk information of target wireless access point
CN108901057B (en) Method, apparatus and medium for establishing wireless connection
CN108668237B (en) Method and equipment for maintaining wireless connection of user equipment
CN109246034B (en) Method and equipment for allocating flow resources for mobile equipment
CN111629421B (en) Method and equipment for managing wireless access point
CN114385647A (en) Alliance link-out block method and device, electronic equipment and medium
CN108768937B (en) Method and equipment for detecting ARP spoofing in wireless local area network

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210408

Address after: 200131 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai Shangxiang Network Technology Co.,Ltd.

Address before: 312500 accessory room B-2, 3rd floor, Jiayi Plaza, 127 Renmin East Road, Nanming street, Xinchang County, Shaoxing City, Zhejiang Province

Applicant before: LIANSHANG (XINCHANG) NETWORK TECHNOLOGY Co.,Ltd.