CN104639644A - Wireless local area network communication device and communication system - Google Patents

Wireless local area network communication device and communication system Download PDF

Info

Publication number
CN104639644A
CN104639644A CN201510073796.8A CN201510073796A CN104639644A CN 104639644 A CN104639644 A CN 104639644A CN 201510073796 A CN201510073796 A CN 201510073796A CN 104639644 A CN104639644 A CN 104639644A
Authority
CN
China
Prior art keywords
thread
array
voice
communication
wireless lan
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.)
Pending
Application number
CN201510073796.8A
Other languages
Chinese (zh)
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.)
Dalian University of Technology
Original Assignee
Dalian University of 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 Dalian University of Technology filed Critical Dalian University of Technology
Priority to CN201510073796.8A priority Critical patent/CN104639644A/en
Publication of CN104639644A publication Critical patent/CN104639644A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1059Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

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

Abstract

The invention discloses a wireless local area network communication device. The wireless local area network communication device comprises a processing unit with multithreaded processing capacity, a storage unit of which the interior is divided into a plurality of arrays, and a communication unit for establishing P2P (peer-to-peer) communication with other communication devices in an adjacent area, wherein the processing unit is provided with a plurality of parallel receiving threads used for respectively receiving voice signals transmitted by a selected device, a playing thread used for outputting the voice signals, a voice recording thread used for collecting voice of a user of the device and a sending thread used for communicating with the voice recording thread and sending the collected voice of the user to the selected device. In order to ensure that the user of the communication device can listen to the voice sent by the other devices used for establishing P2P communication with the communication device in real time and ensure the real-time performance of the transmission of the voice, the receiving thread is used for storing the voice signals received by the receiving thread in the arrays; each array used for storing the voice signals corresponds to one of the selected other devices, namely only the voice signals sent by the device are stored.

Description

Wireless LAN communication equipment and communication system
Technical field
The present invention relates to a kind of wireless LAN communication equipment, the communication system formed by multiple equipment, particularly relate to the equipment based on Android Wifi Direct agreement and system.Relate to the transmission of Patent classificating number H04 electrical communication technology H04L digital information, such as telegraph communication H04L12/00 data switching networks H04L12/28 take via configuration as feature, such as LAN [local area network (LAN)] or WAN [wide area network].
Background technology
Along with the development of Modern Mobile Communications Systems, the signal cover of mobile operator is more and more extensive, but have the region that can not cover unavoidably, such as field, the interior of building of communication base station is not set, underground mine, the regions such as large warehoused building interior, all belong to the region that mobile communication signal cannot cover, and these regions exactly belong to the comparatively busy region of work, need between staff to communicate frequently, and this type of communication has higher requirement to the portability etc. of real-time communication and equipment usually, and require to take into account cost simultaneously, the other side performances such as Universal and scalability, higher to the requirement of communication equipment.
Existing solution is intercom and WLAN (wireless local area network) (WLAN:Wireless Local Area Network) etc. mainly.But this two schemes has its respective defect, and the interphone communication in specific region needs exclusive mandate frequency range, authorize expense more expensive, intercom equipment price is high, and general intercom only can realize half-duplex operation, and the real-time of communication is poor.
Though WLAN (wireless local area network) solution needs special frequency range and special equipment unlike intercom scheme, but need to lay special infrastructure, such as wifi base station etc., limit its range of application to a certain extent.
Summary of the invention
The present invention is directed to the proposition of above problem, and a kind of wireless LAN communication equipment of development, comprising: the processing unit with multiple threads ability; Be divided internally into the memory cell of multiple array; For setting up with other communication equipment in adjacent domain the communication unit that P2P communicates;
Described processing unit has: multiple parallel, accepts the receiving thread of the voice signal of selected device transmission respectively; One for exporting the broadcasting thread of voice signal; Gather this equipment user voice recording thread and with recording thread communication, user's voice of collection are sent to the transmission thread of selected equipment.
In order to ensure the voice that the miscellaneous equipment that the user of communication equipment can set up with it P2P communication in real-time listening to sends, ensure the real-time of the transmission of voice, the voice signal that receiving thread receives by described receiving thread, exist in array, the array of each storage of speech signals is corresponding with other communication equipment that selectes, and namely only stores the voice signal that this equipment sends.
Described each array is respectively equipped with a buffer mark position, and this buffer mark bit representation its place array current, the need of superposing, forms new output array, and the broadcasting thread then described in application is play, and completes the output of voice.Described processing unit judges that whether the flag bit of each array is as true, if very, then representing this array needs to superpose, and this array and other are designated genuine array and superpose by processing unit, are formed and export array, export.Only have if current an array to need to superpose, then directly control to play thread and export this array.
In order to further ensure the real-time of voice transfer, described processing unit also comprises a timer thread, and buffer mark position, at interval of the threshold time of setting, is that genuine array is integrated by this thread, is formed and plays array; Play by broadcasting thread.If only have the buffer mark position of an array to be true, then call broadcasting thread and play-over the voice changing and store in array.The voice that timer thread can ensure to be transmitted by miscellaneous equipment further can be real-time broadcasting, the card decreasing voice pauses.
As preferred embodiment, described time threshold is 50ms, adopts this time threshold, can ensure lower mouth-to-ear delay and higher system utilization rate simultaneously.
Further, as preferred embodiment, when the voice signal of storage of array exceed single can send 5 times of data length time, this buffering flag is true, represents that current array can be carried out integrations and be superposed; Otherwise this flag bit is then false, and current array does not need to integrate.
As preferred embodiment, described communication unit is the WifiP2P module of Android Android system or other IOS system integration.
Further, in order to intuitively show the broadcasting situation of current speech, convenient operation current device gets information about, as preferred embodiment, the present invention also has the display unit communicated with described multiple receiving threads, this unit carries out Fourier transform to the signal of communication received, and shows the frequency spectrum of described signal.
A kind of wireless lan communication system, comprises multiple wireless LAN communication equipment as shown in claim 1-6.Can when there is no mobile communications network, the wifip2 module self networking utilizing equipment to carry, meets the group call demand in certain distance, relative to prior art, eliminates trunking, have and well use flexibility.
Accompanying drawing explanation
In order to the technical scheme of clearer explanation embodiments of the invention or prior art, introduce doing one to the accompanying drawing used required in embodiment or description of the prior art simply below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is module map of the present invention
Fig. 2 is the schematic diagram that array of the present invention merges
Embodiment
For making the object of embodiments of the invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, clear complete description is carried out to the technical scheme in the embodiment of the present invention:
As depicted in figs. 1 and 2: a kind of wireless LAN communication equipment, mainly comprises: the processing unit of multithreading, the memory cell with multiple array and the communication unit set up P2P and communicate.
Described multiple threads unit can utilize the processor of existing intelligent mobile terminal especially smart mobile phone, by the mode of programming, sets up multiprocessing thread, processes voice.
Specifically, multiple receiving thread can be divided in processing unit inside, play thread for one, timer thread, recording thread and a transmission thread.
Receiving thread can call and access the signal that in smart mobile phone, communication unit receives, and converts voice signal to.In order to ensure communication quality, especially real-time and accuracy, is stored in array after converting voice signal to, and array can be open up special memory space in the memory space or outside extending space of smart mobile phone.
When needing to play, need each array to superpose, form one and play array, play by broadcasting thread.
During work, the timer thread described in setting travels through each array every 50ms, and whether the buffer mark position detecting each array is true.When the voice signal of storage of array exceed can single send 5 times of data length time, then this buffer mark position is true.
A kind of wireless lan communication system, comprises the wireless LAN communication equipment shown in multiple Fig. 1 and Fig. 2.
Embodiment 1, in the present embodiment, mobile phone used is Huawei G700, and communication set number of members is 3.Request is set up to the mobile terminal of communication set, sets up communication set and carry out in accordance with the following steps:
Step 1. starts the wifiP2P module of android intelligent mobile terminal;
If step 2. first time uses native system, then oneself name and head image information are set;
The name set by mobile terminal that is that step 3. list display searches and that preserve in the past and head portrait, and the facility information preserving that new search arrives;
Step 4. is selected to connect the mobile terminal that will mate;
Step 5. waits for that the other side determines, judges whether to connect and sets up communication set;
Connect unsuccessful, then return in step 4 and again select coupling; Successful connection, then carry out call in communication set;
Step 6. uses different threads to realize transmission, the reception of speech data;
Step 7. is carried out fast Fourier transform to the data received and is shown its frequency spectrum;
Step 8. is selected to stop call instruction, terminates this communication system.
In step 3, can refresh operation be used thus again search for neighbouring mobile terminal.
As shown in Figure 2, for receiving the mobile terminal setting up communication set request, its step adding communication set is as follows:
Step 1. starts the wifiP2P module of android intelligent mobile terminal;
If step 2. first time uses native system, then oneself name and head image information are set;
The name set by mobile terminal that is that step 3. list display searches and that preserve in the past and head portrait, and the facility information preserving that new search arrives;
Step 4. receives the request of inviting and adding communication set;
Whether step 5. is selected to accept the invitation, if do not accept, then returns step 3;
If step 6. is accepted the invitation, then add communication set;
Step 7. uses different threads to realize transmission, the reception of speech data;
Step 8. is carried out fast Fourier transform to the data received and is shown its frequency spectrum;
Step 9. is selected to stop call instruction, terminates this communication system.
1, constructing local network test
For the connection required time of constructing local network, devise 10 experiments.
Experiment place: Dalian University of Technology innovation mansion, garden A1221
Experimental period: 2014.4.18
Experimental result:
Number of times 1 2 3 4 5 6 7 8 9 10
Time (s) 18 19 7 25 14 12 15 15 16 10
Have upper Biao Ke get, the average delay of Three Party Communication constructing local network is 15.1s.
2, speaking test 1 (unobstructed spacious region)
In order to testing software is at the communication distance of unobstructed spacious region, design this experiment
Experiment place: Dalian University of Technology stadium
Experimental period: 2014.1.12
Experimental result:
Distance (m) 50 100 150 180
Communication conditions Well Well Well Well
Due to limited conditions, the communication conditions of the unobstructed spacious region of test more than 200 is failed.
3, speaking test 2 (building build-in test)
In order to testing software communication conditions in building, design this experiment, in building, the quantity of situation division wall is standard.
Experiment place: 12nd floors, Dalian University of Technology's innovation mansion, garden
Experimental period: 2014.4.16
Experimental result:
Equipment institute partition wall quantity 0 1 2
Communication conditions Well Well Can not communicate
4, voice delay time test
In this test, have ignored the voice signal propagation time, therefore time delay is to the time delay that voice signal sends, speech signal collection adds that voice signal receives the time delay of voice signal broadcasting.The communication data of 5 minutes has been used to do on average in experiment.
Experiment place: Dalian University of Technology innovation mansion, garden A1221
Experimental period: 2014.4.18
Experimental result: average delay 0.5s
The above; be only the present invention's preferably embodiment; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, all should be encompassed within protection scope of the present invention.

Claims (7)

1. a wireless LAN communication equipment, is characterized in that having: the processing unit of multithreading, the memory cell with multiple array and the communication unit set up P2P and communicate; Described processing unit has:
Multiple receive the voice signal of selected device transmission respectively receiving thread, one play thread, gather the recording thread of this equipment user voice and with recording thread communication, transmission thread user's voice of collection being sent to selected equipment;
The voice signal that described receiving thread will receive, is stored in corresponding array by selected equipment respectively; Described each array has a buffer mark position;
During work, processing unit judges that whether the buffer mark position of each array is as true; If buffer mark position is true, then the data investigation in this array is formed a new array, play by described broadcasting thread.
2. wireless LAN communication equipment according to claim 1, is further characterized in that to have a timer thread, and buffering flag is that genuine array is integrated every threshold time by this thread, and the array after integration is play by described broadcasting thread.
3. wireless LAN communication equipment according to claim 2, is further characterized in that described time threshold is 50ms.
4. wireless LAN communication equipment according to claim 1, the voice signal being further characterized in that when storage of array exceedes described transmission thread single when can send 5 times of data length, and this buffer mark position is true, represents that this array current can be integrated; Otherwise this buffer mark position is false, and current array does not need to integrate.
5. wireless LAN communication equipment according to claim 1, is further characterized in that described communication unit is the integrated WifiP2P module of Android Android system.
6. the wireless LAN communication equipment according to above-mentioned any one claim, be further characterized in that: there is the display unit communicated with described multiple receiving threads, this unit carries out Fourier transform to the signal of communication received, and shows the frequency spectrum of described signal.
7. a wireless lan communication system, is characterized in that: comprise multiple wireless LAN communication equipment as shown in claim 1-6.
CN201510073796.8A 2015-02-10 2015-02-10 Wireless local area network communication device and communication system Pending CN104639644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510073796.8A CN104639644A (en) 2015-02-10 2015-02-10 Wireless local area network communication device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510073796.8A CN104639644A (en) 2015-02-10 2015-02-10 Wireless local area network communication device and communication system

Publications (1)

Publication Number Publication Date
CN104639644A true CN104639644A (en) 2015-05-20

Family

ID=53217945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510073796.8A Pending CN104639644A (en) 2015-02-10 2015-02-10 Wireless local area network communication device and communication system

Country Status (1)

Country Link
CN (1) CN104639644A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418125B1 (en) * 1998-06-18 2002-07-09 Cisco Technology, Inc. Unified mixing, speaker selection, and jitter buffer management for multi-speaker packet audio systems
CN1859144A (en) * 2005-04-30 2006-11-08 腾讯科技(深圳)有限公司 Method for realizing group chatting
CN100446529C (en) * 2001-09-28 2008-12-24 诺基亚有限公司 Telecommunication conference arrangement
CN101605088A (en) * 2008-06-12 2009-12-16 中兴通讯股份有限公司 Realize the method for base station controller and base station transceiver interstation voice data transmission

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6418125B1 (en) * 1998-06-18 2002-07-09 Cisco Technology, Inc. Unified mixing, speaker selection, and jitter buffer management for multi-speaker packet audio systems
CN100446529C (en) * 2001-09-28 2008-12-24 诺基亚有限公司 Telecommunication conference arrangement
CN1859144A (en) * 2005-04-30 2006-11-08 腾讯科技(深圳)有限公司 Method for realizing group chatting
CN101605088A (en) * 2008-06-12 2009-12-16 中兴通讯股份有限公司 Realize the method for base station controller and base station transceiver interstation voice data transmission

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姚引娣: "基于OMAP5912的嵌入式无线多方话务系统设计", 《西安邮电学院学报》 *
王拯洲等: "基于UDP多方视频会议系统的设计与实现", 《微处理机》 *

Similar Documents

Publication Publication Date Title
WO2017202230A1 (en) System and method for time division duplexed multiplexing in transmission-reception point to transmission-reception point connectivity
CN105046935A (en) Dual mode heterogeneous communication system based on low voltage power line and micropower wireless
US8169996B2 (en) Synchronized beacon for network having multiple radios
CN102882938A (en) Data share method and mobile terminal
EP3384643A1 (en) Constructing a self-organizing mesh network using 802.11ad technology
CN104735744B (en) A kind of design method of the multi-hop relay routing based on terminal direct connection communication
CN110730029A (en) Multimode wireless satellite communication terminal, system and communication method
CN106658502B (en) Intelligent wireless local area network reserved access method based on fingerprint authentication
US20220132511A1 (en) Resource allocation device
CN104093174A (en) Data transmission method, system and related device
CN103052115A (en) Data transmission method, mobile terminal, relay aggregator and related system
EP3307000A1 (en) Wireless communication method and device
CN102684966B (en) Equipment method of network entry, Apparatus and system
CN101478352A (en) Cognitive wireless network system and cognitive network element equipment
CN105337818A (en) Home networking method based on power network, system and equipment
CN109150336B (en) Method and device for establishing Zigbee network
CN103957113B (en) A kind of data transmission method and relevant apparatus
CN104509133A (en) Method, base station and user terminal of transmitting signal in device-to-device approach service
CN109327910A (en) A kind of physical channel resources configuration method and device
US20110164516A1 (en) Method and system for providing information access, multimedia content access, and phone connectivity
CN104639644A (en) Wireless local area network communication device and communication system
CN106941706A (en) A kind of radio switch-in method and equipment
CN105578123A (en) Beyond-the-horizon video transmission system based on Ad Hoc network and method thereof
CN103516773A (en) Method, device and system for transmitting synchronous data
WO2013137709A1 (en) Frequency channel management for wireless communication device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150520