Communication system
Through a modularly designed communication system, the mapping of LAN addresses and network addresses is utilized to achieve seamless transmission and automatic switching of data packets, solving the flexibility and scalability issues of existing communication modules in a multi-operator network environment and improving the stability and efficiency of data transmission.
Patent Information
- Application Number
- CN202422608689.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2034-10-28
AI Technical Summary
Existing communication module designs have deficiencies in data transmission quality and flexibility, especially in multi-operator network environments. They lack flexibility and scalability, resulting in high logic pressure on the microcontroller unit and low data transmission efficiency.
It adopts a modular design of micro control unit, main communication module and several auxiliary communication modules. Through the mapping relationship between LAN address and network address, it realizes transcoding and seamless transmission of data packets. The auxiliary communication module automatically switches when the network quality is poor to ensure the stability and efficiency of data transmission.
It improves the flexibility and scalability of the system, reduces the logical pressure on the microcontroller unit, ensures the integrity and accuracy of data transmission, improves the system compatibility and data transmission efficiency, and reduces the difficulty of system modification.
Smart Images

Figure CN223428460U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication system. Background Art
[0002] Currently, the mainstream communication module configuration combines a microcontroller unit (MCU) with a communication module. In this architecture, the MCU plays the primary control role, responsible for data acquisition and peripheral control, while the communication module is responsible for reporting data to the platform. This design not only improves the security, reliability, and timeliness of data transmission but also promotes the development of informatization across various industries.
[0003] However, in the current wireless network environment, the data transmission quality of the communication module is significantly affected by the quality of the network signal. To ensure the stability of communication, it may be necessary to support the networks of multiple operators at the same time and be able to dynamically adjust to select operators with strong signals and low network latency for business communications. For communication modules that only support a single card, this requires the coordinated use of multiple modules. Each module uses a subscriber identity module (SIM) card from a different operator to monitor the network quality in real time, thereby selecting the module under the optimal operator network for data communication. In this way, it can ensure that the data collected by the MCU can be accurately, securely and promptly transmitted to the back-end server.
[0004] While existing technologies have achieved the basic integration of MCUs and communication modules, practical applications still face challenges and shortcomings. For example, existing designs may lack flexibility and scalability when the number of modules needs to be changed or the network configuration needs to be adjusted. Furthermore, as data volumes increase and application scenarios become more complex, existing communication modules may not meet the data transmission quality and speed requirements of all industries. Therefore, it is necessary to improve and optimize existing communication modules and their integration with MCUs to meet growing market demands and technological developments. Utility Model Content
[0005] The present application mainly provides a communication system to solve the problem of high logic pressure on a microcontroller unit and low efficiency in data transmission with multiple communication modules.
[0006] To solve the above technical problems, one technical solution adopted by the present application is to provide a communication system, comprising: a micro control unit, a main communication module, and a plurality of auxiliary communication modules, the main communication module is electrically connected with the micro control unit, each auxiliary communication module is electrically connected with the main communication module through a universal asynchronous receiver; the micro control unit sends a network communication protocol data packet to the main communication module; the main communication module sends the network communication protocol data packet to the auxiliary communication module, and the auxiliary communication module transcodes and sends the network communication protocol data packet outward.
[0007] In some embodiments, the main communication module comprises a local area network establishment module, which is used to establish a local area network and allocate a local area network address to the micro control unit, and the micro control unit and the main communication module perform data transmission through the local area network address.
[0008] In some embodiments, the wide area network address of the auxiliary communication module and the local area network address of the main communication module establish a network address mapping relationship.
[0009] In some embodiments, the auxiliary communication module acquires the address information of the main communication module through the network address mapping relationship, re-packs and sends to the main communication module through the universal asynchronous receiver.
[0010] In some embodiments, the main communication module further comprises a network quality detection module for detecting the network quality of the main communication module.
[0011] In some embodiments, the communication system further comprises a server, which is in communication connection with the main communication module and is used to receive and send the network communication protocol data packet.
[0012] In some embodiments, the main communication module unit further comprises a service logic unit, which is used to select at least one auxiliary communication module.
[0013] In some embodiments, the main communication module further comprises a data processing module, which is used to intercept and forward data from the Internet protocol layer of the network communication protocol data packet.
[0014] In some embodiments, the main communication module further comprises: the control unit assists the main communication module to control the auxiliary communication module according to a preset logic, and the main communication module controls the selected auxiliary communication module to perform internal dialing.
[0015] In some embodiments, the server is in communication connection with the auxiliary communication module, and the server sends the network communication protocol data packet to the auxiliary communication module.
[0016] The beneficial effects of the present application are as follows: Different from the prior art, the present application discloses a communication system that adopts a modular design of a microcontroller unit, a main communication module, and several auxiliary communication modules, so that each part of the system can be independently developed, tested, and maintained, greatly improving the flexibility and scalability of the system. When it is necessary to add new communication functions or improve existing functions, it is only necessary to replace or upgrade the corresponding modules without making large-scale changes to the entire system, thereby reducing the difficulty of the business logic of the microcontroller unit. The main communication module is electrically connected to the microcontroller unit and is responsible for receiving data instructions from the microcontroller unit and encapsulating them into network communication protocol data packets, ensuring the integrity and accuracy of the data during transmission. The auxiliary communication module is connected to the main communication module via a universal asynchronous receiver and transmitter, receives and transcodes the network communication protocol data packets, and then sends them to the target device, so that data can be seamlessly transmitted between different communication protocols and devices, improving the compatibility of the system and the efficiency of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. Those skilled in the art can also derive other drawings based on these drawings without inventive work, among which:
[0018] Figure 1 This is a schematic structural diagram of an embodiment of a communication system provided by the present application;
[0019] Figure 2 It is a structural diagram of an embodiment of the main communication module provided by this application.
[0020] Explanation of the accompanying drawings: 100—communication system; 110—micro control unit; 120—main communication module; 130—auxiliary communication module; 140—server; 121—local area network establishment module; 122—network quality detection module; 123—business logic unit; 124—data processing module; 125—control unit. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0022] The terms "first", "second" and "third" in the embodiments of the present application are only used for descriptive purposes and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second" and "third" may explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally also include steps or units that are not listed, or may optionally also include other steps or units inherent to these processes, methods, products or devices.
[0023] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0024] This application provides a communication system, please refer to Figure 1 , Figure 1 1 is a schematic diagram of the structure of an embodiment of a communication system provided by the present application. The communication system 100 includes: a microcontroller unit 110, a main communication module 120, a plurality of auxiliary communication modules 130, and a server 140. The microcontroller unit 110 is electrically connected to the main communication module 120 for data transmission between the microcontroller unit 110 and the main communication module 120; the main communication module 120 and the plurality of auxiliary communication modules 130 are electrically connected via a universal asynchronous receiver / transmitter (UART) for transmitting network communication protocol data packets; the main communication module 120 and the plurality of auxiliary communication modules 130 are both in communication with the server 140 for data transmission between them.
[0025] The microcontroller unit 110 is an integrated circuit chip that integrates functional modules such as a microprocessor core, memory, input / output interfaces, and a timer into a single chip, forming a chip-level computer. In this application, the microcontroller unit 110 only needs to transmit data with the main communication module 120, eliminating the need for product developers to design complex circuits. Furthermore, the business logic of the microcontroller unit 110 is relatively simple, eliminating the need to transmit data to multiple modules separately.
[0026] The primary communication module 120 is a single module in a single communication module architecture defined by developers, combining the microcontroller unit 110 and the primary communication module 120. The microcontroller unit 110 communicates with the primary communication module 120 via a local area network (LAN) address. The primary communication module is responsible for connecting to the external network and sending network communication protocol packets to the secondary communication module for data exchange. This architecture allows the system to flexibly expand the secondary communication module to meet different communication needs and enhance the system's communication capabilities.
[0027] See also Figure 2 The main communication module 120 includes a local area network (LAN) establishment module 121. This module is used to establish a local area network (LAN) and assign a LAN address to the microcontroller unit 110, thereby connecting the microcontroller unit 110 to the main communication module 120. The microcontroller unit 110 then uses the LAN address to communicate with the main communication module 120. This LAN establishment module 121 not only enables efficient communication between devices but also improves the stability and reliability of the entire system through technical means such as address allocation, network quality monitoring, and security enhancement.
[0028] Please continue reading Figure 2 The primary communication module 120 further includes a network quality detection module 122, which is configured to detect the network quality of the primary communication module 120. In some embodiments, upon receiving a network communication protocol data packet from the microcontroller unit 110, the network quality detection module 122 detects the network quality of the primary communication module 120. If the network quality detection module 122 detects that the network quality of the primary communication module 120 is good, the primary communication module 120 directly establishes an end-to-end data transmission connection with the server 140, and data is directly transmitted from the primary communication module 120 to the wireless communication air interface of the server 140.
[0029] This embodiment realizes data transmission and communication by directly establishing an end-to-end connection, has higher bandwidth and lower latency, and can meet the needs of real-time communication and large-scale data transmission. In this application, the main communication module 120 only needs to transmit data with the server 140 without going through the auxiliary communication module 130, which greatly improves the data transmission efficiency and reduces the logical pressure of the micro control unit 110.
[0030] When the network quality detection module 122 detects that the network quality of the main communication module 120 is poor or that the main communication module 120 is unable to establish or maintain a communication connection, the main communication module 120 and the micro control unit 110 normally establish local area network communication. The main communication module 120 selects the corresponding auxiliary communication module 130 according to the preset logic, issues instructions through the universal asynchronous receiver and transmitter port to control the auxiliary communication module 130 to perform internal dialing, and transparently transmits the network communication protocol data packet received from the micro control unit 110 to the corresponding auxiliary communication module 130 through the universal asynchronous receiver and transmitter port. The auxiliary communication module 130 records the address of the network communication protocol data packet sender and the address of the device sending the network communication protocol data packet, reconverts the network communication protocol data packet, calculates the packet header and packet trailer, and sends the reconstructed network communication protocol data packet to the wireless communication air interface of the server 140.
[0031] The preset logic is an algorithm preset by R&D personnel in the network quality detection module 122 , and this algorithm can implement network quality detection for the main communication module 120 .
[0032] The network quality detection module 122 is used to monitor the network connection quality of the primary communication module. If the network connection of the primary communication module 120 is unstable, the communication system 100 automatically switches to a backup solution to ensure uninterrupted communication. At this point, the primary communication module 120 maintains a stable connection with the microcontroller unit 110 via the local area network, and uses pre-set logic to select the most appropriate auxiliary communication module 130 to take over data transmission tasks. Through the universal asynchronous receiver / transmitter (UART) port, the primary communication module 120 sends internal dialing instructions to the selected auxiliary communication module 130, enabling rapid response. After receiving a data packet, the auxiliary communication module 130 records the sender and receiver's address information and recalculates and converts the packet header and trailer to adapt to the new communication environment. This process ensures the integrity and correctness of the data packet on the new communication path. The auxiliary communication module 130 then transmits the reassembled data packet to the server 140 via the wireless communication air interface, completing data transparent transmission. This application significantly improves the system's communication stability and reliability, particularly when the primary communication path is limited or unstable. By intelligently selecting auxiliary communication modules and a fast-responding internal dialing mechanism, the system seamlessly switches to the optimal communication path, ensuring the timely transmission of critical data. This also improves the utilization efficiency of network resources, reduces the risk of service interruptions due to network problems, and provides users with a more continuous and stable service experience.
[0033] In practical applications, the solution of this application is equivalent to establishing an end-to-end connection between the auxiliary communication module 130 and the server 140 , and establishing a network address mapping relationship between the WAN address of the auxiliary communication module 130 and the LAN address of the main communication module 120 .
[0034] Please continue reading Figure 2 The primary communication module 120 also includes a service logic unit 123 for selecting at least one auxiliary communication module 130. The service logic unit 123 determines which one or more auxiliary communication modules 130 best suit the current communication needs and assists the primary communication module 120 in selecting the most suitable auxiliary communication module 130. The primary communication module 120 then transmits the network communication protocol data packets to the appropriate auxiliary communication module 130. Optionally, the service logic unit 123 can be configured to automatically select the appropriate auxiliary communication module 130 based on the communication transmission needs of the primary communication module 120.
[0035] The present application can ensure that data transmission is performed through the optimal auxiliary communication module 130 through the business logic unit 123, thereby improving communication efficiency and data transmission speed.
[0036] Please continue reading Figure 2 The main communication module 120 further includes a control module 125. The control module 125 controls the auxiliary communication module 130 selected by the business logic unit 123 of the main communication module 120 according to a preset logic. The control module 125 sends instructions through the universal asynchronous receiver and transmitter port to control internal dialing.
[0037] This embodiment greatly improves the rate at which the main communication module 120 controls the auxiliary communication module 130 to perform internal dialing by presetting the network algorithm in the control module 125 , thereby improving the communication rate of the communication system.
[0038] The main communication module 120 also includes a data processing module 124, which is used to intercept and forward data from the Internet Protocol layer of network communication protocol packets. In this application, the data packets are network communication protocol packets, which ensure that data transmission between the terminal device and the server is maintained within the same end-to-end connection. This ensures that multi-module communication can be carried out without interfering with the micro-control unit 110 to send data, and achieves secure, reliable, and timely data transmission.
[0039] Optionally, data packets can be intercepted and distributed from the physical layer, but parsing the data from the physical layer is difficult and not easy to implement.
[0040] Optionally, data packets can be intercepted and distributed from the application layer, and the microcontroller unit 110 data can be intercepted from the application layer, but this poses a threat to the security of the microcontroller unit 110 data. At the same time, the main communication module 120 needs to create a virtual network card to receive the data sent by the microcontroller unit 110, and then forward the data to other auxiliary communication modules 130, involving communication and synchronization between multiple endpoint-to-endpoint connections.
[0041] The present application intercepts and forwards data from the Internet Protocol layer of the network communication protocol data packet through the data processing module 124, thereby improving the reliability of data transmission and the efficiency of data acquisition of the communication system.
[0042] In another embodiment, when data transmitted from the server 140 reaches the primary communication module 120 or the secondary communication module 130, the network quality detection module 122 detects the network quality of the primary communication module 120. If the network quality detection module 122 detects that the network quality of the operator registered by the primary communication module 120 is good, the primary communication module 120 directly establishes an end-to-end connection with the server 140, and the data sent from the server 140 is directly sent to the micro control unit 110 through the primary communication module 120.
[0043] By directly establishing an endpoint-to-endpoint connection with the server 140 through the main communication module 120 and then directly transmitting data, the micro control unit 110 no longer needs to transmit data with other auxiliary communication modules 130, which greatly improves the communication efficiency and reduces the logical pressure of the micro control unit 110.
[0044] When the network quality detection module 122 detects that the network quality of the main communication module 120 is poor or that the main communication module 120 is unable to establish or maintain a communication connection, the main communication module 120 and the micro control unit 110 establish local area network communication normally. The data sent from the server 140 first arrives at the auxiliary communication module 130 that establishes an end-to-end connection with the server. The auxiliary communication module 130 obtains the address information of the main communication module 120 by querying the record of the network address mapping relationship, repackages the data, and sends it to the main communication module 120 through the universal asynchronous receiver and transmitter.
[0045] The auxiliary communication module 130 acts as an intermediary, ensuring data transmission even when the primary communication module 120 experiences an unstable network connection, thereby enhancing the communication stability and reliability of the entire system. By querying the network address mapping relationship, the auxiliary communication module 130 can flexibly obtain the address information of the primary communication module 120, achieving accurate data routing.
[0046] A network address mapping relationship is established between the WAN address of the auxiliary communication module 130 and the LAN address of the main communication module 120. The auxiliary communication module 130 can obtain the address information of the main communication module 120 by querying the record of the network address mapping relationship, repackage it, and send it to the main communication module 120 via the universal asynchronous receiver and transmitter.
[0047] This application establishes a network address mapping relationship between the WAN address of the auxiliary communication module 130 and the LAN address of the primary communication module 120, enabling the communication system to flexibly communicate in different network environments and conditions. Even when the network connection of the primary communication module 120 is unstable, data can be transmitted through the auxiliary communication module 130, ensuring the continuity and stability of communication. The auxiliary communication module 130 can query the network address mapping relationship and quickly obtain the address information of the primary communication module 120, thereby repackaging and transmitting data, reducing delays in the routing process and improving data transmission efficiency.
[0048] The server 140 is in communication with the main communication module 120 for sending and receiving network communication protocol data packets.
[0049] In this application, the server 140 is connected to the main communication module 120 for communication, and sends and receives network communication protocol data packets. When the network quality is good, the server 140 and the main communication module 120 directly transmit data, which can improve the data processing and forwarding capabilities of the entire system.
[0050] The server 140 is in communication with the auxiliary communication module 130, and the server 140 sends network communication protocol data packets to the auxiliary communication module 130. When the network quality detection module 122 detects that the network quality of the operator registered by the primary communication module 120 is poor or that the primary communication module 120 is unable to establish or maintain a communication connection, the server 140 first transmits the data to the auxiliary communication module 130 and then performs further data processing. This can improve data transmission efficiency when the network quality is poor or the primary communication module 120 is unable to establish or maintain a communication connection.
[0051] Different from the existing technology, the present application discloses a communication system. By adopting a modular design of a microcontroller unit, a main communication module and several auxiliary communication modules, each part of the system can be independently developed, tested and maintained, which greatly improves the flexibility and scalability of the system. When it is necessary to add new communication functions or improve existing functions, it is only necessary to replace or upgrade the corresponding modules without making large-scale changes to the entire system, which reduces the difficulty of the business logic of the microcontroller unit. The main communication module is electrically connected to the microcontroller unit and is responsible for receiving data instructions from the microcontroller unit and encapsulating them into network communication protocol data packets, ensuring the integrity and accuracy of the data during transmission. The auxiliary communication module is connected to the main communication module through a universal asynchronous receiver and transmitter, receives and transcodes the network communication protocol data packets, and then sends them to the target device, so that data can be seamlessly transmitted between different communication protocols and devices, improving the compatibility of the system and data transmission efficiency.
[0052] The present application can be used in numerous general-purpose or special-purpose computing system environments or configurations, including but not limited to personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
[0053] In the several embodiments provided in this application, it should be understood that the disclosed communication system can be implemented in other ways. For example, the communication system implementation described above is only illustrative. For example, the division of modules or 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. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0054] In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The above-mentioned integrated units may be implemented in the form of hardware or software functional units.
[0055] The above merely describes the embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which is made by using the content of the present application specification and drawings, is also included in the patent protection scope of the present application.
Claims
1. A communication system, characterized in that: The communication system comprises: A microcontroller unit, a main communication module, and several auxiliary communication modules, wherein the main communication module is electrically connected to the microcontroller unit, and each auxiliary communication module is electrically connected to the main communication module via a universal asynchronous receiver / transmitter. The micro control unit sends a network communication protocol data packet to the main communication module; The main communication module sends the network communication protocol data packet to the auxiliary communication module, and the auxiliary communication module transcodes the network communication protocol data packet and sends it outward; the main communication module includes: a local area network establishment module, the local area network establishment module is used to establish a local area network and assign a local area network address to the micro control unit, and the micro control unit and the main communication module transmit data through the local area network address; a business logic unit, the business logic unit is used to select at least one of the auxiliary communication modules.
2. The communication system according to claim 1, wherein: A network address mapping relationship is established between the wide area network address of the auxiliary communication module and the local area network address of the main communication module.
3. The communication system according to claim 2, wherein: The auxiliary communication module obtains the address information of the main communication module through the network address mapping relationship, repackages the packet, and sends the packet to the main communication module through the universal asynchronous receiver / transmitter.
4. The communication system according to claim 1, wherein: The main communication module also includes: The network quality detection module is used to detect the network quality of the main communication module.
5. The communication system according to claim 1, wherein: The communication system further includes a server, which is communicatively connected to the main communication module and is used for sending and receiving network communication protocol data packets. The communication system according to claim 1 , wherein: The main communication module also includes: A data processing module is used to intercept and forward data from the Internet Protocol layer of the network communication protocol data packet.
7. The communication system according to claim 1, wherein: The main communication module also includes: A control unit, wherein the control unit assists the main communication module in controlling the auxiliary communication module according to a preset logic, and the main communication module controls the selected auxiliary communication module to perform internal dialing.
8. The communication system according to claim 5, wherein: The server is communicatively connected to the auxiliary communication module, and the server sends the network communication protocol data packet to the auxiliary communication module.