CN105376724B - Communication processing method and equipment - Google Patents

Communication processing method and equipment Download PDF

Info

Publication number
CN105376724B
CN105376724B CN201510794659.3A CN201510794659A CN105376724B CN 105376724 B CN105376724 B CN 105376724B CN 201510794659 A CN201510794659 A CN 201510794659A CN 105376724 B CN105376724 B CN 105376724B
Authority
CN
China
Prior art keywords
equipment
channel
sequence
duration
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510794659.3A
Other languages
Chinese (zh)
Other versions
CN105376724A (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.)
Bird Innovation Beijing Technology Co ltd
Original Assignee
Beijing Xiaoniao Tingting 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 Beijing Xiaoniao Tingting Technology Co Ltd filed Critical Beijing Xiaoniao Tingting Technology Co Ltd
Priority to CN201510794659.3A priority Critical patent/CN105376724B/en
Publication of CN105376724A publication Critical patent/CN105376724A/en
Application granted granted Critical
Publication of CN105376724B publication Critical patent/CN105376724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

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

Abstract

The present invention discloses a kind of communication processing method and equipment;Method includes: that the switching of the first equipment executes the broadcast operation at least based on particular channel and the snoop-operations based on particular channel and alternate channel;Wherein, it executes in the broadcast operation based on particular channel, the handshaking information of the condition code of the first equipment is at least carried in particular channel broadcast, condition code, which is used to determine at least one second equipment, sends reversed handshaking information when the first equipment and the second equipment are same category of device, and reversed handshaking information at least carries the condition code of the second equipment;When obtaining the reversed handshaking information of the second equipment transmission based on snoop-operations, whether same category of device is belonged to the second equipment based on the condition code determination of the second equipment.Implement the present invention, it can be realized the automatic discovery between same category of device, network is formed to quickly form connection between devices, and equipment and third party's access point apparatus in network is supported to establish connection, with the transmitted data on network for using third party's access point apparatus to belong to.

Description

Communication processing method and equipment
Technical field
The present invention relates to the discovery of the equipment of the communications field and networking technology more particularly to a kind of communication processing method and set It is standby.
Background technique
With the intelligence of equipment (such as smart phone, tablet computer, laptop equipment), equipment also possesses frequently How mobile characteristic realizes the automatic discovery of equipment, so that equipment connects to form network, and realizes and third party's access point (AP) access of equipment saves complicated human configuration operation to meet the data transfer demands of equipment, and the relevant technologies there is no Imitate solution.
By taking intelligent sound as an example, multiple intelligent sounds in home environment, which generally require to cooperate, realizes the effect of multichannel Fruit, and realize to the playing function from internet audio data, if intelligent sound is connect using wireless mode with source of sound, base Human configuration equipment is needed to realize the mutual discovery between equipment in the relevant technologies, so that connection forms network and by the Tripartite's access point apparatus accesses internet, and in a home environment, the intelligent sound for constituting network frequently may be moved or be replaced It changes, this just needs continuous human configuration to adjust, and wastes the time of user, affects user experience.
Summary of the invention
The embodiment of the present invention provides a kind of communication processing method and equipment, can be realized the automatic hair between same category of device It is existing, so that connection forms network between devices, and equipment and third party's access point apparatus in network is supported to establish connection, with The transmitted data on network belonged to using third party's access point apparatus.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of communication processing method, which comprises
The switching of first equipment executes at least broadcast operation and snoop-operations based on particular channel, and the snoop-operations are base In the operation of the particular channel and alternate channel;Wherein,
It executes in the broadcast operation based on particular channel, at least carries the spy of first equipment in particular channel broadcast The handshaking information of code is levied, described document information is used to determine first equipment and second equipment at least one second equipment To send reversed handshaking information when same category of device, the reversed handshaking information at least carries the condition code of second equipment;
When obtaining the reversed handshaking information of the second equipment transmission based on the snoop-operations, it is based on the reversed handshaking information Whether the condition code of second equipment carried is determining belongs to same category of device with second equipment.
Preferably, the method also includes:
When executing the snoop-operations, the particular channel and the spare letter are successively monitored based on channel-monitoring strategy Road, the alternate channel are the corresponding channel of communication pattern used in first equipment, and the frequency range of the alternate channel It is different from the frequency range of the particular channel.
Preferably, the switching executes at least broadcast operation and snoop-operations based on particular channel, comprising:
Channel sequence is read from channel sequence set, includes at least the particular channel in the channel sequence;
It determines the transmission duration of the corresponding particular channel and monitors each spare in duration and read channel sequence The monitoring duration of channel forms the operation duration sequence of the particular channel and each alternate channel in the corresponding channel sequence Column;
Arrangement order and the behaviour based on the particular channel and each alternate channel in read channel sequence Make duration sequence, broadcast operation is carried out to the particular channel and successively to described specific in read channel sequence Channel and each alternate channel carry out snoop-operations.
It is preferably, described to read channel sequence from channel sequence set, comprising:
It is successively read channel sequence from the channel sequence set, alternatively,
Random write takes channel sequence from the channel sequence set.
Preferably, the transmission duration and monitoring duration of the determining corresponding particular channel and read channel The monitoring duration of each alternate channel in sequence forms the particular channel and each alternate channel corresponded in the channel sequence Operate duration sequence, comprising:
Determine that specific transmission duration and specific monitoring duration, the specific monitoring duration are greater than each channel of the channel sequence Maximum send interval time;
Using the specific duration of monitoring as the particular channel and each spare letter in corresponding read channel sequence The monitoring duration in road forms the operation duration sequence based on the specific transmission duration and the specific monitoring duration;
Alternatively,
The determining particular channel with read channel sequence and each alternate channel monitor duration correspondingly, The monitoring duration is not exactly the same, and is all larger than the particular channel in read channel sequence and each alternate channel Maximum sends interval time;
Duration is monitored correspondingly based on each channel in the specific operation duration and read channel sequence, is formed The operation duration sequence.
Preferably, the quantity of channel included by each channel sequence is different in the channel sequence set or incomplete phase Together.
Preferably, the method also includes:
It carries out the snoop-operations and monitors to obtain third party's access point apparatus in the particular channel and described standby When with the link information of channels broadcast any in channel,
Third party's access point apparatus is obtained based on the link information and preset access-in point information processing strategie Link information.
Preferably, the method also includes:
The link information of third party's access point apparatus is broadcasted by the connecting channel, third party's access point is set Standby link information is used to access the network that third party's access point apparatus is belonged to for second equipment.
Preferably, the method also includes:
When determining to belong to same category of device with second equipment, negotiate to determine group using connecting channel and second equipment Net connection type, wherein the connecting channel is the company based on the handshaking information or the reversed handshaking information instruction The mark for connecing channel determines;
Based on the self-organizing network connection type and the second equipment Ad hoc network for negotiating determination.
It is preferably, described to negotiate to determine networking connection type using connecting channel and second equipment, comprising:
Send the operational capability information of first equipment to second equipment using the connecting channel, described first The operational capability information of equipment is used to determine described the in conjunction with the operational capability information of second equipment for second equipment The priority of one equipment and second equipment, the equipment for determining highest priority work in access point mode, using as described The access point apparatus of self-organizing network;
What operational capability information and second equipment based on first equipment were sent by the connecting channel The operational capability information of second equipment determines the priority of first equipment and second equipment;
The equipment for determining highest priority works in access point mode, is set using the access point as the self-organizing network It is standby.
Be preferably based on the snoop-operations obtain the second equipment transmission reversed handshaking information when, the method is also wrapped It includes:
The reversed handshaking information at least carrying the condition code of second equipment also carries the operation energy of second equipment The mark of the connecting channel of force information and self-organizing network;
The operational capability of operational capability and second equipment based on first equipment determines that described first sets The priority of standby and described second equipment;
The equipment for determining highest priority works in access point mode, is set using the access point as the self-organizing network It is standby;
Access point apparatus and the second equipment Ad hoc network based on the self-organizing network.
Preferably, the handshaking information of the condition code at least carrying first equipment also carries random sequence and right The signature for answering the random sequence is based on when for belonging to same category of device with first equipment for second equipment is determining The signature of the random sequence and the corresponding random sequence is verified, and determines that first equipment is when being verified Trusted device.
Second aspect, the embodiment of the present invention provide a kind of first equipment, and first equipment includes:
Switch execution unit, executes at least broadcast operation and snoop-operations based on particular channel, the prison for switching Listening operation is the operation based on the particular channel and alternate channel;
The switching execution unit is also used to execute in the broadcast operation based on particular channel, broadcasts in particular channel The handshaking information of the condition code of first equipment is at least carried, described document information is used to determine institute at least one second equipment It states when the first equipment and second equipment are same category of device and sends reversed handshaking information, the reversed handshaking information at least carries The condition code of second equipment;
Determination unit, for obtaining the reversed of the second equipment transmission based on the snoop-operations in the switching execution unit When handshaking information, the condition code determination based on second equipment that the reversed handshaking information carries is with second equipment It is no to belong to same category of device.
Preferably, the switching execution unit, be also used to based on channel-monitoring strategy successively monitor the particular channel and The alternate channel, the alternate channel are the corresponding channel of communication pattern used in first equipment, and described spare The frequency range of channel is different from the frequency range of the particular channel.
Preferably, the switching execution unit includes:
Read module includes at least described for reading channel sequence from channel sequence set in the channel sequence Particular channel;
Determining module, for determining the transmission duration of the corresponding particular channel and monitoring duration and read letter The monitoring duration of each alternate channel in road sequence forms the particular channel and each alternate channel in the corresponding channel sequence Operation duration sequence;
Broadcast and monitor module, for based in the read channel sequence of the read module the particular channel and The arrangement order of each alternate channel and the operation duration sequence, to particular channel progress broadcast operation and successively To the particular channel and each alternate channel progress snoop-operations in read channel sequence.
Preferably, the read module is also used to be successively read channel sequence from the channel sequence set, alternatively, Random write takes channel sequence from the channel sequence set.
Preferably, the determining module, comprising:
Submodule is determined, for determining that specific transmission duration and specific monitoring duration, the specific monitoring duration are greater than institute It states the maximum of each channel of channel sequence and sends interval time;Alternatively, the determining specific letter with read channel sequence Road and each alternate channel monitor duration correspondingly, and the monitoring duration is not exactly the same and is all larger than read channel sequence The maximum of the particular channel and each alternate channel in column sends interval time;
Sequence generates submodule, described in using specific the monitorings duration as the read channel sequence of correspondence The monitoring duration of particular channel and each alternate channel forms the operation duration based on specific transmission duration and specific monitoring duration Sequence;Alternatively, monitoring duration, shape correspondingly based on each channel in the specific operation duration and read channel sequence At the operation duration sequence.
Preferably, the switching execution unit is also used to carry out the snoop-operations and monitors to obtain third party's access point Equipment when the link information of any channels broadcast, is believed in the particular channel and the alternate channel based on the connection Breath and preset access-in point information processing strategie obtain the link information of third party's access point apparatus.
Preferably, the switching execution unit is also used to broadcast third party's access point apparatus by the connecting channel Link information, the link information of third party's access point apparatus is used to access third party's access for second equipment The network that point device is belonged to.
Preferably, the determination unit includes:
Negotiation module when for determining that first equipment and second equipment belong to same category of device, is believed using connection Road and second equipment negotiate to determine networking connection type, wherein the connecting channel is based on the handshaking information or institute The mark for stating the connecting channel of reversed handshaking information instruction determines;
Connection unit, for accessing self-organizing based on the self-organizing network connection type and second equipment of negotiating determination Network.
Preferably, the negotiation module, comprising:
Sending submodule, for sending the operation energy of first equipment to second equipment using the connecting channel Force information, the operational capability information of first equipment are used for the operational capability for second equipment in conjunction with second equipment Information determines that the priority of first equipment and second equipment, the equipment for determining highest priority work in access point mould Formula, using the access point apparatus as the self-organizing network;
First priority determines submodule, for the operational capability information and described second based on first equipment The operational capability information for second equipment that equipment is sent by the connecting channel determines first equipment and described The priority of two equipment;The equipment for determining highest priority works in access point mode, using connecing as the self-organizing network Enter point device.
Preferably, the switching execution unit includes:
Second priority determines submodule, for obtaining the letter of reversely shaking hands of the second equipment transmission based on the snoop-operations When breath, the operational capability of operational capability and second equipment based on first equipment determine first equipment, with And the priority of second equipment;The equipment for determining highest priority works in access point mode, using as the self-organizing The access point apparatus of network;
Submodule is accessed, accesses self-organizing with second equipment for the access point apparatus based on the self-organizing network Network;Wherein, the reversed handshaking information at least carrying the condition code of second equipment also carries the operation of second equipment The mark of the connecting channel of ability information and self-organizing network.
In the embodiment of the present invention, the first equipment in not-connected status, can by the broadcast operation based on particular channel So that same category of device finds that the first equipment is same category of device based on the handshaking information of broadcast, while the first equipment is set also based on similar The reversed handshaking information of standby (the second equipment) realizes the discovery to same category of device, shift in position, replacement is not occurred by equipment It influences, as long as the automatic discovery between same category of device can be realized in the effective distance in wireless communication, to mutually find Same category of device between can connect to form self-organizing network, avoid human configuration operation;When switching to snoop-operations, energy It is enough that at least the link information of third party's access point apparatus is monitored, so as to support the equipment in self-organizing network to be based on Link information accesses third party's access point apparatus, realizes that the practical third party's access point apparatus of equipment in self-organizing network is belonging to Network (such as internet, local area network) communicated.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram one of communication processing method in the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram two of communication processing method in the embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram three of communication processing method in the embodiment of the present invention;
Fig. 4 is the implementation process schematic diagram four of communication processing method in the embodiment of the present invention;
Fig. 5 is the implementation process schematic diagram five of communication processing method in the embodiment of the present invention;
Fig. 6 is the implementation process schematic diagram six of communication processing method in the embodiment of the present invention;
Fig. 7 is the implementation process schematic diagram seven of communication processing method in the embodiment of the present invention;
Fig. 8 is the illustrative view of functional configuration of the first equipment in the embodiment of the present invention.
Specific embodiment
The present invention is further described in detail below with reference to the accompanying drawings and embodiments.It should be appreciated that described herein Specific embodiment is only used to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention records a kind of communication processing method, can be applied to various equipment, and equipment can be intelligent hand Machine, tablet computer or wearable device (such as smart glasses, smart watches), can also be intelligent appliance (such as intelligent refrigerator, intelligence Energy TV, intelligent sound etc.);The operating system of equipment can be Android operation system, IOS operating system or any other third The operating system (such as mobile edition linux system, blackberry, blueberry QNX operating system) of Fang Kaifa;Equipment can built-in wireless communication (WiFi or bluetooth) module is with the wireless communication between holding equipment, wherein WiFi communication include 2.4GHz pattern communication and 5GHz pattern communication.Hereinafter, being only illustrated by taking WiFi communication mode as an example.
Particular channel and alternate channel are introduced in the embodiment of the present invention, particular channel and alternate channel constitute first and set Whole in the standby communication pattern (including any of 2.4GHz communication pattern and 5GHz communication pattern or two) being presently in Channel;By taking the first equipment works in 2.4GHz communication pattern as an example, 11 frequency sub-band are divided into the frequency range of Chinese 2.4GHz (frequency sub-band is known as channel in the embodiment of the present invention) and using 1 to 11 number, if channel 1 be particular channel, channel 2 to 11 be alternate channel, particular channel and the difference of frequency range corresponding to alternate channel.
Also introducing connecting channel in the embodiment of the present invention, connecting channel is when equipment being made to connect to form self-organizing network, Used channel, connecting channel can be particular channel when being communicated with the equipment in self-organizing network, be also possible to standby Use channel.
In the embodiment of the present invention by taking the first equipment and the second equipment that are in not-connected status carry out discovery and networking as an example It is illustrated, for those skilled in the art, based on the record of the following embodiment of the present invention, note of the embodiment of the present invention The technical solution of load can be applied equally to mutual discovery and networking between multiple equipment.
Embodiment one
Referring to Fig. 1, in a step 101, the switching of the first equipment executes the broadcast operation based on particular channel and is based on specific The snoop-operations of channel and alternate channel, that is, switched between broadcast operation and snoop-operations.
Step 101 can be executed for the equipment for being not in the state of connection, the first equipment and the second equipment are in not Connection status, therefore, in a step 101, when the second equipment is also at not-connected status, the second equipment can also be executed based on spy Determine the broadcast operation of channel and the snoop-operations based on particular channel and alternate channel, is only with the processing of the first equipment below Example is illustrated, and the processing of the second equipment is similar with the first equipment.
1) when the first equipment executes the broadcast operation based on particular channel, the first equipment is at least carried in particular channel broadcast Condition code handshaking information, in a step 102, when the second equipment listens to handshaking information, second the first equipment of device authentication Condition code and the second equipment condition code, determine when belonging to same category of device, the second equipment can be broadcasted anti-by particular channel To handshaking information, reversed handshaking information at least carries the condition code of the second equipment.
First equipment by particular channel broadcast carry itself condition code handshaking information, such as (DeviceName: DN0001;DeviceNo:AAAA01), listen to the second equipment of this handshaking information, can according to condition code therein, Such as " DN " in DeviceName and " AAAA " in DeviceNo, come determine the first equipment be one can connect it is similar Equipment, while reversed handshaking information is broadcasted by particular channel.
2) when the first equipment executes snoop-operations based on particular channel and alternate channel, based on channel-monitoring strategy according to Secondary monitoring particular channel and alternate channel, when monitoring obtains third party's access point apparatus in particular channel and alternate channel When the link information of any channels broadcast, third party is obtained based on link information and preset access-in point information processing strategie The link information of access point apparatus.
For example, access-in point information can be third party's access point apparatus broadcast encrypted link information (including service Set identifier SSID and access key), the first equipment is based on corresponding decipherment algorithm, and (corresponding preset access-in point information handles plan Slightly) access-in point information is handled to obtain the link information of third party's access point apparatus;For another example access-in point information can be The SSID of third party's access point apparatus institute home network, the first equipment are based on preset algorithm (corresponding preset access-in point information Processing strategie) the access key that third party's access point apparatus is calculated is carried out to SSID.
By above-mentioned snoop-operations, the first equipment gets the link information of third party's access point apparatus, subsequent After one equipment and the second equipment form self-organizing network, can link information based on third party's access point apparatus, via from group The network (such as internet, local area network) of access point apparatus connection third party's access point apparatus ownership of knitmesh network, thus not Need to may be implemented the data-transformation facility of self-organizing network in the case where human configuration.
In step 103, it when the first equipment obtains the reversed handshaking information of the second equipment transmission based on snoop-operations, is based on Whether the condition code for the second equipment that reversed handshaking information carries is determining belongs to same category of device with the second equipment.
When the determination of the first equipment belongs to same category of device with the second equipment, that is, realize the phase of the first equipment and the second equipment Mutually discovery, it should be pointed out that same category of device here is that (such as condition code can use device name to condition code based on equipment With the mode of device numbering) it determines, and the not same category of device of conventional meaning, for example, when the first equipment is intelligent sound, the When two equipment are smart television, as long as the condition code of the condition code of the first equipment and the second equipment meets the rule of same category of device, Then the first equipment and the second equipment just constitute same category of device;Similarly, even if the first equipment and the second equipment are intelligent sound, but It is the rule that the condition code of the first equipment and the condition code of the second equipment are unsatisfactory for same category of device, then the first equipment and the second equipment Do not constitute same category of device.
Embodiment two
The specific processing that the present embodiment executes broadcast operation and snoop-operations to the first equipment in previous embodiment is said It is bright.
First equipment can successively monitor particular channel and spare letter based on channel-monitoring strategy when executing snoop-operations Road, wherein the first equipment, which is based only upon particular channel, executes broadcast operation, therefore the broadcast operation based on particular channel can held It executes before row snoop-operations, is executed after snoop-operations are finished, or be based on any two channel (such as particular channel And alternate channel, two alternate channels) snoop-operations between execute.
For the efficiency that lifting means is mutually found, the broadcast operation based on particular channel can be first carried out, then execute Snoop-operations based on particular channel, snoop-operations of the subsequent execution based on alternate channel, are illustrated as example below.
First equipment referring to fig. 2, can be realized when executing broadcast operation and snoop-operations by following steps:
Step 201, channel sequence is read from channel sequence set, includes at least particular channel in channel sequence.
Include multiple channel sequences in channel sequence set, includes particular channel (such as part in each channel sequence Particular channel can be only included in channel sequence;The quantity for the channel for including in channel sequence is not exactly the same, as more excellent side The quantity of case, channel included by each channel sequence in channel sequence set is entirely different, for example, in different channels sequence The quantity of channel may be constructed arithmetic progression.
By taking 2.4GHz communication pattern as an example, including 1 to 11 total 11 channel, setting channel 1 is particular channel, channel 2 It is alternate channel, then channel sequence set a example to 11 are as follows:
Channel sequence 1: channel 1
Channel sequence 2: channel 1- > channel 2
Channel sequence 3: channel 1- > channel 2- > channel 3
Channel sequence 4: channel 1- > channel 2- > channel 3- > channel 4
Channel sequence 5: channel 1- > channel 2- > channel 3- > channel 4- > channel 5
Channel sequence 6: channel 1- > channel 2- > channel 3- > channel 4- > channel 5- > channel 6
Channel sequence 7: channel 1- > channel 2- > channel 3- > channel 4- > channel 5- > channel 6- > channel 7
Channel sequence 8: channel 1- > channel 2- > channel 3- > channel 4- > channel 5- > channel 6- > channel 7- > channel 8
Channel sequence 9: channel 1- > channel 2- > channel 3- > channel 4- > channel 5- > channel 6- > channel 7- > channel 8- > letter Road 9
Channel sequence 10: channel 1- > channel 2- > channel 3- > channel 4- > channel 5- > channel 6- > channel 7- > channel 8- > letter Road 9- > channel 10
Channel sequence 11: channel 1- > channel 2- > channel 3- > channel 4- > channel 5- > channel 6- > channel 7- > channel 8- > letter Road 9- > channel 10- > channel 11.
For above-mentioned channel sequence set, as mode 1), channel sequence can be successively read from channel sequence set Column, such as read channel sequence 1 first and handled, subsequent reads take channel sequence 2 to be handled, until traversal reads all letters Road sequence;As mode 2), can read at random from channel sequence set (can be using acquisition random algorithm when actual implementation Extract) channel sequence, such as read channel sequence 3 first and handled, subsequent reads take channel sequence 4 to be handled, until time It goes through and reads all channel sequences.
Step 202, it determines the transmission duration of corresponding particular channel and monitors each in duration and read channel sequence The monitoring duration of alternate channel forms the operation duration sequence of the particular channel and each alternate channel in respective channels sequence.
The present embodiment, which introduces, to be sent duration and monitors duration, and transmission duration, which refers to, sends continuing for broadcast using particular channel Duration monitors duration and refers to the duration for monitoring alternate channel, wherein the particular channel in channel sequence and each alternate channel Corresponding monitoring duration can be identical, can also be different or entirely different using part, is illustrated separately below.
1) the corresponding monitoring duration of the particular channel in channel sequence and each alternate channel is identical
Referring to Fig. 3, determine that operation duration sequence is realized by following steps:
Step 301, specific transmission duration and specific monitoring duration are determined.
The specific duration that sends is to send the most short duration of broadcast in particular channel;Specific monitoring duration is greater than channel sequence It arranges the maximum of each channel and sends interval time, so as to avoid because monitoring event is too short to listen to channel the case where (such as monitoring between the interval sent twice, will lead to can not listen to channel), certain specific monitoring duration should not exceed 10 milliseconds of duration (ms) of one radio frames.
Step 302, particular channel and each spare letter in using specific monitoring duration as corresponding read channel sequence The monitoring duration in road is based on specific transmission duration and specific monitoring duration formation operation duration sequence.
When specific monitoring for a length of 1ms,
When the channel of reading is channel 1, corresponding operation duration sequence is 1ms (broadcast channel 1) -> 1ms (monitor channel 1)。
When the channel sequence of reading is channel sequence 3, channel sequence 3: channel 1- > channel 2- > channel 3;;Corresponding operation Duration sequence is 1ms (broadcast channel 1) -> 1ms (monitor channel 1) -> 1ms (monitor channel 2) -> 1ms (monitor channel 3).
2) the corresponding monitoring duration part of the particular channel in channel sequence and each alternate channel is different or entirely different
Referring to fig. 4, determine that operation duration sequence is realized by following steps:
Step 401, the determining particular channel with read channel sequence and each alternate channel are monitored correspondingly Duration.
Monitor not exactly the same duration and the particular channel that is all larger than in read channel sequence and each alternate channel Maximum send interval time, by maximum send interval time be 1ms for, monitor duration can 1ms to taken between 10ms appoint It anticipates integer value (including end value).
Step 402, duration is monitored based on each channel in specific operation duration and read channel sequence correspondingly, Formation operation duration sequence.
When specific monitoring for a length of 1ms,
When the channel of reading is channel 1, corresponding operation duration sequence is 1ms (broadcast channel 1) -> 1ms~10ms (prison Listen channel 1);
When the channel sequence of reading is channel sequence 3, channel sequence 3: channel 1- > channel 2- > channel 3;Corresponding operation Duration sequence be 1ms (broadcast channel 1) -> 1ms~10ms (monitor channel 1) -> 1ms~10ms (monitor channel 2) -> 1ms~ 10ms (monitor channel 3);Wherein 1ms~10ms is indicated in 1ms to any integer value (including end value) taken between 10ms.
Step 203, arrangement order, Yi Jicao based on particular channel and each alternate channel in read channel sequence Make duration sequence, broadcast operation is carried out to particular channel and successively to the particular channel in read channel sequence and respectively Alternate channel carries out snoop-operations.
By taking corresponding operation duration sequence is 1ms (broadcast channel 1) -> 1ms~10ms (monitor channel 1) as an example, successively hold The following operation of row: 1ms broadcast operation is executed based on channel 1;1ms~10ms snoop-operations are executed based on channel 1;
It is 1ms (broadcast channel 1) -> 1ms~10ms (monitor channel 1) -> 1ms~10ms with corresponding operation duration sequence For (monitor channel 2) -> 1ms~10ms (monitor channel 3), following operation is successively executed: 1ms setting-up exercises to music are executed based on channel 1 Make;1ms~10ms snoop-operations are executed based on channel 1;1ms~10ms snoop-operations are executed based on channel 2;It is held based on channel 3 Row 1ms~10ms snoop-operations.
It is read based on the specific value mode (fixed value or random value) for monitoring duration and from channel sequence set The mode of channel set is taken, the present embodiment is formed with one-dimensional channel-monitoring mode (namely successively from channel sequence set Channel sequence is read, and is based on specific monitoring duration monitor channel;It is also formed with preferably two-dimensional channel-monitoring mode (also Be that random write takes channel sequence from channel sequence set, and the monitoring duration of particular channel and alternate channel be greater than it is specific Monitor the random value of duration), promote the efficiency for listening to the second similar equipment.
Embodiment three
The present embodiment the first equipment in previous embodiment and the second equipment are mutually found and determine belong to same category of device it Afterwards, the processing that connection forms self-organizing network is illustrated.
Referring to Fig. 5, the first equipment is connected with the second equipment to be formed self-organizing network and can be realized by following steps:
Step 501, negotiate to determine networking connection type using connecting channel and the second equipment.
As the mode of instruction connecting channel, in letter of shaking hands when connecting channel can be broadcasted with the first equipment by particular channel It is indicated in breath by the mark of connecting channel, the handshaking information that the first equipment broadcast in particular channel is in addition to the first equipment of carrying Condition code can also carry the mark of connecting channel;When the second equipment listens to handshaking information and determination belongs to the first equipment Channel is attached when same category of device to be communicated.
As the mode of another instruction connecting channel, connecting channel can with the second equipment by when particular channel broadcast It is indicated in reversed handshaking information by the mark of connecting channel, the handshaking information that the first equipment broadcast in particular channel is in addition to carrying The condition code of first equipment passes through when the second equipment listens to handshaking information and determination and the first equipment belong to same category of device Particular channel broadcasts reversed handshaking information, in addition to carrying the condition code of the second equipment (for the determination of the first equipment and the second equipment Belong to same category of device), the mark of connecting channel can also be carried, when first terminal equipment is taken based on the reversed handshaking information of monitoring When the condition code of band is determining and the second equipment belongs to same category of device, communicated into connecting channel with the first equipment.
Referring to Fig. 6, the negotiation of networking connection type can be realized by following steps:
Step 601a, the first equipment send the operational capability information of the first equipment using connecting channel to the second equipment.
The operational capability information of first equipment is that (such as CPU, memory, communication module are straight for the different hardware based on the first equipment Bandwidth etc. extremely) performance parameter weighted value, the overall data process ability of the first equipment can be characterized;The fortune of second equipment The method of determination for calculating ability information is identical as the method for determination of operational capability information of the first equipment.
Step 601b, the second equipment send the operational capability information of the first equipment using connecting channel to the second equipment.
Step 602a, the operational capability letter of operational capability information and second equipment of first equipment based on the first equipment Cease the priority for determining the first equipment and the second equipment.
Step 603a, the equipment that the first equipment determines highest priority work in access point mode, using as self-organization network The access point apparatus of network.
Step 602b, the second equipment combine the operational capability information of the second equipment based on the operational capability information of the first equipment Determine the priority of the first equipment and the second equipment.
Operational capability information can be stated by way of weighting (weighting to the performance of hardware each in equipment), different The performance of hardware can use corresponding weighting coefficient, an example are as follows:
Operational capability=a*CPU dominant frequency+b* memory size+c*WiFi module bandwidth, wherein a, b, c are weighting coefficient.
Step 603b, the second equipment combine the operational capability information of the first equipment based on the operational capability information of the second equipment The equipment for determining highest priority works in access point mode, using the access point apparatus as self-organizing network.
Wherein after step 601a and step 602b are finished, the first equipment independently executes step 602a to step 603b, the second equipment independently execute step 602b to step 603b, and the first equipment and the second equipment have respectively been independently determined from group Access point apparatus in knitmesh network;Due to the priority of equipment be it is relevant to the operational capability of equipment, in order to avoid equipment The identical situation of operational capability, the first equipment and the second equipment to when sending itself operational capability information, can also respectively be sent out The random number (random number that the first equipment and the second equipment generate is different) for sending each self-generating, when the first equipment and second are set When standby operational capability is identical, determine that the height of priority (such as generates largest random number based on the comparison result of random number Equipment has highest priority).
Step 502, based on the self-organizing network connection type and the second equipment Ad hoc network for negotiating determination.
When access point apparatus of first equipment as self-organizing network, the first equipment is as substantial main equipment, and For two equipment as substantial slave equipment, the first equipment sends the access key of encryption by connecting channel to the second equipment, by Second equipment is based on access key and accesses the second equipment, so that self-organizing network be added;Optionally, the second equipment can be based on pre- If algorithm handle to obtain access key to the SSID of the first device broadcasts, no need to send the accesses of encryption for such first equipment Key, to save bandwidth.
It is realized and third party's access point apparatus ownership to make the second equipment have access to third party's access point apparatus The data of network (internet, local area network etc., hereinafter referred to as target network) are transmitted, and the first equipment will monitor particular channel and spare The link information (referring to the relevant treatment of one snoop-operations of embodiment) for third party's access point apparatus that channel obtains passes through encryption The mode of (or scrambling) is sent to the equipment (including second equipment) of self-organizing network, and the handshaking information of the first device broadcasts carries When the link information of third party's access point apparatus, an example are as follows: (DeviceName:DN0001;DeviceNo:AAAA01; 3d_SSID:AP01;3d_KEY:B3C4A1D1829CD5), 3d_SSID and 3d_KEY is exactly by encryption or scrambled third party The link information of access point apparatus, the slave equipment in self-organizing network can access third party via main equipment based on link information Access point apparatus, the data transport service provided using third party's access point apparatus.
When target network uses AP-STA framework, the first equipment is as the slave equipment and target network in self-organizing network The forwarding device of data transmission;When target network uses Ad-hoc or Mesh network, it is based on by the equipment in self-organizing network The link information of target network is directly communicated with the node in target network.
First equipment is connected with the second equipment to form self-organizing network after, can be wide in particular channel and connecting channel Handshaking information is broadcast, the mark etc. of corresponding condition code and connecting channel is carried, it is similar in not-connected status to guide Self-organizing network is added in equipment.
Example IV
What embodiment three was recorded is the first equipment and the second equipment mutual discovery and opposite equip. belong to same category of device it Carry out the negotiation of networking connection type afterwards and form the scheme of self-organizing network, the first equipment and the second equipment to carry out in connecting channel Negotiate, without negotiating by the way of broadcast, ensure that the safety of information.
The present embodiment describes completion while the first equipment and the second equipment for being in not-connected status are mutually found The scheme that networking connection type is negotiated, can save in aforementioned exemplary and handle occupied bandwidth through consultation, connect in an efficient way It connects to form self-organizing network.
Referring to Fig. 7, the first equipment and the second equipment mutually find and negotiate internetwork connection mode to form self-organizing to connect Network can be realized by following steps:
Step 701a, the switching of the first equipment execute broadcast operation based on particular channel and based on particular channels and spare The snoop-operations of channel.
The specific implementation of step 701a refers to the record of embodiment one, and this embodiment is not repeated.
First equipment sends handshaking information by particular channel when executing broadcast operation, carries the feature of the first equipment Code.
Step 701b, the switching of the second equipment execute broadcast operation based on particular channel and based on particular channels and spare The snoop-operations of channel.
Second equipment sends handshaking information by particular channel when executing broadcast operation, carries the feature of the second equipment Code.
Step 702a, the first equipment listen to the handshaking information of the second device broadcasts, and determination belongs to similar with the second equipment Equipment broadcasts reversed handshaking information by particular channel.
Reversed handshaking information carries the mark of the operational capability information of the first equipment and the connecting channel of self-organizing network Know.
Optionally, reversed handshaking information can also carry the signature of random sequence and corresponding random sequence, set when second When standby determining and the first equipment belongs to same category of device, the signature based on random sequence and corresponding random sequence is verified, Determine that the second equipment for trusted device, that is, can connect to form self-organizing network with the first equipment when being verified.
Optionally, reversed handshaking information can also carry self-organizing network (namely the first equipment and the preparation of the second equipment Connection be formed by network) link information (for example including SSID and access key);When actual implementation, if reversely shaking hands letter Based on the no carrying link information of breath, the first equipment and the second equipment can be carried out by SSID of the preset algorithm to self-organizing network Calculation obtains the access key of self-organizing network.
Step 702b, the second equipment listen to the handshaking information of the first device broadcasts, and determination belongs to similar with the first equipment Equipment broadcasts reversed handshaking information by particular channel.
Reversed handshaking information carries the mark of the operational capability information of the second equipment and the connecting channel of self-organizing network Know.
Optionally, reversed handshaking information can also carry the signature of random sequence and corresponding random sequence, set when first When standby determining and the second equipment belongs to same category of device, the signature based on random sequence and corresponding random sequence is verified, Determine that the second equipment for trusted device, that is, can connect to form self-organizing network with the second equipment when being verified.
Optionally, reversed handshaking information can also carry self-organizing network (namely the first equipment and the preparation of the second equipment Connection be formed by network) link information (for example including SSID and access key);When actual implementation, if reversely shaking hands letter Based on the no carrying link information of breath, the first equipment and the second equipment can be carried out by SSID of the preset algorithm to self-organizing network Calculation obtains the access key of self-organizing network.
It should be pointed out that all being carried in the reversed handshaking information that the first equipment and the second equipment are sent in above-mentioned steps The mark of connecting channel, in order to avoid the inconsistent situation of connecting channel, the first equipment and the second equipment are reversely shaken hands in transmission The random number (random number that the first equipment and the second equipment generate is different) that corresponding generation can also be carried when information, when connection is believed When road is inconsistent, determine that connecting channel that self-organizing network uses (such as generates largest random based on the comparison result of random number The specified channel of the connecting channel mark carried in the reversed handshaking information that the big equipment of number is sent is connecting channel).
Step 703a, the first equipment determine the internetwork connection mode of self-organizing network.
First equipment based on the operational capability of the first equipment and the operational capability of the second equipment determine the first equipment, with And second equipment priority;The equipment for determining highest priority works in access point mode, using connecing as self-organizing network Enter point device;
Step 703b, the second equipment determine the internetwork connection mode of self-organizing network.
Second equipment based on the operational capability of the first equipment and the operational capability of the second equipment determine the first equipment, with And second equipment priority;The equipment for determining highest priority works in access point mode, using connecing as self-organizing network Enter point device.
Step 704a, access point apparatus Ad hoc network of first equipment based on self-organizing network.
Step 704b, access point apparatus Ad hoc network of second equipment based on self-organizing network.
When access point apparatus of first equipment as self-organizing network, the first equipment is as substantial main equipment, and Two equipment are as substantial slave equipment, and the second equipment is based on access key and accesses the first equipment, so that self-organizing network be added.
When access point apparatus of second equipment as self-organizing network, the second equipment is as substantial main equipment, and One equipment is as substantial slave equipment, and the first equipment is based on access key and accesses the second equipment, so that self-organizing network be added.
It is realized and third party's access point apparatus ownership to make the second equipment have access to third party's access point apparatus The data of network (internet, local area network etc., hereinafter referred to as target network) are transmitted, and the first equipment will monitor particular channel and spare The link information (referring to the relevant treatment of one snoop-operations of embodiment) for third party's access point apparatus that channel obtains passes through encryption The mode of (or scrambling) is sent to the equipment (including second equipment) of self-organizing network, when target network uses AP-STA framework When, forwarding device of first equipment as slave equipment and the transmission of target network data in self-organizing network;When target network is adopted When with Ad-hoc or Mesh network, by the equipment in self-organizing network based in the link information and target network of target network Node is directly communicated.
First equipment is connected with the second equipment to form self-organizing network after, can be wide in particular channel and connecting channel Handshaking information is broadcast, the mark etc. of corresponding condition code and connecting channel is carried, it is similar in not-connected status to guide Self-organizing network is added in equipment.
Embodiment five
The present embodiment is illustrated the functional module structure for the first equipment that previous embodiment is recorded, it should be pointed out that It is first recorded in the function and previous embodiment that each functional unit and its submodule of the first equipment are realized in the present embodiment The processing of equipment be it is corresponding, the record of previous embodiment is referred to for the not most details of the present embodiment.
Referring to Fig. 8, the first equipment that the present embodiment is recorded includes:
Switch execution unit 100, for switching the broadcast operation executed at least based on particular channel and being based on particular channel And the snoop-operations of alternate channel;
Switch execution unit 100, be also used to execute in the broadcast operation based on particular channel, particular channel broadcast to Carry the handshaking information of the condition code of the first equipment less, condition code is used to determine the first equipment and at least one second equipment Two equipment send reversed handshaking information when being same category of device, and reversed handshaking information at least carries the condition code of the second equipment;
Determination unit 200, for obtaining reversely holding for the second equipment transmission based on snoop-operations in switching execution unit 100 When hand information, determine whether belong to similar set with the second equipment based on the condition code for the second equipment that reversed handshaking information carries It is standby.
As an example, switch execution unit 100, be also used to based on channel-monitoring strategy successively monitor particular channel and Alternate channel, alternate channel be the first equipment used in the corresponding channel of communication pattern, and the frequency range of alternate channel with it is specific The frequency range of channel is different.
As an example, switching execution unit 100 includes:
Read module 110 includes at least specific letter in channel sequence for reading channel sequence from channel sequence set Road;
Determining module 120, for determining the transmission duration of corresponding particular channel and monitoring duration and read channel The monitoring duration of each alternate channel in sequence forms the operation duration of the particular channel and each alternate channel in respective channels sequence Sequence;
Broadcast and monitoring module 130, for based on the particular channel in the read channel sequence of read module 110 and respectively The arrangement order and operation duration sequence of alternate channel, carry out broadcast operation to particular channel and successively to read Particular channel and each alternate channel in channel sequence carry out snoop-operations.
As an example, read module 110 are also used to be successively read channel sequence from channel sequence set, alternatively, Random write takes channel sequence from channel sequence set.
As an example, determining module 120, comprising:
Submodule 1201 is determined, for determining that specific transmission duration and specific monitoring duration, specific monitoring duration are greater than letter The maximum of each channel of road sequence sends interval time;Alternatively, determining and particular channel in read channel sequence and each standby Duration is monitored correspondingly with channel, and monitoring duration is not exactly the same and is all larger than the specific letter in read channel sequence Road and the maximum of each alternate channel send interval time;
Sequence generates submodule 1202, for specific in read channel sequence using specific monitoring duration as corresponding to The monitoring duration of channel and each alternate channel is based on specific transmission duration and specific monitoring duration formation operation duration sequence;Or Person monitors duration, formation operation duration based on each channel in specific operation duration and read channel sequence correspondingly Sequence.
As an example, switching execution unit 100 is also used to carry out snoop-operations and monitors to obtain third party's access point set When the link information of standby channels broadcast any in particular channel and alternate channel, based on link information and preset connect Access point integration processing strategy obtains the link information of third party's access point apparatus.
As an example, switching execution unit 100 is also used to broadcast third party's access point apparatus by connecting channel Link information, what the link information of third party's access point apparatus was used to be belonged to for the second equipment access third party's access point apparatus Network.
As an example, determination unit 200 includes:
Negotiation module 210 when for determining to belong to same category of device with the second equipment, is assisted using connecting channel and the second equipment Quotient determines networking connection type, wherein connecting channel is the connecting channel indicated based on handshaking information or reversed handshaking information Mark determines;
Connection unit 220, for accessing self-organizing based on the self-organizing network connection type and the second equipment of negotiating determination Network.
As an example, negotiation module 210, comprising:
Sending submodule 2101, for use connecting channel to the second equipment send the first equipment operational capability information, The operational capability information of first equipment be used for for the second equipment combine the second equipment operational capability information determine the first equipment and The priority of second equipment, the equipment for determining highest priority work in access point mode, using the access as self-organizing network Point device;
First priority determines submodule 2102, for operational capability information and the second equipment based on the first equipment The operational capability information of the second equipment sent by connecting channel determines the priority of the first equipment and the second equipment;It determines most The equipment of high priority works in access point mode, using the access point apparatus as self-organizing network.
As an example, switching execution unit 100 includes:
Second priority determines submodule 140, for obtaining the letter of reversely shaking hands of the second equipment transmission based on snoop-operations When breath, the operational capability of operational capability and the second equipment based on the first equipment determines the first equipment and the second equipment Priority;The equipment for determining highest priority works in access point mode, using the access point apparatus as self-organizing network;
Submodule 150 is accessed, for access point apparatus and the second equipment Ad hoc network based on self-organizing network; Wherein, at least carry the condition code of the second equipment reversed handshaking information also carry the second equipment operational capability information and The mark of the connecting channel of self-organizing network.
When actual implementation, above-mentioned each unit/module/submodule logical process function in the first equipment can be by first Processing, microprocessor (MCU), specific integrated circuit (ASIS) or logic programmable gate array (FPGA) in equipment are realized, right It can be by the WiFi communication core in the first equipment in above-mentioned each unit/module/submodule transmission and received communication function Piece (integrated circuit modules) and corresponding antenna are realized.
In conclusion the embodiment of the present invention has the advantages that
The first equipment in not-connected status can be such that same category of device is based on by the broadcast operation based on particular channel The handshaking information of broadcast finds that the first equipment is same category of device, while the first equipment is also based on the anti-of same category of device (the second equipment) The discovery to same category of device is realized to handshaking information, is not influenced by equipment generation shift in position, replacement, as long as in wireless The automatic discovery between same category of device can be realized in the effective distance of communication, thus can be between the same category of device mutually found Connection forms self-organizing network, avoids human configuration operation;When switching to snoop-operations, at least third party can be accessed The link information of point device is monitored, so as to support the equipment in self-organizing network is based on link information to access third party Access point apparatus realizes the practical third party's access point apparatus of equipment in self-organizing network in network (such as internet, office of ownership Domain net) it is communicated.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is random Access memory (RAM, Random Access Memory), read-only memory (ROM, Read-Only Memory), magnetic disk or The various media that can store program code such as person's CD.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented The technical solution of example substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: that movable storage device, RAM, ROM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (22)

1. a kind of communication processing method, which is characterized in that the described method includes:
Before first equipment and the second equipment network,
The first equipment switching executes at least broadcast operation and snoop-operations based on particular channel, and the broadcast operation is base In the operation of the particular channel, the snoop-operations are the operation based on the particular channel and alternate channel;
Wherein, it executes in the broadcast operation based on particular channel, at least carries described the in particular channel broadcast The handshaking information of the condition code of one equipment, described document information are used to determine first equipment at least one described second equipment With second equipment to send reversed handshaking information when same category of device, the reversed handshaking information at least carries described second and sets Standby condition code;
When obtaining the reversed handshaking information that second equipment is sent based on the snoop-operations, it is based on the reversed handshaking information Whether the condition code of second equipment carried is determining belongs to same category of device with second equipment.
2. the method as described in claim 1, which is characterized in that the method also includes:
When executing the snoop-operations, the particular channel and the alternate channel, institute are successively monitored based on channel-monitoring strategy State alternate channel be first equipment used in the corresponding channel of communication pattern, and the frequency range of the alternate channel with it is described The frequency range of particular channel is different.
3. the method as described in claim 1, which is characterized in that the switching executes at least based on the broadcast operation of particular channel And snoop-operations, comprising:
Channel sequence is read from channel sequence set, includes at least the particular channel in the channel sequence;
It determines the transmission duration of the corresponding particular channel and monitors each alternate channel in duration and read channel sequence Monitoring duration, form the operation duration sequence of the particular channel and each alternate channel in the corresponding channel sequence;
When arrangement order and the operation based on the particular channel and each alternate channel in read channel sequence Long sequence carries out broadcast operation to the particular channel and successively to the particular channel in read channel sequence Snoop-operations are carried out with each alternate channel.
4. method as claimed in claim 3, which is characterized in that described to read channel sequence from channel sequence set, comprising:
It is successively read channel sequence from the channel sequence set, alternatively,
Random write takes channel sequence from the channel sequence set.
5. method as claimed in claim 3, which is characterized in that the transmission duration and prison of the determining corresponding particular channel The monitoring duration of each alternate channel in duration and read channel sequence is listened, the institute in the corresponding channel sequence is formed State the operation duration sequence of particular channel and each alternate channel, comprising:
Determine that specific transmission duration and specific monitoring duration, the specific monitoring duration are greater than each channel of the channel sequence most It is big to send interval time;
Using the specific duration of monitoring as the particular channel and each alternate channel corresponded in read channel sequence Duration is monitored, the operation duration sequence is formed based on the specific transmission duration and the specific monitoring duration;
Alternatively,
The determining particular channel with read channel sequence and each alternate channel monitor duration correspondingly, described It is not exactly the same to monitor duration, and is all larger than the maximum of the particular channel in read channel sequence and each alternate channel Send interval time;
Duration is monitored correspondingly based on each channel in the specific operation duration and read channel sequence, described in formation Operate duration sequence.
6. method as claimed in claim 3, which is characterized in that letter included by each channel sequence in the channel sequence set The quantity in road is different or not exactly the same.
7. the method as described in claim 1, which is characterized in that the method also includes:
It carries out the snoop-operations and monitors to obtain third party's access point apparatus in the particular channel and the alternate channel When the link information of any channels broadcast,
The company of third party's access point apparatus is obtained based on the link information and preset access-in point information processing strategie Connect information.
8. the method for claim 7, which is characterized in that the method also includes:
The link information of third party's access point apparatus, the connection of third party's access point apparatus are broadcasted by connecting channel Information is used to access the network that third party's access point apparatus is belonged to for second equipment.
9. the method as described in claim 1, which is characterized in that the method also includes:
When determining to belong to same category of device with second equipment, negotiate to determine that networking connects using connecting channel and second equipment Connect mode, wherein the connecting channel is the connection letter based on the handshaking information or the reversed handshaking information instruction The mark in road determines;
Based on the self-organizing network connection type and the second equipment Ad hoc network for negotiating determination.
10. method as claimed in claim 9, which is characterized in that described to be negotiated really using connecting channel and second equipment Determine networking connection type, comprising:
The operational capability information of first equipment, first equipment are sent to second equipment using the connecting channel Operational capability information be used in conjunction with the operational capability information of second equipment determine that described first sets for second equipment The priority of standby and described second equipment, the equipment for determining highest priority work in access point mode, as described from group The access point apparatus of knitmesh network;
Described in operational capability information and second equipment based on first equipment are sent by the connecting channel The operational capability information of second equipment determines the priority of first equipment and second equipment;
The equipment for determining highest priority works in access point mode, using the access point apparatus as the self-organizing network.
11. the method as described in claim 1, which is characterized in that the method also includes:
The reversed handshaking information at least carrying the condition code of second equipment also carries the operational capability letter of second equipment The mark of the connecting channel of breath and self-organizing network;
The reversed handshaking information of the second equipment transmission is obtained based on the snoop-operations;
The operational capability of operational capability and second equipment based on first equipment determine first equipment, with And the priority of second equipment;
The equipment for determining highest priority works in access point mode, using the access point apparatus as the self-organizing network;
Access point apparatus and the second equipment Ad hoc network based on the self-organizing network.
12. the method as described in claim 1, which is characterized in that
The handshaking information of the condition code at least carrying first equipment also carries random sequence and corresponds to described random The signature of sequence is based on the stochastic ordering when for belonging to same category of device with first equipment for second equipment is determining Column and the signature of the corresponding random sequence are verified, and determine that first equipment sets for trusted when being verified It is standby.
13. a kind of first equipment, which is characterized in that first equipment includes:
Switch execution unit, for before first equipment and the second equipment network, switching execution to be at least based on specific letter The broadcast operation and snoop-operations in road, the broadcast operation are the operation based on the particular channel, and the snoop-operations are base In the operation of the particular channel and alternate channel;
The switching execution unit is also used to execute in the broadcast operation based on particular channel, in the particular channel Broadcast at least carries the handshaking information of the condition code of first equipment, and described document information is used to described second set at least one Standby determine sends reversed handshaking information, the reversed handshaking information when first equipment and second equipment are same category of device At least carry the condition code of second equipment;
Determination unit, for obtaining the reversed of the second equipment transmission based on the snoop-operations in the switching execution unit When handshaking information, the condition code determination based on second equipment that the reversed handshaking information carries is with second equipment It is no to belong to same category of device.
14. the first equipment as claimed in claim 13, which is characterized in that
The switching execution unit is also used to successively monitor the particular channel and the spare letter based on channel-monitoring strategy Road, the alternate channel are the corresponding channel of communication pattern used in first equipment, and the frequency range of the alternate channel It is different from the frequency range of the particular channel.
15. the first equipment as claimed in claim 13, which is characterized in that the switching execution unit includes:
Read module includes at least described specific for reading channel sequence from channel sequence set in the channel sequence Channel;
Determining module, for determining the transmission duration of the corresponding particular channel and monitoring duration and read channel sequence The monitoring duration of each alternate channel in column forms the behaviour of the particular channel and each alternate channel in the corresponding channel sequence Make duration sequence;
Broadcast and module is monitored, for based on the particular channel in the read channel sequence of the read module and each standby Arrangement order and the operation duration sequence with channel carry out broadcast operation to the particular channel and successively to institute The particular channel and each alternate channel in the channel sequence of reading carry out snoop-operations.
16. the first equipment as claimed in claim 15, which is characterized in that
The read module is also used to be successively read channel sequence from the channel sequence set, alternatively, from the channel sequence Random write takes channel sequence in column set.
17. the first equipment as claimed in claim 15, which is characterized in that the determining module, comprising:
Submodule is determined, for determining that specific transmission duration and specific monitoring duration, the specific monitoring duration are greater than the letter The maximum of each channel of road sequence sends interval time;Alternatively, the determining particular channel with read channel sequence and Each alternate channel monitors duration correspondingly, and the monitoring duration is not exactly the same and is all larger than in read channel sequence The particular channel and the maximum of each alternate channel send interval time;
Sequence generates submodule, for described specific in read channel sequence using the specific monitoring duration as corresponding to The monitoring duration of channel and each alternate channel forms the operation duration sequence based on specific transmission duration and specific monitoring duration Column;Alternatively, monitoring duration correspondingly based on each channel in the specific operation duration and read channel sequence, formed The operation duration sequence.
18. the first equipment as claimed in claim 15, which is characterized in that the switching execution unit is also used to carry out the prison It listens operation to monitor and obtains third party's access point apparatus any channels broadcast in the particular channel and the alternate channel When link information, third party's access point is obtained based on the link information and preset access-in point information processing strategie The link information of equipment.
19. the first equipment as claimed in claim 18, which is characterized in that the switching execution unit is also used to believe by connection The link information of third party's access point apparatus is broadcasted in road, and the link information of third party's access point apparatus is for described in confession Second equipment accesses the network that third party's access point apparatus is belonged to.
20. the first equipment as claimed in claim 13, which is characterized in that the determination unit includes:
Negotiation module, for determining first equipment and when second equipment belongs to same category of device, using connecting channel with Second equipment negotiates to determine networking connection type, wherein the connecting channel is based on the handshaking information or described anti- The mark of the connecting channel indicated to handshaking information determines;
Connection unit, for accessing self-organization network based on the self-organizing network connection type and second equipment of negotiating determination Network.
21. the first equipment as claimed in claim 20, which is characterized in that the negotiation module, comprising:
Sending submodule, for being believed using the connecting channel to the operational capability that second equipment sends first equipment Breath, the operational capability information of first equipment are used for the operational capability information for second equipment in conjunction with second equipment Determine that the priority of first equipment and second equipment, the equipment for determining highest priority work in access point mode, Using the access point apparatus as the self-organizing network;
First priority determines submodule, for operational capability information and second equipment based on first equipment The operational capability information of second equipment sent by the connecting channel determines that first equipment and described second is set Standby priority;The equipment for determining highest priority works in access point mode, using the access point as the self-organizing network Equipment.
22. the first equipment as claimed in claim 13, which is characterized in that the switching execution unit includes:
Second priority determines submodule, for obtaining the reversed handshaking information of the second equipment transmission based on the snoop-operations When, the operational capability of operational capability and second equipment based on first equipment determine first equipment and The priority of second equipment;The equipment for determining highest priority works in access point mode, using as self-organizing network Access point apparatus;
Submodule is accessed, for access point apparatus and second equipment access self-organization network based on the self-organizing network Network;Wherein, the reversed handshaking information at least carrying the condition code of second equipment also carries the operation energy of second equipment The mark of the connecting channel of force information and self-organizing network.
CN201510794659.3A 2015-11-17 2015-11-17 Communication processing method and equipment Active CN105376724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510794659.3A CN105376724B (en) 2015-11-17 2015-11-17 Communication processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510794659.3A CN105376724B (en) 2015-11-17 2015-11-17 Communication processing method and equipment

Publications (2)

Publication Number Publication Date
CN105376724A CN105376724A (en) 2016-03-02
CN105376724B true CN105376724B (en) 2019-04-16

Family

ID=55378444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510794659.3A Active CN105376724B (en) 2015-11-17 2015-11-17 Communication processing method and equipment

Country Status (1)

Country Link
CN (1) CN105376724B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846712B (en) * 2017-07-05 2020-09-11 深圳软通动力信息技术有限公司 On-demand method of intelligent sound equipment, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868916A (en) * 2012-08-27 2013-01-09 腾讯科技(深圳)有限公司 Method for sharing information with digital television terminal, terminals and information sharing system
CN103974376A (en) * 2014-04-14 2014-08-06 深圳市慧为智能科技有限公司 Network connection assisting system and method
CN104221439A (en) * 2012-02-16 2014-12-17 苹果公司 Wireless scan and advertisement in electronic devices background
CN104780580A (en) * 2015-03-19 2015-07-15 江苏晓山信息产业股份有限公司 Wi-Fi mobile networking method with balanced energy consumption

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140187159A1 (en) * 2012-12-27 2014-07-03 Dirk Hohndel Pairing through device interaction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104221439A (en) * 2012-02-16 2014-12-17 苹果公司 Wireless scan and advertisement in electronic devices background
CN102868916A (en) * 2012-08-27 2013-01-09 腾讯科技(深圳)有限公司 Method for sharing information with digital television terminal, terminals and information sharing system
CN103974376A (en) * 2014-04-14 2014-08-06 深圳市慧为智能科技有限公司 Network connection assisting system and method
CN104780580A (en) * 2015-03-19 2015-07-15 江苏晓山信息产业股份有限公司 Wi-Fi mobile networking method with balanced energy consumption

Also Published As

Publication number Publication date
CN105376724A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN104902424B (en) Control method, the device and system of wireless smart devices
Devroye et al. Cognitive radio networks
CN104506397B (en) The method and system of smart machine access to LAN
CN1788457B (en) Communication method and wireless communication terminal
CN104247321B (en) Utilize the data transfer of Bluetooth Low Energy standard
US9882995B2 (en) Systems, methods, apparatus, and articles of manufacture to provide automatic wireless configuration
CN105139877B (en) Connection method, main equipment, control terminal and the system of multimedia play equipment
CN104584487B (en) Dynamic generation tree root selects
CN107431913A (en) Participate in the multicast scheduling between the equipment of NAN data link
CN106878926A (en) A kind of data transmission method based on low-power consumption bluetooth, from main equipment and system
TW201008336A (en) Techniques for spatial reuse in wireless personal area networks based on virtual time divisional multiple access
CN110083326A (en) System and method for moving music
CN105848225B (en) Wireless connection switching method and device in audio frequency broadcast system
CN102868647A (en) Data processing method and device based on Linux network core
CN110392370A (en) A kind of machinery of consultation of security algorithm and device
CN104066152A (en) System and method for enabling devices to have access to wireless network
CN107040848A (en) Synchronization parameter transmission method, device and the equipment of AVDTP agreements
Shah et al. DDH-MAC: a novel dynamic de-centralized hybrid mac protocol for cognitive radio networks
CN105376724B (en) Communication processing method and equipment
JP6822736B2 (en) Frequency hopping communication methods and devices
CN104012130B (en) Communication security processing method and processing device
CN105812904B (en) The bluetooth module control method and audio-video frequency playing system of playback equipment
CN112672335B (en) Bluetooth broadcast encryption communication method and system
Liu et al. A negotiation game for multichannel access in cognitive radio networks
EP2225909A2 (en) Apparatus and method for negotiating pairwise master key for securing peer links in wireless mesh networks

Legal Events

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

Effective date of registration: 20220928

Address after: Room R2172, 2nd Floor, Building 3, No. 18, Keyuan Road, Economic Development Zone, Daxing District, Beijing 100176

Patentee after: Bird innovation (Beijing) Technology Co.,Ltd.

Address before: 100191 No. d-203, floor 1, No. 28, information road, Haidian District, Beijing

Patentee before: BEIJING XIAONIAO TINGTING TECHNOLOGY Co.,Ltd.