CN107580358A - Method for network access and Related product - Google Patents

Method for network access and Related product Download PDF

Info

Publication number
CN107580358A
CN107580358A CN201710826268.4A CN201710826268A CN107580358A CN 107580358 A CN107580358 A CN 107580358A CN 201710826268 A CN201710826268 A CN 201710826268A CN 107580358 A CN107580358 A CN 107580358A
Authority
CN
China
Prior art keywords
terminal device
mobile terminal
message
duration
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710826268.4A
Other languages
Chinese (zh)
Other versions
CN107580358B (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.)
Dongguan Tengsheng Software Technology Co Ltd
Original Assignee
Dongguan Tengsheng Software 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 Dongguan Tengsheng Software Technology Co Ltd filed Critical Dongguan Tengsheng Software Technology Co Ltd
Priority to CN201710826268.4A priority Critical patent/CN107580358B/en
Publication of CN107580358A publication Critical patent/CN107580358A/en
Application granted granted Critical
Publication of CN107580358B publication Critical patent/CN107580358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of method for network access and Related product, including:When opening wireless network module, packet of the broadcast with default mark, default identify sends presetting message for receiving the mobile terminal of the packet to the terminal device;Reference duration according to needed for the presetting message obtains message transmission between the terminal device and the mobile terminal;The access request from the mobile terminal is received, whether detection is described is less than preset duration with reference to duration;When detecting that the reference duration is less than the preset duration, the mobile terminal is added in the access device set of the wireless network.The embodiment of the present invention is advantageous to be lifted the access speed of mobile terminal access wireless network, and reduces the consumption of the signaling between terminal device and mobile terminal.

Description

Method for network access and Related product
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of method for network access and Related product.
Background technology
With the fast development of smart mobile phone, mobile phone turns into the necessity in people's hand, wherein, a variety of Radio Transmission Technologys Applied to mobile phone, for example, hotspot, WiFi, bluetooth etc. support the functional module that data are wirelessly transferred.
When at present, using this Radio Transmission Technology, such as, it is necessary to which user first opens mobile phone heat when using mobile phone focus Point, and the information such as the title for the user focus for informing that needs are attached, password, connecting the mobile phone of user needs to be swept Retouch, then connect user and select the focus, input password application to access multiple operating procedures such as the focus, make the step of integrated operation It is rapid longer.
The content of the invention
The embodiments of the invention provide a kind of method for network access and Related product, and it is wireless can to lift mobile terminal access The access speed of network, and reduce the consumption of the signaling between terminal device and mobile terminal.
In a first aspect, the embodiments of the invention provide a kind of method for network access, applied to terminal device, methods described bag Include:
When opening wireless network module, packet of the broadcast with default mark, default identify is used to receive The mobile terminal of the packet sends presetting message to the terminal device;
Reference according to needed for the presetting message obtains message transmission between the terminal device and the mobile terminal Duration;
The access request from the mobile terminal is received, whether detection is described is less than preset duration with reference to duration;
When detecting that the reference duration is less than the preset duration, in the access device set of the wireless network Add the mobile terminal.
Second aspect, the embodiments of the invention provide a kind of method for network access, applied to mobile terminal, methods described bag Include:
The packet from terminal device is received, the packet is the terminal device when opening wireless network module The packet with default mark of broadcast;
Presetting message is sent according to default identify to the terminal device, the presetting message is set for the terminal The standby reference duration obtained between the mobile terminal and the terminal device needed for message transmission;
Access request is sent to the terminal device, the access request is worked as the terminal device detects the ginseng When examining duration and being less than preset duration, access device set of the mobile terminal to the wireless network is added.
The third aspect, the embodiments of the invention provide a kind of network access device, applied to terminal device, the network insertion Device has the function of realizing the behavior of network access device in above-mentioned first aspect method design.Above-mentioned function can be by hard Part is realized, corresponding software can also be performed by hardware and is realized.Above-mentioned hardware or software include one or more and above-mentioned work( The corresponding module of energy.
Fourth aspect, the embodiments of the invention provide a kind of network access device, applied to mobile terminal, the network insertion Device has the function of realizing the behavior of network access device in above-mentioned second aspect method design.Above-mentioned function can be by hard Part is realized, corresponding software can also be performed by hardware and is realized.Above-mentioned hardware or software include one or more and above-mentioned work( The corresponding module of energy.
5th aspect, the embodiments of the invention provide a kind of terminal device, including:Processor, memory, and one or Multiple programs;Said one or multiple programs are stored in above-mentioned memory, and are configured to by above-mentioned computing device, Said procedure includes being used to perform instruction the step of described in first aspect either method of the embodiment of the present invention.
6th aspect, the embodiments of the invention provide a kind of mobile terminal, including:Processor, memory, and one or Multiple programs;Said one or multiple programs are stored in above-mentioned memory, and are configured to by above-mentioned computing device, Said procedure includes being used to perform instruction the step of described in second aspect either method of the embodiment of the present invention.
7th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, above computer is readable Storage medium is stored with the computer program for electronic data interchange, and the computer program specifically includes instruction, above-mentioned instruction Include for performing the such as part or all of step described in first aspect either method of the embodiment of the present invention, above computer Terminal device.
Eighth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, above computer is readable Storage medium is stored with the computer program for electronic data interchange, and the computer program specifically includes instruction, above-mentioned instruction Include for performing the such as part or all of step described in second aspect either method of the embodiment of the present invention, above computer Mobile terminal.
9th aspect, the embodiments of the invention provide a kind of computer program product, wherein, above computer program product Non-transient computer-readable recording medium including storing computer program, above computer program are operable to make calculating Machine is performed such as the part or all of step described in first aspect either method of the embodiment of the present invention.The computer program product Can be a software installation bag, above computer includes terminal device.
Tenth aspect, the embodiments of the invention provide a kind of computer program product, wherein, above computer program product Non-transient computer-readable recording medium including storing computer program, above computer program are operable to make calculating Machine is performed such as the part or all of step described in second aspect either method of the embodiment of the present invention.The computer program product Can be a software installation bag, above computer includes mobile terminal.
As can be seen that in the embodiment of the present invention, terminal device is first when opening wireless network module, and broadcast is with default The packet of mark, default identify are preset for receiving the mobile terminal of the packet to terminal device transmission Message, secondly, message between the terminal device and the mobile terminal is obtained according to the presetting message and transmits required ginseng Duration is examined, again, receives the access request from the mobile terminal, when whether detecting the reference duration less than presetting Grow, finally, when detecting that the reference duration is less than the preset duration, in the access device set of the wireless network Add the mobile terminal.It can be seen that reference duration determination of the terminal device according to needed for being transmitted message between mobile terminal is No permission mobile terminal accesses, and timestamp can be carried when being transmitted due to message between mobile terminal and terminal device, therefore It can easily and fast obtain with reference to duration, without extra processing, be advantageous to lift mobile terminal access wireless network Access speed, in addition, packet allows mobile terminal only to have and targetedly carries out wireless network with default mark Access procedure, without all wireless networks in periphery are scanned etc. with process, reduce signaling consumption, further lifting Wireless network access speed.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method for network access disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another method for network access disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another method for network access disclosed in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another method for network access disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal device disclosed in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention;
Fig. 7 is a kind of structural representation of network access device disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of another network access device disclosed in the embodiment of the present invention;
Fig. 9 is the structural representation of another mobile terminal/terminal device disclosed in the embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are to be used to distinguish Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive include.Such as process, method, system, product or the equipment for containing series of steps or unit do not have The step of being defined in the step of having listed or unit, but alternatively also including not listing or unit, or alternatively also wrap Include for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Terminal device involved by the embodiment of the present invention can include the various mobile terminals with radio communication function, Handheld device, mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, with And various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as terminal device.
Mobile terminal involved by the embodiment of the present invention can include the various handheld devices with radio communication function, Mobile unit, wearable device, computing device or other processing equipments for being connected to radio modem, and various forms User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
The embodiment of the present invention is described in detail below.
Referring to Fig. 1, Fig. 1 is the embodiments of the invention provide a kind of schematic flow sheet of method for network access, it is applied to Terminal device, as illustrated, present networks cut-in method includes:
S101, terminal device is when opening wireless network module, packet of the broadcast with default mark, the pre- bidding Know and send presetting message to the terminal device for receiving the mobile terminal of the packet;
Wherein, the wireless network includes:Wireless Fidelity (WIreless-Fidelity, WiFi), data traffic focus, The Radio Transmission Technologys such as bluetooth.
Wherein, packet of the end-point device broadcast with default mark, allow in the range of signal intensity reaches The mobile terminal can receive the packet.
Wherein, a default field being identified as in the packet, the default mark include quick connection and marked Know the name identification with the wireless network module, the quick connection identifier is for indicating that it is described that the mobile terminal is recognized Wireless network module allows mobile terminal quickly to be connected without password, and the name identification is used for the mobile terminal according to the name Mark is claimed targetedly to send presetting message, and the wireless network module on all peripheries of Non-scanning mode to the wireless network module.
S102, the terminal device obtains according to the presetting message to disappear between the terminal device and the mobile terminal Reference duration needed for breath transmission;
Wherein, a length of terminal when the message between the terminal device and the mobile terminal transmits required reference The duration that message one way is transmitted between equipment and the mobile terminal, for example, message is sent to described mobile whole from terminal device Termination receives the duration of the message, or, message sends to terminal device the duration for receiving the message from the mobile terminal.
Wherein, described with reference to duration can be that the terminal device determines or the mobile terminal determines, This does not do unique restriction, when when the reference, a length of mobile terminal determines, when the mobile terminal is by the reference of determination Length is sent to the terminal device.
S103, the terminal device receive the access request from the mobile terminal, and detecting the duration that refers to is It is no to be less than preset duration;
Wherein, the preset duration for example could be arranged between the distance between the terminal device and the mobile terminal When being divided into 2m, the time required for message transmission.
S104, the terminal device is when detecting that the reference duration is less than the preset duration, in the wireless network The mobile terminal is added in the access device set of network.
Wherein, when detecting that the reference duration is more than the preset duration, the terminal device will not allow described Mobile terminal is added in the access device set of the wireless network by way of being connected without password.
As can be seen that in the embodiment of the present invention, terminal device is first when opening wireless network module, and broadcast is with default The packet of mark, default identify are preset for receiving the mobile terminal of the packet to terminal device transmission Message, secondly, message between the terminal device and the mobile terminal is obtained according to the presetting message and transmits required ginseng Duration is examined, again, receives the access request from the mobile terminal, when whether detecting the reference duration less than presetting Grow, finally, when detecting that the reference duration is less than the preset duration, in the access device set of the wireless network Add the mobile terminal.It can be seen that reference duration determination of the terminal device according to needed for being transmitted message between mobile terminal is No permission mobile terminal accesses, and timestamp can be carried when being transmitted due to message between mobile terminal and terminal device, therefore It can easily and fast obtain with reference to duration, without extra processing, be advantageous to lift mobile terminal access wireless network Access speed, in addition, packet allows mobile terminal only to have and targetedly carries out wireless network with default mark Access procedure, without all wireless networks in periphery are scanned etc. with process, reduce signaling consumption, further lifting Wireless network access speed.
Wherein, it is described that message transmission institute between the terminal device and the mobile terminal is obtained according to the presetting message The mode of the reference duration needed is diversified, does not do unique restriction herein.
For example, it is described that message biography between the terminal device and the mobile terminal is obtained according to the presetting message Defeated required reference duration, including:
Receive the presetting message sent from the mobile terminal in very first time node;
The response message for the presetting message is sent to the mobile terminal;
Receive the reference determined from the mobile terminal according to the very first time node and the second timing node Duration, second timing node are the timing node when mobile terminal receives the response message.
Wherein, it is described to receive the presetting message sent from the mobile terminal in very first time node with described to described The duration that mobile terminal is sent between the response message for the presetting message is minimum, therefore, if the very first time node For t1, second timing node is t2, then the reference between the terminal device and the mobile terminal needed for message transmission Shi Changwei (t2-t1)/2.
It can be seen that in this example, determine that message passes between the terminal device and the mobile terminal by the mobile terminal Defeated required reference duration, rather than the reference duration between multiple mobile terminals is determined by terminal device, be advantageous into one The access speed of step lifting wireless network.
Again for example, it is described that message between the terminal device and the mobile terminal is obtained according to the presetting message Reference duration needed for transmission, including:
Receive the presetting message sent from the mobile terminal in very first time node;
The response message for being directed to the presetting message is sent to the mobile terminal in the second timing node, the response disappears Breath includes the time marking of second timing node;
Receive from the mobile terminal according to indicated by the very first time node and the time marking described the The described of two timing nodes determination refers to duration.
Wherein, the presetting message that is sent from the mobile terminal in very first time node and described second of receiving The duration that timing node is sent to the mobile terminal between the response message for the presetting message is minimum, therefore, if institute It is t1 to state very first time node, and second timing node is t2, then message between the terminal device and the mobile terminal A length of t2-t1 when transmitting required reference.
It can be seen that in this example, determine that message passes between the terminal device and the mobile terminal by the mobile terminal Defeated required reference duration, rather than determine between multiple mobile terminals by terminal device this refer to duration, be advantageous into One step lifts the access speed of wireless network, in addition, the duration between the very first time node and second timing node For one way message transmission duration, compared to round trip duration determine refer to duration by way of add with reference to duration determine Accuracy, and improve treatment effeciency.
Again for example, it is described that message between the terminal device and the mobile terminal is obtained according to the presetting message Reference duration needed for transmission, including:
The presetting message sent from the mobile terminal in very first time node is received in the second timing node, it is described Presetting message includes the time marking of the very first time node;
Parallel to perform the first operation and the second operation, first operation is to be sent to the mobile terminal for described pre- If the response message of message, second operation is according to indicated by the very first time node and the time marking Second timing node determines described to refer to duration.
Wherein, if the very first time node is t1, second timing node is t2, then the terminal device and described A length of t2-t1 when message transmits required reference between mobile terminal.
It can be seen that in this example, very first time node and the second timing node are respectively the when segmentum intercalaris that transmitting terminal sends message Point and receiving terminal receive the timing node of message, and centre needs not move through any processing procedure, when further increasing reference Long accuracy, moreover, performing the first operation and the second operation, rather than string using parallel form in the case where being independent of each other Capable mode performs the first operation and the second operation, is advantageous to the treatment effeciency of further lifting terminal device.
Again for example, it is described that message between the terminal device and the mobile terminal is obtained according to the presetting message Reference duration needed for transmission, including:
Receive the presetting message from the mobile terminal;
The response message for being directed to the presetting message is sent to the mobile terminal in very first time node;
The feedback message from the mobile terminal is received in the second timing node;
Determined described to refer to duration according to the very first time node and second timing node.
Wherein, it is to allow the terminal device can be according to receiving twice that the mobile terminal, which sends the feedback message, Timing node to message accurately obtains the reference duration that message transmission is required between the terminal device and the mobile terminal, The feedback message can include special implication or not include special implication in itself, not do unique restriction herein.
It can be seen that in this example, the terminal device according to receive twice message timing node (very first time node and Second timing node) the reference duration needed for message transmission between the terminal device and the mobile terminal is determined, without Timing node during the transmission message to be carried by parsing in message, advantageously reduces the processing delay of terminal device, carries Rise treatment effeciency.
It is consistent with the embodiment shown in above-mentioned Fig. 1, referring to Fig. 2, Fig. 2 is another net provided in an embodiment of the present invention The schematic flow sheet of network cut-in method, applied to terminal device, as illustrated, present networks cut-in method includes:
S201, terminal device is when opening wireless network module, packet of the broadcast with default mark, the pre- bidding Know and send presetting message to the terminal device for receiving the mobile terminal of the packet;
S202, the terminal device receive the presetting message sent from the mobile terminal in very first time node;
S203, the terminal device send the response message for the presetting message to the mobile terminal;
S204, the terminal device are received from the mobile terminal according to segmentum intercalaris when the very first time node and second Reference duration between the mobile terminal and the terminal device that point determines needed for message transmission, second timing node The timing node during response message is received for the mobile terminal;
S205, the terminal device receive the access request from the mobile terminal, and detecting the duration that refers to is It is no to be less than preset duration;
S206, the terminal device is when detecting that the reference duration is less than the preset duration, in the wireless network The mobile terminal is added in the access device set of network.
Wherein, above-mentioned S201, S205, S206 can refer to the corresponding steps in the embodiment described by Fig. 1.
As can be seen that in the embodiment of the present invention, terminal device is first when opening wireless network module, and broadcast is with default The packet of mark, default identify are preset for receiving the mobile terminal of the packet to terminal device transmission Message, secondly, message between the terminal device and the mobile terminal is obtained according to the presetting message and transmits required ginseng Duration is examined, again, receives the access request from the mobile terminal, when whether detecting the reference duration less than presetting Grow, finally, when detecting that the reference duration is less than the preset duration, in the access device set of the wireless network Add the mobile terminal.It can be seen that reference duration determination of the terminal device according to needed for being transmitted message between mobile terminal is No permission mobile terminal accesses, and timestamp can be carried when being transmitted due to message between mobile terminal and terminal device, therefore It can easily and fast obtain with reference to duration, without extra processing, be advantageous to lift mobile terminal access wireless network Access speed, in addition, packet allows mobile terminal only to have and targetedly carries out wireless network with default mark Access procedure, without all wireless networks in periphery are scanned etc. with process, reduce signaling consumption, further lifting Wireless network access speed.
In addition, determine that message transmits required ginseng between the terminal device and the mobile terminal by the mobile terminal Duration is examined, rather than the reference duration between multiple mobile terminals is determined by terminal device, it is wireless to be advantageous to further lifting The access speed of network.
Referring to Fig. 3, Fig. 3 is a kind of schematic flow sheet of method for network access provided in an embodiment of the present invention, it is applied to Mobile terminal, as illustrated, present networks cut-in method includes:
S301, mobile terminal receive the packet from terminal device, and the packet is that the terminal device is being opened The packet with default mark broadcasted during wireless network module;
S302, the mobile terminal sends presetting message according to default identify to the terminal device, described default Message is used for the terminal device and obtains the reference duration that message transmission is required between the mobile terminal and the terminal device;
S303, the mobile terminal send access request to the terminal device, and the access request is used for the terminal When detecting that the reference duration is less than preset duration, the access for adding the mobile terminal to the wireless network is set equipment Standby set.
As can be seen that in the embodiment of the present invention, mobile terminal receives the packet from terminal device, the data first The packet with default mark broadcasted for the terminal device when opening wireless network module is wrapped, secondly, according to described Default identify to the terminal device sends presetting message, and it is described mobile whole that the presetting message is used for terminal device acquisition Reference duration between end and the terminal device needed for message transmission, finally, access request, institute are sent to the terminal device State access request and be used for the terminal device when detecting that the reference duration is less than preset duration, add the mobile terminal To the access device set of the wireless network.It can be seen that ginseng of the terminal device according to needed for being transmitted message between mobile terminal Examine duration and determine whether that mobile terminal accesses, can be carried when being transmitted due to message between mobile terminal and terminal device Timestamp, therefore can obtain easily and fast with reference to duration, without extra processing, be advantageous to lifting mobile terminal and connect Enter the access speed of wireless network, in addition, packet allows mobile terminal only to have targetedly to enter with default mark The access procedure of row wireless network, without all wireless networks in periphery are scanned etc. with process, signaling consumption is reduced, Further improve wireless network access speed.
It is described that presetting message, bag are sent according to default identify to the terminal device in a possible example Include:
Presetting message is sent according to default identify to the terminal device in very first time node;
It is described according to it is described it is default identify to the terminal device send presetting message after, it is described to the terminal device Before sending access request, methods described also includes:
The response message that the presetting message is directed to from the terminal device is received in the second timing node;
Determined described to refer to duration according to the very first time node and second timing node;
Duration is referred to terminal device transmission is described.
It can be seen that in this example, determine that message passes between the terminal device and the mobile terminal by the mobile terminal Defeated required reference duration, rather than the reference duration between multiple mobile terminals is determined by terminal device, be advantageous into one The access speed of step lifting wireless network.
It is described that presetting message, bag are sent according to default identify to the terminal device in a possible example Include:
Presetting message is sent according to default identify to the terminal device in very first time node;
It is described according to it is described it is default identify to the terminal device send presetting message after, it is described to the terminal device Before sending access request, methods described also includes:
Receive the response message for the presetting message sent from the terminal device in the second timing node, institute Stating response message includes the time marking of second timing node;
Second timing node according to indicated by the very first time node and the time marking determines the ginseng Examine duration;
Duration is referred to terminal device transmission is described.
It can be seen that in this example, determine that message passes between the terminal device and the mobile terminal by the mobile terminal Defeated required reference duration, rather than determine between multiple mobile terminals by terminal device this refer to duration, be advantageous into One step lifts the access speed of wireless network, in addition, the duration between the very first time node and second timing node For one way message transmission duration, compared to round trip duration determine refer to duration by way of add with reference to duration determine Accuracy, and improve treatment effeciency.
Referring to Fig. 4, Fig. 4 is the interaction flow schematic diagram of another method for network access provided in an embodiment of the present invention, As illustrated, present networks cut-in method includes:
S401, terminal device is when opening wireless network module, packet of the broadcast with default mark;
S402, mobile terminal send default disappear in very first time node according to default identify to the terminal device Breath;
S403, the terminal device send the response message for the presetting message, the shifting to the mobile terminal The timing node that dynamic terminal receives the response message is the second timing node;
S404, the mobile terminal determine described mobile whole according to the very first time node and second timing node Reference duration between end and the terminal device needed for message transmission;
S405, the mobile terminal refer to duration to terminal device transmission is described;
S406, the mobile terminal send access request to the terminal device;
S407, whether the terminal device detection is described is less than preset duration with reference to duration;
S408, the terminal device is when detecting that the reference duration is less than preset duration, in the wireless network The mobile terminal is added in access device set.
As can be seen that in the embodiment of the present invention, terminal device is first when opening wireless network module, and broadcast is with default The packet of mark, default identify are preset for receiving the mobile terminal of the packet to terminal device transmission Message, secondly, message between the terminal device and the mobile terminal is obtained according to the presetting message and transmits required ginseng Duration is examined, again, receives the access request from the mobile terminal, when whether detecting the reference duration less than presetting Grow, finally, when detecting that the reference duration is less than the preset duration, in the access device set of the wireless network Add the mobile terminal.It can be seen that reference duration determination of the terminal device according to needed for being transmitted message between mobile terminal is No permission mobile terminal accesses, and timestamp can be carried when being transmitted due to message between mobile terminal and terminal device, therefore It can easily and fast obtain with reference to duration, without extra processing, be advantageous to lift mobile terminal access wireless network Access speed, in addition, packet allows mobile terminal only to have and targetedly carries out wireless network with default mark Access procedure, without all wireless networks in periphery are scanned etc. with process, reduce signaling consumption, further lifting Wireless network access speed.
In addition, the terminal device is according to timing node (very first time node and the second time for receiving message twice Node) the reference duration needed for message transmission between the terminal device and the mobile terminal is determined, without passing through solution Timing node during the transmission message carried in analysis message, advantageously reduce the processing delay of terminal device, lifting processing effect Rate.
It is consistent with the embodiment shown in above-mentioned Fig. 1, Fig. 2, referring to Fig. 5, Fig. 5 is one kind that the embodiment of the present application provides The structural representation of terminal device, including:Processor, memory, communication interface and one or more programs;Wherein, it is above-mentioned One or more programs are stored in above-mentioned memory, and are configured by above-mentioned computing device, and said procedure includes using In the instruction for performing following steps;
When opening wireless network module, packet of the broadcast with default mark, default identify is used to receive The mobile terminal of the packet sends presetting message to the terminal device;
Reference according to needed for the presetting message obtains message transmission between the terminal device and the mobile terminal Duration;
The access request from the mobile terminal is received, whether detection is described is less than preset duration with reference to duration;
When detecting that the reference duration is less than the preset duration, in the access device set of the wireless network Add the mobile terminal.
As can be seen that in the embodiment of the present invention, terminal device is first when opening wireless network module, and broadcast is with default The packet of mark, default identify are preset for receiving the mobile terminal of the packet to terminal device transmission Message, secondly, message between the terminal device and the mobile terminal is obtained according to the presetting message and transmits required ginseng Duration is examined, again, receives the access request from the mobile terminal, when whether detecting the reference duration less than presetting Grow, finally, when detecting that the reference duration is less than the preset duration, in the access device set of the wireless network Add the mobile terminal.It can be seen that reference duration determination of the terminal device according to needed for being transmitted message between mobile terminal is No permission mobile terminal accesses, and timestamp can be carried when being transmitted due to message between mobile terminal and terminal device, therefore It can easily and fast obtain with reference to duration, without extra processing, be advantageous to lift mobile terminal access wireless network Access speed, in addition, packet allows mobile terminal only to have and targetedly carries out wireless network with default mark Access procedure, without all wireless networks in periphery are scanned etc. with process, reduce signaling consumption, further lifting Wireless network access speed.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:Receive and The presetting message sent from the mobile terminal in very first time node;And sent to the mobile terminal for described default The response message of message;And receive and determined from the mobile terminal according to the very first time node and the second timing node It is described refer to duration, second timing node is the timing node when mobile terminal receives the response message.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:Receive and The presetting message sent from the mobile terminal in very first time node;And sent out in the second timing node to the mobile terminal The response message for the presetting message is sent, the response message includes the time marking of second timing node;And Receive from the mobile terminal according to indicated by the very first time node and the time marking described second when segmentum intercalaris The described of point determination refers to duration.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:Second Timing node receives the presetting message sent from the mobile terminal in very first time node, and the presetting message includes institute State the time marking of very first time node;And it is parallel perform the first operation and the second operation, first operation is to described Mobile terminal sends the response message for the presetting message, and second operation is according to the very first time node and institute Second timing node indicated by time marking is stated to determine described to refer to duration.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:Receive and From the presetting message of the mobile terminal;And sent in very first time node to the mobile terminal and be directed to the presetting message Response message;And receive the feedback message from the mobile terminal in the second timing node;And according to described One timing node and second timing node determine described to refer to duration.
It is consistent with the embodiment shown in above-mentioned Fig. 3, referring to Fig. 6, one kind that Fig. 6, which is the embodiment of the present application, to be provided is mobile The structural representation of terminal, including:Processor, memory, communication interface and one or more programs;Wherein, said one Or multiple programs are stored in above-mentioned memory, and it is configured by above-mentioned computing device, said procedure includes being used to hold The instruction of row following steps;
The packet from terminal device is received, the packet is the terminal device when opening wireless network module The packet with default mark of broadcast;
Presetting message is sent according to default identify to the terminal device, the presetting message is set for the terminal The standby reference duration obtained between the mobile terminal and the terminal device needed for message transmission;
Access request is sent to the terminal device, the access request is worked as the terminal device detects the ginseng When examining duration and being less than preset duration, access device set of the mobile terminal to the wireless network is added.
As can be seen that in the embodiment of the present invention, mobile terminal receives the packet from terminal device, the data first The packet with default mark broadcasted for the terminal device when opening wireless network module is wrapped, secondly, according to described Default identify to the terminal device sends presetting message, and it is described mobile whole that the presetting message is used for terminal device acquisition Reference duration between end and the terminal device needed for message transmission, finally, access request, institute are sent to the terminal device State access request and be used for the terminal device when detecting that the reference duration is less than preset duration, add the mobile terminal To the access device set of the wireless network.It can be seen that ginseng of the terminal device according to needed for being transmitted message between mobile terminal Examine duration and determine whether that mobile terminal accesses, can be carried when being transmitted due to message between mobile terminal and terminal device Timestamp, therefore can obtain easily and fast with reference to duration, without extra processing, be advantageous to lifting mobile terminal and connect Enter the access speed of wireless network, in addition, packet allows mobile terminal only to have targetedly to enter with default mark The access procedure of row wireless network, without all wireless networks in periphery are scanned etc. with process, signaling consumption is reduced, Further improve wireless network access speed.
In a possible example, presetting message side is sent according to default identify to the terminal device described Face, the instruction in said procedure are specifically used for performing following steps:Default identified in very first time node according to described to described Terminal device sends presetting message;
Above-mentioned also program includes being used for the instruction for performing following steps:It is described to be set according to default identify to the terminal After preparation send presetting message, before the transmission access request to the terminal device, receive to come in the second timing node The response message of the presetting message is directed to from the terminal device;And according to the very first time node and it is described second when Intermediate node determines described to refer to duration;And refer to duration to terminal device transmission is described.
In a possible example, presetting message side is sent according to default identify to the terminal device described Face, the instruction in said procedure are specifically used for performing following steps:Default identified in very first time node according to described to described Terminal device sends presetting message;
Above-mentioned also program includes being used for the instruction for performing following steps:It is described to be set according to default identify to the terminal After preparation send presetting message, before the transmission access request to the terminal device, reception exists from the terminal device The response message for the presetting message that second timing node is sent, the response message include second timing node Time marking;And second timing node according to indicated by the very first time node and the time marking determines It is described to refer to duration;And refer to duration to terminal device transmission is described.
It is above-mentioned that mainly the scheme of the embodiment of the present invention is described from the angle of method side implementation procedure.It is appreciated that , mobile terminal or terminal device in order to realize above-mentioned function, it comprises perform each corresponding hardware configuration of function and/ Or software module.Those skilled in the art should be readily appreciated that, respectively show with reference to what the embodiments described herein described The unit and algorithm steps of example, the present invention can be realized with the combining form of hardware or hardware and computer software.Some work( It can be performed actually in a manner of hardware or computer software driving hardware, application-specific and design depending on technical scheme Constraints.Professional and technical personnel can specifically realize described function to each using distinct methods, still This realization is it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out functional unit to mobile terminal or terminal device according to above method example and draw Point, for example, can correspond to each function divides each functional unit, two or more functions can also be integrated in one In individual processing unit.Above-mentioned integrated unit can both be realized in the form of hardware, can also use SFU software functional unit Form is realized.It should be noted that the division in the embodiment of the present invention to unit is schematical, only a kind of logic function Division, can there is other dividing mode when actually realizing.
In the case of using integrated unit, Fig. 7 shows a kind of knot for network access device that the present embodiment provides Structure schematic diagram, applied to terminal device.Network access device 700 includes:Processing unit 702 and communication unit 703.Processing unit 702 actions for being used for network access device are controlled management, for example, processing unit 702 is used to support network access device Perform Fig. 1 in step S101 to S104, Fig. 2 in step S201 to S206 and Fig. 4 in step S401, S403, S407, S408 and/or other processes for techniques described herein.Communication unit 703 is used to support network access device and other The communication of equipment, such as the communication between the mobile terminal described in above-mentioned Fig. 6.It is single that network access device can also include storage Member 701, for storing the program code and data of network access device.
Wherein, processing unit 702 can be processor or controller, such as can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), Application specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard Part part or its any combination.What it can realize or perform with reference to described by the disclosure of invention various exemplary patrols Collect square frame, module and circuit.Above-mentioned processor can also be the combination for realizing computing function, such as include one or more micro- places Manage device combination, combination of DSP and microprocessor etc..Communication unit 703 can be that transceiver, transmission circuit, intercommunication connect Mouth (COM1 between processor and peripheral hardware) etc., can include one or more interfaces.Memory cell 701 can be storage Device.
Wherein, the processing unit 702 is used for when opening wireless network module, is broadcasted by the communication unit 703 Packet with default mark, it is described default to identify for receiving the mobile terminal of the packet to the terminal device Send presetting message;And passed for obtaining message between the terminal device and the mobile terminal according to the presetting message Defeated required reference duration;And for receiving the access request from the mobile terminal by the communication unit 703, Detect whether the reference duration is less than preset duration;And detect that the duration that refers to is less than the preset duration for working as When, add the mobile terminal in the access device set of the wireless network.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:Pass through the communication unit 703 Receive the presetting message sent from the mobile terminal in very first time node;And for passing through the communication unit 703 The response message for the presetting message is sent to the mobile terminal;And for being received by the communication unit 703 From the mobile terminal according to the very first time node and the second timing node determine it is described refer to duration, described second Timing node is the timing node when mobile terminal receives the response message.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:Pass through the communication unit 703 Receive the presetting message sent from the mobile terminal in very first time node;And for passing through institute in the second timing node State communication unit 703 and the response message for being directed to the presetting message is sent to the mobile terminal, the response message includes institute State the time marking of the second timing node;And for by the communication unit 703 receive from the mobile terminal according to The described of second timing node determination indicated by the very first time node and the time marking refers to duration.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:Pass through institute in the second timing node State communication unit 703 and receive the presetting message sent from the mobile terminal in very first time node, the presetting message Include the time marking of the very first time node;And for performing the first operation and the second operation, first behaviour parallel As by the communication unit 703 to the mobile terminal send for the presetting message response message, described second Operate and determine the reference for second timing node according to indicated by the very first time node and the time marking Duration.
In a possible example, the terminal device and the movement are obtained eventually according to the presetting message described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:Pass through the communication unit 703 Receive the presetting message from the mobile terminal;And in very first time node by the communication unit 703 to institute State mobile terminal and send the response message for being directed to the presetting message;And for passing through the communication unit in the second timing node Member 703 receives the feedback message from the mobile terminal;And for according to the very first time node and described second Timing node determines described to refer to duration.
It is understood that the function of each program module of the network access device 700 of the present embodiment can be according to above-mentioned side Method specific implementation in method embodiment, its specific implementation process are referred to the associated description of above method embodiment, herein Repeat no more.
In the case of using integrated unit, Fig. 8 shows a kind of knot for network access device that the present embodiment provides Structure schematic diagram, applied to mobile terminal.Network access device 800 includes:Processing unit 802 and communication unit 803.Processing unit 802 actions for being used for network access device are controlled management, for example, processing unit 802 is used to support network access device Perform Fig. 3 in step S301 to S303 and Fig. 4 in step S402, S404, S405, S406 and/or for described herein Technology other processes.Communication unit 803 is used to supporting the communication of network access device and other equipment, for example, with above-mentioned figure The communication between terminal device described in 5.Network access device can also include memory cell 801, for storing network insertion The program code and data of device.
Wherein, processing unit 802 can be processor or controller, such as can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), Application specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard Part part or its any combination.What it can realize or perform with reference to described by the disclosure of invention various exemplary patrols Collect square frame, module and circuit.Above-mentioned processor can also be the combination for realizing computing function, such as include one or more micro- places Manage device combination, combination of DSP and microprocessor etc..Communication unit 803 can be that transceiver, transmission circuit, intercommunication connect Mouth (COM1 between processor and peripheral hardware) etc., can include one or more interfaces.Memory cell 801 can be storage Device.
Wherein, the processing unit 802 is used to receive the packet from terminal device by the communication unit 803, The packet is the packet with default mark that the terminal device is broadcasted when opening wireless network module;And use In passing through the communication unit 803 according to the default mark presetting message, the presetting message are sent to the terminal device The reference duration between the mobile terminal and the terminal device needed for message transmission is obtained for the terminal device;And For sending access request to the terminal device by the communication unit 803, the access request is set for the terminal For when detecting that the reference duration is less than preset duration, the mobile terminal is added to the access device of the wireless network Set.
In a possible example, the communication unit 803 is passed through to the end according to the default mark described In terms of end equipment sends presetting message, the processing unit 802 is specifically used for:In very first time node according to the default mark Presetting message is sent to the terminal device by the communication unit 803;
The processing unit 802 is sent according to the default mark by the communication unit 803 to the terminal device After presetting message, it is described by the communication unit 803 to the terminal device send access request before, be additionally operable to: Second timing node is received by the communication unit 803 to disappear from response of the terminal device for the presetting message Breath;And for being determined described to refer to duration according to the very first time node and second timing node;And for leading to Cross the communication unit 803 and refer to duration to terminal device transmission is described.
In a possible example, the communication unit 803 is passed through to the end according to the default mark described In terms of end equipment sends presetting message, the processing unit 802 is specifically used for:In very first time node according to the default mark Presetting message is sent to the terminal device by the communication unit 803;
The processing unit 802 is sent according to the default mark by the communication unit 803 to the terminal device After presetting message, it is described by the communication unit 803 to the terminal device send access request before, be additionally operable to:It is logical Cross the communication unit 803 and receive the sound for the presetting message sent from the terminal device in the second timing node Message is answered, the response message includes the time marking of second timing node;And for according to the very first time Second timing node indicated by point and the time marking determines described to refer to duration;And for passing through the communication Unit 803 refers to duration to terminal device transmission is described.
It is understood that the function of each program module of the network access device 800 of the present embodiment can be according to above-mentioned side Method specific implementation in method embodiment, its specific implementation process are referred to the associated description of above method embodiment, herein Repeat no more.
The embodiment of the present invention additionally provides another terminal device or mobile terminal, as shown in figure 9, for convenience of description, The part related to the embodiment of the present invention is illustrate only, particular technique details does not disclose, refer to present invention method Part.The terminal device or mobile terminal can be to include mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, The terminal device or mobile terminal are by taking mobile phone as an example:
Fig. 9 is illustrated that the part-structure of the mobile phone related to terminal device provided in an embodiment of the present invention or mobile terminal Block diagram.With reference to figure 9, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930th, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970th, the part such as processor 980 and power supply 990.It will be understood by those skilled in the art that the handset structure shown in Fig. 9 is simultaneously The restriction to mobile phone is not formed, can be included than illustrating more or less parts, either be combined some parts or different Part is arranged.
Each component parts of mobile phone is specifically introduced with reference to Fig. 9:
RF circuits 910 can be used for the reception and transmission of information.Generally, RF circuits 910 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is more Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 920 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence etc.;Storage data field can store uses created data etc. according to mobile phone.In addition, memory 920 can be included at a high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input block 930 can be used for the numeral or character information for receiving input, and produce with the user of mobile phone set with And the key signals input that function control is relevant.Specifically, input block 930 may include fingerprint sensor 931 and other inputs Equipment 932.Fingerprint sensor 931, user can be gathered in finger print data thereon.Except fingerprint sensor 931, input block 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch screen, thing Manage one kind or more in button, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Display unit 940 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 941.Although in fig.9, fingerprint sensor 931 and display screen 941 are the parts independent as two to realize mobile phone Input and input function, but in some embodiments it is possible to fingerprint sensor 931 and display screen 941 are integrated and realize hand The input of machine and playing function.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 941, proximity transducer can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions the big of (generally three axles) acceleration It is small, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 961, sound is converted to by loudspeaker 961 by road 960 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 Voice data is changed to, then after voice data playback process device 980 is handled, through RF circuits 910 to be sent to such as another mobile phone, Or voice data is played to memory 920 further to handle.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 9 is shown WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 980 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly handled with processor, modem processor mainly handles radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone also includes the power supply 990 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although being not shown, mobile phone can also include camera, bluetooth module etc., will not be repeated here.
In embodiment shown in 1~Fig. 2 of earlier figures, Fig. 3, Fig. 4, each step method flow can the structure based on the mobile phone Realize.
In embodiment shown in earlier figures 7, Fig. 8, each unit function can based on the mobile phone structure realize.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity The computer program that subdata exchanges, it is any as described in above-mentioned embodiment of the method that the computer program make it that computer performs A kind of part or all of step of method for network access, above computer include it is following any one:Terminal device, movement are eventually End.
The embodiment of the present invention also provides a kind of computer program product, and above computer program product includes storing calculating The non-transient computer-readable recording medium of machine program, above computer program are operable to make computer perform side as described above The part or all of step of any method for network access described in method embodiment, above computer include following any one Kind:Terminal device, mobile terminal.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of said units, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment above method of the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in summary, this specification content should not be construed as limiting the invention.

Claims (14)

  1. A kind of 1. method for network access, it is characterised in that applied to terminal device, including:
    When opening wireless network module, packet of the broadcast with default mark, it is described it is default identify it is described for receiving The mobile terminal of packet sends presetting message to the terminal device;
    Reference duration according to needed for the presetting message obtains message transmission between the terminal device and the mobile terminal;
    The access request from the mobile terminal is received, whether detection is described is less than preset duration with reference to duration;
    When detecting that the reference duration is less than the preset duration, added in the access device set of the wireless network The mobile terminal.
  2. 2. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the presetting message Reference duration between the mobile terminal needed for message transmission, including:
    Receive the presetting message sent from the mobile terminal in very first time node;
    The response message for the presetting message is sent to the mobile terminal;
    Receive and duration referred to according to the very first time node and the described of the second timing node determination from the mobile terminal, Second timing node is the timing node when mobile terminal receives the response message.
  3. 3. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the presetting message Reference duration between the mobile terminal needed for message transmission, including:
    Receive the presetting message sent from the mobile terminal in very first time node;
    The response message for being directed to the presetting message, the response message bag are sent to the mobile terminal in the second timing node Include the time marking of second timing node;
    Receive from the mobile terminal according to indicated by the very first time node and the time marking described second when The described of intermediate node determination refers to duration.
  4. 4. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the presetting message Reference duration between the mobile terminal needed for message transmission, including:
    The presetting message sent from the mobile terminal in very first time node is received in the second timing node, it is described default Message includes the time marking of the very first time node;
    The parallel operation of execution first and second operates, and first operation disappears to be sent to the mobile terminal for described preset The response message of breath, second operation is described second according to indicated by the very first time node and the time marking Timing node determines described to refer to duration.
  5. 5. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the presetting message Reference duration between the mobile terminal needed for message transmission, including:
    Receive the presetting message from the mobile terminal;
    The response message for being directed to the presetting message is sent to the mobile terminal in very first time node;
    The feedback message from the mobile terminal is received in the second timing node;
    Determined described to refer to duration according to the very first time node and second timing node.
  6. A kind of 6. method for network access, it is characterised in that applied to mobile terminal, including:
    The packet from terminal device is received, the packet is that the terminal device is broadcasted when opening wireless network module The packet with default mark;
    Presetting message is sent according to default identify to the terminal device, the presetting message obtains for the terminal device Take the reference duration needed for message transmission between the mobile terminal and the terminal device;
    Access request is sent to the terminal device, the access request is used for the terminal device when detecting the reference When length is less than preset duration, access device set of the mobile terminal to the wireless network is added.
  7. 7. according to the method for claim 6, it is characterised in that described to be sent out according to default identify to the terminal device Presetting message is sent, including:
    Presetting message is sent according to default identify to the terminal device in very first time node;
    It is described according to it is described it is default identify to the terminal device send presetting message after, it is described to the terminal device send Before access request, methods described also includes:
    The response message that the presetting message is directed to from the terminal device is received in the second timing node;
    Determined described to refer to duration according to the very first time node and second timing node;
    Duration is referred to terminal device transmission is described.
  8. 8. according to the method for claim 6, it is characterised in that described to be sent out according to default identify to the terminal device Presetting message is sent, including:
    Presetting message is sent according to default identify to the terminal device in very first time node;
    It is described according to it is described it is default identify to the terminal device send presetting message after, it is described to the terminal device send Before access request, methods described also includes:
    Receive the response message for the presetting message sent from the terminal device in the second timing node, the sound Message is answered to include the time marking of second timing node;
    When second timing node according to indicated by the very first time node and the time marking determines the reference It is long;
    Duration is referred to terminal device transmission is described.
  9. A kind of 9. network access device, it is characterised in that applied to terminal device, including processing unit and communication unit,
    The processing unit is used for when opening wireless network module, passes through number of the communication unit broadcast with default mark According to bag, default identify sends presetting message for receiving the mobile terminal of the packet to the terminal device;With And for according to during the required reference of message transmission between the presetting message acquisition terminal device and the mobile terminal It is long;And for receiving the access request from the mobile terminal by the communication unit, detection is described to refer to duration Whether preset duration is less than;And for when detect it is described with reference to duration be less than the preset duration when, in the wireless network The mobile terminal is added in the access device set of network.
  10. A kind of 10. network access device, it is characterised in that applied to mobile terminal, including processing unit and communication unit,
    The processing unit is used to receive the packet from terminal device by the communication unit, and the packet is described The packet with default mark that terminal device is broadcasted when opening wireless network module;And for according to the pre- bidding Know and presetting message is sent to the terminal device by the communication unit, the presetting message obtains for the terminal device Reference duration between the mobile terminal and the terminal device needed for message transmission;And for passing through the communication unit Access request is sent to the terminal device, it is described small with reference to duration when detecting that the access request is used for the terminal device When preset duration, access device set of the mobile terminal to the wireless network is added.
  11. A kind of 11. terminal device, it is characterised in that including:Processor, memory, and one or more programs;It is one Or multiple programs are stored in the memory, and it is configured to by the computing device, described program includes being used for Perform the instruction of the step in the method as described by claim any one of 1-5.
  12. A kind of 12. mobile terminal, it is characterised in that including:Processor, memory, and one or more programs;It is one Or multiple programs are stored in the memory, and it is configured to by the computing device, described program includes being used for Perform the instruction of the step in the method as described by claim any one of 6-8.
  13. A kind of 13. computer-readable recording medium, it is characterised in that the computer program for electronic data interchange is stored, its In, the computer program causes computer to perform the method as described in claim any one of 1-5, and the computer is included eventually End equipment.
  14. A kind of 14. computer-readable recording medium, it is characterised in that the computer program for electronic data interchange is stored, its In, the computer program causes computer to perform the method as described in claim any one of 6-8, and the computer includes moving Dynamic terminal.
CN201710826268.4A 2017-09-13 2017-09-13 Network access method and related product Active CN107580358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710826268.4A CN107580358B (en) 2017-09-13 2017-09-13 Network access method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710826268.4A CN107580358B (en) 2017-09-13 2017-09-13 Network access method and related product

Publications (2)

Publication Number Publication Date
CN107580358A true CN107580358A (en) 2018-01-12
CN107580358B CN107580358B (en) 2021-02-09

Family

ID=61033253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710826268.4A Active CN107580358B (en) 2017-09-13 2017-09-13 Network access method and related product

Country Status (1)

Country Link
CN (1) CN107580358B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637151A (en) * 2020-12-11 2021-04-09 深圳市英威腾电气股份有限公司 Data message transmission method, terminal device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813414A (en) * 2012-11-15 2014-05-21 中兴通讯股份有限公司 Mobile terminal Wi-Fi application and control method and mobile terminal
WO2014198084A1 (en) * 2013-06-09 2014-12-18 中兴通讯股份有限公司 Wifi module activation method, system and mobile terminal
CN106162804A (en) * 2016-06-24 2016-11-23 上海连尚网络科技有限公司 For providing the method and apparatus of the access information of wireless access focus
CN106714207A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Information processing method and terminal device
CN106792819A (en) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 A kind of method and device of the power consumption for reducing mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103813414A (en) * 2012-11-15 2014-05-21 中兴通讯股份有限公司 Mobile terminal Wi-Fi application and control method and mobile terminal
WO2014198084A1 (en) * 2013-06-09 2014-12-18 中兴通讯股份有限公司 Wifi module activation method, system and mobile terminal
CN106162804A (en) * 2016-06-24 2016-11-23 上海连尚网络科技有限公司 For providing the method and apparatus of the access information of wireless access focus
CN106714207A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Information processing method and terminal device
CN106792819A (en) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 A kind of method and device of the power consumption for reducing mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637151A (en) * 2020-12-11 2021-04-09 深圳市英威腾电气股份有限公司 Data message transmission method, terminal device, server and storage medium

Also Published As

Publication number Publication date
CN107580358B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN107146616A (en) Apparatus control method and Related product
CN104135501A (en) Page sharing method, device and system
CN106302808A (en) Data transmission method and mobile terminal
CN107277230A (en) The voice broadcast method and Related product of message
CN107071147A (en) A kind of parameter regulation means and equipment
CN106507482A (en) A kind of network locating method and terminal device
CN106603740B (en) It is connected to the network abnormal processing method and terminal device
CN106658623A (en) Hotspot network switching method and terminal equipment
CN106793010B (en) Network access method and equipment
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN106445457A (en) Headphone sound channel switching method and device
CN109922504A (en) Data distribution method and Related product
CN107682825A (en) Scan frequency control method and Related product
CN107454640A (en) Network insertion switching method and Related product
CN107197100A (en) Method for processing message of incoming call and Related product
CN107256383B (en) Fingerprint acquisition method and device, related terminal equipment and readable storage medium
CN106413032A (en) Hotspot establishing method and terminal equipment
CN107466015A (en) Access control method and Related product
CN106713648B (en) A kind of communication means and mobile terminal
CN109189538A (en) Method and device for sending directional red packet
CN107659976A (en) Method for network access and Related product
CN107708071A (en) Transmission power control method and related product
CN107172289A (en) The quick method and Related product for searching application
CN106714279A (en) Hot spot network switching method and terminal equipment
CN106131892A (en) The control method of network insertion and equipment

Legal Events

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