CN104168628B - The connecting wireless network method and its electronic device of electronic device - Google Patents

The connecting wireless network method and its electronic device of electronic device Download PDF

Info

Publication number
CN104168628B
CN104168628B CN201310183529.7A CN201310183529A CN104168628B CN 104168628 B CN104168628 B CN 104168628B CN 201310183529 A CN201310183529 A CN 201310183529A CN 104168628 B CN104168628 B CN 104168628B
Authority
CN
China
Prior art keywords
electronic device
dot pattern
wireless network
access
electronic devices
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
CN201310183529.7A
Other languages
Chinese (zh)
Other versions
CN104168628A (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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201310183529.7A priority Critical patent/CN104168628B/en
Publication of CN104168628A publication Critical patent/CN104168628A/en
Application granted granted Critical
Publication of CN104168628B publication Critical patent/CN104168628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of the connecting wireless network method and its electronic device of electronic device, and wherein electronic device has access dot pattern and platform pattern, and bus connection method includes:When electronic device starts connecting wireless network function, switching electronic device is platform pattern;Whether search nearby has other electronic devices positioned at access dot pattern;If do not search positioned at other electronic devices of access dot pattern, switching electronic device is access dot pattern, voluntarily links to wireless network, and provides other electronic devices of any wireless network services to platform pattern is nearby located at;And if when having searched positioned at other electronic devices of access dot pattern, respective weighted value is calculated, one of them is set as main access point, and other devices outside main access point is linked to wireless network by main access point.

Description

The connecting wireless network method and its electronic device of electronic device
Technical field
The invention relates to a kind of communication technology, and in particular to a kind of connecting wireless network side of electronic device Method and its electronic device.
Background technology
Due to the fast development of science and technology and the maturation of manufacturing technology, various smart electronics products have become very universal Carry-on equipment.Therefore, modern has higher and higher trend for the degree of dependence of connecting wireless network.In existing wireless network In network connection technology, several there are Wi-Fi, General Packet Radio Service wherein common(General Packet Radio Service, GPRS)Technology, CDMA(Code Division Multiple Access, CDMA)The more long distance such as technology Radio Transmission Technology, and the correlation technique of near radio transmission, such as WIFI is direct-connected(Wi-Fi Direct), bluetooth (Bluetooth), wireless near field communication (NFC) technology etc..
However, in Wi-Fi Direct communications and NFC technique, all need to possess specific hardware to support.In addition, with window Exemplified by Wi-Fi Direct communications between the device of mouth operating system (Windows) or Android system (Android), it is only capable of Reach the line result of one-to-one device or the device of single pair minority.Therefore, there are very in Wi-Fi Direct communications Limitation on more lines.In Bluetooth communications, the search time between device is longer, and bandwidth is also smaller.In NFC, then need Contact closely between device is wanted, and its bandwidth is also very small.In Alljoyn technologies, then limit all devices and be only capable of Link to specific access point.
Since modern is when using various smart electronics products to perform connecting wireless network, can suffer from any time various Environmental change or the influence of mobile factor, therefore, if can there is a kind of technology to allow connecting wireless network can be at any time in response to situation To adjust, and this technology can framework on existing communication standard and hardware structure, it will be connecting wireless network skill A quantum jump in art.
The content of the invention
The present invention provides a kind of the connecting wireless network method and its electronic device of electronic device, its can make in the range of it is more A electronic device can mutually detect and put forward optimal any wireless network services supplier automatically each other, use and suffering from environment Under the influence of change or mobile factor, the corresponding connection mode of adjust automatically, allows wireless network smooth can all interconnect, and can be certainly Surfed the Internet by stably any wireless network services supplier on dynamic ground.
The present invention provides a kind of connecting wireless network method of electronic device, wherein electronic device have access dot pattern with Platform pattern, bus connection method comprise the following steps:When electronic device starts connecting wireless network function, switching electronic device is Platform pattern;Whether search nearby has at least one other electronic devices positioned at access dot pattern;Deposited if not searching and being located at When taking at least one other electronic devices of dot pattern, switching electronic device is access dot pattern, voluntarily links to wireless network, and Any wireless network services are provided to being nearby located at least the one of platform pattern other electronic devices;And if search positioned at access During at least one other electronic devices of dot pattern, at least one other electronic devices and electronics dress positioned at access dot pattern are calculated Respective weighted value is put, by positioned at the setting of one of at least one other electronic devices of access dot pattern and electronic device For main access point, and make other positioned at least one other electronic devices and electronic device of access dot pattern by mainly depositing Take and a little link to wireless network.
The present invention provides a kind of electronic device for connecting wireless network, including:Line unit, storage element and control Unit.Line unit has access dot pattern and platform pattern;Storage element is storing weighted value;And control unit coupling To line unit and storage element, to be switched to access dot pattern or platform pattern.Wherein, when electronic device enters wirelessly During network connectivity flow, control unit is set to control following steps:When electronic device starts connecting wireless network function, cut It is platform pattern to change electronic device;Whether search nearby has at least one other electronic devices positioned at access dot pattern;If not When searching positioned at least one other electronic devices of access dot pattern, switching electronic device is access dot pattern, voluntarily line To wireless network, and any wireless network services are provided to being nearby located at least the one of platform pattern other electronic devices;And if When searching positioned at least one other electronic devices of access dot pattern, at least one other electronics positioned at access dot pattern are calculated Device and the respective weighted value of electronic device, will fill positioned at least one other electronic devices of access dot pattern and electronics Put one of them and be set as main access point, and make other positioned at least one other electronic devices and electronics of access dot pattern Device links to wireless network by main access point.
Based on above-mentioned, the electronic device of the embodiment of the present invention searched by calculating in the range of nearby positioned at access The respective weighted value of other electronic devices and electronic device of dot pattern, by positioned at other electronic devices of access dot pattern And one of electronic device is set as main access point, and other devices beyond main access point can be by mainly depositing Take a little and to link to wireless network, use corresponding environmental change or move adjustment because usually doing line, allow wireless network all The smooth interconnection of energy, and can surf the Internet automatically by stably main access point.
To make the foregoing features and advantages of the present invention clearer and more comprehensible, special embodiment below, and it is detailed to coordinate attached drawing to make Carefully it is described as follows.
Brief description of the drawings
Fig. 1 is the block diagram according to the electronic device for connecting wireless network of one embodiment of the invention;
Fig. 2 is the flow chart according to the connecting wireless network method of one embodiment of the invention;
Fig. 3 is the flow chart according to the connecting wireless network method of another embodiment of the present invention;
Fig. 4 is the flow chart according to the connecting wireless network method of another embodiment of the present invention;
Description of reference numerals:
100:Electronic device;
110:Line unit;
120:Storage element;
130:Control unit;
300:Service setting identifier;
S210~S220, S230a~S230b, S240a~S240b, S231~S232, S241~S247, S250:According to The step of connecting wireless network method of the embodiment of the present invention.
Embodiment
Fig. 1 is the block diagram according to the electronic device for connecting wireless network of one embodiment of the invention.Such as Fig. 1 institutes Show, electronic device 100 includes line unit 110, storage element 120 and control unit 130.130 company of being coupled to of control unit Line unit 110 and storage element 120.
Electronic device 100 can be the webserver, desktop computer, laptop, tablet computer, smart mobile phone, with And any device for having the function of to provide any wireless network services and network connectivity, it is not any limitation as herein.Line unit 110 With access point (Access Point, AP) pattern and platform (Station, ST) pattern.The line unit 110 of the present embodiment can It is, for example, WIFI wireless networks to be the wireless communication chips or related entities for meeting the connecting wireless network method of the present invention Card.When line unit 110 is positioned at access dot pattern, electronic device 100 can be used to send particular packet, and using reception and registration can provide The information of any wireless network services.On the other hand, when line unit 110 is located at platform pattern, electronic device 100 can pass through search And receive the particular packet in environs, use know whether nearby whether to possess any wireless network services for line with into Row network connectivity.Control unit 130 can be judged by the connecting wireless network method of the following embodiments of the present invention, if by electricity Sub-device 100 is switched to access dot pattern or platform pattern.Control unit 130 can be chip or various microprocessors, herein It is not any limitation as.Storage element 120 can be used to storage weighted value, this weighted value is to the nearby model of evaluation electronics 100 Whether access dot pattern should be switched in enclosing to provide the reference value of any wireless network services.Storage element 120 can be hard disk, dodge Deposit, random access memory, cache or other storing medias, be not any limitation as herein.
Fig. 2 is the flow chart according to the connecting wireless network method of one embodiment of the invention.As shown in Fig. 2, according to this hair The connecting wireless network method of bright embodiment mainly includes step S210~S220, S230a~S230b and S240a~S240b.
First, in step S210, when electronic device 100 starts connecting wireless network function, control unit 130 switches Electronic device 100 is platform pattern, uses search any wireless network services.In embodiments of the present invention, electronic device 100 be with Platform pattern is following to be described in detail for that reason as predetermined start-up mode.
In step S220, whether control unit 130 is searched nearby has positioned at least the one of access dot pattern other electricity Sub-device.For example, control unit 130 can be in first time interval(Such as, 1~5 minute)In interior search environs whether Other electronic devices positioned at access dot pattern are there are, if search time exceedes first time interval, it is single that control can be represented Member 130 does not find other electronic devices positioned at access dot pattern.In the present embodiment, for convenience of description, it is following " to deposit Take a little " refer to " positioned at other electronic devices of access dot pattern ", and " platform ' then refer to " it is located at other electronics of platform pattern Device ".Since when electronic device 100 is not yet starting connecting wireless network function, electronic device 100 may also fail to learn With the presence or absence of other electronic devices having positioned at access dot pattern in the range of nearby, therefore starting connecting wireless network function When, it is that electronic device 100 is first switched into platform pattern in step S210, to avoid at the beginning in being sent in environs After particular packet, and then original already present access point is produced and continues mutually to rob the situation of platform, or to original already present Access point and platform produce the conflict in other network services.
In step S230a, if control unit 130 does not search at least one other electronic devices positioned at access dot pattern When, then switch electronic device 100 as access dot pattern, so that electronic device 100 voluntarily links to wireless network, and then in step In rapid S230b, there is provided any wireless network services are nearby located at least the one of platform pattern other electronic devices.Due to control unit 130 have confirmed that not there are device in the range of nearby provides any wireless network services, therefore control unit 130 is by electronic device 100 are switched to access dot pattern, the nothing for allowing interior other electronic devices positioned at platform pattern of environs that it can be utilized to be provided Line network service and link to wireless network.In other words, electronic device 100 is the main access in environs at this time Point.
In step S240a, if control unit 130 has searched at least one other electronic devices positioned at access dot pattern When, then at least one respective weighted value of other electronic devices positioned at access dot pattern is calculated, by positioned at access dot pattern At least one of other electronic devices are set as main access point, and then make electronic device in step S240b 100 and other positioned at access dot pattern at least one other electronic devices wireless network is linked to by main access point.This When, the device outside main access point produces common recognition by the calculating of weighted value, and then put forward out of environs Main access point obtains any wireless network services.In an embodiment of the present invention, can be by positioned at other electronics of access dot pattern The device with highest weight weight values is set as main access point in device.Device with highest weight weight values can represent it with most Good any wireless network services provide ability, with specific wireless communication protocol type, with specific machine specifications or have There are other attributes, be not any limitation as herein.In another embodiment of the invention, control unit 130 can further pass through institute The respective weighted value of other electronic devices positioned at access dot pattern calculated, by positioned at other electronics of access dot pattern The wherein another of device is set as secondary access point.When main access point can not continue offer wireless network due to specific factor When network services, secondary access point can substitute main access point immediately and continue to provide any wireless network services, can thereby save weight It is new to calculate weighted value the time it takes and other costs.
If executed step S230b or S240b, can represent the device in the range of nearby and put forward master jointly Access point is wanted, and then has reached the line situation stablized, thus the device in environs can pass through main access point institute at this time Any wireless network services of offer link to wireless network.In addition, the device in above-mentioned environs also can be by mainly accessing Point is shared performing media, file transmission, instant messaging, Alljoyn application programs or it is other apply, be not subject to herein Limitation.Since other electronic devices positioned at access dot pattern and electronic device 100 can be software access point (software AP), thus in another embodiment of the invention, the device for linking to main access point can be by transmitted by main access point Notification information learn the presence of the point of the hardware access in environs (hardware AP), and pass through the hardware access point To link to wireless network, and then lift line efficiency.
Table 1 is the schematic diagram according to the service setting identifier of the electronic device of one embodiment of the invention.
Table 1
As shown in table 1, electronic device 100 can have the service setting identifier 300 of 32 bytes, and wherein purposes field is used To represent the purposes of its corresponding byte.For example, the 1st~6 byte (purposes field corresponds to and is denoted as " Linkus " person) can To the specific identifiers as connecting wireless network method according to an embodiment of the invention.8th~11 byte (purposes field Be denoted as " A " person) can be used to represent electronic device 100 communication protocol type, for example, " 0001 " can represent electric commerce card (vCard), " 0002 " can represent exchange files, and " 0003 " can represent to be matched with strange user etc..12nd~13 byte (purposes word Segment mark is shown as " B " person) it can be used to represent type of device, for example, " 01 " can represent smart mobile phone, " 02 " can represent tablet computer, " 03 " laptop can be represented, " 04 " can represent desktop computer.14th byte (purposes field is denoted as " C " person) can be used to table Show internet ability in joining wire, for example, " 0 " can represent do not have internet ability in joining wire, " 1 " can be represented with internet line energy Power.15th byte (purposes field is denoted as " D " person) can be used to represent power mode, for example, " 0 " can represent battery (or direct current Electricity), " 1 " can represent alternating current.16th byte (purposes field is denoted as " E " person) can be used to represent battery status, for example, " 0 " (minimum)~" 9 " (fully charged).18th~32 byte (purposes field is denoted as " F " person) can be used to represent device name or matchmaker The basic service set identifier of body access control address (MAC Address, Media Access Control Address) (Basic Service Set Identifier, BSSID);7th and the 17th byte (purposes field is denoted as "-" person) can be used to As the separation purposes of symbol.
Therefore, it can be corresponded to by the service setting identifier 300 of table 1 and learn that electronic device 100 is with specific identifiers " 246824 ", communication protocol type be exchange files, type of device be desktop computer, have internet ability in joining wire, power mode It is that minimum (if the power mode of device is alternating current, its battery status can correspond to negative value or not for alternating current, battery status Have meaning, be not any limitation as herein) and device name be " 135791357913579 ".The service of above-mentioned electronic device 100 The purposes arrangement for setting the length and each field of identifier 300 can have various change, not be any limitation as herein.
According to an embodiment of the invention, when electronic device 100 is positioned at access dot pattern, it can broadcast and know with service initialization The package not accorded with, thereby nearby in the range of positioned at platform pattern other electronic devices can by receive have electronic device The package of 100 service setting identifier, to learn the presence for the electronic device 100 for being located at access dot pattern and its attribute.When When electronic device 100 is located at platform pattern, can have by what other electronic devices received positioned at access point pattern were broadcasted The package of service setting identifier, to learn the presence for other electronic devices for being located at access dot pattern and its attribute.According to this Another embodiment of invention, when electronic device 100 is positioned at access dot pattern, can also receive at the same time has service in environs Other packages of identifier are set, to learn the presence for other electronic devices for being located at access dot pattern and its attribute.According to this Another embodiment of invention, when electronic device 100 is positioned at access dot pattern, then can not receive at the same time has clothes in environs Other packages of business setting identifier.
Fig. 3 is the flow chart according to the connecting wireless network method of another embodiment of the present invention.As shown in figure 3, according to The connecting wireless network method of the embodiment of the present invention includes step S210~S220, S230a~S230b and S241~S243. It is following to illustrate for being different from above-mentioned content.
In step S241, if control unit 130 has searched at least one other electronic devices positioned at access dot pattern When, then respective power is calculated by least one respective service setting identifier of other electronic devices positioned at access dot pattern Weight values.According to an embodiment of the invention, when control unit 130 by service setting identifier to calculate weighted value when, it is different Purposes attribute can have different weighted value influence powers, for example, the weighted value influence power of purposes attribute can be device class in table 1 Type (is denoted as " B " person)>Internet ability in joining wire (is denoted as " C " person)>Power mode (is denoted as " D " person)>Battery status (mark It is shown as " E " person).For example, can (purposes field indicates respectively by the 12nd~16 byte of the service setting identifier of table 1 For " BCCDE " person) weighted value is calculated, and its calculation can be the 13rd byte value × 1000 of 12 byte values × 10000+ + the 14 byte values × 15 byte values of 100+ × the 16th byte value × 1 of 100+, therefore show that its weighted value is 10410, but this Weight calculation mode can have various change, not be any limitation as herein.
In step S242, control unit 130 will have most at least one other electronic devices of access dot pattern The device of high weighted value is set as main access point.According to an embodiment of the invention, control unit 130 can be according to by step S242 Middle calculated each weighted value is ranked up, to find out the device with highest weight weight values.Another implementation according to the present invention Example, control unit 130 also can be by being pointed to device name or media possessed by other electronic devices of access dot pattern Accessing to control address is ranked up according to lexicographic order, is used and is set as mainly depositing by its first or last device Take a little.An embodiment according to the present invention, control unit 130 can be come in place still further directed to specific communication protocol type Its device with highest weight weight values is found out in other electronic devices of access dot pattern and is set as main access point.
In step S243, make electronic device 100 and other positioned at access dot pattern other electronic devices by mainly depositing Take and a little link to wireless network.As described above, at this time, the device outside main access point is produced altogether by the calculating of weighted value Know, and then the main access point that is put forward out of environs obtains any wireless network services.
Fig. 4 is the flow chart according to the connecting wireless network method of another embodiment of the present invention.As shown in figure 4, according to The connecting wireless network method of the embodiment of the present invention includes step S210~S220, S231~S232, S241~S242, S244 ~S247 and S250.It is following to illustrate for being different from above-mentioned content.
In step S231, if control unit 130 does not search at least one other electronic devices positioned at access dot pattern When, then switch electronic device 100 as access dot pattern, voluntarily link to wireless network.As noted previously, as control unit 130 Having confirmed that in the range of nearby does not have device to provide any wireless network services, therefore electronic device 100 is switched to access in itself Dot pattern provides any wireless network services, and voluntarily links to wireless network.
In step S232, control unit 130 judges whether to provide any wireless network services to being nearby located at platform pattern At least one other electronic devices.For example, whether control unit 130 can determine whether to provide in the second time interval wireless Network service, can represent if more than the second time interval and not provide service.If electronic device 100 is switched to access dot pattern And not thering is any other electronic device to receive its any wireless network services provided, its representative may there are in the range of nearby Positioned at other electronic devices of access dot pattern, but but because electronic device 100 is moving or other factors, thus cause Instantly do not search, so can return to step S220 at this time to search again.
In step S241, if control unit 130 has searched at least one other electronic devices positioned at access dot pattern When, then respective weighted value is calculated according to its service setting identifier.At this time, except being searched positioned at access dot pattern Other electronic devices can provide outside any wireless network services, previously undergone step S231 and S232 and failed to provide really wireless When the electronic device 100 of network service undergoes step S220 and come step S241 again again, similarly positioned at access dot pattern Any wireless network services are capable of providing, therefore are for other electronics positioned at access dot pattern searched in step S241 Device and 100 respective service setting identifier of electronic device calculate respective weighted value.Then, as described above, in step In rapid S242, will there are highest weight weight values at least one other electronic devices and electronic device 100 of access dot pattern Device be set as main access point.
In step S244, whether control unit 130 judges electronic device 100 positioned at access dot pattern.If electronics at this time Device 100 is located at platform pattern, then can represent electronic device 100 at this time can not provide any wireless network services, then enters step Rapid S247.Conversely, if electronic device 100 can represent it and be capable of providing any wireless network services, connect positioned at access dot pattern at this time And just enter step S245.
In step S245, control unit 130 differentiates whether electronic device 100 itself is the main access determined Point.If electronic device 100 can enter step S232 as the main access point determined, the person of connecing.If electronic device 100 Not main access point for being determined itself, then can represent to there are in scope nearby and possess more preferably wireless network and provide energy Other electronic devices of power, therefore enter step S246 and electronic device 100 is switched into platform pattern, the person of connecing enters back into step Rapid S247.
In step S247, control unit 130 discriminates whether to link to wireless network by main access point.If at this time Other devices outside main access point are determined (at this time for positioned at the electronic device 100 of platform pattern and other electronics dress Put) fail to link to wireless network by main access point, then can represent its be because mobile or other factors and most Any wireless network services that main access point is provided are not obtained eventually, so can return to step S220 at this time to search again.
In step s 250, if will be searched in step S220 positioned at least the one of access dot pattern other electricity One of sub-device and electronic device 100 are set as main access point, and lead to other devices outside main access point Cross main access point and link to wireless network, then can represent the device in the range of nearby and put forward main access jointly Point, and then reached the line situation stablized, thus the device in environs can be provided by main access point at this time Any wireless network services link to wireless network, and then, control unit 130 can transfer to electronic device 100 application program Adapter, and then complete whole connecting wireless network flow.
In conclusion the present invention by electronic device by when starting to start connecting wireless network function, first switching to station Platform pattern avoids the conflict in network service, and then according to being searched in the range of nearby positioned at access dot pattern Service setting identifier possessed by other electronic devices and electronic device, to calculate respective weighted value, will be located at and deposit One of other electronic devices and electronic device of dot pattern is taken to be set as main access point, and its outside main access point He can link to wireless network by device by main access point, use corresponding environmental change or mobile because usually doing line Adjustment.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe is described in detail the present invention with reference to foregoing embodiments, it will be understood by those of ordinary skill in the art that:Its according to Can so modify to the technical solution described in foregoing embodiments, either to which part or all technical characteristic into Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a kind of connecting wireless network method of electronic device, it is characterised in that the electronic device has access dot pattern and station Platform pattern, the bus connection method include:
When the electronic device starts connecting wireless network function, it is the platform pattern to switch the electronic device;
Whether search has at least one other electronic devices positioned at access dot pattern in an environs;
If do not search positioned at least one other electronic devices of the access dot pattern, it is the access to switch the electronic device Dot pattern, voluntarily links to wireless network, and provides any wireless network services and be located at platform pattern at least in the environs One other electronic devices;
If searched positioned at least one other electronic devices of the access dot pattern, the electronic device and other electricity Sub-device all has a service setting identifier, and calculate positioned at the access dot pattern at least one other electronic devices and The respective weighted value of the electronic device, by positioned at least one other electronic devices of the access dot pattern and electronics dress Put one of them and be set as main access point;And
Judge whether the electronic device is located at the access dot pattern, if the electronic device has been switched to the access dot pattern, sentence Whether the disconnected electronic device is located at the main access point, if the electronic device is the main access point, judges whether to be provided with Any wireless network services give at least one other electronic devices positioned at platform pattern, are mainly accessed if the electronic device is not this Point, then be switched to the platform pattern by the electronic device, and at least one other electronics for making other be located at the access dot pattern Device and the electronic device link to wireless network by the main access point.
2. connecting wireless network method according to claim 1, it is characterised in that the electronic device and other electronics Device all has the service setting identifier, and calculates at least one other electronic devices for being located at the access dot pattern and be somebody's turn to do Respective weighted value of electronic device, by positioned at least one other electronic devices of the access dot pattern and electronics dress The step of one of them is set as the main access point is put, is further included
By positioned at least one other electronic devices of the access dot pattern and the respective service initialization of the electronic device Identifier calculates the respective weighted value;And
To there are a highest weight weight values at least one other electronic devices of the access dot pattern and the electronic device A device be set as the main access point.
3. connecting wireless network method according to claim 2, it is characterised in that judge whether the electronic device is located at and be somebody's turn to do The step of accessing dot pattern, further includes:
If the electronic device links to the main access point not at the access dot pattern.
4. connecting wireless network method according to claim 1, it is characterised in that further include:
Other are located at least one other electronic devices of the access dot pattern and the electronic device passes through the main access point A transmitted notification information and learn a hardware type access point, and wireless network is linked to by the hardware type access point.
5. connecting wireless network method according to claim 1, it is characterised in that if having searched positioned at the access point mould During at least one other electronic devices of formula, at least one other electronic devices and the electricity positioned at the access dot pattern are calculated The respective weighted value of sub-device, by positioned at least one other electronic devices of the access dot pattern and the electronic device its One of be set as main access point, and at least one other electronic devices and the electricity for making other be located at the access dot pattern The step of sub-device links to wireless network by the main access point, further includes:
Pass through calculated positioned at least one other electronic devices of the access dot pattern and the electronic device it is respective should Weighted value, by positioned at least one other electronic devices of the access dot pattern and wherein another setting of the electronic device For secondary access point, when the main access point can not provide any wireless network services, to make other be located at the access dot pattern At least one other electronic devices and the electronic device wireless network is linked to by the secondary access point.
A kind of 6. electronic device for connecting wireless network, it is characterised in that including:
One line unit, has access dot pattern and platform pattern;
One storage element, to store a weighted value;And
One control unit, is coupled to the line unit and the storage element, to be switched to the access dot pattern or the platform Pattern,
Wherein, when the electronic device enters a connecting wireless network flow, which sets to control following steps:
When the electronic device starts connecting wireless network function, it is the platform pattern to switch the electronic device;
Whether search has at least one other electronic devices positioned at access dot pattern in an environs;
If do not search positioned at least one other electronic devices of the access dot pattern, it is the access to switch the electronic device Dot pattern, voluntarily links to wireless network, and provides any wireless network services and be located at platform pattern at least in the environs One other electronic devices;
If searched positioned at least one other electronic devices of the access dot pattern, the electronic device and other electricity Sub-device all has a service setting identifier, and when the electronic device calculate positioned at the access dot pattern this at least one other Electronic device and the respective weighted value of the electronic device, by positioned at least one other electronic devices of the access dot pattern And one of the electronic device is set as main access point;And
Judge whether the electronic device is located at the access dot pattern, if the electronic device has been switched to the access dot pattern, sentence Whether the disconnected electronic device is the main access point, if the electronic device is the main access point, judges whether to be provided with nothing Line network service gives at least one other electronic devices positioned at platform pattern, if the electronic device is not the main access point, The electronic device is then switched to the platform pattern, and links to the main access point, and other is located at the access dot pattern At least one other electronic devices and the electronic device wireless network is linked to by the main access point.
7. electronic device according to claim 6, it is characterised in that the electronic device and other electronic devices all have Have a service setting identifier, and when the electronic device calculate at least one other electronic devices positioned at the access dot pattern with And the respective weighted value of the electronic device, by positioned at least one other electronic devices of the access dot pattern and the electricity When one of sub-device is set as the main access point, which further sets to control following steps:
By positioned at least one other electronic devices of the access dot pattern and the respective service initialization of the electronic device Identifier calculates the respective weighted value;And
To there are a highest weight weight values at least one other electronic devices of the access dot pattern and the electronic device A device be set as the main access point.
8. electronic device according to claim 7, it is characterised in that if the electronic device has been searched positioned at the access point During at least one other electronic devices of pattern, which further sets to control following steps:
If the electronic device links to the main access point not at the access dot pattern.
9. electronic device according to claim 6, it is characterised in that the control unit further setting is following to control Step:
Other are located at least one other electronic devices of the access dot pattern and the electronic device passes through the main access point A transmitted notification information and learn a hardware type access point, and wireless network is linked to by the hardware type access point.
10. electronic device according to claim 6, it is characterised in that the control unit further setting come control with Lower step:
Pass through calculated positioned at least one other electronic devices of the access dot pattern and the electronic device it is respective should Weighted value, by positioned at least one other electronic devices of the access dot pattern and wherein another setting of the electronic device For secondary access point, when the main access point can not provide any wireless network services, to make other be located at the access dot pattern At least one other electronic devices and the electronic device wireless network is linked to by the secondary access point.
CN201310183529.7A 2013-05-17 2013-05-17 The connecting wireless network method and its electronic device of electronic device Active CN104168628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310183529.7A CN104168628B (en) 2013-05-17 2013-05-17 The connecting wireless network method and its electronic device of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310183529.7A CN104168628B (en) 2013-05-17 2013-05-17 The connecting wireless network method and its electronic device of electronic device

Publications (2)

Publication Number Publication Date
CN104168628A CN104168628A (en) 2014-11-26
CN104168628B true CN104168628B (en) 2018-05-11

Family

ID=51912214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310183529.7A Active CN104168628B (en) 2013-05-17 2013-05-17 The connecting wireless network method and its electronic device of electronic device

Country Status (1)

Country Link
CN (1) CN104168628B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8009642B2 (en) * 2005-11-14 2011-08-30 Broadcom Corporation System for transmitting high throughput data between multiple devices
JP5325192B2 (en) * 2010-10-22 2013-10-23 株式会社バッファロー COMMUNICATION DEVICE AND COMMUNICATION DEVICE OPERATION CONTROL METHOD
CN102547910A (en) * 2012-02-09 2012-07-04 中国联合网络通信集团有限公司 Method for selecting wireless access point and wireless access point
CN103108409A (en) * 2012-11-12 2013-05-15 福建联迪商用设备有限公司 Point-of-sale (POS) system and communication method based on soft-assembly program (AP) Soft-Access Point

Also Published As

Publication number Publication date
CN104168628A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN102547871B (en) Resource negotiation method and apparatus in a kind of D2D communication
CN101621314B (en) Bluetooth mobile phone and pairing and binding method thereof
CN102387612B (en) Device for mobile communication, mobile network sharing method and electronic installation
CN102685856B (en) Wireless communication method and Wi-Fi Direct (Wireless Fidelity Direct) communication system
WO2011041735A1 (en) Wlan peer-to-peer group owner negotiation
RU2008144581A (en) MOBILE peer-to-peer networks
CN104618907A (en) ZigBee networking realizing method based on two-dimensional code
CN102508473A (en) Intelligent home control system, method and device
CN105376696A (en) Data transmission method and intelligent terminal
CN102204209B (en) Method, system and network device for quality of service (qos) negotiation in cross-medium networks
CN106211810A (en) A kind of data transmission method, equipment and system
CN104426626A (en) Terminal device and management frame sending method and receiving method
CN107465609B (en) Terminal routing method based on Internet of things and Internet of things terminal
CN102684966B (en) Equipment method of network entry, Apparatus and system
CN104979864B (en) The method for obtaining wireless charging system operating state information
TWI494008B (en) Wireless network connection method for electronic device and electronic device therefore
CN104486174A (en) Networking method and networking device for intelligent terminals
CN111917849A (en) Internet of things transmission method based on Zigbee and NB-IoT fusion networking
CN104168628B (en) The connecting wireless network method and its electronic device of electronic device
CN102480764A (en) Data transmission method of wireless communication terminal and wireless communication terminal
CN103281724B (en) Ubiquitous Network terminal selection method
CN105227650A (en) File sharing method and system between a kind of mobile terminal
WO2018171264A1 (en) Network interconnection and sharing device, interconnection and sharing network, interconnection and sharing method, and device connection method
CN210518382U (en) Gateway system based on LORA and NB-IOT
CN115550957A (en) Network management method and device

Legal Events

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