Nothing Special   »   [go: up one dir, main page]

CN102412873B - Short-range wireless telemetering PC diversity method - Google Patents

Short-range wireless telemetering PC diversity method Download PDF

Info

Publication number
CN102412873B
CN102412873B CN201110316940.8A CN201110316940A CN102412873B CN 102412873 B CN102412873 B CN 102412873B CN 201110316940 A CN201110316940 A CN 201110316940A CN 102412873 B CN102412873 B CN 102412873B
Authority
CN
China
Prior art keywords
data
package informatin
correct
parity check
packet
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
CN201110316940.8A
Other languages
Chinese (zh)
Other versions
CN102412873A (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.)
Jingjiang Xinhua Port Co ltd
Original Assignee
Nanjing Vocational College Of Information Technology
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 Nanjing Vocational College Of Information Technology filed Critical Nanjing Vocational College Of Information Technology
Priority to CN201110316940.8A priority Critical patent/CN102412873B/en
Publication of CN102412873A publication Critical patent/CN102412873A/en
Application granted granted Critical
Publication of CN102412873B publication Critical patent/CN102412873B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A short-range wireless telemetry PC diversity method comprises the following steps: 1) the data analysis is carried out on the received packet information, and the steps comprise: firstly, taking a packet header, judging whether the current byte content is the packet header definition content, if so, carrying out the next step, and if not, taking next packet information; judging whether the packet tail is correct or not and whether the packet verification is correct or not; if either of the two conditions is correct, parity check is performed; if both conditions are incorrect, then take off a packet of information; then, carrying out parity check, and if the parity check is correct, taking data in the packet information; if the parity check is incorrect, taking the next packet of information; 2) and processing the data in the acquired packet information, and performing diversity to acquire correct data and corresponding packet information. The technical scheme adopts a mode of collecting signal PC diversity by multiple nodes in the same group, has the advantages of simple system, low cost and low power consumption, and is very suitable for short-range wireless telemetering application.

Description

Short-distance wireless telemetry PC diversity method
Technical field
The invention belongs to applications of computer network technical field, be specifically applied to the short-distance wireless telemetry PC diversity method of short-distance wireless telemetry.
Background technology
Short-distance wireless telemetry technology is to rely on wireless technology, realizes the solution of DATA REASONING and transfer of data in the effective range of or two hundred meters.Have at present five kinds of main short distance mechanicss of communication, they respectively: WLAN (wireless local area network) (Wi-Fi), bluetooth (Bluetooth), Zigbee, super wideband (Ultra WideBand) and short haul connection (NFC).But all more or less have that system is huge, agreement is loaded down with trivial details, cost is high, the problem such as core technology is open.
Summary of the invention
In order to solve the above-mentioned problems in the prior art, the present invention proposes a kind of short-distance wireless telemetry PC diversity method, and concrete technical scheme is as follows:
A short-distance wireless telemetry PC diversity method, this method based on system comprise a plurality of measurement modules and PC; Each measurement module is connected with wireless communication module, and PC is connected with a plurality of wireless grounded receiving stations as radio node, the corresponding information that receives one or more measurement modules of each radio node;
Definition in this method: unit---each measurement module and corresponding wireless communication module; Radio node---wireless grounded receiving station; The same package informatin (data message of this package informatin is perhaps imperfect) of group---the same unit that a plurality of radio nodes receive simultaneously; Package informatin---its data structure is that packet header+bag index+data+signal strength signal intensity RSSI+ wraps verification+parity check+bag tail;
The diversity step of package informatin comprises:
1) receive package informatin is carried out to Data Analysis, step comprises:
First get packet header, judge whether current byte content is packet header definition content, if so, carries out next step, if not, next package informatin got;
Whether judgement bag tail is correct again, and whether bag verification is correct; These two conditions, any correctly just carries out parity check; If these two conditions are all incorrect, get next package informatin;
Then carry out parity check, parity check is correct, gets the data in package informatin; Parity check is incorrect, gets next package informatin;
2) data that obtain in package informatin are processed, diversity, obtains correct data and corresponding package informatin:
A) in same group, if resolved, obtain package informatin and only have one, the data in this package informatin are desired data so;
B) in same group, if resolved, obtain unnecessary one of package informatin,, first the data in any two package informatins are compared,
If data are identical, retain these data; If data are different, compare the signal strength signal intensity RSSI in these two package informatins, data corresponding to package informatin that stick signal intensity RSSI is large;
To the data that retain, then compare with the data in other package informatin, the final data that retain are correct data, and package informatin corresponding to correct data is the package informatin that diversity obtains.
In described step 1), the method for getting next package informatin is, constantly gets next byte, until the byte content of getting while being packet header, is interrupted.
Described step 2), in, correct data, in PC memory block, are with two-dimensional array A[i] form of [j] storage, wherein i---the channel number of transducer in unit, j---the data of j package informatin of i passage.
The wireless telemetering PC deversity scheme of the technical program, takes the mode of multinode collection signal PC diversity on the same group, and advantage is that system is simple, low cost and low-power consumption, is very suitable for short-distance wireless telemetry application.
Accompanying drawing explanation
Fig. 1 package informatin data structure schematic diagram;
Fig. 2 short-distance wireless telemetry PC diversity scheme system schematic;
Fig. 3 collects node data subroutine flow chart;
Fig. 4 data diversity flow chart.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described:
As Fig. 1, a plurality of wireless grounded receiving stations, by serial ports, are sent into the package informatin unification receiving in the buffering area of PC in the mode of dividing into groups.The package informatin of the receiving station that these for example, are collected from described a plurality of serial ports (USB port) is stored in the storage area of PC again through PC diversity, make PC can the package informatin of receiving from serial ports be take simultaneously every n carry out diversity processing as the mode of a group.
data word:for the sample data of coming from s measurement module collection, in storage area, with the form storage of array, array of data length is defined as to A[s] [r], be the space that each sensing data is reserved r byte.(r is determined by the smoothness of sampling time, sample frequency and picture that expectation is drawn)
radio node: i.e. described wireless grounded receiving station, it with PC directly (passing through serial ports) be connected, the wireless data sending from individual unit for relaying.Radio node is n, is at least 1.The node of intercepting same unit is one group.The object that multinode is arranged is in order spatially to obtain a plurality of wireless receiving data of carrying same information, is convenient to PC and focuses on and obtain raw information.
unit: i.e. described measurement module, it possesses and gathers and data wireless transfer function, and measuring unit support and serial port of host computer be direct-connected carrys out dispensing unit parameter.Carrying out direct-connected unit, is for dispensing unit frequency (unit being carried out to initialization), query unit state, also can direct-connected direct-reading data, and direct-connected simulation completes measuring process.
passage: the sensor passage (Tunnel) that measuring unit comprises.
Package informatin: be the data cell in wireless receiving and dispatching agreement, it comprises the control information that some are necessary: packet header, bag index, data, signal strength signal intensity RSSI, bag verification, parity check sum bag tail, totally 13 bytes.
PC diversity processing mode: the nodal information of each period is that the form with packet sends to PC by serial port, i.e. all information that packet comprises n node of this frequency range; Every group of packet, altogether m group.
The wireless signal sending for the unit of a group, the node of the n in this group can be received simultaneously, and it is sent to computer by serial port simultaneously.Computer is reserved not limit for length's a fifo queue for each serial port, and these queues (n * m) are combined into a thread pool.And be the fifo queue (13 bytes are determined by bag data structure length) that each packet arranges a fixed length in addition, be used for copying the data content taking out from thread pool.
Data processing thread will carry out Data Analysis to the n of each a unit package informatin, selects a legal package informatin to put into internal memory.PC(can write diversity handling procedure according to this method) according to the information bit of judgement package informatin, verify the correctness of wrapping data, this process is called Data Analysis.Data Analysis process program is with reference to figure 3.
Package informatin carries out the flow process of Data Analysis:
1, get packet header, judge whether current byte content is packet header definition content, if so, carries out next step, if not, next package informatin got;
2, bag analysis condition:
(1) whether correctly wrap tail;
(2) whether correctly wrap verification;
Above two conditions, meet and arbitraryly just can enter parity check, and parity check correctly enters bag flow chart of data processing; If do not meet, get next package informatin.
3, bag flow chart of data processing:
For n the packet that k (1≤k≤r) same group n the same time of node of criticizing sends, program will compare and select them.First, the correctness of n node data bag of checking, if correctly just get the data division in bag, if mistake is just got next byte; The data division of each bag has comprised P road sensor passage data, and this P circuit-switched data need to be used program verification legitimacy.
Data are with two-dimensional array A[i in internal memory] form of [j] storage, wherein i represents the channel number of transducer in wireless measurement unit, j represents j data of this sensor passage.
First get the i(1≤i≤P in j packet of first node) (P is the port number of set transducer in each unit) road sensor passage data; Then get i road sensor passage data in j packet of second node.Two groups of channel datas compare, if numerical value is identical, deposit in internal memory.While putting into internal memory, retrieval bag call number, determines channel number i and memory location j, and according to data word content, array A[i is put in circulation] [j]; If two groups of relatively rear numerical value of channel datas are different, randomly draw the data of i road transducer in these 2 packets organizing all n node, relatively the RSSI field of two groups, selects the maximum Na of RSSI value road sensing data to deposit in internal memory, and logging mode is the same.

Claims (2)

1. a short-distance wireless telemetry PC diversity method, it is characterized in that this method based on system comprise a plurality of measurement modules and PC; Each measurement module is connected with wireless communication module, and PC is connected with a plurality of wireless grounded receiving stations as radio node, the corresponding information that receives one or more measurement modules of each radio node;
Definition in this method: unit---each measurement module and corresponding wireless communication module; Radio node---wireless grounded receiving station; Group---the same package informatin of the same unit that a plurality of radio nodes receive simultaneously; Package informatin---its data structure is that packet header+bag index+data+signal strength signal intensity RSSI+ wraps verification+parity check+bag tail;
The diversity step of package informatin comprises:
1) receive package informatin is carried out to Data Analysis, step comprises:
First get packet header, judge whether current byte content is packet header definition content, if so, carries out next step, if not, next package informatin got;
Whether judgement bag tail is correct again, and whether bag verification is correct; These two conditions, any correctly just carries out parity check; If these two conditions are all incorrect, get next package informatin;
Then carry out parity check, parity check is correct, gets the data in package informatin; Parity check is incorrect, gets next package informatin;
2) data that obtain in package informatin are processed, diversity, obtains correct data and corresponding package informatin:
A) in same group, if resolved, obtain package informatin and only have one, the data in this package informatin are desired data so;
B), in same group, if resolved, to obtain package informatin more than one,, first the data in any two package informatins are compared,
If data are identical, retain these data; If data are different, compare the signal strength signal intensity RSSI in these two package informatins, data corresponding to package informatin that stick signal intensity RSSI is large;
To the data that retain, then compare with the data in other package informatin;
In described step 1), the method for getting next package informatin is, constantly gets next byte, until the byte content of getting while being packet header, is interrupted.
2. short-distance wireless telemetry PC diversity method according to claim 1, it is characterized in that described step 2) in, correct data are in PC memory block, with two-dimensional array A[i] form of [j] storage, wherein i---the channel number of transducer in unit, j---the data of j package informatin of i passage.
CN201110316940.8A 2011-10-18 2011-10-18 Short-range wireless telemetering PC diversity method Expired - Fee Related CN102412873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110316940.8A CN102412873B (en) 2011-10-18 2011-10-18 Short-range wireless telemetering PC diversity method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110316940.8A CN102412873B (en) 2011-10-18 2011-10-18 Short-range wireless telemetering PC diversity method

Publications (2)

Publication Number Publication Date
CN102412873A CN102412873A (en) 2012-04-11
CN102412873B true CN102412873B (en) 2014-03-12

Family

ID=45914751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110316940.8A Expired - Fee Related CN102412873B (en) 2011-10-18 2011-10-18 Short-range wireless telemetering PC diversity method

Country Status (1)

Country Link
CN (1) CN102412873B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1176544A (en) * 1996-07-16 1998-03-18 日本电气株式会社 Diversity receiver
CN1430423A (en) * 2001-12-31 2003-07-16 深圳市中兴通讯股份有限公司上海第二研究所 Method and device for realizing digital selection diversity
CN1499743A (en) * 2002-11-08 2004-05-26 深圳市中兴通讯股份有限公司 Method for antenna switching diversity in wireless communication system and its device
CN101378270A (en) * 2007-08-30 2009-03-04 艾威梯软件技术(北京)有限公司 Method, equipment and system for managing short distance radio equipment data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7020474B2 (en) * 2003-06-25 2006-03-28 Cross Match Technologies, Inc. System and method for securing short-distance wireless communications, and applications thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1176544A (en) * 1996-07-16 1998-03-18 日本电气株式会社 Diversity receiver
CN1430423A (en) * 2001-12-31 2003-07-16 深圳市中兴通讯股份有限公司上海第二研究所 Method and device for realizing digital selection diversity
CN1499743A (en) * 2002-11-08 2004-05-26 深圳市中兴通讯股份有限公司 Method for antenna switching diversity in wireless communication system and its device
CN101378270A (en) * 2007-08-30 2009-03-04 艾威梯软件技术(北京)有限公司 Method, equipment and system for managing short distance radio equipment data

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Allen Miu, Hari Balakrishnan Can Emre Koksal.Multi-radio diversity in wireless networks.《Wireless Networks》.2007,第13卷(第6期),第780页第2栏倒数第1-2行,图1
Multi-radio diversity in wireless networks;Allen Miu, Hari Balakrishnan Can Emre Koksal;《Wireless Networks》;20071231;第13卷(第6期);第780页第2栏倒数第1-2行,图1;第781页第1栏第2-7行,第787页右栏倒数第14行-第788页右栏第25行 *
第781页第1栏第2-7行,第787页右栏倒数第14行-第788页右栏第25行.

Also Published As

Publication number Publication date
CN102412873A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
US11038659B2 (en) Cross indication of queue size in a reverse direction protocol
CN105072659B (en) A kind of high transmission rates multi-hop wireless sensor network
CN104375484B (en) Distributed control system based on CAN open protocol
CN103781088A (en) Two point four gigahertz full-channel data collection and protocol analysis instrument based on IEEE802.15.4
CN104168582B (en) A kind of microcell base station system, relevant device and data processing method
CN206442403U (en) A kind of vehicle communication experiment porch
CN103338464B (en) Communication means and equipment
CN102917024A (en) Cloud computing and RFID (radio frequency identification) based cow milk quality monitoring system and method
CN105071859A (en) Downlink and uplink data transmission method and apparatus
CN105471548B (en) A kind of network data Packet analyzing and distribution method
CN106027397A (en) Network communication method for distributed measuring equipment of star expansion
CN109688564A (en) A kind of power monitoring system and O&M method based on bluetooth and LoRa
CN102348295A (en) System based on wireless data acquisition and networking method thereof
CN101521609A (en) Wireless sensor network node hardware device
CN102412873B (en) Short-range wireless telemetering PC diversity method
CN104243246B (en) A kind of FlexRay bus tests and optimization method and device based on ZigBee technology
US10716141B2 (en) Method for controlling wireless communication network and server therefor
CN103813460A (en) Method for identifying resources used for transmitting control channels
EP4376541A1 (en) Multi-link communication method and communication apparatus
CN107144751A (en) A kind of multichannel vector network parametric analysis system and method
CN105206028A (en) Information acquisition device and system based on internet of things
CN104091433A (en) System and method for wirelessly transmitting data of digital scopemeter based on RFID (Radio Frequency Identification)
CN103678235B (en) Based on parallel pipeline network data processing device and method
CN102315874B (en) Short-range wireless communication packet diversity method
US10764770B2 (en) Detecting network devices without joining a network

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

Effective date of registration: 20201117

Address after: 214500 west side of zhangchungang Road, Xingang Park, Jingjiang Economic Development Zone, Taizhou City, Jiangsu Province

Patentee after: Jingjiang Xinhua Port Co.,Ltd.

Address before: Xianlin University City Road in Qixia District of Nanjing City, Jiangsu Province, No. 99 210046

Patentee before: Nanjing Vocational College of Information Technology

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

Granted publication date: 20140312

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