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

Method for network access and Related product Download PDF

Info

Publication number
CN107659976A
CN107659976A CN201710826269.9A CN201710826269A CN107659976A CN 107659976 A CN107659976 A CN 107659976A CN 201710826269 A CN201710826269 A CN 201710826269A CN 107659976 A CN107659976 A CN 107659976A
Authority
CN
China
Prior art keywords
terminal device
mobile terminal
message
terminal
duration
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
CN201710826269.9A
Other languages
Chinese (zh)
Other versions
CN107659976B (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 CN201710826269.9A priority Critical patent/CN107659976B/en
Publication of CN107659976A publication Critical patent/CN107659976A/en
Application granted granted Critical
Publication of CN107659976B publication Critical patent/CN107659976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method for network access and Related product, including:The packet from terminal device is received, the packet is the packet with default mark that the terminal device is broadcasted when opening wireless network module;Reference duration according to needed for the default mark obtains message transmission between the terminal device and the mobile terminal;When detecting that the reference duration is less than preset duration, access request is sent to the terminal device, the access request is used for the access device set that the mobile terminal is added to the wireless network by the terminal device.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 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;
Reference according to needed for the default mark obtains message transmission between the terminal device and the mobile terminal Duration;
When detecting that the reference duration is less than preset duration, access request is sent to the terminal device, it is described to connect Enter request and be used for the access device set that the mobile terminal is added to the wireless network by the terminal device.
Second 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 Reference duration described in the acquisition for mobile terminal of the packet between terminal device and the mobile terminal needed for message transmission;
The access request from the mobile terminal is received, the access request is the mobile terminal detecting State the request message sent when being less than preset duration with reference to duration to the terminal device;
The mobile terminal is added in the access device set of the wireless network.
The third 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 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 terminal device, 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 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 first aspect either method of the embodiment of the present invention.
6th 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 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 Mobile terminal.
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 Terminal device.
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 mobile terminal.
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 terminal device.
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 mark obtains the reference duration needed for message transmission between the terminal device and the mobile terminal, finally, works as detection When being less than preset duration to the reference duration, access request is sent to the terminal device, the access request is used for described The mobile terminal is added to the access device set of the wireless network by terminal device.It can be seen that mobile terminal according to end Reference duration between end equipment needed for message transmission determines whether to ask access terminal equipment, when larger with reference to duration When just without the operation of request access, reduce unnecessary signaling consumption, because message is set in mobile terminal and terminal Timestamp can be carried when being transmitted between standby, therefore can be obtained easily and fast with reference to duration, without extra processing, Be advantageous to be lifted the access speed of mobile terminal access wireless network, in addition, packet makes mobile terminal can with default mark Only to have the access procedure for targetedly carrying out wireless network, without being scanned to all wireless networks in periphery Process, signaling consumption is reduced, further improves 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 interaction flow schematic diagram of another method for network access disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of terminal device 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.
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.
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.
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 Mobile terminal, as illustrated, present networks cut-in method includes:
S101, 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;
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 and the name identification of the wireless network, the quick connection identifier are used to show that the terminal device support is quick without password Connection, after the mobile terminal receives the packet with default mark, the mobile terminal is recognized that described Wireless network module allows quickly to connect without password.
S102, the mobile terminal obtains according to the default mark to disappear between the terminal device and the mobile terminal Reference duration needed for breath transmission;
Wherein, the name identification in the default mark is directed to for the mobile terminal according to the name identification Property send presetting message, and the wireless network module on all peripheries of Non-scanning mode to the wireless network module.
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 mobile terminal determines or the terminal device determines, This does not do unique restriction, when when the reference, a length of terminal device determines, when the terminal device is by the reference of determination Length is sent to the mobile terminal.
S103, the mobile terminal are sent out when detecting that the reference duration is less than preset duration to the terminal device Access request is sent, the access request is used for the access that the mobile terminal is added to the wireless network by the terminal device Cluster tool.
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.
Wherein, when detect it is described be more than the preset duration with reference to duration when, the mobile terminal will not be independently to The terminal device sends access request, reduces the processing work of the terminal device.
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 mark obtains the reference duration needed for message transmission between the terminal device and the mobile terminal, finally, works as detection When being less than preset duration to the reference duration, access request is sent to the terminal device, the access request is used for described The mobile terminal is added to the access device set of the wireless network by terminal device.It can be seen that mobile terminal according to end Reference duration between end equipment needed for message transmission determines whether to ask access terminal equipment, when larger with reference to duration When just without the operation of request access, reduce unnecessary signaling consumption, because message is set in mobile terminal and terminal Timestamp can be carried when being transmitted between standby, therefore can be obtained easily and fast with reference to duration, without extra processing, Be advantageous to be lifted the access speed of mobile terminal access wireless network, in addition, packet makes mobile terminal can with default mark Only to have the access procedure for targetedly carrying out wireless network, without being scanned to all wireless networks in periphery Process, signaling consumption is reduced, further improves wireless network access speed.
Wherein, the mobile terminal is obtained according to the default mark and disappeared between the terminal device and the mobile terminal The mode of reference duration needed for breath transmission 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 default mark Defeated required reference duration, including:
Presetting message is sent according to default identify to the terminal device in very first time node;
The response message that the presetting message is directed to from the terminal device is received in the second timing node;
The terminal device and the mobile terminal are determined according to the very first time node and second timing node Between message transmission needed for reference duration.
Wherein, the terminal device is after the presetting message is received, and before sending the response message, can exist Some handle operation, but the time required for these processing operations is smaller compared to for the reference duration, 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)/2 when transmitting required reference.
It can be seen that in this example, determine to disappear between the terminal device and the mobile terminal in itself by the mobile terminal Reference duration needed for breath transmission, rather than the reference duration between each mobile terminal is determined by terminal device, be advantageous to Further lift the access speed of wireless network.
Again for example, it is described that message between the terminal device and the mobile terminal is obtained according to the default mark Reference duration needed for transmission, including:
Presetting message is sent according to default identify to the terminal device in very first time node;
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 end Reference duration between end equipment and the mobile terminal needed for message transmission.
Wherein, the mobile terminal is set in the presetting message that very first time node is sent with the reception from the terminal Duration between the standby response message sent in the second timing node is minimum, therefore, if the very first time node is t1, Second timing node is t2, then between the terminal device and the mobile terminal message transmission needed for reference when it is a length of t2-t1。
It can be seen that in this example, determine to disappear between the terminal device and the mobile terminal in itself by the mobile terminal Reference duration needed for breath transmission, rather than the reference duration between each mobile terminal is determined by terminal device, be advantageous to Further lifted wireless network access speed, in addition, between the very first time node and second timing node when Reference the duration of a length of one way message transmission, determined compared to round trip duration with reference to being added by way of duration with reference to duration The accuracy of determination, 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 default mark Reference duration needed for transmission, including:
Presetting message, the presetting message are sent according to default identify to the terminal device in very first time node Include the time marking of the very first time node, the timing node that the terminal device receives the presetting message is second Timing node;
Parallel to perform the first operation and the second operation, first operation comes from the terminal device for described to receive The response message of presetting message, second operation are the terminal device of the reception from the terminal device and the movement Reference duration between terminal needed for message transmission, a length of terminal device is according to the very first time node during reference The reference duration determined with second timing node.
Wherein, the message transmission between the mobile terminal and the terminal device can be dual-channel transmission, therefore institute Two message that the terminal device is sent can be received parallel by stating mobile terminal.
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.
Wherein, the response message is the terminal device to inform the mobile terminal, it now is possible to sends access Request, perform access processing operation.
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 mobile terminal.
Again for example, it is described that message between the terminal device and the mobile terminal is obtained according to the default mark Reference duration needed for transmission, including:
Presetting message is sent according to default identify to the terminal device;
Receive the response message for the presetting message sent from the terminal device in very first time node;
The feedback message for the response message is sent to the terminal device, the terminal device receives described anti- The timing node for presenting message is the second timing node;
Receive the ginseng needed for message transmission between the terminal device and the mobile terminal from the terminal device Examine duration, a length of terminal device determines according to the very first time node and second timing node during reference Time parameter.
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 timing node is the terminal device according to the timing node for receiving message twice The reference duration that (very first time node and the second timing node) determines, the transmission without being carried by parsing in message should Timing node during message, the processing delay of wireless network access is advantageously reduced, lift 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 mobile terminal, as illustrated, present networks cut-in method includes:
S201, 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;
S202, the mobile terminal are preset in very first time node according to default identify to terminal device transmission Message;
S203, the mobile terminal receive in the second timing node and are directed to the presetting message from the terminal device Response message;
S204, the mobile terminal determine that the terminal is set according to the very first time node and second timing node Reference duration between standby and described mobile terminal needed for message transmission;
S205, the mobile terminal are sent out when detecting that the reference duration is less than preset duration to the terminal device Access request is sent, the access request is used for the access that the mobile terminal is added to the wireless network by the terminal device Cluster tool.
Wherein, above-mentioned S201, S205 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, 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 mark obtains the reference duration needed for message transmission between the terminal device and the mobile terminal, finally, works as detection When being less than preset duration to the reference duration, access request is sent to the terminal device, the access request is used for described The mobile terminal is added to the access device set of the wireless network by terminal device.It can be seen that mobile terminal according to end Reference duration between end equipment needed for message transmission determines whether to ask access terminal equipment, when larger with reference to duration When just without the operation of request access, reduce unnecessary signaling consumption, because message is set in mobile terminal and terminal Timestamp can be carried when being transmitted between standby, therefore can be obtained easily and fast with reference to duration, without extra processing, Be advantageous to be lifted the access speed of mobile terminal access wireless network, in addition, packet makes mobile terminal can with default mark Only to have the access procedure for targetedly carrying out wireless network, without being scanned to all wireless networks in periphery Process, signaling consumption is reduced, further improves wireless network access speed.
In addition, as needed for the mobile terminal determines message transmission between the terminal device and the mobile terminal in itself Reference duration, rather than the reference duration between each mobile terminal is determined by terminal device, is advantageous to further be lifted The access speed of wireless 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 Terminal device, as illustrated, present networks cut-in method includes:
S301, terminal device is when opening wireless network module, packet of the broadcast with default mark, the pre- bidding Know for receive the packet acquisition for mobile terminal described between terminal device and the mobile terminal message transmit institute The reference duration needed;
S302, the terminal device receive the access request from the mobile terminal, and the access request is described Mobile terminal detect it is described be less than preset duration with reference to duration when to the terminal device send request message;
S303, the terminal device add the mobile terminal in the access device set of the wireless network.
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, it is described it is default identify for receive the packet acquisition for mobile terminal described in terminal device and described Reference duration between mobile terminal needed for message transmission, secondly, receives the access request from the mobile terminal, described Access request be the mobile terminal detect it is described be less than preset duration with reference to duration when to the terminal device transmission Request message, finally, the mobile terminal is added in the access device set of the wireless network.It can be seen that terminal device exists Mobile terminal detects just meeting when the reference duration between terminal device and mobile terminal needed for message transmission is less than preset duration Access request is received, would not be reduced unnecessary signaling consumption by access request when reference duration is larger And the processing operation of terminal device is reduced, being additionally, since can band when message is transmitted between mobile terminal and terminal device Having time is stabbed, therefore can be obtained easily and fast with reference to duration, without extra processing, is advantageous to lift mobile terminal The access speed of wireless network is accessed, in addition, packet allows mobile terminal only to have targetedly with default mark The access procedure of wireless network is carried out, without all wireless networks in periphery are scanned etc. with process, signaling are reduced and disappears Consumption, further improves wireless network access speed.
It is described to receive from institute after packet of the broadcast with default mark in a possible example Before the access request for stating mobile terminal, methods described also includes:
The presetting message sent from the mobile terminal in very first time node is received in the second timing node, it is described pre- If 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 determining the very first time node and second timing node Reference duration between terminal device and the mobile terminal needed for message transmission, and send the reference to the mobile terminal Duration.
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 access wireless network.
It is described to receive from institute after packet of the broadcast with default mark in a possible example Before the access request for stating mobile terminal, methods described also includes:
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 that the response message is directed to from the mobile terminal is received in the second timing node;
The terminal device and the mobile terminal are determined according to the very first time node and second timing node Between message transmission needed for reference duration;
Duration is referred to mobile terminal transmission is described.
It can be seen that in this example, the timing node is the terminal device according to the timing node for receiving message twice The reference duration that (very first time node and the second timing node) determines, the transmission without being carried by parsing in message should Timing node during message, the processing delay of wireless network access is advantageously reduced, lift 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, the mobile terminal send presetting message according to default identify to the terminal device;
S403, the terminal device send the sound for being directed to the presetting message in very first time node to the mobile terminal Answer message;
S404, the mobile terminal send the feedback message for the response message, the end to the terminal device The timing node that end equipment receives the feedback message is the second timing node;
S405, the terminal device determine that the terminal is set according to the very first time node and second timing node Reference duration between standby and described mobile terminal needed for message transmission;
S406, the terminal device refer to duration to mobile terminal transmission is described;
S407, the mobile terminal are sent out when detecting that the reference duration is less than preset duration to the terminal device Access request is sent, the access request is used for the access that the mobile terminal is added to the wireless network by the terminal device Cluster tool.
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 mark obtains the reference duration needed for message transmission between the terminal device and the mobile terminal, finally, works as detection When being less than preset duration to the reference duration, access request is sent to the terminal device, the access request is used for described The mobile terminal is added to the access device set of the wireless network by terminal device.It can be seen that mobile terminal according to end Reference duration between end equipment needed for message transmission determines whether to ask access terminal equipment, when being grown up when reference Wait just without the operation of request access, reduce unnecessary signaling consumption, because message is in mobile terminal and terminal device Between can carry timestamp when transmitting, therefore can easily and fast obtain with reference to duration, without extra processing, have Beneficial to the access speed of lifting mobile terminal access wireless network, in addition, packet with default mark, makes mobile terminal can be with Only there is the access procedure for targetedly carrying out wireless network, waited without being scanned to all wireless networks in periphery Journey, signaling consumption is reduced, further improves wireless network access speed.
In addition, the timing node be the terminal device according to the timing node (very first time for receiving message twice Node and the second timing node) determine reference duration, without carried by parsing in message transmission the message when Timing node, the processing delay of wireless network access is advantageously reduced, lift treatment effeciency.
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 mobile terminal, 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;
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;
Reference according to needed for the default mark obtains message transmission between the terminal device and the mobile terminal Duration;
When detecting that the reference duration is less than preset duration, access request is sent to the terminal device, it is described to connect Enter request and be used for the access device set that the mobile terminal is added to the wireless network by the terminal device.
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 mark obtains the reference duration needed for message transmission between the terminal device and the mobile terminal, finally, works as detection When being less than preset duration to the reference duration, access request is sent to the terminal device, the access request is used for described The mobile terminal is added to the access device set of the wireless network by terminal device.It can be seen that mobile terminal according to end Reference duration between end equipment needed for message transmission determines whether to ask access terminal equipment, when larger with reference to duration When just without the operation of request access, reduce unnecessary signaling consumption, because message is set in mobile terminal and terminal Timestamp can be carried when being transmitted between standby, therefore can be obtained easily and fast with reference to duration, without extra processing, Be advantageous to be lifted the access speed of mobile terminal access wireless network, in addition, packet makes mobile terminal can with default mark Only to have the access procedure for targetedly carrying out wireless network, without being scanned to all wireless networks in periphery Process, signaling consumption is reduced, further improves wireless network access speed.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:First Timing node sends presetting message according to default identify to the terminal device;And 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 the reference duration needed for message transmission between the terminal device and the mobile terminal.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:First Timing node sends presetting message according to default identify to the terminal device;And receive and exist 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 Reference duration between the terminal device and the mobile terminal needed for message transmission.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:First Timing node sends presetting message according to default identify to the terminal device, when the presetting message includes described first The time marking of intermediate node, the timing node that the terminal device receives the presetting message are the second timing node;And Parallel to perform the first operation and the second operation, first operation is directed to the presetting message to receive from the terminal device Response message, second operation is receives between the terminal device from the terminal device and the mobile terminal Reference duration needed for message transmission, a length of terminal device is according to the very first time node and described the during the reference The reference duration that two timing nodes determine.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side, the instruction in said procedure are specifically used for performing following steps during reference needed for message transmission between end:According to institute State default mark and send presetting message to the terminal device;And receive and sent out from the terminal device in very first time node The response message for the presetting message sent;And disappear to terminal device transmission for the feedback of the response message Breath, the timing node that the terminal device receives the feedback message is the second timing node;And receive and come from the end Reference duration between the terminal device and the mobile terminal of end equipment needed for message transmission, a length of institute during the reference State the time parameter that terminal device determines according to the very first time node and second timing node.
It is consistent with the embodiment shown in above-mentioned Fig. 3, referring to Fig. 6, Fig. 6 is a kind of terminal that the embodiment of the present application provides The structural representation of equipment, 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;
When opening wireless network module, packet of the broadcast with default mark, default identify is used to receive Reference duration described in the acquisition for mobile terminal of the packet between terminal device and the mobile terminal needed for message transmission;
The access request from the mobile terminal is received, the access request is the mobile terminal detecting State the request message sent when being less than preset duration with reference to duration to the terminal device;
The mobile terminal is added in the access device set of the wireless network.
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, it is described it is default identify for receive the packet acquisition for mobile terminal described in terminal device and described Reference duration between mobile terminal needed for message transmission, secondly, receives the access request from the mobile terminal, described Access request be the mobile terminal detect it is described be less than preset duration with reference to duration when to the terminal device transmission Request message, finally, the mobile terminal is added in the access device set of the wireless network.It can be seen that terminal device exists Mobile terminal detects just meeting when the reference duration between terminal device and mobile terminal needed for message transmission is less than preset duration Access request is received, would not be reduced unnecessary signaling consumption by access request when reference duration is larger And the processing operation of terminal device is reduced, being additionally, since can band when message is transmitted between mobile terminal and terminal device Having time is stabbed, therefore can be obtained easily and fast with reference to duration, without extra processing, is advantageous to lift mobile terminal The access speed of wireless network is accessed, in addition, packet allows mobile terminal only to have targetedly with default mark The access procedure of wireless network is carried out, without all wireless networks in periphery are scanned etc. with process, signaling are reduced and disappears Consumption, further improves wireless network access speed.
In a possible example, said procedure includes being additionally operable to the instruction for performing following steps:The broadcast carries After the packet of default mark, it is described receive the access request from the mobile terminal before, in the second timing node The presetting message sent from the mobile terminal in very first time node is received, the presetting message includes the very first time The time marking of node;And the operation of execution first and the second operation parallel, described first operates to be sent out to the mobile terminal The response message for the presetting message is sent, second operation is according to the very first time node and second time Node determines the reference duration needed for the transmission of message between the terminal device and the mobile terminal, and to the mobile terminal Send and described refer to duration.
In a possible example, said procedure includes being additionally operable to the instruction for performing following steps:The broadcast carries After the packet of default mark, it is described receive the access request from the mobile terminal before, reception comes from the shifting The presetting message of dynamic terminal;And disappear in very first time node to mobile terminal transmission for the response of the presetting message Breath;And the feedback message that the response message is directed to from the mobile terminal is received in the second timing node;And according to The very first time node and second timing node determine that message is transmitted between the terminal device and the mobile terminal Required reference duration;And refer to duration to mobile terminal 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 mobile terminal.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 step S402, S404, S407 in the step S201 to S205 and Fig. 4 in the step S101 to S103, Fig. 2 in Fig. 1 And/or other processes for techniques described herein.Communication unit 703 is used to support network access device and other equipment Communication, such as the communication between the terminal device described in above-mentioned Fig. 6.Network access device can also include memory cell 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 to receive the packet from terminal device by the communication unit 703, The packet is the packet with default mark that the terminal device is broadcasted when opening wireless network module;And use Required reference duration is transmitted in obtaining message between the terminal device and the mobile terminal according to the default mark;With And for when detecting that the reference duration is less than preset duration, being sent out by the communication unit 703 to the terminal device Access request is sent, the access request is used for the access that the mobile terminal is added to the wireless network by the terminal device Cluster tool.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:In very first time node according to institute State default mark and presetting message is sent to the terminal device by the communication unit 703;And for the segmentum intercalaris at second Point receives the response message that the presetting message is directed to from the terminal device by the communication unit 703;And use Determine to disappear between the terminal device and the mobile terminal according to the very first time node and second timing node Reference duration needed for breath transmission.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:In very first time node according to institute State default mark and presetting message is sent to the terminal device by the communication unit 703;And for passing through the communication Unit 703 receives 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;And for according to the very first time node and it is described when Between identify indicated second timing node and determine between the terminal device and the mobile terminal needed for message transmission Reference duration.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:In very first time node according to institute State default mark and presetting message is sent to the terminal device by the communication unit 703, the presetting message includes described The time marking of very first time node, the segmentum intercalaris when timing node that the terminal device receives the presetting message is second Point;And for parallel perform first operation and second operation, it is described first operation be by the communication unit 703 receive come The response message of the presetting message is directed to from the terminal device, second operation is to be connect by the communication unit 703 The reference duration needed for message transmission between the terminal device and the mobile terminal from the terminal device is received, it is described With reference to when the reference duration that is determined according to the very first time node and second timing node of a length of terminal device.
In a possible example, the terminal device and the movement are obtained eventually according to the default mark described Long side when message transmits required reference between end, the processing unit 702 are specifically used for:Passed through according to the default mark The communication unit 703 sends presetting message to the terminal device;And come from for being received by the communication unit 703 The response message for the presetting message that the terminal device is sent in very first time node;And for by described logical Believe that unit 703 sends the feedback message for the response message to the terminal device, the terminal device receives described The timing node of feedback message is the second timing node;And come from the terminal for being received by the communication unit 703 Reference duration between the terminal device and the mobile terminal of equipment needed for message transmission, it is a length of during the reference described in The time parameter that terminal device determines according to the very first time node and second timing node.
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 terminal device.Network access device 800 includes:Processing unit 802 and communication unit 803.Processing unit 802 actions being used for network access device are controlled management, such as processing unit 802 is used to support network access device to hold Step S401, S403, S405, S406 in step S301 to S303 and Fig. 4 in row Fig. 3 and/or for described herein Other processes of technology.Communication unit 803 is used to supporting the communication of network access device and other equipment, for example, with above-mentioned Fig. 6 Communication between described mobile terminal.Network access device can also include memory cell 801, for storing network insertion dress The program code and data put.
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 for when opening wireless network module, is broadcasted by the communication unit 803 Packet with default mark, it is described it is default identify for receive the packet acquisition for mobile terminal described in terminal set Reference duration between standby and described mobile terminal needed for message transmission;And for being received by the communication unit 803 Access request from the mobile terminal, the access request, which is the mobile terminal, to be less than with reference to duration detecting described The request message sent during preset duration to the terminal device;And in the access device set of the wireless network Add the mobile terminal.
In a possible example, the processing unit 802 is by the communication unit 803 broadcast with default mark Packet after, it is described the access request from the mobile terminal is received by the communication unit 803 before, also use In:Receive what is sent from the mobile terminal in very first time node by the communication unit 803 in the second timing node Presetting message, the presetting message include the time marking of the very first time node;And for performing the first operation parallel Operated with second, first operation is to send to disappear for described preset to the mobile terminal by the communication unit 803 The response message of breath, second operation is to determine the terminal according to the very first time node and second timing node Reference duration between equipment and the mobile terminal needed for message transmission, and to during the mobile terminal transmission reference It is long.
In a possible example, the processing unit 802 is by the communication unit 803 broadcast with default mark Packet after, it is described the access request from the mobile terminal is received by the communication unit 803 before, also use In:Presetting message from the mobile terminal is received by the communication unit 803;And for leading in very first time node Cross the communication unit 803 and the response message for being directed to the presetting message is sent to the mobile terminal;And for second Timing node receives the feedback message that the response message is directed to from the mobile terminal by the communication unit 803;With And for according to the very first time node and second timing node determine the terminal device and the mobile terminal it Between message transmission needed for reference duration;And for sending the ginseng to the mobile terminal by the communication unit 803 Examine duration.
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:Mobile terminal, terminal are set It is standby.
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:Mobile terminal, terminal device.
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 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;
    Reference duration according to needed for the default mark obtains message transmission between the terminal device and the mobile terminal;
    When detecting that the reference duration is less than preset duration, access request is sent to the terminal device, the access please Ask the access device set that the mobile terminal is added to the wireless network for the terminal device.
  2. 2. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the default mark Reference duration between the mobile terminal needed for message transmission, including:
    Presetting message is sent according to default identify to the terminal device in very first time node;
    The response message that the presetting message is directed to from the terminal device is received in the second timing node;
    Determined according to the very first time node and second timing node between the terminal device and the mobile terminal Reference duration needed for message transmission.
  3. 3. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the default mark Reference duration between the mobile terminal needed for message transmission, including:
    Presetting message is sent according to default identify to the terminal device in very first time node;
    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;
    Second timing node according to indicated by the very first time node and the time marking determines that the terminal is set Reference duration between standby and described mobile terminal needed for message transmission.
  4. 4. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the default mark Reference duration between the mobile terminal needed for message transmission, including:
    Presetting message is sent according to default identify to the terminal device in very first time node, the presetting message includes The time marking of the very first time node, the timing node that the terminal device receives the presetting message were the second time Node;
    Parallel to perform the first operation and the second operation, first operation comes from the terminal device for described default to receive The response message of message, second operation are the terminal device of the reception from the terminal device and the mobile terminal Between reference duration needed for message transmission, a length of terminal device is according to the very first time node and institute during the reference State the reference duration of the second timing node determination.
  5. 5. according to the method for claim 1, it is characterised in that described that the terminal device is obtained according to the default mark Reference duration between the mobile terminal needed for message transmission, including:
    Presetting message is sent according to default identify to the terminal device;
    Receive the response message for the presetting message sent from the terminal device in very first time node;
    The feedback message for the response message is sent to the terminal device, the terminal device receives the feedback and disappeared The timing node of breath is the second timing node;
    When message transmits required reference between the terminal device and the mobile terminal of the reception from the terminal device Time long, that a length of terminal device determines according to the very first time node and second timing node during reference Parameter.
  6. A kind of 6. 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 Reference duration described in the acquisition for mobile terminal of packet between terminal device and the mobile terminal needed for message transmission;
    The access request from the mobile terminal is received, the access request is that the mobile terminal is detecting the ginseng Examine duration and be less than the request message sent during preset duration to the terminal device;
    The mobile terminal is added in the access device set of the wireless network.
  7. 7. according to the method for claim 6, it is characterised in that after packet of the broadcast with default mark, institute State before receiving the access request from the mobile terminal, methods described also includes:
    The presetting message sent from the mobile terminal in very first time node is received in the second timing node, described preset disappears Breath 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 to determine the terminal according to the very first time node and second timing node Reference duration between equipment and the mobile terminal needed for message transmission, and to during the mobile terminal transmission reference It is long.
  8. 8. according to the method for claim 6, it is characterised in that after packet of the broadcast with default mark, institute State before receiving the access request from the mobile terminal, methods described also includes:
    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 that the response message is directed to from the mobile terminal is received in the second timing node;
    Determined according to the very first time node and second timing node between the terminal device and the mobile terminal Reference duration needed for message transmission;
    Duration is referred to mobile terminal transmission is described.
  9. A kind of 9. 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 the reference duration that message transmission is required between the terminal device and the mobile terminal is obtained by the communication unit;With And for when detecting that the reference duration is less than preset duration, access request, the access to be sent to the terminal device Ask the access device set by the mobile terminal added to the wireless network for the terminal device.
  10. A kind of 10. 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, it is described it is default identify for receive the packet acquisition for mobile terminal described in terminal device and the mobile terminal Between message transmission needed for reference duration;And for receiving connecing from the mobile terminal by the communication unit Enter request, the access request is that the mobile terminal is detecting described refer to when duration is less than preset duration to the terminal The request message that equipment is sent;And for adding the mobile terminal in the access device set of the wireless network.
  11. A kind of 11. 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 1-5.
  12. A kind of 12. 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 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 includes moving Dynamic terminal.
  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 is included eventually End equipment.
CN201710826269.9A 2017-09-13 2017-09-13 Network access method and related product Active CN107659976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710826269.9A CN107659976B (en) 2017-09-13 2017-09-13 Network access method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710826269.9A CN107659976B (en) 2017-09-13 2017-09-13 Network access method and related product

Publications (2)

Publication Number Publication Date
CN107659976A true CN107659976A (en) 2018-02-02
CN107659976B CN107659976B (en) 2020-08-04

Family

ID=61129748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710826269.9A Active CN107659976B (en) 2017-09-13 2017-09-13 Network access method and related product

Country Status (1)

Country Link
CN (1) CN107659976B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616648A (en) * 2018-03-15 2018-10-02 维沃移动通信有限公司 A kind of equipment room relation establishing method and mobile terminal
CN110475280A (en) * 2018-05-11 2019-11-19 华为技术有限公司 Communication means and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110255524A1 (en) * 2010-04-20 2011-10-20 Chi Mei Communication Systems, Inc. Method and device for wireless access location
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
CN106507447A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 A kind of Wi Fi hotspot connection methods and mobile terminal
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110255524A1 (en) * 2010-04-20 2011-10-20 Chi Mei Communication Systems, Inc. Method and device for wireless access location
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
CN106507447A (en) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 A kind of Wi Fi hotspot connection methods and mobile terminal
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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616648A (en) * 2018-03-15 2018-10-02 维沃移动通信有限公司 A kind of equipment room relation establishing method and mobile terminal
CN110475280A (en) * 2018-05-11 2019-11-19 华为技术有限公司 Communication means and device

Also Published As

Publication number Publication date
CN107659976B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
CN107146616A (en) Apparatus control method and Related product
CN106302808A (en) Data transmission method and mobile terminal
CN106817540A (en) A kind of camera control method and equipment
CN106507482A (en) A kind of network locating method and terminal device
CN106445457A (en) Headphone sound channel switching method and device
CN106658623A (en) Hotspot network switching method and terminal equipment
CN106603740B (en) It is connected to the network abnormal processing method and terminal device
CN106484326A (en) A kind of data transmission processing method and mobile terminal
CN109922504A (en) Data distribution method and Related product
CN107682825A (en) Scan frequency control method and Related product
CN107197100A (en) Method for processing message of incoming call and Related product
CN106413032A (en) Hotspot establishing method and terminal equipment
CN106793010A (en) A kind of method for network access and equipment
CN106454975A (en) Hotspot network switching method and terminal equipment
CN107466015A (en) Access control method and Related product
CN106506296A (en) A kind of control method of smart machine and control system
CN107659976A (en) Method for network access and Related product
CN106713648B (en) A kind of communication means and mobile terminal
CN107708071A (en) Transmission power control method and related product
CN107172289A (en) The quick method and Related product for searching application
CN107635277A (en) The power saving management method and internet-of-things terminal equipment of a kind of internet-of-things terminal equipment
CN107277786A (en) SMS processing and Related product
CN106714279A (en) Hot spot network switching method and terminal equipment
CN106358318A (en) Hotspot building 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