CN108090024A - Ad hoc network module bottom layer driving development device based on LC1860 chips - Google Patents

Ad hoc network module bottom layer driving development device based on LC1860 chips Download PDF

Info

Publication number
CN108090024A
CN108090024A CN201711482382.6A CN201711482382A CN108090024A CN 108090024 A CN108090024 A CN 108090024A CN 201711482382 A CN201711482382 A CN 201711482382A CN 108090024 A CN108090024 A CN 108090024A
Authority
CN
China
Prior art keywords
hoc network
android
data
code
push
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
CN201711482382.6A
Other languages
Chinese (zh)
Other versions
CN108090024B (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.)
Shaanxi Fenghuo Electronics Co Ltd
Original Assignee
Shaanxi Fenghuo Electronics 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 Shaanxi Fenghuo Electronics Co Ltd filed Critical Shaanxi Fenghuo Electronics Co Ltd
Priority to CN201711482382.6A priority Critical patent/CN108090024B/en
Publication of CN108090024A publication Critical patent/CN108090024A/en
Application granted granted Critical
Publication of CN108090024B publication Critical patent/CN108090024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7896Modular architectures, e.g. assembled from a number of identical packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a kind of ad hoc network module bottom layer driving development devices based on LC1860 chips, applied on LC1860 chips, wherein, for obtaining voice, data communications in real time, ad hoc network interface kernel-driven layer is used to receive voice, data communications ad hoc network module;Ad hoc network native code module is used for the program code information that can be identified obtained from networking application program unit;Ad hoc network application program unit is used to obtain voice data;The Android Socket communication datas that Android frame units sample for acquisition;Android hardware abstraction layers are used to obtain interface driver marking code and the Android Socket communication datas;Ad hoc network interface kernel-driven layer is used to drive corresponding interface according to the interface driver marking code, is then sent to push to talk button audio unit from the interface by the communication data.

Description

Ad hoc network module bottom layer driving development device based on LC1860 chips
Technical field
The invention belongs to electronics and field of communication technology, more particularly to a kind of ad hoc network module bottom based on LC1860 chips Layer driving development device, suitable for ad hoc network can the errorless operation on LC1860, complete its function.
Background technology
LC1860 chips support five moulds of LTE-TDD/LTE-FDD/TD-SCDMA/WCDMA/GEE, possess " 4G+28nm " Characteristic integrates the features such as 4+1 Cortex A7 1.5GHz CPU, double-core GPU Mail T628, Trustzone security architectures, Mobile interchange epoch mobile terminal big data real-time Transmission demand can fully be met, but also sufficiently exploitation is not sharp at this stage With, exploit natural resources, development technique it is less, be badly in need of a wide range of exploitation.
Ad hoc network has the characteristics that group property, the highly dynamic property of topological structure, the communication mode of multi-hop certainly of network;In army With field, wireless self-networking is main communication form on automatic battlefield, inherent survivability, from group property and mobility so that It has broad application prospects in the field.In addition to military field, wireless self-networking also obtains largely should in civil field With, such as disaster relief, environmental monitoring etc.;LC1860 chips have the characteristics that micromation, low-power consumption, low cost, are fully able to Meet the needs of ad hoc network module, but ad hoc network module is also to grow up in recent years, with LC1860 combined technologies city Do not occur also on field.
The content of the invention
In view of the above-mentioned problems of the prior art, it is an object of the invention to propose it is a kind of based on LC1860 chips from Networking module bottom layer driving development device, ad hoc network module bottom layer driving development device of this kind based on LC1860 chips can make It obtains LC1860 chips and ad hoc network module combines work, LC1860 chips are developed on this basis as master chip from group Net module bottom layer driving enables ad hoc network errorless operation on LC1860, completes its function.
To reach above-mentioned technical purpose, the present invention is realised by adopting the following technical scheme.
A kind of ad hoc network module bottom layer driving development device based on LC1860 chips applied on LC1860 chips, wraps It includes:Ad hoc network application program unit, Android frame units, Android hardware abstraction layers, ad hoc network interface kernel-driven layer, Ad hoc network native code module, push to talk button audio unit and ad hoc network module;
The ad hoc network application program unit includes the first bidirectional end and the second bidirectional end, and the ad hoc network interface kernel drives Dynamic layer includes the 3rd bidirectional end, the 4th bidirectional end, the 5th bidirectional end, the 6th bidirectional end, the ad hoc network native code module bag Containing the 7th bidirectional end and the 8th bidirectional end, it is single that the Android frame units include the 9th bidirectional end, the tenth bidirectional end and first Xiang Duan, the Android hardware abstraction layers include the 11st bidirectional end and the 12nd bidirectional end;
First bidirectional end of ad hoc network application program unit is bi-directionally connected the 9th bidirectional end of Android frame units, from The second bidirectional end of networking application program unit is bi-directionally connected the 7th bidirectional end of ad hoc network native code module, ad hoc network local code The 8th bidirectional end of module is bi-directionally connected the 3rd bidirectional end of ad hoc network interface kernel-driven layer, ad hoc network interface kernel-driven layer the 4th Bidirectional end is bi-directionally connected the 11st bidirectional end of Android hardware abstraction layers, and the 5th bidirectional end of ad hoc network interface kernel-driven layer is double To connection push to talk button audio unit bidirectional end, the 6th bidirectional end of ad hoc network interface kernel-driven layer is bi-directionally connected ad hoc network mould Block bidirectional end, the 12nd bidirectional end of Android hardware abstraction layers are bi-directionally connected the tenth bidirectional end of Android frame units, Unidirectionally end unidirectionally connects ad hoc network application program unit to Android frame units first.
The ad hoc network module for obtaining voice, data communications in real time, and by the voice, data communications It is respectively sent to ad hoc network interface kernel-driven layer and ad hoc network native code module;
The ad hoc network interface kernel-driven layer is used for the voice, the data communication letter that are sended over received from networking module The voice of reception, data communications are sent to ad hoc network native code module by breath;
The ad hoc network native code module is used for the voice, the number that are received received from networking interface kernel-driven layer The voice, data communications are converted into ad hoc network application program list according to the communication information, and using Android JNI mechanism The program code information that member can identify, and it is sent to ad hoc network application program unit;
The ad hoc network application program unit is used to receive the program code letter that ad hoc network native code module sends over Breath, and said program code information is converted into after voice data and is sent to Android frame units;
The Android frame units are used for the voice data sended over received from networking application program unit, and right The voice data carries out the acquisition of Android Socket communication datas, then by the Android Socket communication datas of sampling It is sent to Android hardware abstraction layers;
The Android hardware abstraction layers are used to receive the Android that Android frame units send over Socket communication datas, and interface driver adaptation is carried out to the Android Socket communication datas, and then obtain interface drive Dynamic marking code, ad hoc network interface is sent to by the interface driver marking code and the Android Socket communication datas Kernel-driven layer;
The ad hoc network interface kernel-driven layer is used to receive the interface drive that Android hardware abstraction layers send over Dynamic marking code and the Android Socket communication datas, and connect according to interface driver marking code driving correspondence Mouthful, then push to talk button audio unit is sent to from the interface by the communication data.
The features of the present invention and further improvement lies in that:
1st, the ad hoc network application program unit is additionally operable to voice, data communications being converted into push to talk data, net Network protocol data and voice data, and the push to talk data, the Internet protocol data and voice data are sent to ad hoc network sheet Ground code module obtains push to talk data code, the Internet protocol data code and voice data code, and after be sent to ad hoc network Interface kernel-driven layer, ad hoc network interface kernel-driven layer is according to push to talk data code, the Internet protocol data code and speech Data code drives corresponding interface, then from the interface by the push to talk data code, the Internet protocol data code and words Sound data code is sent to ad hoc network module and is understood into line code, respectively obtains push to talk data, the Internet protocol data and speech Data.
2nd, the ad hoc network application program unit is additionally operable to be sent to after reading push to talk button data from voice data Android frame units, Android frame units are used to carry out Android Socket after receiving the push to talk button data Push to talk button data gathers, and Android hardware is sent to after the Android Socket push to talk button datas gathered Level of abstraction;The laggard line interface of Android Socket push to talk button datas that Android hardware abstraction layers gather for reception Driving adaptation, and then obtain push to talk button data interface driver code;Ad hoc network interface kernel-driven layer is described for receiving Push to talk button data interface driver code and the Android Socket push to talk button datas of the acquisition;
The push to talk button audio unit is additionally operable to obtain hardware interface signal, and is sent to the drive of ad hoc network interface kernel Dynamic layer;The ad hoc network interface kernel-driven layer is additionally operable to receive the hardware interface signal that push to talk button audio unit is sent, And corresponding interface is driven according to the push to talk button data interface driver code, from the interface by the push to talk button data Interface driver code is sent to Android hardware abstraction layers;Android hardware abstraction layers receive the push to talk button data and connect Mouth driving code, Android frame lists are sent to by the Android Socket push to talk button datas Android of the acquisition The Android Socket push to talk button datas of acquisition are sent to ad hoc network application program list by member, Android frame units Member.
Beneficial effects of the present invention:
The advantages of due to LC1860 chips:Micromation, low-power consumption, low cost;Ad hoc network has group property, the topology certainly of network The highly dynamic property of structure, multi-hop communication mode the features such as, be developed based on apparatus of the present invention 1860 ad hoc network it is complete Whole BSP can realize the correlation function of ad hoc network;Apparatus of the present invention versatility is stronger, can adapt to more application occasion.
Description of the drawings
The present invention is described in further detail with reference to the accompanying drawings and detailed description.
Fig. 1 is a kind of ad hoc network module bottom layer driving development device schematic diagram based on LC1860 chips of the present invention;
Fig. 2 is a kind of ad hoc network module bottom layer driving development device specific implementation based on LC1860 chips of the present invention Figure;
Fig. 3 is ad hoc network module I P configuration diagrams;
Fig. 4 is the non-link setup PTT voice flow figures of multicast;
Fig. 5 is unicast link setup Voice traffic data flow chart;
Fig. 6 is application flows figure.
Specific embodiment
Android software includes APP, frame, HAL layers, Linux Kernel and corresponding peripheral hardware and peripheral hardware from top to bottom Firmware program;The peripheral hardware new to one does Android software adaptation, usually to distinguish this be an Android standard device also It is Android non-standard equipments.
For Android standard devices, such as the three-in-one modules of Wifi&BT&FM, this is that a kind of Android device is usual A kind of peripheral hardware just having, the entire frames of Android have the frame support to this module including primary APP, frame, HAL, So the adaptation work of this standard device is concentrated mainly on HAL layers and Kernel layers of Linux, this equipment is mainly adapted to Driving and use interface.
For Android non-standard equipments, refer to the equipment that Android does not support this class framework, usually by third party APP Voluntarily by Android JNI mechanism, with the various access interfaces of JNI local code sealed in unit;Use Android JNI machines System can skip Android Framework so that larger range of equipment is adapted to and be used;Such as RS232 serial ports, Without the function of access serial equipment inside Android API, for the customized serial equipment of hardware platform, user must be certainly JNI code is defined to encapsulate the access to serial equipment, then accesses these local codes in Android APP again to reach Access the purpose of serial equipment.
The primary code of Android Framework has many defects to the access of various equipment, this is primarily due to original Customized in the predominantly commercial hand-held phones of raw Android Framework, tablet device.If certain defect of Gonna breakthrough is to be adapted to More peripheral hardwares, it is possible to need change Android Framework codes either realize third-party native program or Other modes are realized.No matter realizing in which way, this approach is collectively referred to as " modification Android in the document Framework”;Current whole set equipment can integrate multiple communication modules, and the communication module of standard will be adapted in a manner of RIL, nonstandard Accurate communication module will be adapted in a manner of APP+JNI;But if exist simultaneously multiple RIL modules (such as:It leads to+LTE+ from group Net), the communication part (telephony, ril) of Android Framework can not may handle the number of concurrent of multiple modules According to passage;This may just need to handle concurrently making for multichannel data passage in a manner of changing Android Framework With.
In apparatus of the present invention, ad hoc network module is adapted to mode using JNI, and the ad hoc network module specified is selected to realize VOIP The communication of voice-and-data, the module need to use the GPIO of CPU to provide O mouthfuls of module I using being communicated only with USB interface Power management, such as dormancy awakening, status display etc..Module needs to receive the time service data of BD to carry out internal calibrations, and Ad hoc network has dedicated encryption mouth, directly by SPI mouthfuls of access BM modules, carries out encryption and decryption operation.
Ad hoc network module will be adapted in a manner of Android non-standard equipments, that is, will be with third party APP+ locals JNI code Mode skip Android frames and be integrated into system.With module firmware program, programming protocol and other are possible useful The interface driver of code and Linux Kernel, the local JNI code encapsulation of ad hoc network and DemoAPK.
Access of the ad hoc network APP to ad hoc network will be realized by the local code of encapsulation;The required PTT of ad hoc network Key-press event and audio data collecting will be realized by Android standard card cages.
With reference to Fig. 1, for a kind of ad hoc network module bottom layer driving development device principle based on LC1860 chips of the present invention Figure;Ad hoc network module bottom layer driving development device wherein based on LC1860 chips, applied on LC1860 chips, including:From Networking application program unit, Android frame units, Android hardware abstraction layers, ad hoc network interface kernel-driven layer, from group Net native code module, push to talk button audio unit and ad hoc network module.
The ad hoc network application program unit includes the first bidirectional end and the second bidirectional end, and the ad hoc network interface kernel drives Dynamic layer includes the 3rd bidirectional end, the 4th bidirectional end, the 5th bidirectional end, the 6th bidirectional end, the ad hoc network native code module bag Containing the 7th bidirectional end and the 8th bidirectional end, it is single that the Android frame units include the 9th bidirectional end, the tenth bidirectional end and first Xiang Duan, the Android hardware abstraction layers include the 11st bidirectional end and the 12nd bidirectional end.
First bidirectional end of ad hoc network application program unit is bi-directionally connected the 9th bidirectional end of Android frame units, from The second bidirectional end of networking application program unit is bi-directionally connected the 7th bidirectional end of ad hoc network native code module, ad hoc network local code The 8th bidirectional end of module is bi-directionally connected the 3rd bidirectional end of ad hoc network interface kernel-driven layer, ad hoc network interface kernel-driven layer the 4th Bidirectional end is bi-directionally connected the 11st bidirectional end of Android hardware abstraction layers, and the 5th bidirectional end of ad hoc network interface kernel-driven layer is double To connection push to talk button audio unit bidirectional end, the 6th bidirectional end of ad hoc network interface kernel-driven layer is bi-directionally connected ad hoc network mould Block bidirectional end, the 12nd bidirectional end of Android hardware abstraction layers are bi-directionally connected the tenth bidirectional end of Android frame units, Unidirectionally end unidirectionally connects ad hoc network application program unit to Android frame units first.
With reference to Fig. 2, a kind of ad hoc network module bottom layer driving development device based on LC1860 chips for the present invention is specific Realize figure;The ad hoc network module for obtaining voice, data communications in real time, and by the voice, data communications It is respectively sent to ad hoc network interface kernel-driven layer and ad hoc network native code module.
The ad hoc network interface kernel-driven layer is used for the voice, the data communication letter that are sended over received from networking module Breath, and the voice, data communications are received by obtaining respective drive code according to the voice, data communications, Then the voice of reception, data communications are sent to ad hoc network native code module.
The ad hoc network native code module is used for the voice, the number that are received received from networking interface kernel-driven layer The voice, data communications are converted into ad hoc network application program list according to the communication information, and using Android JNI mechanism The program code information that member can identify, and it is sent to ad hoc network application program unit.
The ad hoc network application program unit is used to receive the program code letter that ad hoc network native code module sends over Breath, and said program code information is converted into after voice data and is sent to Android frame units.
The Android frame units are used for the voice data sended over received from networking application program unit, and right The voice data carries out the acquisition of Android Socket communication datas, then by the Android Socket communication datas of sampling It is sent to Android hardware abstraction layers.
The Android hardware abstraction layers are used to receive the Android that Android frame units send over Socket communication datas, and interface driver adaptation is carried out to the Android Socket communication datas, and then obtain interface drive Dynamic marking code, ad hoc network interface is sent to by the interface driver marking code and the Android Socket communication datas Kernel-driven layer.
The ad hoc network interface kernel-driven layer is used to receive the interface drive that Android hardware abstraction layers send over Dynamic marking code and the Android Socket communication datas, and connect according to interface driver marking code driving correspondence Mouthful, then push to talk button audio unit is sent to from the interface by the communication data.
Specifically, it is ad hoc network module I P configuration diagrams with reference to Fig. 3;Wherein all AT instructions are all by serial ports/dev/ TtyUSB [0-3] communication, other business voice data are communicated by network card equipment zzw0, carry out voice communication it Before to confirm and can lead to opposite end module I P address with ping, as shown in Fig. 4 Fig. 5.
Use the method for manufacture and use thereof of apparatus of the present invention:
Lists of documents
drivers/usb:The corresponding linux drivings catalogue of ZZW modules
lc1860_usb_serial.c ZZW module drive source files
lc1860_usb_serial.ko Compile the drive module file of generation
Makefile Compiling generation file
zzw-jni/2def:It is related protocol information document under catalogue
zzw-jni:It is the specific implementation of test application program code and library function under catalogue
Compiling is downloaded
Current test Linux hosted environments are as shown in the table:
Operating system version Ubuntu 14.04.5LTS
Linux kernel version 3.16.0-30-generic
GCC compiler versions 4.8.4
JAVA JDK versions 1.6.0_45
JSON versions 2.90
Android versions 4.4
Before down operation is compiled, first have to determine current Linux hosts be configured be mounted with Android compiling under Environment is carried, specific installation steps can refer to " Ubuntu14.04 configuration Android translation and compiling environments .docx " document.Into source code mesh Mark path directly performs compiling download of issuing orders:
With reference to Fig. 6, to use the application flows figure of apparatus of the present invention, following tests for DEMO program tests Journey:
Testing procedure
1) modular power source is opened
A) in the case of paying attention on condition that acquiescence poweren and powerctrl nodes are all 0, above operation ability is performed It is correct to open modular power source;Otherwise, it is necessary to write 1 after the two nodes first first are write 0 again, modular power source can just be reopened.
B) whether determining module powers on to succeed and checks whether to deposit according to serial port terminal type information or execution order #netcfg In network card equipment zzw0.
2) the opposite end module I P address that configuration module oneself IP address and needs are sent.Notice that the step needs to wait module Otherwise 10S or so execution after electrifying startup may return to time-out.
3) opposite equip. is configured to another same network segment IP address according to both the above step;Then using order ping Peer IP address, if in the case of opposite end module I P address can be led to ping, then following step is performed, otherwise send data Opposite end is also what be can not receive afterwards.If ping is obstructed to check whether antenna connects or attempt restarting.
4) using zzw command options-w module is waited to receive the non-link setup PTT voice data of multicast at one end, made in the other end PTT voice data is sent with zzw command options-g to test.
The non-link setup PTT voice data of multicast to be received such as a)
The PTT voice data to be received such as Xun Huan always ,/mnt/ is just stored in until receiving a PTT voice data In sdcard/Music/test2.wav files, can click on browsing file->Music->Test2.wav directly plays this document.
B) the non-link setup PTT voice data of multicast is sent
Here application program can automatically open recording channel and prompt please start speak for record!!! Standard starts speech recording, and default logging is 5S or so, and recording file is stored in/mnt/sdcard/Music/test1.wav files In, it then can cycle and read rate each transmission 800 bytes of this document according to 500ms.Opposite end receives meeting after PTT voice data Be saved in/mnt/sdcard/Music/test2.wav files in, it is clear then to find file in tablet cos system graphic tabletops Look at->Music->Test2.wav, which is clicked on, to be played.
5) using zzw command options-r module is waited to receive unicast link setup Voice traffic data at one end, made in the other end Voice traffic data is sent with zzw command options-s to test.
Etc. unicast link setup Voice traffic data to be received
The Voice traffic data to be received such as Xun Huan always ,/mnt/ is just stored in until receiving a Voice traffic data In sdcard/Music/test2.wav files, can click on browsing file->Music->Test2.wav directly plays this document.
Send unicast link setup Voice traffic data
Here application program can automatically open recording channel and prompt please start speak for record!!! Start speech recording, default logging is 5S or so, and recording file is stored in/mnt/sdcard/Music/test1.wav files In, it then can cycle and read rate each transmission 800 bytes of this document according to 500ms.Opposite end receives meeting after PTT voice data Be saved in/mnt/sdcard/Music/test2.wav files in, it is clear then to find file in tablet cos system graphic tabletops Look at->Music->Test2.wav, which is clicked on, to be played.
Pay attention to:Both above transmission way voice data, under normal circumstances will not packet loss, but sometimes network may be unstable It is fixed, it is present with switch once in a while;If what is lost is several bags on recording file head, possible this document can not play, if what is lost is Among recording file or end position, possible this document can play, but the tonequality may something wrong.
FAQs
1) problem describes:Module after the power is turned on, prepares to set the IP address and node ID number of the module, but returns to mistake always Time-out.
Solution method:
The first with regard to setup module IP without waiting for 10S it may be the case that being just present with such case, waiting after the power is turned on 10S is reset again.
The second situation sets IP still to set time-out after waiting 10S, repeats to set effect the same.This situation needs Again powered on to module or restart system to solve.
2) problem describes:Use the obstructed opposite end module I P addresses of ping orders ping
Solution method:Check whether Module nodes ID is identical with IP address last byte and checks whether antenna connects It connects and whether distance closely has very much interference, can finally attempt after restarting systems power up test again, this ping pairs always End module is not very stable always, it may be necessary to more restarting tests.
3) problem describes:Ping leads to after end module, being asked with regard to carrying out transmission PTT Voice traffic datas or link setup immediately It asks, may just be present with that channel number is unavailable or the situation of link setup failure.
Solution method:
After ping leads to end module, carry out sending PTT voice data or link setup request again after waiting general 60S.
Without using ping orders, whether normal directly it is connected using #zzw-p test current blocks with to end module.
Have more than display data, mean that can ping lead to end module, need not reuse ping orders test module it Between connection.

Claims (4)

  1. It is special applied on LC1860 chips 1. a kind of ad hoc network module bottom layer driving development device based on LC1860 chips Sign is, including:Ad hoc network application program unit, Android frame units, Android hardware abstraction layers, in ad hoc network interface Core driving layer, ad hoc network native code module, push to talk button audio unit and ad hoc network module;
    The ad hoc network application program unit includes the first bidirectional end and the second bidirectional end, the ad hoc network interface kernel-driven layer Comprising the 3rd bidirectional end, the 4th bidirectional end, the 5th bidirectional end, the 6th bidirectional end, the ad hoc network native code module includes the Seven bidirectional ends and the 8th bidirectional end, it is unidirectional that the Android frame units include the 9th bidirectional end, the tenth bidirectional end and first End, the Android hardware abstraction layers include the 11st bidirectional end and the 12nd bidirectional end;
    First bidirectional end of ad hoc network application program unit is bi-directionally connected the 9th bidirectional end of Android frame units, ad hoc network The second bidirectional end of application program unit is bi-directionally connected the 7th bidirectional end of ad hoc network native code module, ad hoc network native code module 8th bidirectional end is bi-directionally connected the 3rd bidirectional end of ad hoc network interface kernel-driven layer, and ad hoc network interface kernel-driven layer the 4th is two-way End is bi-directionally connected the 11st bidirectional end of Android hardware abstraction layers, the 5th two-way company of bidirectional end of ad hoc network interface kernel-driven layer Push to talk button audio unit bidirectional end is connect, it is double that the 6th bidirectional end of ad hoc network interface kernel-driven layer is bi-directionally connected ad hoc network module The 12nd bidirectional end of Xiang Duan, Android hardware abstraction layer is bi-directionally connected the tenth bidirectional end of Android frame units, Android frames Unidirectionally end unidirectionally connects ad hoc network application program unit to frame unit first.
  2. 2. a kind of ad hoc network module bottom layer driving development device based on LC1860 chips as described in claim 1, feature It is, the ad hoc network module divides the voice, data communications for obtaining voice, data communications in real time Ad hoc network interface kernel-driven layer and ad hoc network native code module are not sent to;
    The ad hoc network interface kernel-driven layer is used for the voice sended over received from networking module, data communications, will The voice of reception, data communications are sent to ad hoc network native code module;
    The ad hoc network native code module is used for the voice received from the reception of networking interface kernel-driven layer, data are led to Letter information, and the voice, data communications are converted to by ad hoc network application program unit energy using Android JNI mechanism The program code information enough identified, and it is sent to ad hoc network application program unit;
    The ad hoc network application program unit is used to receive the program code information that ad hoc network native code module sends over, and Said program code information is converted into after voice data and is sent to Android frame units;
    The Android frame units are used for the voice data sended over received from networking application program unit, and to described Voice data carries out the acquisition of Android Socket communication datas, then sends the Android Socket communication datas of sampling To Android hardware abstraction layers;
    The Android hardware abstraction layers are used to receive the Android Socket that Android frame units send over Communication data, and interface driver adaptation is carried out to the Android Socket communication datas, and then obtain interface driver code The interface driver marking code and the Android Socket communication datas are sent to ad hoc network interface kernel and driven by mark Dynamic layer;
    The ad hoc network interface kernel-driven layer is used to receive the interface driver generation that Android hardware abstraction layers send over Code mark and the Android Socket communication datas, and corresponding interface is driven according to the interface driver marking code, so Afterwards push to talk button audio unit is sent to from the interface by the communication data.
  3. 3. a kind of ad hoc network module bottom layer driving development device based on LC1860 chips as claimed in claim 2, feature It is, the ad hoc network application program unit is additionally operable to voice, data communications being converted into push to talk data, procotol Data and voice data, and the push to talk data, the Internet protocol data and voice data are sent to ad hoc network local code Module obtains push to talk data code, the Internet protocol data code and voice data code, and is sent to ad hoc network interface kernel Layer is driven, ad hoc network interface kernel-driven layer is according to push to talk data code, the Internet protocol data code and voice data code Corresponding interface is driven, then from the interface by the push to talk data code, the Internet protocol data code and voice data generation Code is sent to ad hoc network module and is understood into line code, respectively obtains push to talk data, the Internet protocol data and voice data.
  4. 4. a kind of ad hoc network module bottom layer driving development device based on LC1860 chips as described in claim 1, feature It is, the ad hoc network application program unit is additionally operable to be sent to after reading push to talk button data from voice data Android frame units, Android frame units are used to carry out Android Socket after receiving the push to talk button data Push to talk button data gathers, and Android hardware is sent to after the Android Socket push to talk button datas gathered Level of abstraction;The laggard line interface of Android Socket push to talk button datas that Android hardware abstraction layers gather for reception Driving adaptation, and then obtain push to talk button data interface driver code;Ad hoc network interface kernel-driven layer is described for receiving Push to talk button data interface driver code and the Android Socket push to talk button datas of the acquisition;
    The push to talk button audio unit is additionally operable to obtain hardware interface signal, and is sent to ad hoc network interface kernel-driven Layer;The ad hoc network interface kernel-driven layer is additionally operable to receive the hardware interface signal that push to talk button audio unit is sent, and Corresponding interface is driven according to the push to talk button data interface driver code, is connect from the interface by the push to talk button data Mouth driving code is sent to Android hardware abstraction layers;Android hardware abstraction layers receive the push to talk button data interface Code is driven, the Android Socket push to talk button datas Android of the acquisition is sent to Android frame lists The Android Socket push to talk button datas of acquisition are sent to ad hoc network application program list by member, Android frame units Member.
CN201711482382.6A 2017-12-29 2017-12-29 Ad hoc network module bottom layer driving development device based on LC1860 chip Active CN108090024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711482382.6A CN108090024B (en) 2017-12-29 2017-12-29 Ad hoc network module bottom layer driving development device based on LC1860 chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711482382.6A CN108090024B (en) 2017-12-29 2017-12-29 Ad hoc network module bottom layer driving development device based on LC1860 chip

Publications (2)

Publication Number Publication Date
CN108090024A true CN108090024A (en) 2018-05-29
CN108090024B CN108090024B (en) 2023-05-02

Family

ID=62180910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711482382.6A Active CN108090024B (en) 2017-12-29 2017-12-29 Ad hoc network module bottom layer driving development device based on LC1860 chip

Country Status (1)

Country Link
CN (1) CN108090024B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147822A (en) * 2018-10-26 2019-01-04 上海创远仪器技术股份有限公司 System and method for VOLTE voice recording and speech quality evaluation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7308484B1 (en) * 2000-06-30 2007-12-11 Cisco Technology, Inc. Apparatus and methods for providing an audibly controlled user interface for audio-based communication devices
CN203193909U (en) * 2012-12-24 2013-09-11 浙江中呼科技有限公司 An ad-hoc network terminal device
CN103353839A (en) * 2013-06-07 2013-10-16 杭州竞天数码科技有限公司 Universal serial device communication module based on Android system
CN103902389A (en) * 2014-03-06 2014-07-02 厦门雅迅网络股份有限公司 Equipment management method supporting bidirectional communication based on android platform
US20160044035A1 (en) * 2012-04-05 2016-02-11 Arizona Board Of Regents On Behalf Of Arizona State University Systems and Apparatuses for a Secure Mobile Cloud Framework for Mobile Computing and Communication
CN205212923U (en) * 2015-11-02 2016-05-04 上海唐舜电信科技有限公司 Restructural network media phone terminal
WO2016127495A1 (en) * 2015-02-12 2016-08-18 无锡识凌科技有限公司 Method for developing device driver architecture in intelligent terminal
WO2017177873A1 (en) * 2016-04-15 2017-10-19 中兴通讯股份有限公司 System and method for synchronous audio recording and playing, and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7308484B1 (en) * 2000-06-30 2007-12-11 Cisco Technology, Inc. Apparatus and methods for providing an audibly controlled user interface for audio-based communication devices
US20160044035A1 (en) * 2012-04-05 2016-02-11 Arizona Board Of Regents On Behalf Of Arizona State University Systems and Apparatuses for a Secure Mobile Cloud Framework for Mobile Computing and Communication
CN203193909U (en) * 2012-12-24 2013-09-11 浙江中呼科技有限公司 An ad-hoc network terminal device
CN103353839A (en) * 2013-06-07 2013-10-16 杭州竞天数码科技有限公司 Universal serial device communication module based on Android system
CN103902389A (en) * 2014-03-06 2014-07-02 厦门雅迅网络股份有限公司 Equipment management method supporting bidirectional communication based on android platform
WO2016127495A1 (en) * 2015-02-12 2016-08-18 无锡识凌科技有限公司 Method for developing device driver architecture in intelligent terminal
CN205212923U (en) * 2015-11-02 2016-05-04 上海唐舜电信科技有限公司 Restructural network media phone terminal
WO2017177873A1 (en) * 2016-04-15 2017-10-19 中兴通讯股份有限公司 System and method for synchronous audio recording and playing, and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李佳;亓妍妍;朱维杰;: "Android系统下SAEJ1939协议的移植" *
林献坤;潘志彬;张毅刚;: "支持4G通道的自动化监控系统通信管理机开发" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147822A (en) * 2018-10-26 2019-01-04 上海创远仪器技术股份有限公司 System and method for VOLTE voice recording and speech quality evaluation
CN109147822B (en) * 2018-10-26 2023-05-09 上海创远仪器技术股份有限公司 System and method for VOLTE voice recording and voice quality evaluation

Also Published As

Publication number Publication date
CN108090024B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
TWI244295B (en) Method and system for simulating multiple independent client devices in a wired or wireless network
US8442509B2 (en) System and method for managing a wireless device from removable media with processing capability
CN103368688B (en) Data processing equipment
Saadallah et al. CCNx for Contiki: implementation details
CN101764809A (en) Satellite test data collection framework system
TW200623740A (en) Network participant status evaluation
CN106792454A (en) Bluetooth communication method, communicator, communication system and electronic equipment
DE60041186D1 (en) ELEMENT FOR A COMMUNICATION SYSTEM
CN111510481B (en) Software and hardware interaction method applied to BLE5.0 protocol system
CN102448098B (en) Based on physical layer test macro and the method for ARM and DSP coenocytism
ATE471058T1 (en) AUTOMOTIVE MOBILE TERMINAL CONNECTION SYSTEM FOR PROVIDING MOBILE TERMINAL FUNCTION TO ENABLE A DYNAMIC EXTERNAL USER INTERFACE
CN106209211A (en) LoRa MANET communication system based on Beidou satellite communication
CN108090024A (en) Ad hoc network module bottom layer driving development device based on LC1860 chips
CN104994536B (en) A kind of configuration method and portable configuration device towards WSCN nodes
Jiang et al. uSD: universal sensor data entry card
CN204069039U (en) A kind of wireless connection system and device
CN104683178B (en) A kind of test method and system of the more DUT of identical IP address
CN106681778A (en) Multi-single-chip-microcomputer one-time flash system based on network and implementation method
Mittek et al. Design and implementation of a low-cost embedded Linux gateway for smart home health monitoring
CN206332678U (en) A kind of ethernet receiver of multichannel FM broadcast
Drumea et al. GSM solutions for low cost embedded systems for industrial control
CN204836184U (en) Mobile communication network pronunciation MOS testing arrangement
CN116233301A (en) Method, system and device for configuring WiFisensing by utilizing android system
Baumgartner Heterogeneity in distributed embedded systems: From programming paradigms to testing
Sakamuri NetEye: A wireless sensor network testbed

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant