CN106131801A - A kind of based on android system without JA(junction ambient) enciphered data transmission method - Google Patents

A kind of based on android system without JA(junction ambient) enciphered data transmission method Download PDF

Info

Publication number
CN106131801A
CN106131801A CN201610502072.5A CN201610502072A CN106131801A CN 106131801 A CN106131801 A CN 106131801A CN 201610502072 A CN201610502072 A CN 201610502072A CN 106131801 A CN106131801 A CN 106131801A
Authority
CN
China
Prior art keywords
application program
packet
data
android
transmission method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610502072.5A
Other languages
Chinese (zh)
Other versions
CN106131801B (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.)
Chengdu Love Technology Co., Ltd.
Original Assignee
Chengdu Xike 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 Chengdu Xike Technology Co Ltd filed Critical Chengdu Xike Technology Co Ltd
Priority to CN201610502072.5A priority Critical patent/CN106131801B/en
Publication of CN106131801A publication Critical patent/CN106131801A/en
Application granted granted Critical
Publication of CN106131801B publication Critical patent/CN106131801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/10Integrity

Landscapes

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

Abstract

The invention discloses a kind of based on android system without the enciphered data transmission method of JA(junction ambient), in this transmission plan, sender's equipment utilization Android application program is by valid data waiting for transmission, burst is carried out after encryption, each encryption data sheet is encoded into designated multicast IP address, these multicast ip address backward cycle through the packet comprising constant mark.Receiver equipment is opened network card chip by Linux application program and is monitored pattern, monitoring wireless network packet, and set up bivariate table data structure, the multicast packets that will listen to, by source and target MAC (Media Access Control) address taxonomic revision and sequence, after receiving complete encryption data, then parse valid data by Android application program.So far two Android device encrypted data transmission under without connection is completed.The present invention is applicable to, without under JA(junction ambient), transmit a small amount of encrypted sensitive information between Android device.

Description

A kind of based on android system without JA(junction ambient) enciphered data transmission method
Technical field
The present invention relates to a kind of based on android system without the enciphered data transmission method of JA(junction ambient).
Background technology
According to prior art, Android device carries out wireless data transmission, is necessarily required to make equipment both sides access same One LAN or wide area network, if wherein there is an isolated island equipment (not accessing any network), then data transfer operation has been difficult to Become.Even if a side sends broadcast data packet, the opposing party also can only receive and cannot clearly originate, through the data of encryption.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, it is provided that a kind of based on android system without JA(junction ambient) Enciphered data transmission method, the method can be under connectionless environment, and between Android device, a small amount of encryption of transmission is quick Sense information.
It is an object of the invention to be achieved through the following technical solutions: a kind of based on android system without JA(junction ambient) Enciphered data transmission method, data flow is from sender's device A ndroid application program, be received method, apparatus Linux should By program, being finally delivered to upper strata Android application program, it comprises the steps:
S1: sender's equipment starts Android application program, generates current sessions encryption key, by data to be transmitted by being somebody's turn to do Key is encrypted, and ciphertext is carried out burst storage;
S2: the ciphertext stored by each burst, is coded in multicast ip address;
S3: sender's device A ndroid application program cycles through to the multicast ip address of all codings and comprises constant mark Packet;
S4: receiver equipment starts Linux application program, and network card chip is placed in monitoring pattern, monitors MAC layer wireless data Bag, and set up bivariate table structure, the packet that classification storage listens to, carry out data packet sequencing, verify packet integrity;
After the encryption data received is spliced into complete packet by S5: recipient, Linux application transfer give Android application program;
S6:Android application program generates current sessions deciphering key, is decrypted data;
S7: data are transmitted.
Described current sessions encryption generates with deciphering key temporally block.
Described ciphertext carries out burst storage by unit length.
Described multicast ip address includes the sequence identifier identifying this burst ciphertext sequence, and identifies this burst ciphertext The station location marker of position.
Described bivariate table structure is two-dimensional chain table structure, two-dimensional array or similar data structure.
The classification foundation carrying out packet classification storage in described step S4 is source MAC, each bivariate table structure The data of the inside, are resolved by target MAC (Media Access Control) address and get, and sort by is the sequence identifier parsed;Packet completeness check Method be, it is judged that have been received by packet sum whether equal to the sequence identifier value in the packet that station location marker is ending.
The invention has the beneficial effects as follows: the invention provides a kind of based on android system without the encryption number of JA(junction ambient) According to transmission method, the method is applicable to, without under JA(junction ambient), transmit a small amount of encrypted sensitive information, example between Android device Such as account information, authentication information etc..
Accompanying drawing explanation
Fig. 1 is general frame figure of the present invention;
Fig. 2 is data encoding schematic diagram;
Fig. 3 is data packet sequencing schematic diagram.
Detailed description of the invention
Technical scheme is described in further detail below in conjunction with the accompanying drawings, but protection scope of the present invention is not limited to The following stated.
As it is shown in figure 1, a kind of based on android system without the enciphered data transmission method of JA(junction ambient), data flow is From sender's device A ndroid application program, being received method, apparatus Linux application program, being finally delivered to upper strata Android should By program, it comprises the steps:
S1: sender's equipment starts Android application program, and temporally block generates current sessions encryption key, by be transmitted Data are encrypted by this key, and by unit length, ciphertext is carried out burst storage;
S2: the ciphertext stored by each burst, is coded in multicast ip address, wherein encloses the sequence identifying this burst ciphertext sequence Row mark, and identify the station location marker of this burst ciphertext position, as shown in Figure 2;
S3: sender's device A ndroid application program cycles through to the multicast ip address of all codings and comprises constant mark Packet;
S4: receiver equipment starts Linux application program, and network card chip is placed in monitoring pattern, monitors MAC layer wireless data Bag, and set up bivariate table structure, the packet that classification storage listens to, carry out data packet sequencing, verify packet integrity;As The two-dimensional chain table structure that Fig. 3 sets up after showing monitored data bag, wherein classification foundation is source MAC, each chain the exterior and the interior Data, target MAC (Media Access Control) address resolve and get (there are mapping relations in target MAC (Media Access Control) address and multicast ip address, therefore here by purpose MAC Address obtains the data of coding in multicast ip address), sort by is the sequence identifier parsed, packet integrity school The method tested is, it is judged that whether have been received by packet sum equal to the sequence identifier value in the packet that station location marker is ending. In figure 3, station location marker 0 represents non-end of data bag, and 1 represents end of data bag, is shown that having been received by sender 2 and passes in figure The defeated complete encryption data bag come.
S5: inside receiver equipment, after the encryption data received is spliced into complete packet, is applied by Linux Program transportation is to Android application program;
S6:Android application program temporally block generates current sessions deciphering key, is decrypted data;
S7: data are transmitted.
Described bivariate table structure is two-dimensional chain table structure, two-dimensional array or other similar data structures.

Claims (6)

1., based on android system without the enciphered data transmission method of JA(junction ambient), data flow is from sender's equipment Android application program, is received method, apparatus Linux application program, is finally delivered to upper strata Android application program, and it is special Levying and be, it comprises the steps:
S1: sender's equipment starts Android application program, generates current sessions encryption key, by data to be transmitted by being somebody's turn to do Key is encrypted, and ciphertext is carried out burst storage;
S2: the ciphertext stored by each burst, is coded in multicast ip address;
S3: sender's device A ndroid application program cycles through to the multicast ip address of all codings and comprises constant mark Packet;
S4: receiver equipment starts Linux application program, and network card chip is placed in monitoring pattern, monitors MAC layer wireless data Bag, and set up bivariate table structure, the packet that classification storage listens to, carry out data packet sequencing, verify packet integrity;
After the encryption data received is spliced into complete packet by S5: recipient, Linux application transfer give Android application program;
S6:Android application program generates current sessions deciphering key, is decrypted data;
S7: data are transmitted.
The most according to claim 1 a kind of based on android system without the enciphered data transmission method of JA(junction ambient), it is special Levy and be: described current sessions encryption generates with deciphering key temporally block.
The most according to claim 1 a kind of based on android system without the enciphered data transmission method of JA(junction ambient), it is special Levy and be: described ciphertext carries out burst storage by unit length.
The most according to claim 1 a kind of based on android system without the enciphered data transmission method of JA(junction ambient), it is special Levy and be: described multicast ip address includes identifying the sequence identifier of this burst ciphertext sequence, and identifies this burst ciphertext The station location marker of position.
The most according to claim 1 a kind of based on android system without the enciphered data transmission method of JA(junction ambient), it is special Levy and be: described bivariate table structure is two-dimensional chain table structure, two-dimensional array or similar data structure.
The most according to claim 1 a kind of based on android system without the enciphered data transmission method of JA(junction ambient), it is special Levy and be: the classification foundation carrying out packet classification storage in described step S4 is source MAC, in each bivariate table structure The data in face, are resolved by target MAC (Media Access Control) address and get, and sort by is the sequence identifier parsed;Packet completeness check Method is, it is judged that whether have been received by packet sum equal to the sequence identifier value in the packet that station location marker is ending.
CN201610502072.5A 2016-06-30 2016-06-30 One kind being based on the connectionless environment enciphered data transmission method of android system Active CN106131801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610502072.5A CN106131801B (en) 2016-06-30 2016-06-30 One kind being based on the connectionless environment enciphered data transmission method of android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610502072.5A CN106131801B (en) 2016-06-30 2016-06-30 One kind being based on the connectionless environment enciphered data transmission method of android system

Publications (2)

Publication Number Publication Date
CN106131801A true CN106131801A (en) 2016-11-16
CN106131801B CN106131801B (en) 2019-10-01

Family

ID=57285565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610502072.5A Active CN106131801B (en) 2016-06-30 2016-06-30 One kind being based on the connectionless environment enciphered data transmission method of android system

Country Status (1)

Country Link
CN (1) CN106131801B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483471A (en) * 2017-09-05 2017-12-15 成都索贝数码科技股份有限公司 A kind of Multimedia Transmission System suitable for strange land cooperation
CN108712415A (en) * 2018-05-17 2018-10-26 深圳市灵星雨科技开发有限公司 A kind of data transmission method based on android system
CN112580064A (en) * 2019-09-27 2021-03-30 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764200A (en) * 2005-10-27 2006-04-26 武蒙 Network safety access control architecture and realizing method
CN101119200A (en) * 2007-08-03 2008-02-06 上海贝尔阿尔卡特股份有限公司 Method, network unit, terminal and system for providing broadcast/multicast service
CN104065765A (en) * 2014-07-09 2014-09-24 杭州古北电子科技有限公司 WIFI data transmitting method and system and related method thereof
US20160080416A1 (en) * 2014-09-16 2016-03-17 Gainspan Corporation Security for group addressed data packets in wireless networks
US20160142313A1 (en) * 2013-08-06 2016-05-19 Cisco Technology, Inc. Intelligent Handling of Virtual Machine Mobility in Large Data Center Environments

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764200A (en) * 2005-10-27 2006-04-26 武蒙 Network safety access control architecture and realizing method
CN101119200A (en) * 2007-08-03 2008-02-06 上海贝尔阿尔卡特股份有限公司 Method, network unit, terminal and system for providing broadcast/multicast service
US20160142313A1 (en) * 2013-08-06 2016-05-19 Cisco Technology, Inc. Intelligent Handling of Virtual Machine Mobility in Large Data Center Environments
CN104065765A (en) * 2014-07-09 2014-09-24 杭州古北电子科技有限公司 WIFI data transmitting method and system and related method thereof
US20160080416A1 (en) * 2014-09-16 2016-03-17 Gainspan Corporation Security for group addressed data packets in wireless networks

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483471A (en) * 2017-09-05 2017-12-15 成都索贝数码科技股份有限公司 A kind of Multimedia Transmission System suitable for strange land cooperation
CN107483471B (en) * 2017-09-05 2021-03-02 成都索贝数码科技股份有限公司 Multimedia data transmission system suitable for remote cooperation
CN108712415A (en) * 2018-05-17 2018-10-26 深圳市灵星雨科技开发有限公司 A kind of data transmission method based on android system
CN108712415B (en) * 2018-05-17 2021-08-20 深圳市灵星雨科技开发有限公司 Data transmission method based on android system
CN112580064A (en) * 2019-09-27 2021-03-30 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device
CN112580064B (en) * 2019-09-27 2023-01-13 华控清交信息科技(北京)有限公司 Data processing method and device and data processing device

Also Published As

Publication number Publication date
CN106131801B (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN101917270B (en) Weak authentication and key agreement method based on symmetrical password
CN102739687B (en) Based on application service Network Access Method and the system of mark
CN104994106B (en) Pairing/solution pairing system and method for smart mobile phone and wearable device
CN105516103A (en) Method, device and system for binding intelligent household electrical appliances
GB2466173A (en) Authentication while exchanging data in a communication system
CN106131801A (en) A kind of based on android system without JA(junction ambient) enciphered data transmission method
CA2522310A1 (en) System and method for securely adding redundancy to an electronic message
CN102595389A (en) Method and system for MTC (Machine Type Communication) servers to share key
CN101938740A (en) Information issuing method and system for earthquake tsunami alarm system
CN105554760A (en) Wireless access point authentication method, device and system
CN104717105A (en) Industrial sensor network data repeated detecting method based on standard ISA 100.11a
CN107820325A (en) Wireless communications method and system, computer-readable storage medium and equipment
CN103428691A (en) Mobile phone bank safety certificating method and system
CN108243177B (en) Data transmission method and device
CN101986726A (en) Method for protecting management frame based on wireless local area network authentication and privacy infrastructure (WAPI)
CN107230335A (en) Communication means and system for the live managing and control system of photovoltaic generation
CN104661171A (en) Small data secure-transmission method and system for MTC device group
CN105471845A (en) Communication method and communication system for preventing man-in-the-middle attack
CN106301793A (en) A kind of PLC certification and the method for secure communication
CN102752306A (en) Digital media management method and system based on identification
CN105976141A (en) Networked logistics inventory method and device
CN110049045B (en) Safety certification system for power line carrier
CN109067550B (en) Bidirectional authentication system and bidirectional authentication method based on CPK (Combined public Key) identification key
CN104579684B (en) A kind of SM2 checking algorithms suitable for distribution network data
CN107124312A (en) The method and apparatus of equipment in network configuration

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: 20191022

Address after: Two Lu Tian Hua high tech Zone of Chengdu City, Sichuan province 610000 No. 219 building 3 layer 12

Patentee after: Chengdu Love Technology Co., Ltd.

Address before: Two Lu Tian Hua high tech Zone of Chengdu City, Sichuan province 610041 No. 219 Tianfu Software Park C District 12 building 6 layer

Patentee before: Chengdu Xike Technology Co.,Ltd.