CN112188410B - Automatic numbering method for equipment based on SSID broadcast - Google Patents

Automatic numbering method for equipment based on SSID broadcast Download PDF

Info

Publication number
CN112188410B
CN112188410B CN202010997083.1A CN202010997083A CN112188410B CN 112188410 B CN112188410 B CN 112188410B CN 202010997083 A CN202010997083 A CN 202010997083A CN 112188410 B CN112188410 B CN 112188410B
Authority
CN
China
Prior art keywords
ssid
access point
equipment
serial number
access points
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
CN202010997083.1A
Other languages
Chinese (zh)
Other versions
CN112188410A (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.)
Harbin Coslight New Energy Co ltd
Original Assignee
Harbin Guangyu New Energy 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 Harbin Guangyu New Energy Co ltd filed Critical Harbin Guangyu New Energy Co ltd
Priority to CN202010997083.1A priority Critical patent/CN112188410B/en
Publication of CN112188410A publication Critical patent/CN112188410A/en
Application granted granted Critical
Publication of CN112188410B publication Critical patent/CN112188410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Landscapes

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

Abstract

The invention discloses an automatic numbering method of equipment based on SSID broadcast, which comprises the following steps: s1, when the equipment is started, scanning the SSID of the nearby access point; s2, filtering the scanned access points with the same SSID head into a table; s3, judging whether the access points contain the access points with the same SSID head; if not, go to step S4; if yes, go to step S5; s4, executing step S7 after creating the access point with SSID as 1 serial number name; s5, sequencing the access point serial numbers with the SSID heads; s6, after the access point with the SSID serial number of the minimum vacant name or the next access point with the maximum serial number name is created, executing the step S7; and S7, storing SSID information. The method combines the SSID with the number of the equipment, can automatically complete the generation of the equipment number when in use, and configures the SSID end as the equipment number.

Description

Automatic numbering method for equipment based on SSID broadcast
Technical Field
The invention belongs to the technical field of electronic information, relates to an automatic numbering method for equipment, and particularly relates to an automatic numbering method for equipment based on SSID (service set identifier) broadcasting.
Background
At present, the traditional equipment number distribution method is carried out by adopting a mode of manually inputting instructions, and the equipment numbers are manually configured during production, debugging and installation so as to meet the serial requirements of the equipment on the numbers in use. The manual configuration equipment numbering workload is large, the efficiency is low, a large amount of labor cost is wasted, meanwhile, the error probability is high, and the conditions of numbering vacancy, numbering repetition, numbering error and the like occur occasionally. Once the device number is wrong, the use convenience is reduced, even the device is in failure, and the like.
Therefore, a method capable of solving the inconvenience of manual numbering of the equipment is urgently needed in the market, and is used for reducing the complexity and the configuration deployment difficulty of equipment numbering and avoiding the situations of numbering error, repeated numbering, discontinuous numbering and the like.
At present, many internet of things devices adopt a Wi-Fi mode to configure and link users, but a traditional Wi-Fi device only broadcasts a fixed SSID to the users when in use, and when the users own a plurality of devices at the same time, each device cannot be distinguished through the SSID. Generally, if a user uses a mobile phone, a computer, or other configuration device to access a Wi-Fi signal transmitted by an internet of things device, a plurality of devices use the same ESSID (extended service set identification code), which may cause link collision. The connection of a user can be randomly accessed into certain Internet of things equipment with a relatively strong signal, or the Wi-Fi access points with the same ESSID and different BSSIDs (basic service set identification codes) are considered as different AP access points of the same network to be merged and displayed, and the user repeatedly skips and roams in Wi-Fi signals of different equipment during connection. The user can not know which equipment is specifically accessed through the Wi-Fi information, and even can not be normally connected with the equipment for operation.
Some newer internet of things devices can add part of unique information of devices such as BSSID (basic service set identification code), MAC address, Serial Number (Serial Number) of the devices into SSID (service set identifier) of the devices for transmitting Wi-Fi access point signals, so that users can distinguish corresponding device access points and avoid the connected devices from entering a roaming mode.
Disclosure of Invention
The invention discloses an automatic numbering method for equipment based on SSID (service set identifier) broadcasting, which aims to solve the problems that equipment ESSID is not visual repeatedly, the equipment is numbered manually and the like. The method combines the SSID with the number of the equipment, can automatically complete the generation of the equipment number when in use, and configures part of the SSID as the equipment number.
The purpose of the invention is realized by the following technical scheme:
an automatic numbering method for equipment based on SSID broadcast comprises the following steps:
s1, when the equipment is started, scanning the SSID of the nearby access point;
s2, filtering the scanned access points with the same SSID head into a table;
s3, judging whether the access points contain the access points with the same SSID head; if not, go to step S4; if yes, go to step S5;
s4, executing step S7 after creating the access point with SSID as 1 serial number name;
s5, sequencing the access point serial numbers with the SSID heads;
s6, after the access point with the SSID serial number of the minimum vacant name or the next access point with the maximum serial number name is created, executing the step S7;
and S7, storing SSID information.
Compared with the prior art, the invention has the following advantages:
1. the method of the invention uses the SSID broadcast characteristic of Wi-Fi, when the device starts configuration, the SSID information broadcast by the former device is automatically searched, and the SSID broadcast information of the device is configured and deployed according to the scanned SSID information, thereby realizing the automatic and ordered grouping function of the device.
2. The method can reduce the complexity of equipment numbering, reduce the requirements on workers during equipment numbering, avoid various problems and accidents caused by wrong equipment numbering, avoid the waste of a large amount of manpower resources and manpower cost of equipment configuration personnel in heavy equipment numbering related work such as equipment numbering generation, equipment numbering burning, equipment numbering recording, equipment numbering verification and the like, and automatically complete equipment numbering work.
3. The method can avoid the problems that when the Wi-Fi access point is connected, the nearby Wi-Fi access points with a large number of same BSSIDs with different ESSIDs are used as an Extended Service Set (ESS) to be merged and displayed, and the Wi-Fi access points roam to other Wi-Fi access points in a connecting mode, so that the connection is stable and reliable, the phenomenon that the information such as an excessively random SSID, an MAC address and a serial number is used as a seed for SSID generation, and the phenomenon that a user is confused about the equipment access point due to the fact that the excessively random SSID access point name is generated can be avoided.
4. The method of the invention can realize automatic sequential marshalling among the devices, sort the devices according to the starting sequence of the devices, automatically scan and identify the prior devices by the later started devices, calculate and determine the marshalling number information of the devices, and add the devices into the whole device marshalling.
Drawings
FIG. 1 is a schematic view of an automatic numbering process of SSID broadcast-based devices according to the present invention;
FIG. 2 is a schematic diagram illustrating roaming of a device connection resulting from the same ESSID (extended service set identifier) used by an access point;
FIG. 3 is a diagram illustrating confusion of device connections due to the fact that access point names are too random;
fig. 4 is a schematic diagram of the SSID of the wireless access point of the device after the method of the present invention is applied.
Detailed Description
The technical solution of the present invention is further described below with reference to the accompanying drawings, but not limited thereto, and any modification or equivalent replacement of the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention shall be covered by the protection scope of the present invention.
The invention provides an automatic numbering method of equipment based on SSID broadcast, as shown in figure 1, the method comprises the following steps:
s1, when the equipment is started, scanning the SSID of the nearby access point;
s2, filtering the scanned access points with the same SSID head into a table;
s3, judging whether the access points contain the access points with the same SSID head; if not, go to step S4; if yes, go to step S5;
s4, executing step S7 after creating the access point with SSID as 1 serial number name;
s5, sequencing the access point serial numbers with the SSID heads;
s6, after the access point with the SSID serial number of the minimum vacant name or the next access point with the maximum serial number name is created, executing the step S7;
and S7, storing SSID information.
When the method for automatically numbering the devices based on the SSID broadcast is used, the devices needing automatic numbering are sequentially started according to the numbering sequence defined by the requirement, firstly, the first started device cannot detect the existing device grouping, and the first started device is used as the first device of the device grouping to establish the device grouping. The second enabled device defines itself as device number two of the device group when the scan detects the device group created by device number one. The third enabled device defines itself as device group number three device when the scanning detects the device group access point information created by device number two. If the second equipment is closed for some reason, the serial number of the second equipment is vacant. The fourth enabled device defines itself as the second device of the device group or defines itself as the fourth device to complement the device group when the scanning detects the device group created by the first device. The equipment marshalling takes the starting sequence during configuration as a serial number, so that the problems of large workload, low efficiency and high error probability of configuring equipment serial numbers can be solved, and the situations of error numbering, repeated numbering, discontinuous numbering and the like are avoided.
Example (b):
when a user needs to connect to an SSID access point of a specific device during use, for example, the same access point name is adopted or the user cannot know which specific device among a plurality of devices sends an access point signal, the user with the random access point name cannot quickly and accurately find the SSID access point of the device to be connected when the devices are more, and the user needs to compare the random SSID, MAC address and serial number of the device word by word, which is time-consuming and labor-consuming. The roaming scheme for a device connection resulting from the same ESSID (extended service set identifier) used by an access point is shown in fig. 2. The access point name is too random to cause device connection confusion as shown in fig. 3. The schematic diagram of the SSID of the wireless access point of the device after applying the method of the present invention is shown in fig. 4. The invention uses the SSID broadcast characteristic of Wi-Fi, when the device is started, the SSID information broadcast by the former device is automatically searched, and the SSID broadcast information of the device is configured and deployed according to the scanned SSID information, thereby realizing the automatic and ordered grouping function of the device.

Claims (1)

1. An SSID broadcast-based device automatic numbering method, characterized in that the method comprises the following steps:
s1, when the equipment is started, scanning the SSID of the nearby access point;
s2, filtering the scanned access points with the same SSID head into a table;
s3, judging whether the access points contain the access points with the same SSID head; if not, go to step S4; if yes, go to step S5;
s4, executing step S7 after creating the access point with SSID as 1 serial number name;
s5, sequencing the access point serial numbers with the SSID heads;
s6, after the access point with the SSID serial number of the minimum vacant name or the next access point with the maximum serial number name is created, executing the step S7;
and S7, storing SSID information.
CN202010997083.1A 2020-09-21 2020-09-21 Automatic numbering method for equipment based on SSID broadcast Active CN112188410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010997083.1A CN112188410B (en) 2020-09-21 2020-09-21 Automatic numbering method for equipment based on SSID broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010997083.1A CN112188410B (en) 2020-09-21 2020-09-21 Automatic numbering method for equipment based on SSID broadcast

Publications (2)

Publication Number Publication Date
CN112188410A CN112188410A (en) 2021-01-05
CN112188410B true CN112188410B (en) 2021-11-16

Family

ID=73956806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010997083.1A Active CN112188410B (en) 2020-09-21 2020-09-21 Automatic numbering method for equipment based on SSID broadcast

Country Status (1)

Country Link
CN (1) CN112188410B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103875288B (en) * 2011-08-22 2018-05-29 Lm爱立信(Publ)电话公司 Use the virtual access point of single Service Set Identifier
CN102413200A (en) * 2011-11-04 2012-04-11 北京播思软件技术有限公司 Method for customizing wireless hot spot service set identifier (SSID) and apparatus thereof
CN102573012A (en) * 2012-02-24 2012-07-11 北京黑米天成科技有限公司 Service set identifier (SSID) alias naming method of wireless access point (AP) based on global positioning system (GPS) position information of mobile terminal
CN104427587A (en) * 2013-08-23 2015-03-18 联想移动通信科技有限公司 Connection method for wireless local area network access point, and mobile equipment
CN103533608A (en) * 2013-09-30 2014-01-22 深圳市同洲电子股份有限公司 Wireless hotspot SSID (service set identifier) naming method and wireless hotspot identification method and equipment
CN104981000B (en) * 2015-07-20 2018-06-08 陕西师范大学 A kind of stealthy Wi-Fi hotspot automatic accessing device and method
CN106454884B (en) * 2015-08-10 2018-05-29 上海连尚网络科技有限公司 For distinguishing the method and apparatus of wireless access point of the same name
CN105873156A (en) * 2015-10-28 2016-08-17 乐视移动智能信息技术(北京)有限公司 Network switching method and device, and terminal device
CN105792315A (en) * 2016-02-25 2016-07-20 珠海市魅族科技有限公司 Wireless local area network access method and access apparatus, and station
CN109923883B (en) * 2016-09-27 2022-05-17 A9.Com公司 Method for sharing network configuration
CN111629376B (en) * 2019-02-28 2023-09-12 阿里巴巴集团控股有限公司 Information display method, device, equipment and system

Also Published As

Publication number Publication date
CN112188410A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN103379480B (en) Wireless network connecting method and device
JP4534695B2 (en) Mobile communication terminal device and frequency detection method thereof
US7558208B2 (en) Method for balancing the load of a wireless local area network
KR101733242B1 (en) Apparatus and method for auto setting up in wireless communication system
CN105407542A (en) Wireless communication connection automatic establishment method, station apparatus and system
US9426733B2 (en) Communication apparatus, method for controlling the communication apparatus, and storage medium
US20050003816A1 (en) Communications operating system and method therefor
CN104412664A (en) Wi-Fi network connection method, Wi-Fi controller and Wi-Fi device
CN101945411A (en) Method and device for maintaining LTE base station
CN102781019A (en) System and method for automatically testing wireless fidelity (WIFI) module
CN101543122A (en) Wlan scanning by prevalence of access point deployment on certain channels
CN104023374A (en) Wireless local area network access parameter configuration method and system
US20100189057A1 (en) Communication channel determination method and a determination apparatus
CN106454877A (en) Base station starting method and system
CN102123482B (en) Method and equipment for accessing zero-configuration MP (Mesh Point) into Mesh network
JP2011004225A (en) System, method and program of high-speed roaming of wireless lan
CN111565474B (en) Method and system for establishing communication connection between AP (access point) equipment and target terminal based on Mesh network
US20040166897A1 (en) Wireless base station, control method for the same, program for implementing the method
CN102984725B (en) The determination method and apparatus of data distribution access device
JP4200083B2 (en) Background scan method
CN106603331A (en) Wireless local area network product test method and device, and test system
CN112188410B (en) Automatic numbering method for equipment based on SSID broadcast
CN115474107A (en) Intelligent electric energy meter communication method and device, equipment and storage medium
CN100518398C (en) Remote RF unit equipment and its scanning method of networking mode
CN1124077A (en) Communication network with several stations and method of operating it

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An Automatic Equipment Numbering Method Based on SSID Broadcast

Effective date of registration: 20230110

Granted publication date: 20211116

Pledgee: Harbin Kechuang Financing Guarantee Co.,Ltd.

Pledgor: Harbin Guangyu new energy Co.,Ltd.

Registration number: Y2023230000013

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 150060 Room 202, building 1, Nanhu street, Yingbin Road, hi tech Industrial Development Zone, Harbin City, Heilongjiang Province

Patentee after: Harbin Coslight New ENERGY Co.,Ltd.

Address before: 150060 Room 202, building 1, Nanhu street, Yingbin Road, hi tech Industrial Development Zone, Harbin City, Heilongjiang Province

Patentee before: Harbin Guangyu new energy Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20211116

Pledgee: Harbin Kechuang Financing Guarantee Co.,Ltd.

Pledgor: Harbin Guangyu new energy Co.,Ltd.

Registration number: Y2023230000013