CN105792192B - Wireless communications method and system - Google Patents

Wireless communications method and system Download PDF

Info

Publication number
CN105792192B
CN105792192B CN201610104268.9A CN201610104268A CN105792192B CN 105792192 B CN105792192 B CN 105792192B CN 201610104268 A CN201610104268 A CN 201610104268A CN 105792192 B CN105792192 B CN 105792192B
Authority
CN
China
Prior art keywords
switching sequence
packet
channel switching
channel
transmission
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.)
Expired - Fee Related
Application number
CN201610104268.9A
Other languages
Chinese (zh)
Other versions
CN105792192A (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.)
SHENZHEN PCTX TECHNOLOGY DEVELOPMENT Co Ltd
Original Assignee
SHENZHEN PCTX TECHNOLOGY DEVELOPMENT 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 SHENZHEN PCTX TECHNOLOGY DEVELOPMENT Co Ltd filed Critical SHENZHEN PCTX TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN201610104268.9A priority Critical patent/CN105792192B/en
Publication of CN105792192A publication Critical patent/CN105792192A/en
Application granted granted Critical
Publication of CN105792192B publication Critical patent/CN105792192B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of wireless communications method and system, methods described includes generation forwarding step:Generate and send the packet containing random data start bit S and the first random number X;Receive calculation procedure:Received data packet, channel switching sequence is calculated according to packet and default function formula;And synchronous transfer step:Correspondence identical channel is switched to according to channel switching sequence, sends, receive the transmission that presupposed information is carried out after synchronizing signal, repeat this step repeatedly until presupposed information end of transmission.The embodiment of the present invention is by proposing a kind of wireless communications method and system, channel switching sequence is calculated according to packet and default function formula, and according to channel switching sequence synchronism switching channel to carry out the transmission of presupposed information, solve the monitored attack of channel, and then account, password are the problem of be stolen, communications security is improved with simple technological means and relatively low cost.

Description

Wireless communications method and system
Technical field
The present invention relates to radio communication and internet of things field, more particularly to a kind of wireless communications method and system.
Background technology
Existing such as WiFi cordless communication networks, although live through the cipher modes such as WEP, WPA and WPA2 but remain unchanged Packet capturing analysis can be carried out by wireless sniff instrument by hacker and then cracked, the Internet of Things WIFI module configuration skill risen recently Still there is same potential safety hazard in art, the method that password transmission is carried out by way of UPD multicasts.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is that there is provided a kind of wireless communications method for realizing secure communication And system.
In order to solve the above-mentioned technical problem, the embodiment of the present invention proposes a kind of wireless communications method, including:
Generate forwarding step:Generate and send the packet containing random data start bit S and the first random number X;
Receive calculation procedure:Received data packet, channel switching sequence is calculated according to packet and default function formula; And
Synchronous transfer step:Correspondence identical channel is switched to according to channel switching sequence, sends, receive after synchronizing signal The transmission of presupposed information is carried out, this step is repeated repeatedly until presupposed information end of transmission.
Correspondingly, the embodiment of the present invention additionally provides a kind of wireless communication system, including:
Generate sending module:Generate and send the packet containing random data start bit S and the first random number X;
Receive computing module:Received data packet, channel switching sequence is calculated according to packet and default function formula; And
Synchronous transfer mode:Correspondence identical channel is switched to according to channel switching sequence, sends, receive after synchronizing signal The transmission of presupposed information is carried out, this operation is repeated repeatedly until presupposed information end of transmission.
The embodiment of the present invention is by proposing a kind of wireless communications method and system, according to packet and default function formula Channel switching sequence is calculated, and is solved according to channel switching sequence synchronism switching channel with carrying out the transmission of presupposed information The monitored attack of channel, and then account, password are the problem of be stolen, and are improved with simple technological means and relatively low cost logical Believe security.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the wireless communications method of the embodiment of the present invention.
Fig. 2 is the schematic flow sheet of the another form of wireless communications method of the embodiment of the present invention.
Fig. 3 is the data packet format schematic diagram of the embodiment of the present invention.
Fig. 4 is the schematic flow sheet of the reception calculation procedure of the embodiment of the present invention.
Fig. 5 is the schematic flow sheet of the synchronous transfer step of the embodiment of the present invention.
Fig. 6 is the structural representation of the wireless communication system of the embodiment of the present invention.
Fig. 7 is the structural representation of the reception computing module of the embodiment of the present invention.
Fig. 8 is the structural representation of the synchronous transfer mode of the embodiment of the present invention.
Drawing reference numeral explanation
Monitor step S1
Generate forwarding step S2
Receive calculation procedure S3
First receives sub-step S31
Calculate sub-step S32
Synchronous transfer step S4
Second receives sub-step S41
First frequency hopping sub-step S42
Second frequency hopping sub-step S43
Frame data transmission sub-step S44
3rd receives sub-step S45
Judge sub-step S46
Monitor module 10
Generate sending module 20
Receive computing module 30
First receiving submodule 31
Calculating sub module 32
Synchronous transfer mode 40
Second receiving submodule 41
First frequency hopping submodule 42
Second frequency hopping submodule 43
Frame data transmit submodule 44
3rd receiving submodule 45
Judging submodule 46.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combine, the present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
If the description for being related to " first ", " second " etc. in the present invention is only used for describing purpose, and it is not intended that indicating Or imply its relative importance or the implicit quantity for indicating indicated technical characteristic.Thus, " first ", " second " are defined Feature can express or implicitly include at least one this feature.
The radio communication of the embodiment of the present invention is based in the cordless communication networks such as WiFi, bluetooth, this specification with WiFi nets Illustrated exemplified by network.
Please with reference to Fig. 1 and Fig. 2, the wireless communications method of the embodiment of the present invention includes monitoring step S1, generation transmission Step S2, reception calculation procedure S3 and synchronous transfer step S4.
Monitor step S1:Network insertion end enters listening mode to carry out the reception of packet.Preferably, packet is used Ciphertext is transmitted, as shown in figure 3, data packet format is:Bag beginning flag M+ data start bit S+ the first random number X+CRC check codes The first random number X in O+ inclusion bundle flag N, figure is represented with ABCDEFGH.
Generate forwarding step S2:Mobile terminal generates and sends the number containing random data start bit S and the first random number X According to bag.
Receive calculation procedure S3:Network insertion end received data packet, network insertion end and mobile terminal are respectively according to packet Channel switching sequence is calculated with default function formula.Specifically, the function formula is R=X%10(N-S)×10S+X/10(N -S), wherein, R is natural number to represent the second random number of channel switching sequence, and X is the first random number, and is natural number, N For the digit of the first random number, and value is 1 to 9 natural number, and S is the corresponding numerical value of data start bit, and value is 0 to 7 Natural number.For example, start bit S=2, N=8, the first random numbers X=12345678, then the second random number R=12345678% 10(8-2)×102+12345678/10(8-2)=34567812, accordingly, channel switching sequence is 3,4,5,6,7,8,1,2, i.e., first 3 channel communications are switched to, 4,5,6,7,8,1,2 channel communications are then sequentially switched to.
Please with reference to Fig. 4, as a kind of embodiment, receive calculation procedure S3 include first receive sub-step S31 and Calculate sub-step S32.
First receives sub-step S31:Network insertion end received data packet.
Calculate sub-step S32:Mobile terminal calculates channel switching sequence according to the packet and default function formula of generation Row, network insertion end calculates same channel switching sequence according to the packet and default function formula of reception, and in meter Mark is returned after the completion of calculation and receives successful first answer signal.Preferably, it is different from the embodiment described above, network insertion End returns to mark after packet is received and receives successful first answer signal, to accelerate the efficiency of data processing, transmission.
Synchronous transfer step S4:Network insertion end and mobile terminal switch to correspondence identical according to channel switching sequence and believed Road, sends or receives the transmission that presupposed information is carried out after synchronizing signal, repeats this step repeatedly until presupposed information end of transmission. Preferably, proper communication step is also included after synchronous transfer step S4:Network insertion end and mobile terminal switch back into normal work Pattern carries out the transmission of nonsensitive data.Specifically, the presupposed information in the embodiment of the present invention can be quick for SSID and/or password etc. The data message of sense.
Please with reference to Fig. 5, as a kind of embodiment, synchronous transfer step S4 includes second and receives sub-step S41, the One frequency hopping sub-step S42, the second frequency hopping sub-step S43, frame data transmission sub-step S44, the 3rd receive sub-step S45 and judgement Sub-step S46.
Second receives sub-step S41:Network insertion end receives the first answer signal.
First frequency hopping sub-step S42:Mobile terminal enters frequency-hopping mode, and corresponding letter is switched to according to channel switching sequence Road, and initiate synchronizing signal.
Second frequency hopping sub-step S43:Network insertion end enters frequency-hopping mode, is switched to accordingly according to channel switching sequence Channel, receives and the second answer signal is returned after synchronizing signal.
Frame data transmission sub-step S44:It is mobile-terminated to receive after the second answer signal, carry out the transmission of a frame data.
3rd receives sub-step S45:Network insertion termination receives the 3rd answer signal of return after a frame data.
Judge sub-step S46:It is mobile-terminated receive judge after the 3rd answer signal presupposed information whether end of transmission, if It is no, then the first frequency hopping sub-step S42 is back to, to carry out the synchronism switching of channel according to channel switching sequence and carry out multiframe number According to transmission.
The wireless communication system of the embodiment of the present invention includes network insertion end and mobile terminal, wherein, network insertion end can be Air-conditioning, socket and water purifier provided with Internet of Things WiFi module etc., mobile terminal can for smart mobile phone, flat board, PDA and MiFi etc., Specifically, Fig. 6 is refer to, the wireless communication system includes monitoring module 10, generation sending module 20, receives computing module 30 And synchronous transfer mode 40.
Monitor module 10:For carrying out the reception of packet into listening mode.Preferably, data packet format is:Bag The first random number X in beginning flag M+ data start bit S+ the first random number X+CRC check code O+ inclusion bundle flag N, figure is used ABCDEFGH is represented.
Generate sending module 20:For generating and sending the data containing random data start bit S and the first random number X Bag.
Receive computing module 30:Channel is calculated for received data packet, and according to packet and default function formula Switching sequence.Wherein, the function formula is R=X%10(N-S)×10S+X/10(N-S), wherein, R is expression channel switching sequence Second random number, and be natural number, X is the first random number, and is natural number, and N is the digit of the first random number, and value is 1 To 9 natural number, S is the corresponding numerical value of data start bit, and value is 0 to 7 natural number.
Please with reference to Fig. 7, as a kind of embodiment, receiving computing module 30 includes the first receiving submodule 31 and meter Operator module 32.
First receiving submodule 31:For received data packet.
Calculating sub module 32:Channel switching sequence is calculated for the packet according to generation and default function formula, Same channel switching sequence, and the return mark after the completion of calculating are calculated according to the packet of reception and default function formula Know and receive successful first answer signal.
Synchronous transfer mode 40:Correspondence identical channel is switched to according to channel switching sequence, sends, receive synchronizing signal The transmission of presupposed information is carried out afterwards, repeats this operation repeatedly until presupposed information end of transmission.
Please with reference to Fig. 8, as a kind of embodiment, synchronous transfer mode 40 includes the second receiving submodule 41, the One frequency hopping submodule 42, the second frequency hopping submodule 43, frame data transmit submodule 44, the 3rd receiving submodule 45 and judge submodule Block 46.
Second receiving submodule 41:For receiving the first answer signal.
First frequency hopping submodule 42:For switching to corresponding channel according to channel switching sequence, and initiate synchronizing signal.
Second frequency hopping submodule 43:For switching to corresponding channel according to channel switching sequence, synchronizing signal is received After return to the second answer signal.
Frame data transmit submodule 44:For after the second answer signal is received, carrying out the transmission of a frame data.
3rd receiving submodule 45:For receiving the 3rd answer signal of return after a frame data.
Judging submodule 46:For receive judge after the 3rd answer signal presupposed information whether end of transmission, if it is not, then The first frequency hopping sub-step S42 is back to, to carry out the synchronism switching of channel according to channel switching sequence and carry out multiframe data Transmission.
The embodiment of the present invention calculates the channel switching sequence being randomly provided according to packet and default function formula, and According to channel switching sequence synchronism switching channel to carry out the transmission of presupposed information, using variable, non-fixed channel is preset The transmission of information, fundamentally solves the problem of data are stolen, allow user enjoy WiFi wireless connections bring it is convenient Meanwhile, also there is no concern that password account is stolen, reliably protect the privacy and property safety of corresponding personal and enterprise.
In addition, the part of the present invention can be applied to computer program product, such as computer program instructions, when its quilt When computer is performed, by the operation of the computer, the method according to the invention and/or technical scheme can be called or provided. And the programmed instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal bearing medias and be transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of present invention, the device includes using In the memory and processor for execute program instructions of storage computer program instructions, wherein, when the computer program refers to When order is by the computing device, method and/or skill of the plant running based on foregoing multiple embodiments according to the present invention are triggered Art scheme.
Although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with A variety of changes, modification can be carried out to these embodiments, replace without departing from the principles and spirit of the present invention by understanding And modification, the scope of the present invention limits by appended claims and its equivalency range.

Claims (6)

1. a kind of wireless communications method, it is characterised in that the wireless communications method includes:
Monitor step:Network insertion end enters listening mode to carry out the reception of packet;
Generate forwarding step:Generate and send the packet containing random data start bit S and the first random number X;
Receive calculation procedure:Received data packet, channel switching sequence is calculated according to packet and default function formula, described Function formula is R=X%10(N-S)×10S+X/10(N-S), wherein, R is to represent the second random number of channel switching sequence Natural number, X is the first random number, and is natural number, and N is the digit of the first random number, and value is 1 to 9 natural number, and S is The corresponding numerical value of data start bit, and value is 0 to 7 natural number;And
Synchronous transfer step:Correspondence identical channel is switched to according to channel switching sequence, sends, receive progress after synchronizing signal The transmission of presupposed information, repeats this step repeatedly until presupposed information end of transmission.
2. wireless communications method as claimed in claim 1, it is characterised in that receiving calculation procedure includes:
First receives sub-step:Received data packet;And
Calculate sub-step:Channel switching sequence is calculated according to the packet of generation and default function formula, according to reception Packet and default function formula calculate same channel switching sequence, and return mark is received successfully after the completion of calculating The first answer signal.
3. wireless communications method as claimed in claim 2, it is characterised in that synchronous transfer step includes:
Second receives sub-step:Receive the first answer signal;
First frequency hopping sub-step:Corresponding channel is switched to according to channel switching sequence, and initiates synchronizing signal;
Second frequency hopping sub-step:Corresponding channel is switched to according to channel switching sequence, receives and second is returned after synchronizing signal Answer signal;
Frame data transmit sub-step:Receive after the second answer signal, carry out the transmission of a frame data;
3rd receives sub-step:Receive the 3rd answer signal of return after a frame data;And
Judge sub-step:Receive judge after the 3rd answer signal presupposed information whether end of transmission, if it is not, being then back to first Frequency hopping sub-step, to carry out the synchronism switching of channel according to channel switching sequence and carry out the transmission of multiframe data.
4. a kind of wireless communication system, it is characterised in that the communication system includes:
Monitor module:Into listening mode to carry out the reception of packet;
Generate sending module:Generate and send the packet containing random data start bit S and the first random number X;
Receive computing module:Received data packet, channel switching sequence is calculated according to packet and default function formula, described Function formula is R=X%10(N-S)×10S+X/10(N-S), wherein, R is to represent the second random number of channel switching sequence Natural number, X is the first random number, and is natural number, and N is the digit of the first random number, and value is 1 to 9 natural number, and S is The corresponding numerical value of data start bit, and value is 0 to 7 natural number;And
Synchronous transfer mode:Correspondence identical channel is switched to according to channel switching sequence, sends, receive progress after synchronizing signal The transmission of presupposed information, repeats this operation repeatedly until presupposed information end of transmission.
5. wireless communication system as claimed in claim 4, it is characterised in that receiving computing module includes:
First receiving submodule:Received data packet;And
Calculating sub module:Channel switching sequence is calculated according to the packet of generation and default function formula, according to reception Packet and default function formula calculate same channel switching sequence, and return mark is received successfully after the completion of calculating The first answer signal.
6. wireless communication system as claimed in claim 5, it is characterised in that synchronous transfer mode includes:
Second receiving submodule:Receive the first answer signal;
First frequency hopping submodule:Corresponding channel is switched to according to channel switching sequence, and initiates synchronizing signal;
Second frequency hopping submodule:Corresponding channel is switched to according to channel switching sequence, receives and second is returned after synchronizing signal Answer signal;
Frame data transmit submodule:Receive after the second answer signal, carry out the transmission of a frame data;
3rd receiving submodule:Receive the 3rd answer signal of return after a frame data;And
Judging submodule:Receive judge after the 3rd answer signal presupposed information whether end of transmission, if it is not, being then back to first Frequency hopping sub-step, to carry out the synchronism switching of channel according to channel switching sequence and carry out the transmission of multiframe data.
CN201610104268.9A 2016-02-25 2016-02-25 Wireless communications method and system Expired - Fee Related CN105792192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610104268.9A CN105792192B (en) 2016-02-25 2016-02-25 Wireless communications method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610104268.9A CN105792192B (en) 2016-02-25 2016-02-25 Wireless communications method and system

Publications (2)

Publication Number Publication Date
CN105792192A CN105792192A (en) 2016-07-20
CN105792192B true CN105792192B (en) 2017-08-15

Family

ID=56403670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610104268.9A Expired - Fee Related CN105792192B (en) 2016-02-25 2016-02-25 Wireless communications method and system

Country Status (1)

Country Link
CN (1) CN105792192B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7366532B2 (en) * 2003-10-09 2008-04-29 Motorola, Inc. Group call management through receive/transmit synchronization
CN101667849B (en) * 2008-09-05 2014-04-30 华为技术有限公司 Data transmission method, network equipment and communication system
CN101883358A (en) * 2010-05-12 2010-11-10 北京科技大学 Method for guaranteeing security of single-transceiver time-slot type distribution CR MAC (Cognitive Radio Multiple Access Control) protocol
CN104639209A (en) * 2015-02-13 2015-05-20 深圳市睿祺智尚科技有限公司 Self-adaptive frequency-hopping method of 2.4G transmission network

Also Published As

Publication number Publication date
CN105792192A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
CN102075930B (en) Management frames for wireless network sets up device, the system and method for priority
CN108366362A (en) MESH network and its MESH equipment safeties match network method
CN102594555B (en) Security protection method for data, entity on network side and communication terminal
CN106856609A (en) A kind of network collocating method and device
CN102223231B (en) M2M terminal authentication system and authentication method
CN101682514B (en) Field programming of a mobile station with subscriber identification and related information
CN105933895A (en) Transmission method of WIFI network configuration data, intelligent device, and intelligent terminal
US20240107313A1 (en) Control frame processing method, control frame generating method, station, access point, and storage medium
KR20040004925A (en) Wireless local area network system with a guarantee of users' anonymity and method of guaranteeing users' anonymity therein
CN104303583B (en) System and method for establishing secure connection in a communications system
CN1879364A (en) Method, apparatuses and computer to provide secured direct link between two stations
CN102595405A (en) Authentication method, system and equipment for network access
CN107852760A (en) Communication equipment, communication means and program
CN108476131A (en) Data transmission method, device and equipment
CN105873052B (en) A kind of method and device that wifi equipment networks
CN110475247A (en) Message treatment method and device
CN103581154A (en) Authentication method and device in system of Internet of Things
CN100571460C (en) The method and apparatus of secure roaming
CN105517102A (en) Method, device and equipment for enabling wireless network equipment to be connected with hot spot
CN105450392B (en) A kind of method and device for determining key pair, data processing method
CN101199184B (en) The method and apparatus of authentication code is provided
CN101159907A (en) Method and system of encrypting multimode mobile communication terminal
CN109756324A (en) Cryptographic key negotiation method, terminal and gateway in a kind of Mesh network
CN113872755A (en) Key exchange method and device
CN103379490A (en) Authentication method, device and system of user equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Du Lin

Inventor after: Zhao Fei

Inventor after: Ren Xiaoya

Inventor after: Jiang Tianliang

Inventor after: Wei Caixia

Inventor after: Wang Xuelin

Inventor before: Zhao Fei

Inventor before: Jiang Tianliang

Inventor before: Wei Caixia

Inventor before: Wang Xuelin

COR Change of bibliographic data
CB03 Change of inventor or designer information

Inventor after: Zhao Fei

Inventor after: Jiang Tianliang

Inventor after: Ren Xiaoya

Inventor after: Liu Lin

Inventor after: Wei Caixia

Inventor after: Wang Xuelin

Inventor before: Du Lin

Inventor before: Zhao Fei

Inventor before: Ren Xiaoya

Inventor before: Jiang Tianliang

Inventor before: Wei Caixia

Inventor before: Wang Xuelin

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170815

Termination date: 20190225

CF01 Termination of patent right due to non-payment of annual fee