CN111262845A - Communication end-oriented mobile end communication framework, system and method - Google Patents

Communication end-oriented mobile end communication framework, system and method Download PDF

Info

Publication number
CN111262845A
CN111262845A CN202010029543.1A CN202010029543A CN111262845A CN 111262845 A CN111262845 A CN 111262845A CN 202010029543 A CN202010029543 A CN 202010029543A CN 111262845 A CN111262845 A CN 111262845A
Authority
CN
China
Prior art keywords
communication
network
data
layer
module
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
CN202010029543.1A
Other languages
Chinese (zh)
Other versions
CN111262845B (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.)
Zhongke Quanwei Technology Suzhou Co Ltd
Original Assignee
Zhongke Quanwei Technology Suzhou 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 Zhongke Quanwei Technology Suzhou Co Ltd filed Critical Zhongke Quanwei Technology Suzhou Co Ltd
Priority to CN202010029543.1A priority Critical patent/CN111262845B/en
Publication of CN111262845A publication Critical patent/CN111262845A/en
Application granted granted Critical
Publication of CN111262845B publication Critical patent/CN111262845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/165Combined use of TCP and UDP protocols; selection criteria therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • H04L63/205Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless
    • 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 provides a communication end-oriented mobile end communication frame, a system and a method, wherein the communication frame comprises the following components from bottom to top: the packaging layer is used for packaging common services and providing support for the upper layer; the resource scheduling layer is used for uniformly scheduling communication resources and data and providing a convenient interface for an upper layer; the transmission layer is used for packaging common data formats and providing reliable data transmission support under an IP network and/or a non-IP network; the communication interface abstraction layer is used for abstractly packaging a wireless interface and a wired interface of the mobile terminal and providing consistent access to the communication interface; and the communication interface layer supports wired and/or wireless communication. The invention effectively solves the problems of timeliness and reliability of data transmission of the IP network and the non-IP network, and can be rapidly integrated, developed and used.

Description

Communication end-oriented mobile end communication framework, system and method
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a mobile terminal communication framework, system and method for a communication terminal.
Background
The technical scheme is characterized in that the characteristics of high performance, high reliability, high availability, high renewability and high maintainability of a commercial mobile terminal (such as a mobile phone) are effectively utilized, the communication capability of the mobile terminal is further expanded by externally connecting communication terminal equipment, and the mobile terminal has important application values in special fields such as individual combat, emergency rescue, wilderness exploration, scientific research and the like.
In the current technical scheme, a communication is often realized by setting a communication agent at a communication end to send and receive communication data. When sending, the service data is firstly forwarded to the communication terminal equipment which is directly connected by the mobile terminal, then the communication terminal analyzes the data, then stores the data and then sends the data specifically; when receiving, the communication terminal encodes the data, then stores the data, and then forwards the data to the directly connected mobile terminal equipment.
The above solution comprises the following drawbacks:
(1) the whole communication system comprises a non-IP (Internet Protocol) network, and IP (Internet Protocol) based reliability protocols such as a TCP (Transmission Control Protocol) which are commonly used at present are unavailable aiming at the non-IP network, so that the reliability of end-to-end data cannot be guaranteed;
(2) in the whole communication process, proxy forwarding, storage forwarding and communication delay are increased;
(3) in the whole communication process, too many layers are formed, protocols are added layer by layer, subpackaging and unpacking are carried out, redundant information is too much, efficiency is low, and effective bandwidth cannot be fully utilized;
(4) the mobile terminal and the communication terminal are communicated through a single wireless or wired interface, and the expandability and the replaceability of a communication mode are poor;
(5) communication data is usually encoded into a single format, and the usability and the expandability are poor according to different network characteristics of a communication end.
Disclosure of Invention
Embodiments of the present invention provide a communication-end-oriented mobile terminal communication framework, system, and method, so as to solve the problem of end-to-end data reliability in a non-IP network, reduce communication delay, fully utilize effective bandwidth of a channel, and increase scalability and replaceability of a communication method and a coding method for characteristics of different networks of a communication end.
The embodiment of the invention provides the following specific technical scheme:
the first aspect provides a towards removal end communication frame of communication end, adopts layered structure to realize the communication, interacts through the service interface between each layer, and lower floor's service provides support for the realization of upper function, and each layer is supreme respectively down: the packaging layer is used for packaging common services and providing support for the upper layer; the resource scheduling layer is used for uniformly scheduling communication resources and data and providing a convenient interface for an upper layer; the transmission layer is used for packaging common data formats and providing reliable data transmission support under an IP network and/or a non-IP network; the communication interface abstraction layer is used for abstractly packaging a wireless interface and a wired interface of the mobile terminal and providing consistent access to the communication interface; and the communication interface layer supports wired and/or wireless communication.
With reference to the first aspect, in a first possible implementation manner, the encapsulation layer includes: the parameter configuration module is used for configuring basic parameters of the communication framework; the data transmission module is used for carrying out communication among data; the safety encryption module is used for uniformly encrypting or decrypting the data; the compression and decompression module is used for uniformly compressing or decompressing the data; and the network tool module is used for detecting the connectivity of the network and the availability of the service.
With reference to the first aspect, in a second possible implementation manner, the resource scheduling layer includes: the task management module is used for uniformly organizing, selecting, distributing and executing communication tasks; the data coding and decoding module is used for coding and decoding the communication data in a specific format; the message queue module is used for caching, serializing, persisting and distributing messages; the monitoring reporting module is used for monitoring data arrival and reporting an upper layer; and the network management module is used for uniformly managing the available networks.
With reference to the first aspect, in a third possible implementation manner, the transport layer is configured to encapsulate common data formats, where the data formats include one or more of the following formats: AT, JSON, Protobuf and custom frame format.
With reference to the first aspect, in a fourth possible implementation manner, the communication interface abstraction layer includes one or more of the following abstract interfaces: configuring, inquiring, detecting, establishing a link, breaking a link, sending and receiving an abstract interface.
In a second aspect, a communication system is provided, which includes a mobile terminal and a communication terminal, where information interaction between the mobile terminal and the communication terminal is implemented through a communication interface, and the mobile terminal includes a mobile terminal communication framework facing the communication terminal as described in any one of the first aspect and the first to fourth possible implementation manners.
With reference to the second aspect, in a first possible implementation manner, the mobile terminal further includes an application APP and an operating system, where the application APP and the operating system are located on an upper layer and a lower layer of the communication framework, respectively, and the communication terminal includes an ad hoc network module, a heaven/satellite communication module, and an LTE module.
With reference to the third aspect, a communication method is provided, which is applied to the communication system described in the second aspect or the first possible implementation manner of the second aspect, and includes the following steps: issuing service data to a communication framework through an application program APP, and establishing a corresponding sending task by the communication framework; selecting a communication network according to the network type of the sending task, judging whether a link of the communication network is established, if not, executing the link establishment operation, otherwise, executing the next step; selecting a transmission protocol according to the network characteristics; selecting whether to encrypt or not according to the encryption attribute of the task; selecting whether to compress or not according to the compression attribute of the task; selecting a data transmission format according to the encoding format attribute of the task; coding the data by using a corresponding format, and sending the data to a communication terminal; and reporting the sending progress to the application program APP in the sending process until the sending task is completed, and reporting the sending completed result.
With reference to the third aspect, in a first possible implementation manner, the link establishment operation specifically includes the following steps: selecting a communication interface of a mobile terminal; configuring corresponding necessary parameters according to different communication interfaces, and establishing a channel between a mobile terminal and a communication terminal; selecting a communication terminal communication network; configuring corresponding communication parameters according to different communication networks; and finishing the link establishment.
Based on the technical scheme, the embodiment of the invention has the beneficial effects that: aiming at the network characteristics of a communication end, the wired and wireless communication interfaces of a mobile end are subjected to unified interface packaging and resource scheduling, a data transmission reliability protocol is provided, the problems of timeliness and reliability of data transmission of an IP network and a non-IP network are effectively solved, rapid integration, development and use can be carried out, and the wireless communication network has the characteristics of high efficiency, high cohesion, low coupling, low time delay, high reliability and high extensibility.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a communication framework according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a communication method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a link establishment process according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention. As shown in fig. 1, the communication system includes a plurality of mobile terminals and a communication terminal, where the mobile terminals and the communication terminal realize information interaction through a communication interface, and the communication terminal is connected to a communication terminal of another mobile terminal to realize communication between the two mobile terminals.
The mobile terminal mainly comprises an APP (Application), a communication framework, an operating system and a communication interface, wherein the APP and the operating system are respectively positioned at the upper layer and the lower layer of the communication framework; the communication end mainly comprises an ad hoc network module, an heaven/satellite communication module, an LTE (Long Term Evolution, 3.9G wireless communication technical standard) module and a communication interface, and the communication end is in wireless connection with the communication end through the ad hoc network module, the heaven/satellite communication module or the LTE module.
It should be understood that the mobile terminal is a main user-oriented man-machine interaction terminal, which is used for collecting user information, receiving user instructions and operations, and is a main starting point of the overall service. The APP is an interface of a straight-face user, and is a high-level embodiment of a specific service function; the communication framework is the specific use and realization of the multimode communication capability, and the availability and the reliability of the service function are guaranteed; the operating system refers to a mobile terminal operating system, including but not limited to Android (Google operating system) or IOS (apple operating system), and is used for uniformly managing software and hardware resources of the computer; the communication interface includes bluetooth, USB (universal serial Bus), WIFI (Wireless Fidelity, Wireless communication technology), and the like.
It should also be understood that the communication end supports multimode communication as an extension and extension of the communication capability of the mobile end. The ad hoc network module is a communication module with two functions of a router and a host, a plurality of ad hoc network modules can form a centerless ad hoc network, all nodes in the network have equal positions, the nodes can join and leave the network at any time, the fault of a few nodes does not influence the operation of the whole network, and the anti-destruction performance is strong; the heaven-earth/satellite module is a communication module taking a satellite as a relay, wherein the heaven-earth module supports short message and telephone services, and the satellite supports common data services; the LTE communication module is a communication module supporting 3.9G communication standards, and a plurality of LTE communication modules communicate through an LTE base station and have strong data transmission capacity.
The communication end receives the mobile end information, is used for forwarding and delivering communication data, and is the extension expansion of the system communication capability; data intercommunication can be carried out between the mobile terminal and the communication terminal in a wired mode (USB, USB-to-internet port and the like) or a wireless mode (WIFI, Bluetooth and the like).
Fig. 2 is a schematic structural diagram of a communication framework according to an embodiment of the present invention. As shown in fig. 2, the communication framework adopts a layered structure to implement communication, each layer interacts with each other through a service interface, a lower layer service provides support for implementing an upper layer function, and each layer is respectively a packaging layer, a resource scheduling layer, a transmission layer, a communication interface abstraction layer and a communication interface layer from bottom to top.
The packaging layer is used for packaging common services and providing support for the upper layer; the resource scheduling layer is used for uniformly scheduling communication resources and data and providing a convenient interface for an upper layer; the transmission layer is used for packaging common data formats and providing reliable data transmission support under an IP network and/or a non-IP network; the communication interface abstract layer is used for abstract packaging of a wireless interface and a wired interface of the mobile terminal, provides consistent access to the communication interface and improves usability; the communication interface layer supports wired and/or wireless communication.
Specifically, the packaging layer comprises a parameter configuration module, a data transmission module, a security encryption module, a compression and decompression module and a network tool module. In the packaging layer, basic parameters of a communication framework are configured through a parameter configuration module, data communication is carried out through a data transmission module, data are uniformly encrypted and decrypted through a selectable security encryption module, data are uniformly compressed and decompressed through a selectable compression and decompression module, and the communication of a network and the availability of services are detected through a network tool module.
The resource scheduling layer comprises a task management module, a data coding and decoding module, a message queue module, a monitoring and reporting module and a network management module. In a resource scheduling layer, communication tasks are uniformly organized, selected, distributed and executed through a task management module, communication data are coded and decoded in specific formats (AT, JSON, Protobuf, custom frame format and the like) through a data coding and decoding module, messages are cached, serialized, persisted and distributed through a message queue module, the data arrival and report upper layer is monitored through a monitoring and reporting module, and an available network is uniformly managed through a network management module.
AT the transport layer, data formats such as AT (Attention instruction), JSON (JSON Object Notation), Protocol (Google Protocol Buffer), custom frame format, and the like are supported. The system comprises an AT, a JSON and a Protobuf, wherein the AT is specially used for supporting a narrow-band network of a communication end, the JSON and the Protobuf are specially used for supporting a narrow-band network and a wide-band network of the communication end, and a custom frame format is specially used for non-standard network extension; the Data Protocol comprises an IP network reliable Protocol and a non-IP network reliable Protocol, wherein the IP network reliable Protocol can be selected from TCP (Transmission Control Protocol), QUIC (Quick UDP Internet Connection, fast UDP Internet Protocol), UDT (UDP-based Data transfer Protocol ), SCTP (Stream Control Transmission Protocol) and the like; the reliable Protocol of the non-IP network can select a DTP (Dynamic Transmission Protocol) Protocol, is optimized for the narrow-band network, reduces time delay, and simultaneously fully utilizes the bandwidth of the narrow-band network to ensure end-to-end reliability.
And in the communication interface abstraction layer, the wireless communication and limited communication interfaces of the mobile terminal are abstractly packaged, and a uniform interface is provided for the upper layer, wherein the uniform interface comprises abstract interfaces of configuration, query, detection, link establishment, link breaking, sending, receiving and the like.
The communication interface layer supports wired and wireless communication, and wired mode includes USB and USB changes other communication interface (net gape, serial ports etc.), and wireless mode includes WIFI, bluetooth etc. is the basic external communication interface who removes the end.
Furthermore, in order to ensure the end-to-end reliability of the non-IP networks such as the communication end ad hoc network, the heaven and satellite communication network and the satellite communication network, a corresponding reliability protocol is provided at the transmission layer of the communication frame, a DTP (data transfer protocol) protocol can be selected, and the protocol has the following characteristics of selective retransmission and only transmission of a really lost data packet; fast retransmission without waiting for overtime of lost packets; only the size of the transmission buffer and the size of the remaining receiving buffer at the receiving end are considered to control the transmission frequency.
Furthermore, in order to support narrow-band communication of a communication end and reduce information redundancy, compression and decompression of data are supported on an encapsulation layer of a communication frame, and compression processing is carried out on the data; in a resource scheduling layer, the sending frequency of data is controlled through task management, network management and message queues, and the blockage of a communication channel is reduced as much as possible; and in a transmission layer of a communication framework, simplified instruction data such as AT (access point) and the like are supported, and the bandwidth is effectively utilized.
Furthermore, in order to reduce the communication delay, proxy forwarding and store forwarding of the communication terminal are eliminated, the communication service is initiated by the mobile terminal, and the communication terminal only provides a communication link without time-consuming operations such as transfer, addition and solution of protocols and the like.
Furthermore, in order to improve the expandability and the replaceability of the communication mode and the data coding mode, the transmission layer of the communication framework supports various data coding and decoding modes and supports a user-defined data coding and decoding mode; the communication interface abstraction layer of the communication framework uniformly encapsulates wired and wireless communication modes and comprises abstract interfaces of configuration, inquiry, detection, link establishment, link breaking, sending, receiving and the like, wherein the configuration interface is used for configuring communication parameters, the inquiry interface is used for inquiring the communication parameters, the detection interface is used for detecting the availability and the effectiveness of the communication interface, the link establishment interface is used for establishing communication links, the link breaking interface is used for breaking the communication links, the sending interface is used for sending communication data, and the receiving interface is used for receiving the communication data.
A communication framework and a system of a mobile terminal facing a communication terminal according to an embodiment of the present invention are described in detail above with reference to fig. 1 and 2, and a communication method according to an embodiment of the present invention is described in detail below with reference to fig. 3 and 4.
Fig. 3 is a flowchart illustrating a communication method according to an embodiment of the present invention. As shown in fig. 3, the communication method is applied to the communication system, and specifically includes the following steps:
firstly, issuing a service of data (such as a message and a file) to a communication framework through an application program APP, and then starting to create a corresponding sending task by an encapsulation layer of the communication framework; and then the task management module selects a network according to task NetType (network type) attributes, wherein NetType (network type) selectable values comprise LTE, ad hoc network, heaven-through or satellite-through, and the network management module judges whether a link of the communication network is established or not according to the network state value.
Generally, a network state value needs to be maintained by reporting a state signal through a communication terminal, if no state signal is reported for a long time, a link is considered to be disconnected, and a link establishment operation is performed, otherwise, a link of a communication network is established, and a next step is performed.
Next, the data transmission module selects a transmission protocol according to the network characteristics, if the current network is an LTE network which is an IP network based on a TCP/IP5 layer structure, the network is addressed through IP, a TCP protocol can be constructed on the IP layer, and the reliability of network packet data is ensured through the TCP protocol, then the reliability protocol based on IP, such as TCP/QUIC/UDT/SCTP and the like, is selected; if the current network is a non-IP network, such as an ad hoc network, heaven-earth communication, guard-earth communication and the like, a non-IP reliability protocol such as a DTP protocol and the like needs to be selected to ensure reliability, and the problems of delay, loss, disorder, repetition and the like of data generated by transmitting packet data in the network are avoided.
Then the task management module selects whether to encrypt the data according to the encryption attribute IsEncrypted of the task, if the IsEncrypted is True, the encryption operation is carried out through the safety encryption module; then the task management module selects whether to compress the data according to the compression property IsCompressed of the task, if IsCompressed is True, the compression operation is carried out through the compression and decompression module; then the task management module selects a data transmission format according to the coding format attribute codecFormat of the task, wherein the data transmission format can be selected from AT, JSON, Protobuf, custom frame format and the like; and then, the data is coded by using a corresponding format through the data coding and decoding module, the data is sent to the communication terminal, the task management module reports the sending progress to the application program APP in the sending process until the sending task is completed, and the sending completed result is reported.
The method flow of the above link establishment operation is shown in fig. 4, and specifically includes the following steps:
firstly, a mobile terminal needs to select a communication interface comprising Bluetooth, WIFI, USB and the like, if the WIFI and the Bluetooth are selected, data are transmitted through a wireless channel, if the USB and the USB are selected to be converted into a serial port or a network port, the data are transmitted through a wired channel, then an application program APP configures corresponding necessary parameters through a parameter configuration module according to different communication interfaces, and a channel between the mobile terminal and the communication terminal is established; selecting a communication network between the communication terminal and the communication terminal through an application program APP, wherein the communication network comprises an LTE (Long term evolution), an ad hoc network, an Tiantong network, a Weitong network and the like, the LTE is an IP-based network, the ad hoc network, the Tiantong network and the Weitong network are non-IP networks, and then a parameter configuration module configures corresponding communication parameters according to different communication networks; and finally, the network management module establishes a link according to the characteristics of the network. Examples are as follows:
for example, in a mobile terminal operating system, an upper application program APP is opened, a system Bluetooth switch is opened, a Bluetooth scanning button is clicked, communication terminal Bluetooth equipment with a specific Bluetooth broadcast service identifier is scanned, after the scanning is finished, connection is clicked, and a Bluetooth communication link between the mobile terminal and the communication terminal is established; then selecting a communication network, if selecting ad hoc network communication, the following processes of sending an instruction to configure ad hoc network parameters and establishing a link are required:
1) setting an ad hoc network switch by AT ^ SETNETSTATUS, if AT ^ SETNETSTATUS ^ 1, representing to open an ad hoc network module;
2) setting the ad hoc network access by AT ^ NETCONNECT, and if AT ^ NETCONNECT is 1, setting the ad hoc network access;
3) the AT ^ EPREF sets a fixed frequency set, a hop frequency set and the like, and a backbone network or a subnet adopts a fixed frequency or frequency hopping mode and specific frequency points. For example, AT ^ EPREPF ═ 1,0,400.00,410.00,420.00,430.00,440.00, represents that the current ad hoc network node is set as the backbone network, a frequency hopping mode is adopted, and the frequency modulation frequency set is 400.00/410.00/420.00/430.00/440.00 MHZ.
4) AT ^ EPRPEP sets up ad hoc network parameter, backbone network, subnet, first grade cluster head, second grade cluster head, group number, synchronization mode etc. if AT ^ EPRPEP is 5,2,0,1,22,1, the representative sets up current node for backbone network number 5, subnet number is 2, not first grade cluster head, is second grade cluster head, affiliated group number is 22, the synchronization mode adopts outer synchronization.
5) The AT ^ REPORTCONNECTTSTATUS reports the network access status, such as AT ^ REPORTCONNECTTSTATUS ^ 1, which represents that the network access from the network is successful, i.e. the link establishment is successful.
Since ad hoc networks are not standard TCP/IP5 layer structures, it is necessary to use non-IP network protocols to ensure reliability of packet data transmission after the link is established.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. The utility model provides a towards removal end communication frame of communication end, adopts layered structure to realize the communication, interacts through the service interface between each layer, and lower floor's service provides support for the realization of upper function, and its characterized in that, each layer is from supreme doing down respectively:
the packaging layer is used for packaging common services and providing support for the upper layer;
the resource scheduling layer is used for uniformly scheduling communication resources and data and providing a convenient interface for an upper layer;
the transmission layer is used for packaging common data formats and providing reliable data transmission support under an IP network and/or a non-IP network;
the communication interface abstraction layer is used for abstractly packaging a wireless interface and a wired interface of the mobile terminal and providing consistent access to the communication interface;
and the communication interface layer supports wired and/or wireless communication.
2. The communication end-oriented mobile end communication framework of claim 1, wherein the encapsulation layer comprises:
the parameter configuration module is used for configuring basic parameters of the communication framework;
the data transmission module is used for carrying out communication among data;
the safety encryption module is used for uniformly encrypting or decrypting the data;
the compression and decompression module is used for uniformly compressing or decompressing the data;
and the network tool module is used for detecting the connectivity of the network and the availability of the service.
3. The communication terminal-oriented mobile terminal communication framework of claim 1, wherein the resource scheduling layer comprises:
the task management module is used for uniformly organizing, selecting, distributing and executing communication tasks;
the data coding and decoding module is used for coding and decoding the communication data in a specific format;
the message queue module is used for caching, serializing, persisting and distributing messages;
the monitoring reporting module is used for monitoring data arrival and reporting an upper layer;
and the network management module is used for uniformly managing the available networks.
4. The communication-oriented mobile end communication framework of claim 1, wherein the transport layer is configured to encapsulate common data formats, and wherein the data formats include one or more of the following: AT, JSON, Protobuf and custom frame format.
5. The communication framework of claim 1, wherein the communication interface abstraction layer comprises one or more of the following abstract interfaces: configuring, inquiring, detecting, establishing a link, breaking a link, sending and receiving an abstract interface.
6. A communication system, comprising a mobile terminal and a communication terminal, wherein the mobile terminal and the communication terminal realize information interaction through a communication interface, and the mobile terminal comprises a communication terminal-oriented mobile terminal communication framework according to any one of claims 1 to 5.
7. The communication system according to claim 6, wherein the mobile terminal further includes an application APP and an operating system, the application APP and the operating system are respectively located at an upper layer and a lower layer of the communication framework, and the communication terminal includes an ad hoc network module, a heaven/satellite communication module, and an LTE module.
8. A communication method applied to the communication system according to claim 6 or 7, comprising the steps of:
issuing service data to a communication framework through an application program APP, and establishing a corresponding sending task by the communication framework;
selecting a communication network according to the network type of the sending task, judging whether a link of the communication network is established, if not, executing the link establishment operation, otherwise, executing the next step;
selecting a transmission protocol according to the network characteristics;
selecting whether to encrypt or not according to the encryption attribute of the task;
selecting whether to compress or not according to the compression attribute of the task;
selecting a data transmission format according to the encoding format attribute of the task;
coding the data by using a corresponding format, and sending the data to a communication terminal;
and reporting the sending progress to the application program APP in the sending process until the sending task is completed, and reporting the sending completed result.
9. The communication method according to claim 8, wherein the link establishment operation comprises the steps of:
selecting a communication interface of a mobile terminal;
configuring corresponding necessary parameters according to different communication interfaces, and establishing a channel between a mobile terminal and a communication terminal;
selecting a communication terminal communication network;
configuring corresponding communication parameters according to different communication networks;
and finishing the link establishment.
CN202010029543.1A 2020-01-13 2020-01-13 Communication end-oriented mobile end communication framework, system and method Active CN111262845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010029543.1A CN111262845B (en) 2020-01-13 2020-01-13 Communication end-oriented mobile end communication framework, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010029543.1A CN111262845B (en) 2020-01-13 2020-01-13 Communication end-oriented mobile end communication framework, system and method

Publications (2)

Publication Number Publication Date
CN111262845A true CN111262845A (en) 2020-06-09
CN111262845B CN111262845B (en) 2022-05-17

Family

ID=70953993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010029543.1A Active CN111262845B (en) 2020-01-13 2020-01-13 Communication end-oriented mobile end communication framework, system and method

Country Status (1)

Country Link
CN (1) CN111262845B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583818A (en) * 2020-12-08 2021-03-30 清华大学 Adaptive transport protocol selection method and device for mobile Web service
CN113207194A (en) * 2021-04-21 2021-08-03 中国人民解放军国防科技大学 Multi-mode communication implementation method and device based on kylin mobile operating system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6445715B1 (en) * 1998-08-27 2002-09-03 Cisco Technology, Inc. Dynamic trunk protocol
CN1476181A (en) * 2003-07-14 2004-02-18 中国科学院计算技术研究所 Distribution type satellite network TLP performance acceleration protocol mode and method
CA2656660A1 (en) * 2009-02-27 2010-08-27 Ruggedcom Inc. Client/bridge and method and system for using same
CN103546944A (en) * 2013-10-17 2014-01-29 阳光凯讯(北京)科技有限公司 Multimodality soft switching system and multimodality communication equipment with same
CN109257418A (en) * 2018-08-22 2019-01-22 西安电子科技大学 A kind of segmentation method for reliable transmission based on mobile reliable transmission agency
US20190251295A1 (en) * 2018-02-14 2019-08-15 Zanthum Corporation Systems and Methods for State of Data Management
CN110190893A (en) * 2019-06-18 2019-08-30 中国电子科技集团公司第五十四研究所 A kind of satellite channel high speed reliable data transmission method based on DPDK

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6445715B1 (en) * 1998-08-27 2002-09-03 Cisco Technology, Inc. Dynamic trunk protocol
CN1476181A (en) * 2003-07-14 2004-02-18 中国科学院计算技术研究所 Distribution type satellite network TLP performance acceleration protocol mode and method
CA2656660A1 (en) * 2009-02-27 2010-08-27 Ruggedcom Inc. Client/bridge and method and system for using same
US20100220701A1 (en) * 2009-02-27 2010-09-02 Ruggedcom Inc. Client/Bridge and Method and System for Using Same
CN103546944A (en) * 2013-10-17 2014-01-29 阳光凯讯(北京)科技有限公司 Multimodality soft switching system and multimodality communication equipment with same
US20190251295A1 (en) * 2018-02-14 2019-08-15 Zanthum Corporation Systems and Methods for State of Data Management
CN109257418A (en) * 2018-08-22 2019-01-22 西安电子科技大学 A kind of segmentation method for reliable transmission based on mobile reliable transmission agency
CN110190893A (en) * 2019-06-18 2019-08-30 中国电子科技集团公司第五十四研究所 A kind of satellite channel high speed reliable data transmission method based on DPDK

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583818A (en) * 2020-12-08 2021-03-30 清华大学 Adaptive transport protocol selection method and device for mobile Web service
CN112583818B (en) * 2020-12-08 2021-12-24 清华大学 Adaptive transport protocol selection method and device for mobile Web service
CN113207194A (en) * 2021-04-21 2021-08-03 中国人民解放军国防科技大学 Multi-mode communication implementation method and device based on kylin mobile operating system
CN113207194B (en) * 2021-04-21 2022-07-05 中国人民解放军国防科技大学 Multi-mode communication implementation method and device based on kylin mobile operating system

Also Published As

Publication number Publication date
CN111262845B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
JP3902235B2 (en) Data compression in data connection
TWI602465B (en) An air interface protocol stack configuration method, data transmission method and device
WO2019141273A1 (en) Communication method for deterministic transmission and related apparatus
CN114208137B (en) Compression and decompression method and device for Ethernet frame header
CN111262845B (en) Communication end-oriented mobile end communication framework, system and method
US20230198671A1 (en) Method and apparatus for configuring network coding and controlling network coding activation
CN107079524B (en) Data forwarding method and controller
JP2022537239A (en) Method, terminal, system and network access equipment for receiving and transmitting data in wireless LAN
EP3840518B1 (en) Rrc connection method and terminal
CN112584545B (en) Data transmission method and device
WO2012088906A1 (en) Intercommunication method and system for internet of things terminals
WO2021023044A1 (en) Communication method and device
WO2022205234A1 (en) Communication method and apparatus
WO2022151420A1 (en) Method, apparatus, and system for transmitting data packet
JP4540635B2 (en) Adaptive communication methods and modules
JP4778371B2 (en) Wireless communication system, wireless base station, communication control method, and communication control program
Chen et al. Cellular based machine to machine communication with un-peer2peer protocol stack
CN107104813B (en) Information transmission method, gateway and controller
US20230099930A1 (en) Communications method and communications apparatus
US20140036784A1 (en) Data Transmission Method, Radio Access Network Device, Wireless Gateway and System
US20230188973A1 (en) Method and apparatus for signalling network coding capabilities
CN114270792B (en) Method and device for transmitting information
CN109039928A (en) Transmission method, device and the Wireless Fidelity router of data
WO2019140648A1 (en) Method and device for reporting information by terminal, and a computer storage medium
CN114338852B (en) Method for encapsulating data packet based on Thread protocol to obtain IEEE802.11 physical frame

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