Multi-module communication system and data processing method

By introducing a multi-module communication mode in the Cat.1 communication module communication system, using two Cat.1 communication modules to divert data, the data blocking problem of a single module in scenarios with large uplink data is solved, and the communication rate and stability are improved.

CN114866106BActive Publication Date: 2025-04-29CHINA UNITED NETWORK COMM GRP CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210502333.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-10
Publication Date
2025-04-29
Estimated Expiration
2042-05-10

Smart Images

  • Figure CN114866106B_ABST
    Figure CN114866106B_ABST
Patent Text Reader

Abstract

The present application provides a multi-module communication system and a data processing method, the multi-module communication system comprising a first Cat.1 communication module and a second Cat.1 communication module; the first Cat.1 communication module and the second Cat.1 communication module are respectively connected to a base station; the first Cat.1 communication module and the second Cat.1 communication module establish a first connection through a universal asynchronous receiver-transmitter transmitter; the first Cat.1 communication module and the second Cat.1 communication module establish a second connection through a universal input / output port; the first Cat.1 communication module realizes communication through an Open CPU mode, and the second Cat.1 communication module realizes communication through an Attention (AT) instruction mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a multi-module communication system and a data processing method. Background Art

[0002] In the past two years, Cat.1 has been highly praised by operators due to its advantages such as low cost, low power consumption and good signal coverage. "Cat.X" refers to the Long Term Evolution User Equipment-Category (LTE UE-Category). Cat.X is used to measure the wireless performance of user terminal equipment. Cat.1 supports terminal downlink rates of up to 10Mbps, so that Internet of Things (IoT) devices can be connected to the LTE network with lower power consumption and lower cost. Operators do not need to upgrade the network, only simple parameter configuration is required to allow Cat.1 terminals to access the network.

[0003] At present, there are two application modes of Cat.1 communication module: Cat.1 communication module is used independently using Open CPU architecture, or Cat.1 communication module uses microcontroller unit (MCU) + communication module architecture, and an external MCU (such as STM32F1, etc.) controls the Cat.1 communication module through AT commands.

[0004] However, the Cat.1 communication module communication system in the prior art has only one Cat.1 communication module communication outlet. In scenarios with large uplink data such as video scenarios, data blocking may occur, resulting in increased latency, data loss, and other problems, and the communication rate is low. Summary of the invention

[0005] The present application provides a multi-module communication system and a data processing method to solve the technical problem that the Cat.1 communication module communication system in the prior art has only one Cat.1 communication module communication outlet, and in scenarios with large uplink data such as video scenarios, data blocking may occur, resulting in increased delay, data loss, and low communication rate.

[0006] In a first aspect, the present application provides a multi-module communication system, comprising a first Cat.1 communication module and a second Cat.1 communication module;

[0007] The first Cat.1 communication module and the second Cat.1 communication module are respectively connected to a base station;

[0008] The first Cat.1 communication module and the second Cat.1 communication module establish a first connection through a universal asynchronous receiver-transmitter transmitter;

[0009] The first Cat.1 communication module and the second Cat.1 communication module establish a second connection through the universal input / output port;

[0010] The first Cat.1 communication module realizes communication through the Open CPU mode, and the second Cat.1 communication module realizes communication through the AT command mode.

[0011] Here, the multi-module communication system provided by the present application is provided with two Cat.1 communication modules, and the two Cat.1 communication modules can be connected to the base station respectively, using a dual Cat.1 communication module communication mode combining the Open CPU architecture and the AT architecture. The system can establish a mathematical model in the first Cat.1 communication module to locally determine the bandwidth requirement, and then divert the data to the second Cat.1 communication module. Compared with the communication system with one Cat.1 communication module, it solves the problem of insufficient cache size of a single module, and can meet the scenarios with large uplink data such as video scenes. Even if the uplink data is large, by diverting the data to the second Cat.1 communication module, problems such as increased delay and data loss caused by data blocking can be avoided, thereby improving the communication rate and communication stability.

[0012] Optionally, the multi-module communication system further includes a switch circuit;

[0013] The switch circuit is connected to the first Cat.1 communication module and the second Cat.1 communication module respectively through the universal input / output port, and the switch circuit is used to control the opening and closing of the second Cat.1 communication module according to the control instruction of the first Cat.1 communication module.

[0014] Here, the multi-module communication system in the present application also includes a switching circuit, which is arranged between the first Cat.1 communication module and the second Cat.1 communication module. The first Cat.1 communication module can use this switching circuit to realize the opening and closing control of the second Cat.1 communication module to achieve stable and reliable data diversion, further improving the communication rate and communication stability.

[0015] Optionally, the switching circuit includes a transistor.

[0016] Among them, the switching transistor has the characteristics of long life, safety and reliability, no mechanical wear, fast switching speed and small size. By realizing the switching circuit through the transistor, a very small current can be used to control the on and off of a large current, thus solving the system cost and circuit loss.

[0017] Optionally, the first Cat.1 communication module and the second Cat.1 communication module are arranged on the same printed circuit board.

[0018] Here, the present application sets the first Cat.1 communication module and the second Cat.1 communication module on the same printed circuit board (PCB), achieving uplink and downlink load balancing, while saving the volume of the multi-module communication system, thereby saving costs and reducing costs and losses.

[0019] In a second aspect, the present application provides a data processing method, which is applied to the multi-module communication system as described in the first aspect and the optional manner of the first aspect, and the method is applied to a first Cat.1 communication module, comprising:

[0020] In response to a data sending request, obtaining data to be sent;

[0021] Encapsulating the data to be sent to obtain a data packet to be sent;

[0022] Determine whether the data packet to be sent needs to be sub-packetized;

[0023] If it is determined that packet splitting is required, splitting the data packet to be sent into a first data packet and a second data packet;

[0024] The first data packet is placed in the sending buffer of the first Cat.1 communication module, and the second Cat.1 communication module is started, and the second data packet is sent to the second Cat.1 communication module through the universal asynchronous receiver-transmitter.

[0025] Here, the present application provides a data processing method, which can realize data sending and receiving through a multi-module communication system including a first Cat.1 communication module and a second Cat.1 communication module. The first Cat.1 communication module can control the data transmission and sending of the system as a master control node. When uplink data needs to be sent, the first Cat.1 communication module encapsulates the data and determines the cache and sending capacity of the first Cat.1 communication module based on the encapsulated data packet to be sent. If the first Cat.1 communication module itself generates data congestion when sending data, then the data packet to be sent can be sub-packetized, and part of the sub-packetized data can be sent to the second Cat.1 communication module to reduce transmission pressure. By starting the second Cat.1 communication module, efficient data transmission and load balancing are achieved, avoiding the problem of insufficient cache of a single module and improving the communication rate.

[0026] Optionally, if it is determined that packet processing is required, splitting the data packet to be sent into a first data packet and a second data packet includes:

[0027] If it is determined that packet processing is required, the data packet to be sent is split into a first data packet and a second data packet, wherein the first data packet and the second data packet carry a packet identification.

[0028] Here, when the present application performs packet processing on the data packet to be sent, a packet identifier is added to the first data packet and the second data packet after the packetization, so that the complete data can be obtained according to the packet identifier when the data is received, thereby ensuring the integrity and reliability of the communication.

[0029] Optionally, the determining whether the data packet to be sent needs to be subpacketized includes:

[0030] Putting the data packet to be sent into the sending buffer of the first Cat.1 communication module;

[0031] Taking a first preset time as a time node, determining a remaining cache size of the first Cat.1 communication module at each time node;

[0032] If within the second preset time, the remaining cache size of the first Cat.1 communication module at each time node shows a decreasing trend, and the decrease in the remaining cache size is greater than the preset decrease threshold, it is determined that the data packet to be sent needs to be subpacketized.

[0033] Here, the present application determines whether to perform packet sub-processing by the changing trend of the remaining cache size, so as to accurately judge whether the cache size of the first Cat.1 communication module and the memory size occupied by the data packet to be sent match, thereby effectively avoiding data blocking and improving the accuracy, reliability and efficiency of data transmission and data communication.

[0034] Optionally, the above method further includes:

[0035] The first to-be-received data sent by the second Cat.1 communication module is received through the universal asynchronous receiver / transmitter, wherein the to-be-received data is obtained by the second Cat.1 communication module in response to a downlink data receiving request.

[0036] Optionally, the above method further includes:

[0037] In response to the downlink data receiving request, obtaining second data to be received;

[0038] Determining whether the second to-be-received data carries a subpacketization identifier;

[0039] If the second data to be received does not carry a subpacketization identifier, the second data to be received is received.

[0040] Optionally, after determining whether the second to-be-received data carries a subpacketization identifier, the method further includes:

[0041] If the second data to be received carries a subpacket identifier, putting the second data to be received into a receiving buffer;

[0042] After receiving the third data to be received sent by the second Cat.1 communication module, the second data to be received and the third data to be received are repackaged, wherein the third data to be received carries a subpacketization identifier corresponding to the second data to be received.

[0043] Here, the present application can realize data reception through a multi-module communication system. When the second Cat.1 communication module has downlink data to receive, the data is transmitted to the first Cat.1 communication module through UART. When the first Cat.1 communication module has downlink data to receive, it is determined whether the data has a subpacketization mark. If not, it is received and processed normally; if so, the data is placed in the receiving cache, waiting for the data of the second Cat.1 communication module, realizing data reorganization and restoration, and realizing data reception completely and efficiently.

[0044] In a third aspect, the present application provides a data processing device, including:

[0045] A first acquisition module, configured to acquire data to be sent in response to a data sending request;

[0046] A first processing module, used for encapsulating the data to be sent to obtain a data packet to be sent;

[0047] A judgment module, used to judge whether the data packet to be sent needs to be sub-packetized;

[0048] A splitting module, used for splitting the data packet to be sent into a first data packet and a second data packet if it is determined that sub-packet processing is required;

[0049] The second processing module is used to put the first data packet into the sending buffer of the first Cat.1 communication module, start the second Cat.1 communication module, and send the second data packet to the second Cat.1 communication module through the universal asynchronous receiver and transmitter.

[0050] Optionally, the splitting module is specifically used for:

[0051] If it is determined that packet processing is required, the data packet to be sent is split into a first data packet and a second data packet, wherein the first data packet and the second data packet carry a packet identification.

[0052] Optionally, the judging module is specifically used for:

[0053] Putting the data packet to be sent into the sending buffer of the first Cat.1 communication module;

[0054] Taking a first preset time as a time node, determining a remaining cache size of the first Cat.1 communication module at each time node;

[0055] If within the second preset time, the remaining cache size of the first Cat.1 communication module at each time node shows a decreasing trend, and the decrease in the remaining cache size is greater than the preset decrease threshold, it is determined that the data packet to be sent needs to be subpacketized.

[0056] Optionally, the above device further includes:

[0057] The first receiving module is used to receive the first to-be-received data sent by the second Cat.1 communication module through the universal asynchronous receiver / transmitter, wherein the to-be-received data is obtained by the second Cat.1 communication module in response to a downlink data receiving request.

[0058] Optionally, the above device further includes:

[0059] A second acquisition module, configured to acquire second data to be received in response to a downlink data receiving request;

[0060] The third processing module is used to determine whether the second data to be received carries a subpacket identifier; if the second data to be received does not carry a subpacket identifier, then receive the second data to be received.

[0061] Optionally, after determining whether the second to-be-received data carries a subpacketization identifier, the third processing module is further configured to:

[0062] If the second data to be received carries a subpacket identifier, putting the second data to be received into a receiving buffer;

[0063] After receiving the third data to be received sent by the second Cat.1 communication module, the second data to be received and the third data to be received are repackaged, wherein the third data to be received carries a subpacketization identifier corresponding to the second data to be received.

[0064] In a fourth aspect, the present application provides a data processing device, comprising: at least one processor and a memory;

[0065] The memory stores computer-executable instructions;

[0066] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the data processing method described in the second aspect and various possible designs of the second aspect.

[0067] In a fifth aspect, the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the data processing method described in the second aspect and various possible designs of the second aspect is implemented.

[0068] In a sixth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the data processing method described in the second aspect and various possible designs of the second aspect.

[0069] The present application provides a multi-module communication system and a data processing method, wherein the multi-module communication system is provided with two Cat.1 communication modules, the two Cat.1 communication modules can be connected to a base station respectively, and a dual Cat.1 communication module communication mode combining an Open CPU architecture and an AT architecture is used. The system can establish a mathematical model in the first Cat.1 communication module to locally determine the bandwidth requirement, and then divert the data to the second Cat.1 communication module. Compared with a communication system with one Cat.1 communication module, the problem of insufficient cache size of a single module is solved, and scenarios with large uplink data such as video scenarios can be met. Even if the uplink data is large, problems such as increased delay and data loss caused by data blocking can be avoided by diverting the data to the second Cat.1 communication module, thereby improving the communication rate and communication stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0071] Figure 1 A schematic diagram of the structure of a multi-module communication system provided in an embodiment of the present application;

[0072] Figure 2 A flowchart of a data processing method provided in an embodiment of the present application;

[0073] Figure 3 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;

[0074] Figure 4 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application.

[0075] The above drawings show clear embodiments of the present disclosure, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present disclosure in any way, but to illustrate the concepts of the present disclosure to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0076] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0077] The terms "first", "second", "third", and "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0078] Cat.1 belongs to the 4G series and can fully reuse existing 4G resources. With the development of the mature 4G industry chain, Cat.1, as a low-end version of 4G, only needs to make a small change to the existing 4G products to quickly launch it to the market and reduce costs to meet the industry's expected range. Cat.1 is a user terminal level configured with the lowest version parameters, allowing the industry to design low-end 4G terminals at a low cost. Compared with NB-IoT and 2G modules, Cat.1 has advantages in network coverage, speed and latency; compared with traditional Cat.4 modules, it has the advantages of low cost and low power consumption. At the same time, Cat.1 is suitable for the current home 4G network and is very suitable for application scenarios that require low-cost performance and small coverage. However, its medium rate has become its advantage over NB-IoT, but it has also become a shortcoming in some application scenarios such as video scenarios or other scenarios with more flexible rate requirements. There is only one Cat.1 module for the communication outlets of Mode 1 and Mode 2, so the rate is limited to this Cat.1 module. In some scenarios with large uplink data (especially video scenarios), data will be blocked, resulting in increased delay or even data loss. In the prior art, Cat.1 communication modules are mostly used alone, and the module's cache is limited by the Cat.1 communication module, and the module's cache is generally small; in addition, Cat.1 modules have lower power consumption and cost than CAT.4 modules, and therefore have been highly recommended recently. In some scenarios where multiple channels of video are very active, it is sufficient to use Cat.1 modules on a regular basis, but it is powerless when multiple channels of video are active at the same time. If you use CAT.4 modules on a regular basis, firstly, the power consumption will be relatively large, and secondly, the cost will be higher.

[0079] In order to solve the above technical problems, an embodiment of the present application provides a multi-module communication system and a data processing method, which are provided with two Cat.1 communication modules, and use a dual Cat.1 communication module communication mode that combines the Open CPU architecture and the AT architecture. After establishing a mathematical model in the first Cat.1 communication module to locally judge the bandwidth requirement, the data can be diverted to the second Cat.1 communication module to achieve efficient communication.

[0080] The technical solution of the present application is described below by taking several embodiments as examples, and the same or similar concepts or processes may not be repeated in some embodiments.

[0081] Optionally, Figure 1 A schematic diagram of the structure of a multi-module communication system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the multi-module communication system includes a first Cat.1 communication module 101 , a second Cat.1 communication module 102 , a UART 103 , a GPIO 104 and a base station 105 .

[0082] The first Cat.1 communication module 101 and the second Cat.1 communication module 102 are connected to the base station 105 respectively.

[0083] The first Cat.1 communication module 101 establishes a first connection with the second Cat.1 communication module 102 via the universal asynchronous receiver / transmitter 103 .

[0084] The first Cat.1 communication module 101 and the second Cat.1 communication module 102 establish a second connection through the universal input / output port 104 .

[0085] The first Cat.1 communication module 101 implements communication through the Open CPU mode, and the second Cat.1 communication module 102 implements communication through the AT command mode.

[0086] Optionally, the multi-module communication system also includes a switching circuit.

[0087] The switch circuit is connected to the first Cat.1 communication module 101 and the second Cat.1 communication module 102 through GPIO respectively, and the switch circuit is used to control the opening and closing of the second Cat.1 communication module 102 according to the control instruction of the first Cat.1 communication module 101.

[0088] Here, the multi-module communication system in the embodiment of the present application also includes a switching circuit, which is arranged between the first Cat.1 communication module and the second Cat.1 communication module. The first Cat.1 communication module can realize the opening and closing control of the second Cat.1 communication module through this switching circuit to achieve stable and reliable data diversion, further improving the communication rate and communication stability.

[0089] Optionally, the switching circuit includes a transistor.

[0090] Among them, the switching transistor has the characteristics of long life, safety and reliability, no mechanical wear, fast switching speed and small size. By realizing the switching circuit through the transistor, a very small current can be used to control the on and off of a large current, thus solving the system cost and circuit loss.

[0091] Optionally, the first Cat.1 communication module 101 and the second Cat.1 communication module 102 are arranged on the same printed circuit board.

[0092] Here, the embodiment of the present application sets the first Cat.1 communication module and the second Cat.1 communication module on the same printed circuit board (PCB), achieving uplink and downlink load balancing, while saving the volume of the multi-module communication system, thereby saving costs and reducing costs and losses.

[0093] The multi-module communication system provided in the embodiment of the present application is provided with two Cat.1 communication modules, and the two Cat.1 communication modules can be connected to the base station respectively, and use the dual Cat.1 communication module communication mode combining the Open CPU architecture and the AT architecture. The system can establish a mathematical model in the first Cat.1 communication module to locally determine the bandwidth demand, and then divert the data to the second Cat.1 communication module. Compared with the communication system with one Cat.1 communication module, the problem of insufficient cache size of a single module is solved, and the scenarios with large uplink data such as video scenes can be met. Even if the uplink data is large, by diverting the data to the second Cat.1 communication module, the problems of increased delay and data loss caused by data blocking can be avoided, thereby improving the communication rate and communication stability.

[0094] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the architecture of the multi-module communication system. In other feasible implementations of the present application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown may be implemented in hardware, software, or a combination of software and hardware.

[0095] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0096] Figure 2 A flowchart of a data processing method provided in an embodiment of the present application. The execution subject of the embodiment of the present application may be Figure 1 The first Cat.1 communication module 101 or the server of the first Cat.1 communication module 101 in the embodiment shown may be specifically executed by a subject according to the actual application scenario. Figure 2 As shown, the method comprises the following steps:

[0097] S201: In response to a data sending request, obtain data to be sent.

[0098] S202: Encapsulate the data to be sent to obtain a data packet to be sent.

[0099] Optionally, when uplink data needs to be sent, the first Cat.1 communication module first encapsulates and packages the data and puts them into a sending buffer.

[0100] S203: Determine whether the data packet to be sent needs to be split.

[0101] Optionally, determining whether the data packet to be sent needs to be split includes:

[0102] Put the data packet to be sent into the transmission buffer of the first Cat.1 communication module; take the first preset time as the time node, and determine the remaining buffer size of the first Cat.1 communication module at each time node; if within the second preset time, the remaining buffer size of the first Cat.1 communication module shows a decreasing trend at each time node, and the decreasing amount of the remaining buffer size is greater than the preset decreasing threshold, it is determined that the data packet to be sent needs to be split.

[0103] It can be understood that the first preset time, the second preset time, and the preset decreasing threshold here can all be determined according to the actual situation, and the embodiments of the present application do not make specific limitations on this.

[0104] Exemplarily, taking B seconds (for example, B = 0.5 seconds) as a node to judge the current remaining buffer size. If the remaining buffer size shows a decreasing trend for consecutive C seconds (for example, C = 5 seconds), and the decreasing amount within C seconds exceeds A*E (A is the total buffer size, and E is a constant, which can be 1 / 2, 2 / 3, etc.), then start the second Cat.1 communication module through GPIO, and then split the split data X into X1 and X2 (X1 < X2, and X1 and X2 have split flags), put X1 into the transmission buffer; send X2 to the second Cat.1 communication module through UART.

[0105] It can be understood that the above B, C, A, and E are all thresholds that can be determined according to the actual situation.

[0106] Here, the embodiments of the present application determine whether to split the data through the change trend of the remaining buffer size, so as to accurately judge whether the buffer size of the first Cat.1 communication module matches the memory size occupied by the data packet to be sent, thereby effectively avoiding data blocking and improving the accuracy, reliability, and efficiency of data transmission and data communication.

[0107] S204: If it is determined that splitting is required, split the data packet to be sent into a first data packet and a second data packet.

[0108] Optionally, if it is determined that splitting is required, splitting the data packet to be sent into a first data packet and a second data packet includes:

[0109] If it is determined that splitting is required, split the data packet to be sent into a first data packet and a second data packet, where the first data packet and the second data packet carry split identifiers.

[0110] Optionally, the size of the first data packet is smaller than that of the second data packet.

[0111] Here, when the embodiment of the present application performs packet processing on the data packet to be sent, a packet identifier is added to the first data packet and the second data packet after packetization, so that complete data can be obtained according to the packet identifier when the data is received, thereby ensuring the integrity and reliability of the communication.

[0112] S205: putting the first data packet into the sending buffer of the first Cat.1 communication module, starting the second Cat.1 communication module, and sending the second data packet to the second Cat.1 communication module through the universal asynchronous receiver-transmitter.

[0113] An embodiment of the present application provides a data processing method, which can realize data sending and receiving through a multi-module communication system including a first Cat.1 communication module and a second Cat.1 communication module. The first Cat.1 communication module can control the data transmission and sending of the system as a master control node. When uplink data needs to be sent, the first Cat.1 communication module encapsulates the data and determines the cache and sending capacity of the first Cat.1 communication module based on the encapsulated data packet to be sent. If the first Cat.1 communication module itself generates data congestion when sending data, the data packet to be sent can be sub-packetized, and a part of the sub-packetized data can be sent to the second Cat.1 communication module to reduce transmission pressure. By starting the second Cat.1 communication module, efficient data transmission and load balancing are achieved, avoiding the problem of insufficient cache size of a single module and improving the communication rate.

[0114] In some possible implementations, the embodiment of the present application may also implement data reception. Optionally, the method further includes:

[0115] The first to-be-received data sent by the second Cat.1 communication module is received through the universal asynchronous receiver / transmitter, wherein the to-be-received data is obtained by the second Cat.1 communication module in response to a downlink data receiving request.

[0116] Optionally, the above method further includes:

[0117] In response to a downlink data receiving request, second data to be received is obtained; whether the second data to be received carries a subpacket identifier is determined; if the second data to be received does not carry a subpacket identifier, the second data to be received is received.

[0118] Optionally, after determining whether the second data to be received carries a subpacket identifier, it also includes: if the second data to be received carries a subpacket identifier, placing the second data to be received into a receiving cache; after receiving the third data to be received sent by the second Cat.1 communication module, repackaging the second data to be received and the third data to be received, wherein the third data to be received carries a subpacket identifier corresponding to the second data to be received.

[0119] Exemplarily, the data receiving process is as follows:

[0120] When the second Cat.1 communication module has downlink data to receive, the data Y2 is transmitted to the first Cat.1 communication module via UART.

[0121] When the first Cat.1 communication module has downlink data to receive, it determines whether the data has a subpacketization mark. If not, it receives and processes it normally; if so, it puts the data Y1 into the receiving buffer and waits for the data from the second Cat.1 communication module.

[0122] When the first Cat.1 communication module receives the second Cat.1 communication module and determines the end mark, it searches for Y1 from the receiving buffer and reassembles Y1 and Y2.

[0123] Among them, Y1 and Y2 are the data received by the communication module.

[0124] Here, the embodiment of the present application can realize data reception through a multi-module communication system. When the second Cat.1 communication module has downlink data to receive, the data is transmitted to the first Cat.1 communication module through UART. When the first Cat.1 communication module has downlink data to receive, it is determined whether the data has a subpacketization mark. If not, it is received and processed normally; if so, the data is placed in the receiving cache, waiting for the data of the second Cat.1 communication module, realizing data reorganization and restoration, and realizing data reception completely and efficiently.

[0125] Figure 3 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application is shown in FIG. Figure 3As shown, the device of the embodiment of the present application includes: a first acquisition module 301, a first processing module 302, a judgment module 303, a splitting module 304, and a second processing module 305. The data processing device here can be the above-mentioned first Cat.1 communication module 101 or the server of the first Cat.1 communication module 101, or a chip or integrated circuit that implements the function of the first Cat.1 communication module 101. It should be noted here that the division of the first acquisition module 301, the first processing module 302, the judgment module 303, the splitting module 304, and the second processing module 305 is only a division of logical functions, and the two can be physically integrated or independent.

[0126] The first acquisition module is used to acquire the data to be sent in response to the data sending request;

[0127] The first processing module is used to encapsulate the data to be sent to obtain a data packet to be sent;

[0128] A judgment module is used to judge whether the data packet to be sent needs to be sub-packetized;

[0129] A splitting module is used to split the data packet to be sent into a first data packet and a second data packet if it is determined that sub-packet processing is required;

[0130] The second processing module is used to put the first data packet into the sending buffer of the first Cat.1 communication module, start the second Cat.1 communication module, and send the second data packet to the second Cat.1 communication module through the universal asynchronous receiver and transmitter.

[0131] Optionally, the splitting module is specifically used for:

[0132] If it is determined that packet splitting is required, the data packet to be sent is split into a first data packet and a second data packet, wherein the first data packet and the second data packet carry a packet splitting identifier.

[0133] Optionally, the judgment module is specifically used for:

[0134] Putting the data packet to be sent into the sending buffer of the first Cat.1 communication module;

[0135] Taking the first preset time as a time node, determining the remaining cache size of the first Cat.1 communication module at each time node;

[0136] If within the second preset time, the remaining cache size of the first Cat.1 communication module at each time node shows a decreasing trend, and the decrease in the remaining cache size is greater than the preset decrease threshold, it is determined that the data packet to be sent needs to be subpacketized.

[0137] Optionally, the above device further includes:

[0138] The first receiving module is used to receive first to-be-received data sent by the second Cat.1 communication module through a universal asynchronous receiver / transmitter, wherein the to-be-received data is obtained by the second Cat.1 communication module in response to a downlink data receiving request.

[0139] Optionally, the above device further includes:

[0140] A second acquisition module, configured to acquire second data to be received in response to a downlink data receiving request;

[0141] The third processing module is used to determine whether the second data to be received carries a subpacket identifier; if the second data to be received does not carry a subpacket identifier, the second data to be received is received.

[0142] Optionally, after determining whether the second to-be-received data carries a subpacketization identifier, the third processing module is further configured to:

[0143] If the second data to be received carries a sub-packet identifier, the second data to be received is placed into a receiving buffer;

[0144] After receiving the third data to be received sent by the second Cat.1 communication module, the second data to be received and the third data to be received are repackaged, wherein the third data to be received carries a subpackaging identifier corresponding to the second data to be received.

[0145] Figure 4 A data processing device (which can be Figure 1 The components, their connections and relationships, and their functions shown herein are merely examples and do not limit the implementation of the present application described and / or required herein.

[0146] like Figure 4 As shown, the data processing device includes: a processor 401 and a memory 402, each of which is connected to each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor 401 can process instructions executed in the terminal, including instructions for graphic information stored in or on the memory for display on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used with multiple memories and multiple memories. Figure 4 A processor 401 is taken as an example.

[0147] The memory 402 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the method of the data processing device in the embodiment of the present application (for example, the attached Figure 3 The processor 401 executes various functional applications and data processing of the data processing device by running the non-transient software programs, instructions and modules stored in the memory 402, that is, the method of the data processing device in the above method embodiment is implemented.

[0148] The data processing device may further include: an input device 403 and an output device 404. The processor 401, the memory 402, the input device 403 and the output device 404 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0149] The input device 403 can receive input digital or character information, and generate key signal input related to user settings and function control of the data processing device, such as a touch screen, a keypad, a mouse, or multiple mouse buttons, a trackball, a joystick and other input devices. The output device 404 can be an output device such as a display device of the data processing device. The display device can include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device can be a touch screen.

[0150] The data processing device of the embodiment of the present application can be used to execute the technical solutions in the above-mentioned method embodiments of the present application. Its implementation principles and technical effects are similar and will not be repeated here.

[0151] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any of the above-mentioned data processing methods.

[0152] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement any of the above-mentioned data processing methods when the computer program is executed by a processor.

[0153] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0154] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0155] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0156] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A multi-module communication system, characterized in that: Comprising a first Cat.1 communication module and a second Cat.1 communication module; The first Cat.1 communication module and the second Cat.1 communication module are respectively connected to a base station; The first Cat.1 communication module and the second Cat.1 communication module establish a first connection through a universal asynchronous receiver-transmitter transmitter; The first Cat.1 communication module and the second Cat.1 communication module establish a second connection through the universal input / output port; The first Cat.1 communication module realizes communication through the Open CPU mode, and the second Cat.1 communication module realizes communication through the AT command mode; The first Cat.1 communication module is used to: obtain data to be sent in response to a data sending request; Encapsulating the data to be sent to obtain a data packet to be sent; Determine whether the data packet to be sent needs to be sub-packetized; If it is determined that packet splitting is required, splitting the data packet to be sent into a first data packet and a second data packet; The first data packet is placed in the sending buffer of the first Cat.1 communication module, and the second Cat.1 communication module is started, and the second data packet is sent to the second Cat.1 communication module through a universal asynchronous receiver-transmitter.

2. The multi-module communication system according to claim 1, characterized in that: Also includes a switching circuit; The switch circuit is connected to the first Cat.1 communication module and the second Cat.1 communication module respectively through the universal input / output port, and the switch circuit is used to control the opening and closing of the second Cat.1 communication module according to the control instruction of the first Cat.1 communication module.

3. The multi-module communication system according to claim 2, characterized in that: The switch circuit includes a transistor.

4. The multi-module communication system according to claim 1, characterized in that: The first Cat.1 communication module and the second Cat.1 communication module are arranged on the same printed circuit board.

5. A data processing method, characterized in that: Applied to the multi-module communication system according to any one of claims 1 to 4, the method is applied to a first Cat.1 communication module, comprising: In response to a data sending request, obtaining data to be sent; Encapsulating the data to be sent to obtain a data packet to be sent; Determine whether the data packet to be sent needs to be sub-packetized; If it is determined that packet splitting is required, splitting the data packet to be sent into a first data packet and a second data packet; The first data packet is placed in the sending buffer of the first Cat.1 communication module, and the second Cat.1 communication module is started, and the second data packet is sent to the second Cat.1 communication module through a universal asynchronous receiver-transmitter.

6. The method according to claim 5, characterized in that If it is determined that packet splitting is required, splitting the data packet to be sent into a first data packet and a second data packet comprises: If it is determined that packet splitting is required, the data packet to be sent is split into a first data packet and a second data packet carrying a packet splitting identifier.

7. The method according to claim 5, characterized in that The determining whether the data packet to be sent needs to be sub-packetized includes: Putting the data packet to be sent into the sending buffer of the first Cat.1 communication module; Taking a first preset time as a time node, determining a remaining cache size of the first Cat.1 communication module at each time node; If within the second preset time, the remaining cache size of the first Cat.1 communication module at each time node shows a decreasing trend, and the decrease in the remaining cache size is greater than the preset decrease threshold, it is determined that the data packet to be sent needs to be subpacketized.

8. The method according to claim 5, characterized in that Also includes: The first to-be-received data sent by the second Cat.1 communication module is received through the universal asynchronous receiver / transmitter, wherein the to-be-received data is obtained by the second Cat.1 communication module in response to a downlink data receiving request.

9. The method according to claim 8, characterized in that Also includes: In response to the downlink data receiving request, obtaining second data to be received; Determining whether the second to-be-received data carries a subpacketization identifier; If the second data to be received does not carry a subpacketization identifier, the second data to be received is received.

10. The method according to claim 9, characterized in that After determining whether the second to-be-received data carries a subpacketization identifier, the method further includes: If the second data to be received carries a subpacket identifier, putting the second data to be received into a receiving buffer; After receiving the third data to be received sent by the second Cat.1 communication module, the second data to be received and the third data to be received are repackaged, wherein the third data to be received carries a subpacketization identifier corresponding to the second data to be received.

Citation Information

Patent Citations

  • Multi-module communication system

    CN217216573U