CN105338658A - Method and device for connecting electronic equipment with communication network - Google Patents

Method and device for connecting electronic equipment with communication network Download PDF

Info

Publication number
CN105338658A
CN105338658A CN201510831305.1A CN201510831305A CN105338658A CN 105338658 A CN105338658 A CN 105338658A CN 201510831305 A CN201510831305 A CN 201510831305A CN 105338658 A CN105338658 A CN 105338658A
Authority
CN
China
Prior art keywords
routing device
neighbours
perception networking
electronic equipment
networking
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.)
Pending
Application number
CN201510831305.1A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510831305.1A priority Critical patent/CN105338658A/en
Publication of CN105338658A publication Critical patent/CN105338658A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

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

Abstract

The invention discloses a method and a device for connecting electronic equipment with a communication network, and relates to the field of communication technologies. The device comprises a starting module, a judgment module and a network connecting module, wherein the starting module is used for starting a neighbor perception networking function; the judgment module is used for judging whether router equipment supporting quick connection by virtue of neighbor perception networking exists; and the network connecting module is used for connecting a wireless network for neighbor perception networking when the router equipment supporting quick connection by virtue of neighbor perception networking exists. Therefore, the electronic equipment can be quickly connected to a wireless network in a NAN network, so that a user can perform message publishing and realize a quick network sharing function, and the online experience of the user is greatly improved.

Description

A kind of electronic equipment connects method and the device of communication network
Technical field
The present invention relates to communication technical field, particularly relate to method and device that a kind of electronic equipment connects communication network.
Background technology
Along with the fast development of electronic industry, people are also more and more higher to electronic equipment intelligent requirements such as mobile phones.The connection convenience of electronic equipment and communication network and data transmission bauds affect its key factor to intelligent development.In 2015, Wi-Fi connection disclosed about NAN (NeighborAwarenessNetworking, neighbours' perception networking) technical standard.This technology mainly achieves efficient discovery mechanism, thus extends the function of existing WIFI, and the application improving user is experienced.But, NAN technology is applied to electronic equipment and is still in industry blank with the wireless network connected fast in NAN networking.
Therefore, be necessary method and device that a kind of electronic equipment connection communication network is provided, fill up industry blank.
Summary of the invention
Main purpose of the present invention is to propose method and the device that a kind of electronic equipment connects communication network, is intended to solve electronic equipment of the prior art and cannot connects wireless network in NAN networking fast.
For achieving the above object, a kind of electronic equipment provided by the invention connects the device of communication network, and described device comprises: start module, for starting neighbours' perception networking function; Judge module, for judging whether to exist the routing device supporting to be connected fast by described neighbours' perception networking; Network connecting module, for when there is the routing device supporting to be connected fast by described neighbours' perception networking, then connects the wireless network of described neighbours' perception networking.
Alternatively, described judge module specifically for: judge whether described neighbours' perception networking comprises routing device; If so, then described judge module judges whether described routing device is supported to be connected fast by described neighbours' perception networking; If not, then described judge module judges whether to comprise common routing device.
Alternatively, described device also comprises: message reception module, for when described routing device support is connected fast by described neighbours' perception networking, then receives the message frame of described routing device broadcast; Network connects startup module, for starting the connection with the wireless network in described neighbours' perception networking by described message frame.
Alternatively, described network connecting module connects described routing device specifically for the message frame of being broadcasted by described routing device; Correspondingly, described judge module is also for judging whether and described routing device successful connection; If so, then described network connecting module connects the wireless network of described neighbours' perception networking; If not, then described judge module judges whether the connection number of times of electronic equipment and described routing device reaches default threshold values further, when connecting number of times and reaching default threshold values, then described routing device closes the wireless network of described neighbours' perception networking, when connecting number of times and not reaching default threshold values, then described network connecting module reconnects described routing device.
Alternatively, described device also comprises: display module, for showing the members list of described neighbours' perception networking, and shows other electronic equipments institute's role in the wireless network of described neighbours' perception networking.
In addition, for achieving the above object, the present invention also proposes a kind of method that electronic equipment connects communication network, and described method comprises step: start neighbours' perception networking function; Judge whether to exist the routing device supporting to be connected fast by described neighbours' perception networking; When there is the routing device supporting to be connected fast by described neighbours' perception networking, then connect the wireless network of described neighbours' perception networking.
Alternatively, judge whether to comprise the routing device that existence support is connected fast by described neighbours' perception networking: judge whether described neighbours' perception networking comprises routing device described in; If so, then judge whether described routing device is supported to be connected fast by described neighbours' perception networking; If not, then judge whether to comprise common routing device.
Alternatively, described judge whether described routing device is supported to be connected fast by described neighbours' perception networking after, also comprise step: when described routing device support is connected fast by described neighbours' perception networking, then receive the message frame of described routing device broadcast; The connection with the wireless network in described neighbours' perception networking is started by described message frame.
Alternatively, before the wireless network of described connection described neighbours' perception networking, also comprise step: the message frame of being broadcasted by described routing device connects described routing device; Judge whether and described routing device successful connection; If so, the wireless network of described neighbours' perception networking is then connected; If not, then judge whether the connection number of times of electronic equipment and described routing device reaches default threshold values, when connecting number of times and reaching default threshold values, then described routing device closes the wireless network of described neighbours' perception networking, when connecting number of times and not reaching default threshold values, then reconnect described routing device.
Alternatively, described method also comprises: the members list showing described neighbours' perception networking, and shows other electronic equipments institute's role in the wireless network of described neighbours' perception networking.
The electronic equipment that the present invention proposes connects method and the device of communication network, neighbours' perception networking function is started by starting module, judge module judges whether to exist the routing device supporting to be connected fast by described neighbours' perception networking, when there is the routing device supporting to be connected fast by described neighbours' perception networking, then network connecting module connects the wireless network of described neighbours' perception networking.Thus wireless network electronic equipment is connected to fast in NAN networking, so that user carries out news release and network sharing functionality fast, and the online improving user is greatly experienced.
Accompanying drawing explanation
The module diagram of the device of the electronic equipment connection communication network that Fig. 1 provides for first embodiment of the invention;
Fig. 2 is the position view of pressure sensor in the electronic equipment realizing each embodiment of the present invention;
Fig. 3 is the schematic diagram of the electronic equipment display NAN members list realizing each embodiment of the present invention;
Fig. 4 is the communication system architecture schematic diagram realizing each embodiment of the present invention;
The schematic flow sheet one of the method for the electronic equipment connection communication network that Fig. 5 provides for fourth embodiment of the invention;
The schematic flow sheet two of the method for the electronic equipment connection communication network that Fig. 6 provides for fourth embodiment of the invention;
The schematic flow sheet of the method for the electronic equipment connection communication network that Fig. 7 provides for fifth embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
As shown in Figure 1, first embodiment of the invention proposes the device that a kind of electronic equipment connects communication network, and this device comprises:
Start module 110, for starting neighbours' perception networking function.
Particularly, the electronic equipment in the present embodiment has NAN function, and under normal circumstances, this NAN function is closed condition.
Electronic equipment in the present embodiment includes but not limited to the electronic equipment of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider, printer etc. and the electronic equipment of such as digital TV, desktop computer etc.
Be provided with at least one pressure sensor in electronic equipment, this pressure sensor is installed on the bottom of electronic equipment face glass, and corresponding with the area pressed on electronic equipment.This area pressed can be the virtual region on electronic device touchscreen, also can be arranged on the touch area below a certain entity key.When user is by pressing this area pressed when triggering pressure sensor, pressure sensor generates corresponding pressure signal, to open NAN function.
After the NAN function of electronic equipment is unlocked, then start neighbours' perception networking function that module 110 starts electronic equipment fast.
Referring to Fig. 2, in the present embodiment, pressure sensor is arranged at electronic equipment right side, and after starting NAN function fast, the informing reminding user of electronic equipment has added NAN group, and concrete alerting pattern can be shown in drop-down menu or be shown in display interface by the form waking screen up.In other embodiments, the position of this pressure sensor at electronic equipment can be set according to actual needs.That is, the position of pressure sensor startup NAN function can adjust according to the situation of electronic equipment and user demand.
Judge module 120, for judging whether to exist the routing device supporting to be connected fast by described neighbours' perception networking.
Particularly, in neighbours' perception networking, mainly maintained the situation of current network by broadcast mechanism.First judge module 120 judges whether comprise routing device in composition neighbours perception networking, and this routing device includes but not limited to the equipment etc. of router, hotspot device, support softAP (softAccessPoint, virtual radio access node).
When judge module 120 judges that then judge module 120 judges whether described routing device is supported to be connected fast by described neighbours' perception networking further when forming neighbours' perception networking and comprising routing device.
Particularly, support that the routing device connected fast by neighbours' perception networking has NAN function, when inviting the wireless network of other electronic equipments access neighbours perception networking, this routing device can produce the specific message frame of broadcast, thus judge module 120 is by judging whether routing device broadcasts specific message frame to determine whether for supporting the routing device connected fast by described neighbours' perception networking.
Further, described specific message frame is beacon control frame.
Network connecting module 130, for when there is the routing device supporting to be connected fast by described neighbours' perception networking, then connects the wireless network of described neighbours' perception networking.
Particularly, the device of the electronic equipment connection communication network in the present embodiment also comprises message reception module 140 and is connected startup module 150 with network.Wherein,
Message reception module 140 for when described routing device support is connected fast by described neighbours' perception networking, then receives the message frame of described routing device broadcast.That is, the related news that message reception module 140 carries according to beacon control frame, the authentication completing routing device connects.
Network connects startup module 150 for starting the connection with the wireless network in described neighbours' perception networking by described message frame.
When the startup of network connection startup module 150 is connected with the wireless network in this neighbours' perception networking, then trigger network link block 130 connects the wireless network of this neighbours' perception networking.
It will be understood by those skilled in the art that, electronic equipment can receive the routing device can broadcasting particular message frame within the specific limits, that is, at same place place, electronic equipment can receive the routing device of multiple broadcast particular message frame, then one can be selected to carry out connecting and join in corresponding NAN wireless network.In addition, same routing device also can be connected with multiple electronic equipment.Incorporated by reference to Fig. 3, device also comprises display module, and this display module for showing the members list in this neighbours' perception networking networking on the display interface of electronic equipment, and each electronic equipment institute's role in NAN wireless network simultaneously in display list.Role can be the various multiple combination of one in master, non-Master and Sync-master.
For a better understanding of the present invention, the present invention is conducted further description with four examples.Incorporated by reference to Fig. 4, connect the communication system architecture schematic diagram of the device of communication network for electronic equipment in the present embodiment.Communication system is in the network environment of NAN networking, and it comprises equipment one, equipment two and equipment three, and wherein, this equipment two is routers.
Example one, equipment one or equipment three are for having the mobile terminal (such as mobile phone etc.) of NAN function, and equipment two is router.Start neighbours' perception networking function of module starting device one or equipment three, whether judge module judgment device two is the routers supporting to be connected fast by neighbours' perception networking, if so, then equipment one or equipment three are connected in the wireless network of this neighbours' perception networking by the network connecting module of equipment one or equipment three.
Example two, equipment one and equipment three are the mobile terminal (such as mobile phone etc.) with NAN function, and suppose, equipment one has been connected to the wireless network of neighbours' perception networking.Start neighbours' perception networking function of module starting device three, whether whether the judge module judgment device one of equipment three broadcasts specific message frame with determining apparatus one is the routing device supporting to be connected fast by neighbours' perception networking, if so, then equipment three is connected in the wireless network of neighbours' perception networking at equipment one place by the network connecting module of equipment three.
Example three, if also comprise equipment four in communication system, and equipment one invites equipment three to be connected to NAN networking, and equipment three invites equipment four to be connected to this NAN networking, and namely equipment one, equipment three and equipment four are all connected in the wireless network of same neighbourhood perception networking.Suppose, the distance between equipment one with equipment four is greater than the distance that can communicate, then information first can be sent to equipment three by equipment one, and equipment three is given to equipment four by this information again, thus achieves the communication interaction between equipment one and equipment four.
Example four, equipment one is mobile phone, and equipment two is printers, and equipment one is all connected the wireless network of same neighbourhood perception networking with equipment two.A certain document in mobile phone can be sent to printer as data message by equipment one, and is printed by printer.
In brief, electronic equipment in embodiment can receive the message frame of corresponding routing device broadcast and be connected to the wireless network of neighbours' perception networking as being invited to equipment, simultaneously, electronic equipment also can invite other electronic equipments to be connected to the wireless network of this neighbours' perception networking as invitation equipment, and carries out the mutual and information sharing of the communication information with it.As can be seen here, the social activity application adopting NAN networking technology to create can help the user between each electronic equipment to find to meet its nearby friends required, information or service.And these electronic equipments can exchange little segment information in connectionless situation, as arranged the short message etc. of meet or operation new game.
The electronic equipment of the present embodiment connects the device of communication network, neighbours' perception networking function is started by starting module 110, judge module 120 judges whether to exist the routing device supporting to be connected fast by described neighbours' perception networking, when there is the routing device supporting to be connected fast by described neighbours' perception networking, then network connecting module 130 connects the wireless network of described neighbours' perception networking.Thus wireless network electronic equipment is connected to fast in NAN networking, so that user carries out news release and network sharing functionality fast, thus the online improving user is greatly experienced.
Second embodiment of the invention further provides the device that a kind of electronic equipment connects communication network.In a second embodiment, described electronic equipment connects the device of communication network and the difference of the first embodiment is only, device also comprises notification module 210.
When judge module 120 judges not comprise routing device in composition neighbours perception networking, then judge module 120 judges whether to comprise common routing device further.
If so, then trigger notice module 210, to make there is common routing device near notification module 210 electronic device, and is shown on display screen to inform the wireless network having common routing device to produce near user.Accordingly, electronic equipment is connected to the wireless network of common routing device generation by network connecting module 130 according to the operational order of user.The wireless network that electronic equipment in the present invention connects common routing device can adopt prior art, here repeats no more.
If not, then judge do not have routing device also there is no wireless network within the certain limit of electronic equipment.
The electronic equipment of the present embodiment connects the device of communication network, when judge module 120 judges not comprise routing device in composition neighbours perception networking, and when judging to comprise common routing device, then trigger network link block 130 connects the wireless network that common routing device produces.Thus when there is no the routing device can broadcasting NAN network, electronic equipment is connected to common routing device, ensure that the normal online of user is experienced.
Third embodiment of the invention further provides the device that a kind of electronic equipment connects communication network.In the third embodiment, the described electronic equipment connection device of communication network and the difference of the first embodiment are only:
Network connecting module 130 connects described routing device specifically for the message frame of being broadcasted by described routing device.
Particularly, after network connects the connection of startup module 150 by the wireless network in message frame startup and neighbours' perception networking, network connecting module 130 attempts connecting this routing device by this message frame, and connecting moves is attempted in the operational order implementation that the process of beacon control frame is carried out in the confirmation that namely reception user sends.
Correspondingly, judge module 120 is also for judging whether and described routing device successful connection.
If so, then described network connecting module 130 connects the wireless network of described neighbours' perception networking;
If not, then described judge module 120 judges whether the connection number of times of electronic equipment and described routing device reaches default threshold values further, when connecting number of times and reaching default threshold values, then described routing device closes the wireless network of described neighbours' perception networking, when connecting number of times and not reaching default threshold values, then described network connecting module reconnects described routing device.
Particularly, attempt in network connecting module 130, in the process connected, the situation of attempting successful connection or failure may being occurred, therefore, just successfully connect if judge module 120 decision network link block 130 first time attempts connection route equipment, then directly can connect the wireless network of NAN.
If judge module 120 judge first time attempt connection failure, then judge module 120 judge respectively further second time connect, third time connect ..., connect for the N time whether with routing device successful connection.Wherein, N refers to the threshold values of default connection number of times, as attempting the higher limit connecting number of times.
When judge module 120 judges and routing device successful connection in the threshold values of the connection number of times preset, then network connecting module 130 connects the wireless network of described neighbours' perception networking.
When judge module 120 all judges and routing device connection failure in the threshold values of the connection number of times preset, then routing device closes the wireless network of described neighbours' perception networking, and exits trial connecting moves.
The electronic equipment of the present embodiment connects the device of communication network, network connecting module 130 connects described routing device by the message frame that routing device is broadcasted, and judge module 120 judge with routing device successful connection time, then network connecting module 130 connects the wireless network of NAN.Thus wireless network electronic equipment is connected to fast in NAN networking, so that user carries out news release and network sharing functionality fast, thus the online improving user is greatly experienced.
Fourth embodiment of the invention provides a kind of electronic equipment to connect the method for communication network further, and please refer to Fig. 5, described method comprises step:
S510, startup neighbours perception networking function;
Particularly, the electronic equipment in the present embodiment has NAN function, and under normal circumstances, this NAN function is closed condition.
Electronic equipment in the present embodiment includes but not limited to the electronic equipment of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider, printer etc. and the electronic equipment of such as digital TV, desktop computer etc.
Be provided with at least one pressure sensor in electronic equipment, this pressure sensor is installed on the bottom of electronic equipment face glass, and corresponding with the area pressed on electronic equipment.This area pressed can be the virtual region on electronic device touchscreen, also can be arranged on the touch area below a certain entity key.When user is by pressing this area pressed when triggering pressure sensor, pressure sensor generates corresponding pressure signal, to open NAN function.
After the NAN function of electronic equipment is unlocked, then start neighbours' perception networking function of electronic equipment fast.
Referring to Fig. 2, in the present embodiment, pressure sensor is arranged at electronic equipment right side, and after starting NAN function fast, the informing reminding user of electronic equipment has added NAN group, and concrete alerting pattern can be shown in drop-down menu or be shown in display interface by the form waking screen up.In other embodiments, the position of this pressure sensor at electronic equipment can be set according to actual needs.That is, the position of pressure sensor startup NAN function can adjust according to the situation of electronic equipment and user demand.
S520, judge whether to exist and support the routing device that connected fast by described neighbours' perception networking; If so, then enter S530, if not, then terminate;
Particularly, in neighbours' perception networking, mainly maintained the situation of current network by broadcast mechanism.Specifically please comprise S610-S630 by composition graphs 6, S520 simultaneously, and also comprise S640-S670 between S520 and S530, particularly:
S610, judge whether comprise routing device in neighbours' perception networking; If so, then S620 is entered; If not, then S630 is entered.
Particularly, this routing device includes but not limited to the equipment etc. of router, hotspot device, support softAP (softAccessPoint, virtual radio access node).
S620, judge whether described routing device is supported to be connected fast by described neighbours' perception networking; If so, then S640 is entered; If not, then S630 is entered.
Particularly, support that the routing device connected fast by neighbours' perception networking has NAN function, when inviting the wireless network of other electronic equipments access neighbours perception networking, this routing device can produce the specific message frame of broadcast, thus by judging whether routing device broadcasts specific message frame to determine whether for supporting the routing device connected fast by described neighbours' perception networking.
Further, described specific message frame is beacon control frame.
S630, judge whether to comprise common routing device; If so, then S660 is entered; If not, then illustrate does not have routing device not have wireless network within the certain limit of electronic equipment yet, and terminates.
S640, receive described routing device broadcast message frame.
That is, according to the related news that beacon control frame carries, the authentication completing routing device connects.
S650, start the connection with the wireless network in described neighbours' perception networking by described message frame.
There is common routing device near S660, electronic device, and be shown on display screen to inform the wireless network having common routing device to produce near user.
S670, according to the operational order of user electronic equipment to be connected to the wireless network that common routing device produces.
S530, connect the wireless network of described neighbours' perception networking.
It will be understood by those skilled in the art that, electronic equipment can receive the routing device can broadcasting particular message frame within the specific limits, that is, at same place place, electronic equipment can receive the routing device of multiple broadcast particular message frame, then one can be selected to carry out connecting and join in corresponding NAN wireless network.In addition, same routing device also can be connected with multiple electronic equipment.
As further improvement of this embodiment, described method also comprises: the members list showing described neighbours' perception networking, and shows other electronic equipments institute's role in the wireless network of described neighbours' perception networking.
Incorporated by reference to Fig. 3, the display interface of electronic equipment can be checked the members list in this NAN wireless network, and each electronic equipment institute's role in NAN wireless network simultaneously in display list.Role can be the various multiple combination of one in master, non-Master and Sync-master.
For a better understanding of the present invention, the present invention is conducted further description with four examples.Incorporated by reference to Fig. 4, it is the communication system architecture schematic diagram of the present embodiment.Communication system is in the network environment of NAN networking, and it comprises equipment one, equipment two and equipment three, and wherein, this equipment two is routers.
Example one, equipment one or equipment three are for having the mobile terminal (such as mobile phone etc.) of NAN function, and equipment two is router.Neighbours' perception networking function of starting device one or equipment three, whether judgment device two is the routers supporting to be connected fast by neighbours' perception networking, if so, then equipment one or equipment three is connected in the wireless network of this neighbours' perception networking.
Example two, equipment one and equipment three are the mobile terminal (such as mobile phone etc.) with NAN function, and suppose, equipment one has been connected to the wireless network of neighbours' perception networking.Neighbours' perception networking function of starting device three, whether whether judgment device one broadcasts specific message frame with determining apparatus one is the routing device supporting to be connected fast by neighbours' perception networking, if so, then equipment three is connected in the wireless network of neighbours' perception networking at equipment one place.
Example three, if also comprise equipment four in communication system, and equipment one invites equipment three to be connected to NAN networking, and equipment three invites equipment four to be connected to this NAN networking, and namely equipment one, equipment three and equipment four are all connected in the wireless network of same neighbourhood perception networking.Suppose, the distance between equipment one with equipment four is greater than the distance that can communicate, then information first can be sent to equipment three by equipment one, and equipment three is given to equipment four by this information again, thus achieves the communication interaction between equipment one and equipment four.
Example four, equipment one is mobile phone, and equipment two is printers, and equipment one is all connected the wireless network of same neighbourhood perception networking with equipment two.A certain document in mobile phone can be sent to printer as data message by equipment one, and is printed by printer.
In brief, electronic equipment in embodiment can receive the message frame of corresponding routing device broadcast and be connected to the wireless network of neighbours' perception networking as being invited to equipment, simultaneously, electronic equipment also can invite other electronic equipments to be connected to the wireless network of this neighbours' perception networking as invitation equipment, and carries out the mutual and information sharing of the communication information with it.As can be seen here, the social activity application adopting NAN networking technology to create can help the user between each electronic equipment to find to meet its nearby friends required, information or service.And these electronic equipments can exchange little segment information in connectionless situation, as arranged the short message etc. of meet or operation new game.
The electronic equipment of the present embodiment connects the method for communication network, by starting neighbours' perception networking function, judge whether to exist the routing device supporting to be connected fast by described neighbours' perception networking, when there is the routing device supporting to be connected fast by described neighbours' perception networking, then connect the wireless network of described neighbours' perception networking.Thus wireless network electronic equipment is connected to fast in NAN networking, so that user carries out news release and network sharing functionality fast, thus the online improving user is greatly experienced.
As shown in Figure 7, fifth embodiment of the invention further provides a kind of method that electronic equipment connects communication network.In the 5th embodiment, described electronic equipment connects the method for communication network and the difference of the 4th embodiment is only, before S530, described method also comprises:
S710, the message frame of being broadcasted by described routing device connect described routing device.
Particularly, after S650, attempt connecting this routing device by this message frame, the operational order that the process of beacon control frame is carried out in the confirmation that namely reception user sends carries out trial connecting moves.
S720, to judge whether and described routing device successful connection.If so, then S530 is entered; If not, then S730 is entered.
S730, judge whether the connection number of times of electronic equipment and described routing device reaches default threshold values; If so, then S740 is entered; If not, then return S710, namely reconnect described routing device.
S740, described routing device close the wireless network of described neighbours' perception networking.
Particularly, attempting in the process connected, may occur the situation of attempting successful connection or failure, therefore, if judge, first time attempts connection route equipment and just successfully connects, then directly can connect the wireless network of NAN.
If judge, first time attempts connection failure, then judge in second time connection further respectively, connect for the third time ..., connect for the N time whether with routing device successful connection.Wherein, N refers to the threshold values of default connection number of times, as attempting the higher limit connecting number of times.
When judging and routing device successful connection in the threshold values at the connection number of times preset, then connect the wireless network of described neighbours' perception networking.
When all judging and routing device connection failure in the threshold values at the connection number of times preset, then routing device closes the wireless network of described neighbours' perception networking, and exits trial connecting moves.
The electronic equipment of the present embodiment connects the method for communication network, and the message frame of being broadcasted by routing device connects described routing device, and judge and routing device successful connection time, then connect the wireless network of NAN.Thus wireless network electronic equipment is connected to fast in NAN networking, so that user carries out news release and network sharing functionality fast, thus the online improving user is greatly experienced.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. electronic equipment connects a device for communication network, and it is characterized in that, described device comprises:
Start module, for starting neighbours' perception networking function;
Judge module, for judging whether to exist the routing device supporting to be connected fast by described neighbours' perception networking;
Network connecting module, for when there is the routing device supporting to be connected fast by described neighbours' perception networking, then connects the wireless network of described neighbours' perception networking.
2. electronic equipment according to claim 1 connects the device of communication network, it is characterized in that, described judge module specifically for:
Judge whether described neighbours' perception networking comprises routing device;
If so, then described judge module judges whether described routing device is supported to be connected fast by described neighbours' perception networking;
If not, then described judge module judges whether to comprise common routing device.
3. electronic equipment according to claim 2 connects the device of communication network, and it is characterized in that, described device also comprises:
Message reception module, for when described routing device support is connected fast by described neighbours' perception networking, then receives the message frame of described routing device broadcast;
Network connects startup module, for starting the connection with the wireless network in described neighbours' perception networking by described message frame.
4. electronic equipment according to claim 1 connects the device of communication network, and it is characterized in that, described network connecting module connects described routing device specifically for the message frame of being broadcasted by described routing device;
Correspondingly, described judge module is also for judging whether and described routing device successful connection;
If so, then described network connecting module connects the wireless network of described neighbours' perception networking;
If not, then described judge module judges whether the connection number of times of electronic equipment and described routing device reaches default threshold values further, when connecting number of times and reaching default threshold values, then described routing device closes the wireless network of described neighbours' perception networking, when connecting number of times and not reaching default threshold values, then described network connecting module reconnects described routing device.
5. connect the device of communication network according to the arbitrary described electronic equipment of claim 1-4, it is characterized in that, described device also comprises:
Display module, for showing the members list of described neighbours' perception networking, and shows other electronic equipments institute's role in the wireless network of described neighbours' perception networking.
6. electronic equipment connects a method for communication network, and it is characterized in that, described method comprises step:
Start neighbours' perception networking function;
Judge whether to exist the routing device supporting to be connected fast by described neighbours' perception networking;
When there is the routing device supporting to be connected fast by described neighbours' perception networking, then connect the wireless network of described neighbours' perception networking.
7. electronic equipment according to claim 6 connects the method for communication network, it is characterized in that, described in judge whether to exist the routing device supporting to be connected fast by described neighbours' perception networking, comprising:
Judge whether described neighbours' perception networking comprises routing device;
If so, then judge whether described routing device is supported to be connected fast by described neighbours' perception networking;
If not, then judge whether to comprise common routing device.
8. electronic equipment according to claim 7 connects the method for communication network, it is characterized in that, described judge whether described routing device is supported to be connected fast by described neighbours' perception networking after, also comprise step:
When described routing device support is connected fast by described neighbours' perception networking, then receive the message frame of described routing device broadcast;
The connection with the wireless network in described neighbours' perception networking is started by described message frame.
9. electronic equipment according to claim 6 connects the method for communication network, it is characterized in that, before the wireless network of described connection described neighbours' perception networking, also comprises step:
The message frame of being broadcasted by described routing device connects described routing device;
Judge whether and described routing device successful connection;
If so, the wireless network of described neighbours' perception networking is then connected;
If not, then judge whether the connection number of times of electronic equipment and described routing device reaches default threshold values, when connecting number of times and reaching default threshold values, then described routing device closes the wireless network of described neighbours' perception networking, when connecting number of times and not reaching default threshold values, then reconnect described routing device.
10. connect the method for communication network according to the arbitrary described electronic equipment of claim 6-9, it is characterized in that, described method also comprises:
Show the members list of described neighbours' perception networking, and show other electronic equipments institute's role in the wireless network of described neighbours' perception networking.
CN201510831305.1A 2015-11-25 2015-11-25 Method and device for connecting electronic equipment with communication network Pending CN105338658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510831305.1A CN105338658A (en) 2015-11-25 2015-11-25 Method and device for connecting electronic equipment with communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510831305.1A CN105338658A (en) 2015-11-25 2015-11-25 Method and device for connecting electronic equipment with communication network

Publications (1)

Publication Number Publication Date
CN105338658A true CN105338658A (en) 2016-02-17

Family

ID=55288823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510831305.1A Pending CN105338658A (en) 2015-11-25 2015-11-25 Method and device for connecting electronic equipment with communication network

Country Status (1)

Country Link
CN (1) CN105338658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195103A (en) * 2018-08-10 2019-01-11 Oppo广东移动通信有限公司 Multimedia resource sharing method, relevant device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821466A (en) * 2012-09-06 2012-12-12 东莞宇龙通信科技有限公司 Data communication device and data communication method
US20140301190A1 (en) * 2013-04-03 2014-10-09 Qualcomm Incorporated Systems and methods for collision management in a neighborhood aware network
WO2015084597A1 (en) * 2013-12-02 2015-06-11 Qualcomm Incorporated Methods and apparatus for neighborhood area network detection
WO2015171075A1 (en) * 2014-05-06 2015-11-12 Mediatek Singapore Pte. Ltd. Method for discovering services
WO2015170818A1 (en) * 2014-05-07 2015-11-12 엘지전자 주식회사 Method and apparatus for receiving signal by nan device in wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821466A (en) * 2012-09-06 2012-12-12 东莞宇龙通信科技有限公司 Data communication device and data communication method
US20140301190A1 (en) * 2013-04-03 2014-10-09 Qualcomm Incorporated Systems and methods for collision management in a neighborhood aware network
WO2015084597A1 (en) * 2013-12-02 2015-06-11 Qualcomm Incorporated Methods and apparatus for neighborhood area network detection
WO2015171075A1 (en) * 2014-05-06 2015-11-12 Mediatek Singapore Pte. Ltd. Method for discovering services
WO2015170818A1 (en) * 2014-05-07 2015-11-12 엘지전자 주식회사 Method and apparatus for receiving signal by nan device in wireless communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195103A (en) * 2018-08-10 2019-01-11 Oppo广东移动通信有限公司 Multimedia resource sharing method, relevant device and storage medium
CN109195103B (en) * 2018-08-10 2020-12-15 Oppo广东移动通信有限公司 Multimedia resource sharing method, related equipment and storage medium

Similar Documents

Publication Publication Date Title
EP2387205B1 (en) Method and System for Providing Wi-Fi Service by Wi-Fi Device
CN109714717B (en) Method and apparatus for allocating IP addresses in a wireless communication network
CN109257802B (en) Method and apparatus for communication using Wi-Fi network
CN102883449B (en) A kind of realize the method for data sharing, associated terminal and system
CN104105155A (en) Device discovery information receiving method, device discovery information transmitting method and user device
EP2928220B1 (en) Method, system, base station and cluster epc for establishing group call context
CN105246027A (en) D2D relay resource configuration method, device and system
CN104081873B (en) Mobile communication equipment and system
EP2568740A1 (en) Method and system for processing cell sleeping
US20150169269A1 (en) Printer and printing system
CN101128054B (en) Apparatus and method for providing service status information based on access class restriction list in mobile communication system
CN104769979A (en) Device handshake/discovery for inter-device communication in wireless communication systems
US11140549B2 (en) Information processing apparatus and information processing method
CN103765975A (en) Direct link setup through an extended service set
CN109451798A (en) The instruction of hybrid automatic repeat-request feedback, feedback method and device and base station
CN104486732A (en) Moving table, transferring table, trunked communication system and method thereof
CN113038566A (en) Path selection method, terminal and network side equipment
CN103227746A (en) Data communication method and system
CN102612116A (en) Methods and apparatus for use in controlling an access point mode of operation for a mobile terminal
CN105451368B (en) Communication method and device
CN104936258A (en) Network access method, terminal and system
JP5692384B2 (en) Core network apparatus, radio base station, mobile communication system, and operation control method
CN103974205A (en) Cluster business control method, network-side equipment and user equipment
CN104349497A (en) UE proximity discovering method and device
CN105338658A (en) Method and device for connecting electronic equipment with communication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160217