CN110011880B - Wide area communication method and system - Google Patents

Wide area communication method and system Download PDF

Info

Publication number
CN110011880B
CN110011880B CN201810007019.7A CN201810007019A CN110011880B CN 110011880 B CN110011880 B CN 110011880B CN 201810007019 A CN201810007019 A CN 201810007019A CN 110011880 B CN110011880 B CN 110011880B
Authority
CN
China
Prior art keywords
communication module
data packet
data
communication
activated
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.)
Active
Application number
CN201810007019.7A
Other languages
Chinese (zh)
Other versions
CN110011880A (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.)
Guangzhou Xaircraft Technology Co Ltd
Original Assignee
Guangzhou Xaircraft Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xaircraft Technology Co Ltd filed Critical Guangzhou Xaircraft Technology Co Ltd
Priority to CN201810007019.7A priority Critical patent/CN110011880B/en
Publication of CN110011880A publication Critical patent/CN110011880A/en
Application granted granted Critical
Publication of CN110011880B publication Critical patent/CN110011880B/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
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • 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/2854Wide area networks, e.g. public data networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0203Power saving arrangements in the radio access network or backbone network of wireless communication 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a wide area communication method and a system, wherein the method comprises the following steps: acquiring a data packet to be sent; determining a communication module to be changed and activated and executing change operation on the communication module according to the transmission rate requirement of the data packet to be sent and the data transmission rate of each managed communication module; and distributing the data packet to be sent to each activated communication module so that the communication module executes the sending operation of the data packet to be sent. The invention simultaneously meets the requirements of low power consumption, long distance and speed diversification, and solves the problem that the current low-power consumption wide-area internet of things communication cannot meet the speed diversification.

Description

Wide area communication method and system
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a wide area communication method and system.
Background
With the rapid development of hot spot technologies such as the internet of things, unmanned driving (unmanned aerial vehicles, unmanned ships and the like), robots, smart agriculture and smart cities, new requirements are provided for a wireless communication system, for example: low power consumption, long distance, high reliability, flexible deployment, low cost, diversified transmission rates depending on service needs, and the like.
In various wireless communication technical schemes, the low-power-consumption wide-area internet of things technology is an important direction, has great influence, becomes a new development hotspot in the field of internet of things, has the characteristics of low power consumption, long distance, high reliability and flexible deployment, and is very suitable for large-scale deployment of the internet of things. Compared with the prior art such as WiFi, Bluetooth and ZigBee, the low-power-consumption wide-area Internet of things really realizes low-cost full coverage of the large-area Internet of things, the maximum coverage distance exceeds 100 kilometers, and the deployment is flexible, and operators do not need to be relied on to build a wireless coverage network on unauthorized channels.
Currently, low-power-consumption wide-area internet of things technology realizes low-power-consumption and long-distance reliable communication, but has the common problem of low rate, such as that the highest communication rate of the Lora modulation technology is about 4.7kbps in the case of-121 dbm receiving sensitivity, and the highest communication rate is about 0.78kbps in the case of-131 dbm receiving sensitivity. The typical technical direction of the low-power-consumption wide-area internet of things is to realize ultra-low sensitivity by using a spread spectrum technology, an error correction code technology, a narrowband technology and the like, which can greatly improve the sensitivity and increase the communication distance, but can only realize low or even ultra-low speed.
However, in real world applications, the demand for wireless communication is diversified, and some occasions require both long distances and large traffic rates, such as several tens of kbps or more. Theoretically, increasing the wireless transmission power can increase the communication distance, however, the scheme has two disadvantages, on one hand, the power consumption is increased, and the requirement of low power consumption may not be met; on the other hand, the low-power-consumption wide-area internet of things technology mainly adopts an unlicensed frequency band, and the unlicensed frequency band is specified for the transmission power and usually does not exceed 200 mw. Therefore, the current low-power wide-area internet of things technology cannot meet the requirements of low power consumption, long distance and speed diversification.
[ summary of the invention ]
The present invention is directed to solving at least one of the above problems and to providing a wide area communication method and system.
Correspondingly, the invention also provides a communication system applying the method.
In order to solve the problems, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a wide area communication method, including:
acquiring a data packet to be sent;
determining a communication module to be changed and activated and executing change operation on the communication module according to the transmission rate requirement of the data packet to be sent and the data transmission rate of each managed communication module;
and distributing the data packet to be sent to each activated communication module so that the communication module executes the sending operation of the data packet to be sent.
Specifically, the changing operation includes changing an activated communication module to a dormant communication module or changing a dormant communication module to an activated communication module.
Specifically, the determining a communication module to be changed and activated according to the transmission rate requirement of the data packet to be sent and the managed data transmission rate of each communication module and performing a change operation on the communication module to be changed and activated includes:
comparing the transmission rate requirement of the data packet to be transmitted with the sum of the data transmission rates of the currently activated communication modules to determine the communication module to be changed in the activated state;
if the transmission rate requirement of the data packet to be transmitted is greater than the sum of the data transmission rates of the currently activated communication modules, judging that the dormant communication modules need to be modified;
if the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, judging that the activated communication modules need to be modified;
and if the transmission rate requirement of the data packet to be transmitted is equal to the sum of the data transmission rates of the currently activated communication modules, judging that no change operation needs to be executed.
Preferably, the communication module comprises a primary communication module and a secondary communication module, the primary communication module being configured in a permanently active state.
Specifically, after comparing the transmission rate requirement of the data packet to be transmitted with the sum of the data transmission rates of the currently activated communication modules to determine the communication module whose activation state is to be changed, the method includes:
generating a change request of the communication module containing the activation state to be changed;
sending the change request to the main communication module, so that the main communication module sends the change request to receiver equipment and receives a response message fed back by the receiver equipment correspondingly;
and receiving the response message forwarded by the main communication module, and executing change operation on the communication module to be changed and activated according to the response message.
Specifically, the response message includes: the change is successful and the change is failed.
Preferably, the receiving the response message forwarded by the main communication module, and executing a change operation on the communication module to be changed in the active state according to the response message includes:
and if the response message is successful in changing, executing changing operation on the communication module to be activated, otherwise, not executing the changing operation.
Specifically, if the response message is changed successfully, the executing of the change operation on the communication module to be activated includes:
and when the transmission rate requirement of the data packet to be transmitted is greater than the sum of the data transmission rates of the currently activated communication modules, performing descending order and serial number on the preset transmission rates of the dormant communication modules, wherein the serial number of the communication module with the highest transmission rate is 0.
And sequentially activating the dormant communication modules numbered from 0 to i until the ith dormant communication module is activated, so that the sum of the data transmission rates of the activated communication modules is not less than the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
Specifically, if the response message is changed successfully, the executing of the change operation on the communication module to be activated includes:
when the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, performing ascending sequencing on the transmission rates of the activated communication modules and numbering the transmission rates in sequence, wherein the communication module with the minimum transmission rate is numbered as 0;
and sequentially canceling the activation states of the activated communication modules numbered from 0 to i until the ith activated communication module is canceled, so that the sum of the transmission rates of the activated communication modules does not exceed the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
Specifically, the sending the change request to the main communication module so that the main communication module sends the change request to the receiver device and receives a response message fed back by the receiver device includes:
the main communication module of the current equipment sends the change request to a main communication module of the receiver equipment;
the main communication module of the receiver equipment uploads the change request to a management module of the receiver equipment;
after receiving the change request, the management module of the receiver device executes change operation on the corresponding communication module according to the change request and generates the response message according to the result of the change operation;
and the management module of the receiver equipment sends the response message to the main communication module of the receiver equipment so that the main communication module of the receiver equipment feeds the response message back to the main communication module of the current equipment.
Specifically, the allocating the data packet to be sent to each activated communication module so that the communication module executes the sending operation of the data packet to be sent includes:
and after adding the packet header to the data packet to be sent, distributing the data packet to each activated communication module.
Specifically, the packet header includes a packet type, a packet sequence number, an index value of each data block constituting the packet, an offset address of each data block constituting the packet in the packet, a length of each data block constituting the packet, and a length of the packet.
Preferably, the data packet types include a first preset type, a second preset type and a third preset type, the first preset type and the second preset type are used for representing that the data is user data, and the third preset type is used for representing that the data is a session message between a current management module and a management module of the receiver device.
Specifically, the allocating the data packet to be sent to each activated communication module after adding the packet header includes:
a. when the length of the data packet to be sent is smaller than a first preset threshold value, the management module inquires whether an unallocated data packet exists;
b. if yes, inquiring whether the communication module is idle, otherwise, continuing to execute the step a;
c. if the communication module is idle, adding a packet header carrying a data type value of the first preset type to the data packet to be sent, and then distributing the data packet to the current idle communication module, otherwise, continuing the step b.
Preferably, the allocating the data packet to be sent to each activated communication module after adding the header to the data packet includes:
(1) when the length of the data packet to be sent is greater than a second preset threshold value, whether an unallocated data packet exists is inquired;
(2) if yes, inquiring whether the communication module is idle, otherwise, continuing to execute the step (1);
(3) if the communication module is idle, taking out the data block with the length of a preset length value from the data packet to be sent, otherwise, continuing to execute the step (2);
(4) and adding a packet header carrying a data type value of the second preset type to the data block to generate a new data block, and distributing the new data block to the currently idle communication module.
Specifically, still include:
A. inquiring whether each communication module reports a received data packet;
B. if yes, inquiring the data packet type carried in the packet header of the received data packet and forwarding the received data packet to a service module according to the data packet type, otherwise, continuing the previous step A.
Further, the querying the type of the data packet carried in the packet header of the received data packet and forwarding the received data packet to a service module according to the type of the data packet includes:
if the type of the data packet carried in the packet header of the received data packet is the first preset type, forwarding the data packet to the service module;
if the type of the data packet is the second preset type, merging the received data packets and forwarding the merged data packets to the service module;
and if the type of the data packet is other, discarding the received data packet and continuing to execute the step A.
Specifically, the merging the received data packets and forwarding the merged received data packets to the service module includes:
removing the packet header of each received data packet to generate each original data block, and calculating the sum of the lengths of the original data blocks to generate the length of the original data packet;
applying for a data buffer area with the size of the original data packet length and setting the receiving length of the data buffer area to be 0;
and adding each original data block into the buffer area according to the offset address in each packet header until the receiving length of the buffer area is equal to the length of the original data packet.
In a second aspect, the present invention provides a wide area communication system comprising at least two communication devices, each communication device comprising a number of modules performing different functions, said modules comprising:
the management module is used for determining the communication modules in the to-be-changed activation state according to the transmission rate requirements of the to-be-sent data packets and the managed data transmission rates of the communication modules after acquiring the to-be-sent data packets, executing change operation on the communication modules, and distributing the to-be-sent data packets to the activated communication modules so that the communication modules execute the sending operation on the to-be-sent data packets;
the service module is used for initiating a data transmission request containing a data packet to be transmitted to the management module;
and the communication module is used for receiving the data packet to be sent processed by the management module in an activated state and sending data.
Specifically, the management module is specifically configured to:
comparing the transmission rate requirement of the data packet to be transmitted with the sum of the data transmission rates of the currently activated communication modules to determine the communication module to be changed in the activated state;
if the transmission rate requirement of the data packet to be transmitted is greater than the sum of the data transmission rates of the currently activated communication modules, judging that the dormant communication modules need to be modified;
if the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, judging that the activated communication modules need to be modified;
and if the transmission rate requirement of the data packet to be transmitted is equal to the sum of the data transmission rates of the currently activated communication modules, judging that no change operation needs to be executed.
Preferably, the management module is further configured to:
and forwarding the change request to a main communication module of the current equipment, so that the main communication module of the current equipment sends the change request to the receiver equipment and receives a response message correspondingly fed back by the receiver equipment.
Preferably, the management module is further configured to:
and executing change operation on the communication module to be changed in the activated state according to the response message.
Specifically, the executing a change operation on the communication module to be changed in the activated state according to the response message includes:
and when the transmission rate requirement of the data packet to be transmitted is greater than the sum of the transmission rates of the currently activated communication modules, performing descending sequencing on the preset transmission rates of the dormant communication modules and numbering the preset transmission rates in sequence, wherein the communication module with the maximum transmission rate is numbered 0.
Sequentially activating dormant communication modules numbered from 0 to i until the ith dormant communication module is activated, so that the sum of the data transmission rates of the activated communication modules is not less than the transmission rate requirement of a data packet to be transmitted; wherein i is less than or equal to the total number of communication modules.
Specifically, still include:
when the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, performing ascending sequencing on the transmission rates of the activated communication modules and numbering the transmission rates in sequence, wherein the communication module with the minimum transmission rate is numbered as 0;
and sequentially canceling the activation states of the activated communication modules numbered from 0 to i until the ith activated communication module is canceled, so that the sum of the transmission rates of the activated communication modules does not exceed the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
Preferably, the management module is further configured to receive a received data packet reported by the communication module, process the received data packet, and forward the processed data packet to the service module.
Compared with the prior art, the technical scheme of the invention at least has the following advantages:
1. the invention provides a wide area communication method, which statically or dynamically determines how many communication modules need to be activated according to the flow of a data packet to be sent of a service module and the data transmission rate of the communication modules through a management module so as to meet the requirement of wireless communication rate; when the flow of the data packet to be sent is large, the management module activates the communication modules according to a certain algorithm to increase the transmission rate, and when the flow of the data packet to be sent is small, the management module deactivates the communication modules according to a certain algorithm to reduce the power consumption. The invention solves the problem that the current low-power-consumption wide-area Internet of things communication cannot meet the requirement of rate diversification through the regulating mechanism.
2. When the current communication capacity exceeds the required rate, the invention changes the communication module in the activated state into the dormant state to achieve the purpose of reducing power consumption. In addition, the data to be sent of the data center module is distributed to each activated communication module to be sent, and the received data reported by the communication modules are forwarded to the data center module after processing operations such as combination and the like, so that effective transmission of the data is completed.
Therefore, the invention simultaneously meets the requirements of low power consumption, long distance and speed diversification, and solves the problem that the current low-power-consumption wide-area internet of things communication cannot meet the speed diversification.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flow chart of an embodiment of a method of wide area communication according to the present invention;
fig. 2 is a schematic diagram of a data structure of a communication module change request message in a wide area communication method according to the present invention;
fig. 3 is a schematic data structure diagram of a response message of a communication module change request in a wide area communication method according to the present invention;
FIG. 4 is a block diagram illustrating a process for activating a communication module in a wide area communication method according to the present invention;
FIG. 5 is a block diagram illustrating a flow of deactivating a communication module in a wide area communication method in accordance with the present invention;
FIG. 6 is a block flow diagram of one embodiment of a wide area communication system in accordance with the present invention;
fig. 7 is a block diagram of a wide area communication system according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
Referring to fig. 1, an embodiment of a wide area communication method according to the present invention includes the following steps:
and S11, acquiring the data packet to be sent.
In the embodiment of the present invention, a management module first obtains a data packet to be sent, preferably, the management module first receives a data sending request including the data packet to be sent from a service module, the management module obtains the data packet to be sent included in the data sending request in response to the data sending request, determines a communication module to be changed and activated according to a transmission rate requirement of a current data packet to be sent and a data transmission rate of a currently activated communication module, performs a change operation on the communication module, and then allocates the data packet to be sent to each activated communication module, so that the communication module performs the sending operation on the data packet to be sent.
Specifically, in the embodiment of the present invention, the service module is connected to the management module and is capable of performing bidirectional communication with the management module, and the service module is an effective data generating and receiving unit that generates an effective data packet to be sent and initiates a data sending request to the management module, so that the management module distributes the data packet to be sent to each communication module for data sending.
The communication module is a unit which uses a low-power-consumption wide-area internet of things technology and can independently complete data transmission and reception by using radio waves, is an actual carrier of wireless communication, performs data transmission and reception tasks, and corresponds to functions of a physical layer and a part of MAC layers in the wireless communication.
The management module is connected with the service module and the communication module and used for distributing, processing and forwarding data, and the management module can statically or dynamically determine how many communication modules need to be activated according to the flow of a data packet to be sent by the service module and the data transmission rate of the currently activated communication module so as to meet the requirement of wireless communication rate.
In the embodiment of the present invention, the management module receives the data packet to be sent by the service module, processes the data packet to be sent, and then distributes the processed data packet to each activated communication module to execute sending. Therefore, the management module needs to measure the traffic of the data packet to be sent and the data transmission capability, i.e. data transmission rate, of each activated communication module managed by the management module, so that the data transmission capability of each communication module can just meet the current data packet flow to be sent, if the data transmission capability of the current communication module is too much to exceed the current data packet flow to be sent, the power consumption is too large, and if the data transmission capability of the current communication module is too much to be lower than the current data packet flow to be sent, the current service requirement cannot be met, therefore, the management module of the current device needs to statically or dynamically determine how many communication modules need to be activated according to the traffic of the data packets to be sent by the service module and the data transmission rate of the communication modules, so as to meet the requirement of the wireless communication rate.
Specifically, in the embodiment of the present invention, a value of the number N of the communication modules is evaluated according to a maximum rate requirement of a service, and N communication modules are provided. When the flow of the data packet to be sent is large, the management module activates the communication modules according to a certain algorithm to increase the transmission rate, and when the flow of the data packet to be sent is small, the management module deactivates the communication modules according to a certain algorithm to reduce the power consumption. As an embodiment, all the communication modules may be activated by default according to the actual situation of the application environment, for example, for the purpose of simple implementation or the situation insensitive to power saving of wireless communication. The problem that the existing low-power-consumption wide-area internet of things communication cannot meet rate diversification is solved through the mechanism.
The data transmission rate of the communication module specifically refers to an effective data transmission rate between a specific communication module of the current device and a corresponding communication module of the corresponding receiving device, and is used for characterizing data transmission capability between the communication module of the current device and the corresponding communication module of the receiving device.
S12, determining the communication module to be changed and activated according to the transmission rate requirement of the data packet to be sent and the data transmission rate of each managed communication module, and executing the change operation on the communication module.
In the embodiment of the present invention, the communication module to be changed and activated is determined according to the transmission rate requirement of the data packet to be sent and the data transmission rate of each managed communication module, and a change operation is performed on the communication module, and the following scheme is specifically preferred to implement:
comparing the transmission rate requirement of the data packet to be transmitted with the sum of the data transmission rates of the currently activated communication modules to determine the communication module to be changed in the activated state;
if the transmission rate requirement of the data packet to be transmitted is greater than the sum of the data transmission rates of the currently activated communication modules, judging that the dormant communication modules need to be modified;
if the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, judging that the activated communication modules need to be modified;
and if the transmission rate requirement of the data packet to be transmitted is equal to the sum of the data transmission rates of the currently activated communication modules, judging that no change operation needs to be executed.
In the embodiment of the present invention, after the communication module of the activation state to be changed is determined, the change operation of the activation state to be changed of the device is executed only after the main communication module communicates with the main communication module of the receiving device to obtain the response message of the receiving device.
In a preferred embodiment of the present invention, the communication module includes a main communication module and an auxiliary communication module, the main communication module is configured in a permanent activation state, and the auxiliary communication module needs to be activated to execute a corresponding wireless communication function.
Specifically, the following scheme is preferably implemented in the present invention to implement communication between the device and the recipient device to obtain the response message of the recipient device:
generating a change request of the communication module containing the activation state to be changed;
forwarding the change request to a main communication module of the current equipment, so that the main communication module of the current equipment sends the change request to receiver equipment and receives a response message correspondingly fed back by the receiver equipment;
and receiving the response message forwarded by the main communication module, and executing change operation on the communication module to be changed in the activated state according to the response message.
Further, after receiving the change request, the main communication module of the receiving device specifically executes the following operations:
the main communication module of the current equipment sends the change request to a main communication module of the receiver equipment;
the main communication module of the receiver equipment uploads the change request to a management module of the receiver equipment;
after receiving the change request, the management module of the receiver device executes change operation on the corresponding communication module according to the change request and generates the response message according to the result of the change operation;
and the management module of the receiver equipment sends the response message to the main communication module of the receiver equipment so that the main communication module of the receiver equipment feeds the response message back to the main communication module of the current equipment.
Referring to fig. 2 and fig. 3, fig. 2 shows a data structure diagram of the change request, and fig. 3 shows a data structure diagram of the response message. As shown in fig. 2, the change request includes the total number of the communication modules in the activation state to be changed and the ID numbers of the communication modules in the activation state to be changed, so that the management module of the receiving device receives the change request and then sequentially performs a change operation on the communication modules with the corresponding ID numbers according to the ID numbers of the communication modules in the activation state to be changed in the change request. The response message includes change success, change failure, etc. As shown in fig. 3, the response message includes the total number of the communication modules that have been changed, the ID numbers of the communication modules whose activation states are to be changed, and the result of the change.
In the embodiment of the present invention, after the preset communication module main communication module of the current device receives the response message, if the response message indicates that the communication module in the activation state to be changed is successfully changed, the preset communication module main communication module of the current device uploads the response message to the management module of the current device, so that the management module of the current device performs a corresponding change operation on the communication module in the activation state to be changed of the current device according to the response message, otherwise, the management module of the current device does not perform the change operation.
In one possible design, the present invention preferably performs the change operation on the communication module to be changed in the active state by the following method:
first, dynamic activation
When the flow of the data packet to be sent increases to a certain threshold, the management module activates a plurality of communication modules according to a certain algorithm to increase the transmission rate.
Specifically, when the transmission rate requirement of the data packet to be transmitted is greater than the sum of the transmission rates of the currently activated communication modules, the preset transmission rates of the dormant communication modules are sorted in a descending order and numbered sequentially, wherein the communication module with the largest transmission rate is numbered 0.
Sequentially activating dormant communication modules numbered from 0 to i until the ith dormant communication module is activated, so that the sum of the data transmission rates of the activated communication modules is not less than the transmission rate requirement of a data packet to be transmitted; wherein i is less than or equal to the total number of communication modules.
Referring to fig. 4, fig. 4 is a block diagram illustrating a flow of activating a communication module in the wide area communication method according to the present invention. As shown in fig. 4, when it is determined that the traffic of the data packet to be sent is greater than the total transmission rate of each current communication module, dynamic activation is performed. Firstly, numerical value initialization is carried out, the sum of the transmission rates of the current communication modules is assigned to C _ sum, namely C _ sum equals C _ cur and i equals 0, and the preset transmission rates C (i) of the dormant communication modules are sorted in descending order and numbered in sequence, wherein the communication module with the largest transmission rate is numbered as 0.
And sequentially activating dormant communication modules numbered from 0 to i, judging whether C _ sum is greater than or equal to the required speed C _ req, if not, activating the sorted ith communication module, calculating C _ sum + C (i), and ending the process until the C _ sum is just greater than or equal to C _ req after the jth dormant communication module is activated, wherein i and j are both less than or equal to the total number of the communication modules.
Second, it cancels the activation
When the number of the data packets to be sent is reduced, the management module deactivates the communication modules according to a certain algorithm to reduce power consumption.
Specifically, when the transmission rate requirement of the data packet to be transmitted is less than the sum of the transmission rates of the currently activated communication modules, the transmission rates of the activated communication modules are sorted in an ascending order and numbered in sequence, wherein the communication module with the smallest transmission rate is numbered as 0;
and sequentially canceling the activation states of the activated communication modules numbered from 0 to i until the ith activated communication module is canceled, so that the sum of the transmission rates of the activated communication modules does not exceed the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
Referring to fig. 5, fig. 5 is a block diagram illustrating a flow of deactivating the communication module in the wide area communication method according to the present invention. As shown in fig. 5, when it is determined that the required rate is smaller than the total transmission rate of each current communication module, a deactivation procedure is performed. Firstly, carrying out numerical value initialization, assigning the sum of the transmission rates of the current communication modules to C _ sum, carrying out ascending sequencing on the transmission rates C (i) of the activated communication modules and numbering the transmission rates in sequence, wherein the communication module with the minimum transmission rate is numbered as 0;
and sequentially canceling the activation states of the activated communication modules numbered from 0 to i, judging whether C _ sum is smaller than the required rate C _ req, if not, canceling the activation of the 0 th to the i-1 th communication modules after sequencing, calculating C _ sum which is C _ sum-C (i), and ending the process until the j activated communication module is cancelled and just enabling C _ sum to be smaller than C _ req, wherein i and j are both smaller than or equal to the total number of the communication modules.
In a possible design, the present invention further includes a static activation method for performing a change operation on the communication module whose activation state is to be changed. The static activation method means that several or all of the communication modules may be activated by default according to the actual situation of the application environment, for example, to achieve simplicity or to be insensitive to power saving of wireless communication.
It should be noted that, in the embodiment of the present invention, the management module determines whether the activation state of each managed communication module needs to be changed according to the transmission rate requirement of the data packet to be sent and the data transmission rate of the activated communication module. The transmission rate requirement of the data packet to be sent may specifically refer to a flow size and a delay requirement of the data packet to be sent, and in addition, the management module may also determine whether a change operation, such as a throughput or an error rate, needs to be performed on the activation state of each communication module according to a preset communication index requirement. Specifically, for example, when the traffic of the data packet to be sent does not exceed the sum of the rates of the currently activated communication modules, but the required delay does not exceed a preset value, the management module also needs to perform a change operation on the activation states of the communication modules to meet the delay requirement.
In an embodiment of the present invention, the changing operation includes changing an activated communication module to a dormant communication module, or changing a dormant communication module to an activated communication module. The change of the dormant communication module into the active communication module means that the corresponding dormant communication module is allowed to execute the wireless communication function and change the wireless communication function into the active communication module; changing an activated communication module to a dormant communication module means that the corresponding activated communication module is not allowed to perform a wireless communication function, and is changed to the dormant communication module, so that the corresponding communication module can enter an energy saving mode and release its carrier frequency resource.
In the embodiment of the invention, each communication module and the communication module corresponding to the receiver use the same carrier frequency and form a wireless link with the number of 1 to N. The communication module 1 is optional and serves as a main communication module for wireless communication or called as a main carrier, and the other communication modules are optional and serve as auxiliary entities for wireless communication or called as auxiliary carriers. The secondary communication module is activated to perform the wireless communication function. The carrier bandwidth and transmission rate of each communication module are independent of each other, and are allowed to be the same or different, but two communication modules of the same wireless link have the same carrier bandwidth and transmission rate.
Preferably, the plurality of auxiliary communication modules are synchronized in the time domain with the main communication module, and the main communication modules of the device 1 and the device 2 are also synchronized in the time domain, so that a transmitter of the whole system does not interfere with a receiver, and a specific implementation manner of the synchronization includes satellite pulse synchronization, for example, each communication module is synchronized with a GPS 1PPS pulse, or interception synchronization, for example, the main communication module of the device 2 intercepts a synchronization word of the main communication module of the device 1 to infer an air interface position of the other party, and synchronizes a local air interface position with the synchronization word; however, for some unidirectional transmission cases, the synchronization may not be required.
S13, allocating the data packet to be sent to each activated communication module so that the communication module executes a sending operation on the data packet to be sent.
In the embodiment of the present invention, the management module receives a data transmission request including the data packet to be transmitted, which is sent by a service module, and distributes the data packet to be transmitted to each activated communication module after adding a packet header to the data packet to be transmitted in response to the data transmission request.
In the embodiment of the present invention, the packet header includes a packet Type, a packet sequence number SN, an index value BlkIndex of each data block constituting the packet, an Offset address Offset of each data block constituting the packet in the packet, a length BlkLen of each data block constituting the packet, and a length PktLen of the packet.
Further, the value of the data type is used for distinguishing whether the data is user data or session messages between the management modules. Specifically, the data packet type at least includes the first preset type, the second preset type, and a third preset type, where the first preset type and the second preset type are used to represent that the data is user data, and the third preset type is used to represent that the data is a session message between the current management module and a management module of the receiving device.
Preferably, when the packet Type is the first preset Type 1, it indicates that the packet allocation method is a first allocation method, and when the packet Type is the first preset Type 2, it indicates that the packet allocation method is a second allocation method.
In a possible design, the following method is preferably adopted in the present invention to allocate the data packet to be sent to each activated communication module after adding the packet header to the data packet:
the first allocation method: the method specifically uses the data packet as a unit for distribution, is suitable for the situation that the size of the service packet is small, and is simple to operate.
a. When the length of the data packet to be sent is smaller than a first preset threshold value, the management module inquires whether an unallocated data packet exists;
b. if yes, inquiring whether the communication module is idle, otherwise, continuing to execute the step a;
c. if the communication module is idle, adding a packet header carrying a data type value of the first preset type to the data packet to be sent, and then distributing the data packet to the current idle communication module, otherwise, continuing the step b.
The second allocation method: the method is particularly distributed based on the bearing capacity, and is suitable for the situation that the size of a service packet is larger relative to the bearing capacity of wireless transmission or the throughput needs to be optimized.
(1) When the length of the data packet to be sent is greater than a second preset threshold value, whether an unallocated data packet exists is inquired;
(2) if yes, inquiring whether the communication module is idle, otherwise, continuing to execute the step (1);
(3) if the communication module is idle, taking out the data block with the length of a preset length value from the data packet to be sent, otherwise, continuing to execute the step (2);
(4) and adding a packet header carrying a data type value of the second preset type to the data block to generate a new data block, and distributing the new data block to the currently idle communication module.
The preset length value is determined according to the data transmission rate of the idle communication module and the length of a remaining data packet, the preset length value is smaller than or equal to the data transmission rate of the communication module, and the preset length value is smaller than or equal to the length of the remaining data packet, wherein the data transmission rate of the communication module is determined by elements such as the maximum transmission rate of an air interface, a duty ratio, a time delay and the like, and the data transmission rate of each communication module can be configured by a user; the remaining packet length is the original packet length-the length of the block of data that was dropped over time.
In this embodiment of the present invention, the content executed by the management module further includes:
A. inquiring whether each communication module reports a received data packet;
B. if yes, inquiring the data packet type carried in the packet header of the received data packet and forwarding the received data packet to the service module according to the data packet type, otherwise, continuing the previous step A;
wherein, the querying the type of the data packet carried in the packet header of the received data packet and forwarding the received data packet to the service module according to the type of the data packet includes:
if the type of the data packet carried in the packet header of the received data packet is the first preset type, forwarding the data packet to the service module;
if the type of the data packet is the second preset type, merging the received data packets and forwarding the merged data packets to the service module;
and if the type of the data packet is other, discarding the received data packet and continuing to execute the step A.
Further, the merging the received data packets and forwarding the merged received data packets to the service module includes:
removing the packet header of each received data packet to generate each original data block, and calculating the sum of the lengths of the original data blocks to generate the length of the original data packet;
applying for a data buffer area with the size of the original data packet length and setting the receiving length of the data buffer area to be 0;
and adding each original data block into the buffer area according to the offset address in each packet header until the receiving length of the buffer area is equal to the length of the original data packet.
Referring to fig. 6, the present invention further provides a wide area communication system applying the above-mentioned wide area communication method. The system comprises at least two communication devices, each comprising several modules performing different functions, said modules comprising a service module 11, a management module 12 and a communication module 13, wherein,
and the service module 11 is configured to initiate a data transmission request including a data packet to be transmitted to the management module.
In the embodiment of the invention, the two parties participating in communication are the current equipment and the receiver equipment, and a bidirectional or unidirectional communication system, half duplex or duplex is adopted.
Referring to fig. 7, fig. 7 is a block diagram illustrating a wide area communication system in which the present invention may be implemented. As shown in fig. 7, the communication system includes a device 1 and a device 2, where each of the device 1 and the device 2 includes a service module, a management module, and N communication modules. Each communication module 1 of the device 1 and the communication module 2 of the device 2 establish a wireless link, and so on, each communication module in the device 1 and the corresponding communication module in the device 2 establish a wireless link to perform data transmission between the devices.
Further, the service module is an effective data generating and receiving unit, which generates an effective data packet to be sent and initiates a data sending request to the management module so that the management module distributes the data packet to be sent to each communication module for data sending.
In the embodiment of the present invention, the management module of the current device receives a data transmission request including a data packet to be transmitted, which is sent by the service module, and when a preset change period comes, the management module of the current device determines whether the activation state of the communication module needs to be changed according to a certain algorithm according to the flow of the data packet to be transmitted, the number of activated communication modules of the current device, and the data transmission rate, which are included in the request, and further determines the communication module in the activation state to be changed if necessary, and directly allocates the data packet to each currently activated communication module to perform transmission if not necessary.
Of course, if the preset change period does not come, the management module directly allocates the drop-sending data packet to each communication module to be sent, and does not determine whether the communication module needs to be changed.
The management module 12 is configured to determine, after obtaining a data packet to be sent, a communication module to be changed and activated according to a transmission rate requirement of the data packet to be sent and a data transmission rate of each managed communication module, perform a change operation on the communication module, and allocate the data packet to be sent to each activated communication module so that the communication module performs a sending operation on the data packet to be sent.
In the embodiment of the present invention, the management module is configured to link the service module and the communication module, specifically, to perform distribution, processing, and forwarding of data, and the management module may statically or dynamically determine how many communication modules need to be activated according to a flow rate of a to-be-transmitted data packet sent by the service module and a data transmission rate of a currently activated communication module, so as to meet a wireless communication rate requirement.
In the embodiment of the present invention, the management module receives the data packet to be sent by the service module, processes the data packet to be sent, and then distributes the processed data packet to each activated communication module to execute sending. Therefore, the management module needs to measure the traffic of the data packet to be sent and the data transmission capability, i.e. data transmission rate, of each activated communication module managed by the management module, so that the data transmission capability of each communication module can just meet the current data packet flow to be sent, if the data transmission capability of the current communication module is too much to exceed the current data packet flow to be sent, the power consumption is too large, if the data transmission capability of the current communication module is too much to be lower than the current data packet flow to be sent, the current service requirement cannot be met, therefore, the management module of the current device needs to statically or dynamically determine how many communication modules need to be activated according to the traffic of the data packets to be sent by the service module and the data transmission rate of the communication modules, so as to meet the requirement of the wireless communication rate.
Specifically, in the embodiment of the present invention, a value of the number N of the communication modules is evaluated according to a maximum rate requirement of a service, and N communication modules are provided. When the flow of the data packet to be sent is large, the management module activates the communication modules according to a certain algorithm to increase the transmission rate, and when the flow of the data packet to be sent is small, the management module deactivates the communication modules according to a certain algorithm to reduce the power consumption. However, as a specific example, all the communication modules may be activated by default according to the practical situation of the application environment, for example, for the purpose of realizing simplicity or being insensitive to power saving of wireless communication. The problem that the existing low-power-consumption wide-area internet of things communication cannot meet rate diversification is solved through the mechanism.
In a possible design, the management module determines whether the activation state of each communication module managed by the management module needs to be changed according to the transmission rate requirement of the data packet to be sent and the data transmission rate of the activated communication module, and preferably implements the following method:
comparing the transmission rate requirement size of the data packet to be transmitted with the sum of the transmission rates of the activated communication modules;
if the transmission rate requirement of the data packet to be transmitted is greater than the transmission rate sum of the currently activated communication module, the dormant communication module needs to be modified;
if the transmission rate requirement of the data packet to be transmitted is less than the transmission rate sum of the currently activated communication module, the activated communication module needs to be modified;
if the transmission rate requirement of the data packet to be transmitted is equal to the sum of the transmission rates of the currently activated communication modules, no change operation needs to be executed.
The specified time period may be preset, the method of the present invention is executed periodically, and the specific execution period may also be preset, for example, every T time, and executed once.
In an embodiment of the present invention, the changing operation includes changing an activated communication module to a dormant communication module, or changing a dormant communication module to an activated communication module. The change of the dormant communication module into the active communication module means that the corresponding dormant communication module is allowed to execute the wireless communication function and change the wireless communication function into the active communication module; changing an activated communication module to a dormant communication module means not allowing the corresponding activated communication module to perform a wireless communication function to change it to the dormant communication module, so that the corresponding communication module can enter an energy saving mode and release its carrier frequency resources.
In this embodiment of the present invention, the management module is further configured to:
and forwarding the change request to a main communication module of the current equipment, so that the main communication module of the current equipment sends the change request to the receiver equipment and receives a response message correspondingly fed back by the receiver equipment.
In this embodiment of the present invention, the management module is further configured to:
and executing change operation on the communication module to be changed in the activated state according to the response message.
In a possible design, the performing, according to the response message, a change operation on the communication module whose activation state is to be changed includes:
first, dynamic activation
And when the transmission rate requirement of the data packet to be transmitted is greater than the sum of the transmission rates of the currently activated communication modules, performing descending sequencing on the preset transmission rates of the dormant communication modules and numbering the preset transmission rates in sequence, wherein the communication module with the maximum transmission rate is numbered 0.
Sequentially activating dormant communication modules numbered from 0 to i until the ith dormant communication module is activated, so that the sum of the data transmission rates of the activated communication modules is not less than the transmission rate requirement of a data packet to be transmitted; wherein i is less than or equal to the total number of communication modules.
Second, dynamic deactivation thereof
When the transmission rate requirement of the data packet to be transmitted is less than the sum of the transmission rates of the currently activated communication modules, the transmission rates of the activated communication modules are sorted in an ascending order and numbered in sequence, wherein the communication module with the minimum transmission rate is numbered as 0;
and sequentially canceling the activation states of the activated communication modules numbered from 0 to i until the ith activated communication module is canceled, so that the sum of the transmission rates of the activated communication modules does not exceed the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
And the communication module 13 is configured to receive the data packet to be sent processed by the management module in an active state and execute data sending.
The communication module is a unit which uses a low-power-consumption wide-area internet of things technology and can independently complete data transmission and reception by using radio waves, is an actual carrier of wireless communication, performs data transmission and reception tasks, and corresponds to functions of a physical layer and a part of MAC layers in the wireless communication.
The communication module comprises a main communication module and an auxiliary communication module, wherein the main communication module is the main communication module, the main communication module is configured to be in a permanent activation state, and the auxiliary communication module can execute a corresponding wireless communication function after being activated.
Specifically, after the communication module is activated, a wireless communication link is established with a corresponding communication module of the receiving device. Each communication module and the communication module corresponding to the other party use the same carrier frequency and form a wireless link with the number of 1 to N. The communication module 1 is optional and is used as a main communication module for wireless communication or called as a main carrier, and the other communication modules are optional and are used as auxiliary entities for wireless communication or called as auxiliary carriers. The secondary communication module is activated to perform the wireless communication function. The carrier bandwidth and transmission rate of each communication module are independent of each other, and are allowed to be the same or different, but two communication modules of the same wireless link have the same carrier bandwidth and transmission rate.
Specifically, the plurality of auxiliary communication modules are synchronized in the time domain with the main communication module, and the main communication modules of the device 1 and the device 2 are also synchronized in the time domain, so that a transmitter of the whole system does not interfere with a receiver, and a specific implementation manner of synchronization includes satellite pulse synchronization, for example, each communication module is synchronized with a GPS 1PPS pulse, or interception synchronization, for example, the main communication module of the device 2 intercepts a synchronization word of the main communication module of the device 1 to infer an air interface position of the other party, and synchronizes a local air interface position with the synchronization word; however, for some unidirectional transmission cases, the synchronization may not be required.
In the embodiment of the present invention, the data transmission capability of the communication module provides a basis for the management module to determine whether the number of the communication modules needs to be updated. Specifically, when the management module of the current device determines that a change operation needs to be performed on the communication module of the current device, the management module of the current device determines, according to a transmission rate requirement of a data packet to be sent and a data transmission rate of an activated communication module, that the communication module in an active state to be changed generates a change request including the active state to be changed, and sends the change request to the main communication module of the current device, where the main communication module performs a function of communicating with the main communication module of the receiver device. Further, the main communication module of the current device sends the change request to the main communication module of the receiver device, so that the corresponding module of the receiver device executes the change operation according to the change request.
The embodiment is combined to show that the invention has the following maximum beneficial effects: the management module statically or dynamically determines how many communication modules need to be activated according to the transmission rate requirement of a data packet to be sent of the service module and the data transmission rate of the communication module so as to meet the wireless communication rate requirement; when the flow of the data packet to be sent is large, the management module activates the communication modules according to a certain algorithm to increase the transmission rate, and when the flow of the data packet to be sent is small, the management module deactivates the communication modules according to a certain algorithm to reduce the power consumption. The invention solves the problem that the current low-power-consumption wide-area Internet of things communication cannot meet the requirement of rate diversification through the regulating mechanism.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the mobile terminal provided by the present invention has been described in detail, for those skilled in the art, the idea of the embodiment of the present invention may be changed in the specific implementation and application scope, and in summary, the content of the present description should not be construed as limiting the present invention.

Claims (25)

1. A method of wide area communication, comprising the steps of:
acquiring a data packet to be sent;
determining a communication module to be changed and activated and executing change operation on the communication module according to the transmission rate requirement of the data packet to be sent and the data transmission rate of each managed communication module;
and distributing the data packet to be sent to each activated communication module so that the communication module executes the sending operation of the data packet to be sent.
2. The method of claim 1, wherein the change operation comprises changing an active communication module to a dormant communication module or changing a dormant communication module to an active communication module.
3. The method as claimed in claim 2, wherein the determining the communication module to be changed in active state according to the transmission rate requirement of the data packet to be sent and the managed data transmission rate of each communication module and performing the change operation thereon comprises:
comparing the transmission rate requirement of the data packet to be transmitted with the sum of the data transmission rates of the currently activated communication modules to determine the communication module to be changed in the activated state;
if the transmission rate requirement of the data packet to be transmitted is greater than the sum of the data transmission rates of the currently activated communication modules, judging that the dormant communication modules need to be modified;
if the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, judging that the activated communication modules need to be modified;
and if the transmission rate requirement of the data packet to be transmitted is equal to the sum of the data transmission rates of the currently activated communication modules, judging that no change operation needs to be executed.
4. The method of claim 1, wherein the communication module comprises a primary communication module and a secondary communication module, the primary communication module configured in a permanently activated state.
5. The method of claim 3, wherein comparing the sum of the transmission rate requirement of the data packet to be transmitted and the data transmission rate of the currently active communication module to determine the communication module whose activation status is to be changed comprises:
generating a change request of the communication module containing the activation state to be changed;
sending the change request to a main communication module, so that the main communication module sends the change request to receiver equipment and receives a response message fed back by the receiver equipment correspondingly; wherein the communication module comprises a master communication module;
and receiving the response message forwarded by the main communication module, and executing change operation on the communication module to be changed and activated according to the response message.
6. The method of claim 5, wherein the reply message comprises: the change is successful and the change is failed.
7. The method as claimed in claim 6, wherein said receiving the response message forwarded by the primary communication module and performing a change operation on the communication module whose activation status is to be changed according to the response message comprises:
and if the response message is successful in changing, executing changing operation on the communication module to be activated, otherwise, not executing the changing operation.
8. The method of claim 7, wherein performing a change operation on the communication module to be activated if the response message is a successful change comprises:
when the transmission rate requirement of the data packet to be transmitted is greater than the sum of the data transmission rates of the currently activated communication modules, performing descending order and serial number on the preset transmission rates of the dormant communication modules, wherein the serial number of the communication module with the highest transmission rate is 0;
and sequentially activating the dormant communication modules numbered from 0 to i until the ith dormant communication module is activated, so that the sum of the data transmission rates of the activated communication modules is not less than the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
9. The method of claim 7, wherein performing a change operation on the communication module to be activated if the response message is a successful change comprises:
when the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, performing ascending sequencing on the transmission rates of the activated communication modules and numbering the transmission rates in sequence, wherein the communication module with the minimum transmission rate is numbered as 0;
and sequentially canceling the activation states of the activated communication modules numbered from 0 to i until the ith activated communication module is canceled, so that the sum of the transmission rates of the activated communication modules does not exceed the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
10. The method of claim 5, wherein sending the change request to the primary communication module such that the primary communication module sends the change request to a recipient device and receives a response message corresponding to feedback from the recipient device comprises:
the main communication module of the current equipment sends the change request to a main communication module of the receiver equipment;
the main communication module of the receiver equipment uploads the change request to a management module of the receiver equipment;
after receiving the change request, the management module of the receiver device executes change operation on the corresponding communication module according to the change request and generates the response message according to the result of the change operation;
and the management module of the receiver equipment sends the response message to the main communication module of the receiver equipment so that the main communication module of the receiver equipment feeds the response message back to the main communication module of the current equipment.
11. The method of claim 1, wherein the allocating the data packet to be transmitted to each of the communication modules that have been activated so that the communication modules perform the transmission operation on the data packet to be transmitted comprises:
and after adding the packet header to the data packet to be sent, distributing the data packet to each activated communication module.
12. The method of claim 11, wherein the header comprises a packet type, a packet sequence number, an index value of each data block constituting the packet, an offset address of each data block constituting the packet in the packet, a length of each data block constituting the packet, and a length of the packet.
13. The method of claim 12, wherein the packet types include a first preset type, a second preset type and a third preset type, the first preset type and the second preset type are used for representing that the data is user data, and the third preset type is used for representing that the data is a session message between a current management module and a management module of a receiver device.
14. The method of claim 13, wherein the allocating the data packet to be sent to each activated communication module after adding the header comprises:
a. when the length of the data packet to be sent is smaller than a first preset threshold value, the management module inquires whether an unallocated data packet exists;
b. if yes, inquiring whether the communication module is idle, otherwise, continuing to execute the step a;
c. if the communication module is idle, adding a packet header carrying a data type value of the first preset type to the data packet to be sent, and then distributing the data packet to the current idle communication module, otherwise, continuing the step b.
15. The method of claim 13, wherein the allocating the data packet to be sent to each activated communication module after adding the header comprises:
(1) when the length of the data packet to be sent is greater than a second preset threshold value, whether an unallocated data packet exists is inquired;
(2) if yes, inquiring whether the communication module is idle, otherwise, continuing to execute the step (1);
(3) if the communication module is idle, taking out the data block with the length of a preset length value from the data packet to be sent, otherwise, continuing to execute the step (2);
(4) and adding a packet header carrying a data type value of the second preset type to the data block to generate a new data block, and distributing the new data block to the currently idle communication module.
16. The method of claim 13, further comprising:
A. inquiring whether each communication module reports a received data packet;
B. if yes, inquiring the data packet type carried in the packet header of the received data packet and forwarding the received data packet to a service module according to the data packet type, otherwise, continuing the previous step A.
17. The method of claim 16, wherein the querying the packet type carried in the header of the received packet and forwarding the received packet to a service module according to the packet type comprises:
if the type of the data packet carried in the packet header of the received data packet is the first preset type, forwarding the data packet to the service module;
if the type of the data packet is the second preset type, merging the received data packets and forwarding the merged data packets to the service module;
and if the type of the data packet is other, discarding the received data packet and continuing to execute the step A.
18. The method of claim 17, wherein the combining the received packets and forwarding to the service module comprises:
removing the packet header of each received data packet to generate each original data block, and calculating the sum of the lengths of the original data blocks to generate the length of the original data packet;
applying for a data buffer area with the size of the original data packet length and setting the receiving length of the data buffer area to be 0;
and adding each original data block into the buffer area according to the offset address in each packet header until the receiving length of the buffer area is equal to the length of the original data packet.
19. A wide area communication system comprising at least two communication devices, each communication device comprising a plurality of modules for performing different functions, said modules comprising:
the management module is used for determining the communication modules in the to-be-changed activation state according to the transmission rate requirements of the to-be-sent data packets and the managed data transmission rates of the communication modules after acquiring the to-be-sent data packets, executing change operation on the communication modules, and distributing the to-be-sent data packets to the activated communication modules so that the communication modules execute the sending operation on the to-be-sent data packets;
the service module is used for initiating a data transmission request containing a data packet to be transmitted to the management module;
and the communication module is used for receiving the data packet to be sent processed by the management module in an activated state and sending data.
20. The system of claim 19, wherein the management module is specifically configured to:
comparing the transmission rate requirement of the data packet to be transmitted with the sum of the data transmission rates of the currently activated communication modules to determine the communication module to be changed in the activated state;
if the transmission rate requirement of the data packet to be transmitted is greater than the sum of the data transmission rates of the currently activated communication modules, judging that the dormant communication modules need to be modified;
if the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, judging that the activated communication modules need to be modified;
and if the transmission rate requirement of the data packet to be transmitted is equal to the sum of the data transmission rates of the currently activated communication modules, judging that no change operation needs to be executed.
21. The system of claim 19, wherein the management module is further to:
and forwarding the change request to a main communication module of the current equipment, so that the main communication module of the current equipment sends the change request to the receiver equipment and receives a response message correspondingly fed back by the receiver equipment.
22. The system of claim 21, wherein the management module is further to:
and executing change operation on the communication module to be changed in the activated state according to the response message.
23. The system of claim 22, wherein said performing a change operation on the communication module to be changed in active state based on said response message comprises:
when the transmission rate requirement of the data packet to be transmitted is greater than the sum of the transmission rates of the currently activated communication modules, performing descending sequencing on the preset transmission rates of the dormant communication modules and numbering the transmission rates in sequence, wherein the communication module with the largest transmission rate is numbered 0;
sequentially activating dormant communication modules numbered from 0 to i until the ith dormant communication module is activated, so that the sum of the data transmission rates of the activated communication modules is not less than the transmission rate requirement of a data packet to be transmitted; wherein i is less than or equal to the total number of communication modules.
24. The system of claim 23, further comprising:
when the transmission rate requirement of the data packet to be transmitted is less than the sum of the data transmission rates of the currently activated communication modules, performing ascending sequencing on the transmission rates of the activated communication modules and numbering the transmission rates in sequence, wherein the communication module with the minimum transmission rate is numbered as 0;
and sequentially canceling the activation states of the activated communication modules numbered from 0 to i until the ith activated communication module is canceled, so that the sum of the transmission rates of the activated communication modules does not exceed the transmission rate requirement of a data packet to be transmitted, wherein i is less than or equal to the total number of the communication modules.
25. The system of claim 19, wherein the management module is further configured to receive a received packet reported by the communication module, process the received packet, and forward the processed received packet to the service module.
CN201810007019.7A 2018-01-04 2018-01-04 Wide area communication method and system Active CN110011880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810007019.7A CN110011880B (en) 2018-01-04 2018-01-04 Wide area communication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810007019.7A CN110011880B (en) 2018-01-04 2018-01-04 Wide area communication method and system

Publications (2)

Publication Number Publication Date
CN110011880A CN110011880A (en) 2019-07-12
CN110011880B true CN110011880B (en) 2021-09-10

Family

ID=67164217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810007019.7A Active CN110011880B (en) 2018-01-04 2018-01-04 Wide area communication method and system

Country Status (1)

Country Link
CN (1) CN110011880B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951555A (en) * 2010-09-03 2011-01-19 中国科学技术大学 Radio resource management method used in enhanced multimedia multicast/ broadcast service
CN102905319A (en) * 2012-10-23 2013-01-30 李文龙 Method and system for data flow distribution
CN103401809A (en) * 2013-08-13 2013-11-20 中国电子科技集团公司第二十八研究所 Multichannel dynamic allocation method in narrow-band communication system
CN105245321A (en) * 2015-10-10 2016-01-13 安徽清新互联信息科技有限公司 Multichannel real-time data transmission method of self-adaptive bandwidth
CN105392162A (en) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 Method and device of WiFi power dynamic adjustment and mobile terminal
CN105898796A (en) * 2015-11-27 2016-08-24 乐视致新电子科技(天津)有限公司 4G device transmission rate improving method and system
CN106559170A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Multi-channel data transmission method, device, network node and mobile terminal
CN107104908A (en) * 2017-04-25 2017-08-29 电信科学技术研究院 A kind of communication means and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933983A (en) * 2015-07-17 2015-09-23 京东方科技集团股份有限公司 Method and system for reducing power consumption of mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951555A (en) * 2010-09-03 2011-01-19 中国科学技术大学 Radio resource management method used in enhanced multimedia multicast/ broadcast service
CN102905319A (en) * 2012-10-23 2013-01-30 李文龙 Method and system for data flow distribution
CN103401809A (en) * 2013-08-13 2013-11-20 中国电子科技集团公司第二十八研究所 Multichannel dynamic allocation method in narrow-band communication system
CN106559170A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Multi-channel data transmission method, device, network node and mobile terminal
CN105245321A (en) * 2015-10-10 2016-01-13 安徽清新互联信息科技有限公司 Multichannel real-time data transmission method of self-adaptive bandwidth
CN105392162A (en) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 Method and device of WiFi power dynamic adjustment and mobile terminal
CN105898796A (en) * 2015-11-27 2016-08-24 乐视致新电子科技(天津)有限公司 4G device transmission rate improving method and system
CN107104908A (en) * 2017-04-25 2017-08-29 电信科学技术研究院 A kind of communication means and device

Also Published As

Publication number Publication date
CN110011880A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN109862592B (en) Resource management and scheduling method in mobile edge computing environment based on multi-base-station cooperation
CN101855843B (en) Persistence resource is distributed
CN113452432B (en) Dynamic allocation method for downlink resources of multi-beam low-orbit satellite communication
US20060271704A1 (en) Approach to minimize worst-case queueing delay for a switching communication system with transmission constraints
US20180270817A1 (en) Techniques for reducing overhead in a communications system
US8274934B2 (en) Method and system for transmitting/receiving data in communication system
CN101360025A (en) Uplink system resource allocation method, system and apparatus
CN112217728A (en) Satellite channel hybrid access method based on pre-allocation and on-demand reservation
Wang et al. A Framework for MEC-enhanced small-cell HetNet with massive MIMO
CN101686434A (en) MBMS transmission feedback method, system and devices
CN116326142A (en) Configuration of small data transmission
CN113747377A (en) Big dipper command system of big data file is sent in coordination
CN111148281B (en) Retransmission request method, terminal and network side equipment of Internet of vehicles
US7656848B2 (en) Routing system and method in scatternet
CN104754521A (en) Message transmitting method, wireless access point, wireless controller and system
CN112436930B (en) Communication method and device
EP2974495B1 (en) Protection of commercial communications
CN110011880B (en) Wide area communication method and system
CN1902860A (en) Network topology formation
Cai et al. Internet of things over GEO satellite: a novel space information network solution
JP2008278004A (en) Mobile satellite communication system
KR20200057647A (en) Network control method and apparatus for supporting multi-connectivity and enhancing data transmission efficiency in wireless access system
Fang et al. A QoS guarantee based hybrid media access control protocol of aeronautical ad hoc network
JP5574440B2 (en) Distributed antenna network system and channel allocation method
CN110784244B (en) Data transmission method and full-duplex Ad Hoc network system

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant after: Guangzhou Jifei Technology Co.,Ltd.

Address before: 510032 no.3a01, No.1 Sicheng Road, Gaotang Software Park, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: Guangzhou Xaircraft Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant