Communication device

By setting the first and second communication units in the communication device and synchronizing the IO properties and status information of the mobile broadband device and the mobile terminal, the problem of incomplete signal transmission is solved and complete data transmission between mobile devices is achieved.

CN119676852BActive Publication Date: 2025-10-17ANYSMART TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411861477.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-10-17
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

In the prior art, directly connecting a mobile broadband device to a laptop computer can easily lead to incomplete signal transmission.

Method used

A first communication unit and a second communication unit are set in the communication device, and an interface, a control module, an input/output module and a transmission module are connected in each unit. By synchronizing the IO attribute information and status information of the mobile broadband device and the mobile terminal, the interface information is adjusted to achieve the integrity of data transmission.

Benefits of technology

It ensures the integrity of the signal transmission process between mobile broadband devices and mobile terminals, reduces the risk of data loss and equipment failure, and improves the accuracy and stability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676852B_ABST
    Figure CN119676852B_ABST
Patent Text Reader

Abstract

The application provides a communication device, comprising: a first communication unit and a second communication unit; the first communication unit is used for determining first IO attribute information and first IO state information of a mobile broadband device when the mobile broadband device is inserted on a first interface, and sending the first IO attribute information and the first IO state information to the second communication unit, so that the second communication unit adjusts interface information of a second interface; the second communication unit is used for determining second IO attribute information and second IO state information of a mobile terminal when the mobile terminal is inserted on the second interface, and sending the second IO attribute information and the second IO state information to the first communication unit, so that the first communication unit adjusts the interface information of the first interface according to the second IO attribute information and the second IO state information. The application guarantees the integrity of a signal transmission process between the mobile broadband device and the mobile terminal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data communication, and particularly relates to a communication device. BACKGROUND

[0002] Mobile broadband (Mobile Broadband, referred to as mobile broadband device) devices are used to provide wireless data connections, so that mobile devices (such as notebook computers, smart phones, etc.) can be connected to mobile phone service networks to achieve Internet access.

[0003] In the prior art, the mobile broadband device is usually directly connected with the notebook computer, so that the notebook computer can access the Internet through the mobile network without a fixed broadband (such as optical fiber or wired cable) connection.

[0004] However, the direct connection of the mobile broadband device with the notebook computer can easily cause incomplete signal transmission. SUMMARY

[0005] The present application aims at the deficiencies in the prior art, and provides a communication device to solve the problem of incomplete signal transmission in the prior art.

[0006] To achieve the above-mentioned purpose, the technical scheme adopted by the embodiments of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a communication device, which comprises:

[0008] a first communication unit and a second communication unit;

[0009] The first communication unit comprises a first interface, a first control module, a first input / output module and a first transmission module connected in sequence;

[0010] The second communication unit comprises a second interface, a second control module, a second input / output module and a second transmission module connected in sequence;

[0011] The first communication unit is used to determine first IO attribute information and first IO state information of a mobile broadband device when the mobile broadband device is inserted on the first interface, and send the first IO attribute information and the first IO state information to the second communication unit, so that the second communication unit adjusts interface information of the second interface according to the first IO attribute information and the first IO state information;

[0012] The second communication unit is configured to determine second IO attribute information and second IO state information of the mobile terminal when the mobile terminal is inserted into the second interface, and send the second IO attribute information and the second IO state information to the first communication unit, so that the first communication unit adjusts interface information of the first interface according to the second IO attribute information and the second IO state information.

[0013] The first communication unit is configured to send data from the mobile broadband device to the second communication unit and send data from the second communication unit to the mobile broadband device through the first interface, the first control module, the first input / output module and the first transmission module.

[0014] The second communication unit is configured to send data from the mobile terminal to the first communication unit and send data from the first communication unit to the mobile terminal through the second interface, the second control module, the second input / output module and the second transmission module.

[0015] In a possible implementation, the first communication unit is further configured to adjust a state of a first target pin of the first transmission module to a target state before sending data to the second communication unit, so that a state of a second target pin connected with the first target pin on the second transmission module is adjusted to the target state accordingly.

[0016] The second communication unit is further configured to adjust a state of a second target pin of the second transmission module to a target state before sending data to the first communication unit, so that a state of a first target pin connected with the second target pin on the first transmission module is adjusted to the target state accordingly.

[0017] In a possible implementation, the first communication unit is specifically configured to:

[0018] obtain the first IO attribute information and the first IO state information sent by the mobile broadband device through the first interface, encapsulate the first IO attribute information and the first IO state information into a first IO packet through the first control module, and send the first IO packet to the second communication unit through the first input / output module and the first transmission module, so that the second communication unit adjusts interface information of the second interface according to the first IO packet.

[0019] In a possible implementation, the second communication unit is specifically configured to:

[0020] The second IO attribute information and the second IO state information sent by the mobile terminal are acquired through the second interface, the second IO attribute information and the second IO state information are encapsulated into a second IO message through the second control module, and the second IO message is sent to the first communication unit through the second input / output module and the second transmission module, so that the first communication unit adjusts interface information of the first interface according to the second IO message.

[0021] In a possible implementation, the first communication unit is specifically configured to:

[0022] The first transmission data from the mobile broadband device is received through the first interface, the first transmission data is encoded through the first control module to obtain first encoded data, and the first encoded data is sent to the second communication unit through the first input / output module and the first transmission module in sequence;

[0023] The first communication unit is further specifically configured to receive second encoded data from the second communication unit through the first transmission module and the first input / output module in sequence, decode the second encoded data through the first control module to obtain second transmission data, and send the second transmission data to the mobile broadband device through the first interface.

[0024] In a possible implementation, the second communication unit is specifically configured to:

[0025] The second transmission data from the mobile terminal is received through the second interface, the second transmission data is encoded through the second control module to obtain second encoded data, and the second encoded data is sent to the first communication unit through the second input / output module and the second transmission module in sequence;

[0026] The second communication unit is further specifically configured to receive first encoded data from the first communication unit through the second transmission module and the second input / output module in sequence, decode the second encoded data through the second control module to obtain first transmission data, and send the first transmission data to the mobile terminal through the second interface.

[0027] In a possible implementation, the first communication unit further includes a first high-speed transmission module, and the second communication unit further includes a second high-speed transmission module.

[0028] The first communication unit is also configured to send data from the mobile broadband device to the second communication unit and send data from the second communication unit to the mobile broadband device through the first high-speed transmission module and the first transmission module.

[0029] The second communication unit is also configured to send data from the mobile terminal to the first communication unit and send data from the first communication unit to the mobile terminal through the second high-speed transmission module and the second transmission module.

[0030] In a possible implementation, the first communication unit is specifically configured to receive third transmission data from a mobile broadband device through the first interface, and send the third transmission data to the second communication unit and send fourth transmission data from the second communication unit to the mobile broadband device through the first transmission module and the first high-speed transmission module.

[0031] The second communication unit is specifically configured to receive fourth transmission data from a mobile terminal through the second interface, and send the fourth transmission data to the first communication unit and send third transmission data from the first communication unit to the mobile terminal through the second transmission module and the second high-speed transmission module.

[0032] In a possible implementation, the first communication unit further comprises a third interface.

[0033] The third interface is connected to the first control module.

[0034] The first communication unit is also configured to acquire first state data of the first communication unit in a data transmission process through the first input and output module, and send the first state data to the mobile terminal through the third interface.

[0035] The first communication unit is also configured to acquire second state data of the second communication unit through the second input and output module, the second transmission module and the first transmission module, and send the first state data to the mobile terminal through the third interface.

[0036] In a possible implementation, the first communication unit is also configured to perform firmware configuration on the first high-speed transmission module through the third interface, and the second communication unit is also configured to perform firmware configuration on the second high-speed transmission module through the third interface.

[0037] The beneficial effect of the present application is that: by setting the first communication unit and the second communication unit in the communication device, and setting the first interface, the first control module, the first input and output module and the first transmission module connected in sequence in the first communication unit, and setting the second interface, the second control module, the second input and output module and the second transmission module connected in sequence in the second communication unit, the first interface or the second interface can be adjusted after the mobile terminal broadband device and the mobile terminal device are accessed, so that the first interface of the first communication unit and the second interface of the second communication unit can realize data transmission between the mobile broadband device and the mobile terminal with the same IO attribute information and the same IO state information, and the integrity of the signal transmission process between the mobile broadband device and the mobile terminal is ensured. BRIEF DESCRIPTION OF DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced as follows. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0039] Figure 1 A structural schematic diagram of the communication device provided by the embodiments of the present application;

[0040] Figure 2 A schematic diagram when the first communication unit and the second communication unit in the communication device provided by the embodiments of the present application synchronize IO attribute information;

[0041] Figure 3 A schematic diagram when the first communication unit and the second communication unit in the communication device provided by the embodiments of the present application synchronize IO state information;

[0042] Figure 4 Another schematic diagram when the first communication unit and the second communication unit in the communication device provided by the embodiments of the present application synchronize IO attribute information;

[0043] Figure 5 Another schematic diagram when the first communication unit and the second communication unit in the communication device provided by the embodiments of the present application synchronize IO state information;

[0044] Figure 6 A schematic diagram when the communication device provided by the embodiments of the present application transmits data;

[0045] Figure 7 Another schematic diagram when the communication device provided by the embodiments of the present application transmits data;

[0046] Figure 8 Another structural schematic diagram of the communication device provided by the embodiment of the present application is shown. DETAILED DESCRIPTION

[0047] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of description and illustration, and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn according to the actual proportions. The flowcharts in the present application show the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowcharts or one or more operations can be removed from the flowcharts by those skilled in the art under the guidance of the content of the present application.

[0048] In addition, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0049] It should be noted that the term “comprising” will be used in the embodiments of the present application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0050] In the prior art, a mobile broadband device is usually directly connected with a notebook computer, so that the notebook computer accesses the Internet through a mobile network without a fixed broadband (such as fiber or wired cable) connection.

[0051] However, the direct connection of the mobile broadband device with the notebook computer is prone to cause incomplete signal transmission.

[0052] Based on the above-mentioned problems, an embodiment of the present application proposes a communication device. A first communication unit and a second communication unit are provided in the communication device, and a first interface, a first control module, a first input / output module, and a first transmission module connected in sequence are provided in the first communication unit. A second interface, a second control module, a second input / output module, and a second transmission module connected in sequence are provided in the second communication unit. This enables the first communication unit and the second communication unit to synchronize interface information between a mobile broadband device and a mobile terminal. At the same time, the first communication unit and the second communication unit can realize data transmission between the mobile broadband device and the mobile terminal, thereby ensuring the integrity of the signal transmission process between the mobile broadband device and the mobile terminal.

[0053] The communication device provided in the embodiments of the present application is described in detail below in conjunction with multiple embodiments.

[0054] Figure 1 A schematic diagram of a communication device according to an embodiment of the present application is provided. Figure 1 As shown, the communication device includes: a first communication unit and a second communication unit.

[0055] The first communication unit includes a first interface, a first control module, a first input / output module, and a first transmission module connected in sequence. The second communication unit includes a second interface, a second control module, a second input / output module, and a second transmission module connected in sequence.

[0056] Optionally, continue with reference to Figure 1 As shown, the first end of the first interface is connected to the mobile broadband device, the second end of the first interface is connected to the first end of the first control module, the second end of the first control module is connected to the first end of the first input-output module, the second end of the first input-output module is connected to the first end of the first transmission module, the second end of the first transmission module is connected to the first end of the second transmission module, the second end of the second transmission module is connected to the first end of the second input-output module, the second end of the second input-output module is connected to the first end of the second control module, the second end of the second control module is connected to the first end of the second interface, and the second end of the second interface is also connected to the mobile terminal device.

[0057] Optionally, the first interface can be an M.2 slot, i.e., a slot for connecting an M.2 interface solid state disk, and the second interface can be an M.2 interface, and the first interface and the second interface both support access to multiple data transmission protocols. Optionally, the data types of the data that can be transmitted by the first interface and the second interface can be multiple input / output (I / O) related data types, such as IO in-band signals, IO out-of-band signals, open drain I / O, Peripheral Component Interconnect Express (PCIe), etc.

[0058] Optionally, the first control module and the second control module can be single-chip microcomputers, specifically, 32-bit microcontrollers (STM32), which are provided with general input / output ports (GPIO), universal asynchronous receiver / transmitters (UART), serial peripheral interfaces (SPI), two-wire serial buses (I2C), analog-to-digital converters (ADC), digital-to-analog converters (DAC), pulse width modulation (PWM), real-time clocks (RTC), IRQ, etc.

[0059] Optionally, the first input / output module and the second input / output module can be circuit units provided with multiple circuit devices for collecting and processing transmission data, specifically, multiple transistors and collection chips, etc.

[0060] Optionally, the first transmission module and the second transmission module can be Type-C PD interface modules (USB Type-C Power Delivery) capable of supporting bidirectional transmission of data.

[0061] Exemplarily, the first end of the first interface connected with the mobile broadband device can be that the mobile broadband device is inserted into the M.2 slot, the second end of the first interface connected with the first end of the first control module can be that the pins of the first interface are connected with the GPIO ports of the first control module, the second end of the first control module connected with the first end of the first input and output module can be that the I2C ports, Serial (I2C) ports, Driver (SPI) ports, ADC ports, DAC ports and IRQ ports of the first control module are connected with the first input and output module respectively, the second end of the first input and output module connected with the first end of the first transmission module can be that the hardware input / output pins of the first input and output module and the first transmission module are connected through the CC1 cable and the CC2 cable, the second end of the first transmission module connected with the first end of the second transmission module can be that the pins of the first transmission module except the hardware input / output (CC1, CC2, SUB and VBUS) pins and the pins of the second transmission module except the hardware input / output (CC1, CC2, SUB and VBUS) pins are connected to the same contact.

[0062] Exemplarily, the second end of the second transmission module connected with the first end of the second input and output module can be that the hardware input / output (CC1, CC2, SUB and VBUS) pins of the second input and output module and the second transmission module are connected, the second end of the second input and output module connected with the first end of the second control module can be that the I2C ports, UART ports, SPI ports, ADC ports, DAC ports and RTC ports of the second control module are connected with the second input and output module respectively, the second end of the second control module connected with the first end of the second interface can be that the pins of the second interface are connected with the GPIO ports of the second control module, the second end of the second interface connected with the mobile terminal device can be that the M.2 interface accesses the mobile terminal.

[0063] The first communication unit is configured to determine the first IO attribute information and the first IO state information of the mobile broadband device when the mobile broadband device is inserted into the first interface, and send the first IO attribute information and the first IO state information to the second communication unit, so that the second communication unit adjusts the interface information of the second interface according to the first IO attribute information and the first IO state information; the second communication unit is configured to determine the second IO attribute information and the second IO state information of the mobile terminal when the mobile terminal is inserted into the second interface, and send the second IO attribute information and the second IO state information to the first communication unit, so that the first communication unit adjusts the interface information of the first interface according to the second IO attribute information and the second IO state information.

[0064] It can be understood that when the mobile broadband device and the mobile terminal transmit data, in order to ensure the integrity of the data during the data transmission, the data interface of the mobile broadband device and the mobile terminal during the transmission can be adjusted when the mobile broadband device and the mobile terminal are inserted, that is, the first IO attribute information and the first IO state information of the first interface are adjusted, and the second IO attribute information and the second IO state information of the second interface are adjusted, so as to help ensure correct communication and data exchange between the mobile broadband device and the mobile terminal.

[0065] Optionally, the first communication unit can receive the first IO attribute information and the first IO state information of the mobile broadband device when the mobile broadband device is inserted on the first interface, and send the first IO attribute information and the first IO state information to the second communication unit, so that the second communication unit adjusts the interface information of the second interface according to the first IO attribute information and the first IO state information.

[0066] Optionally, the second communication unit can receive the second IO attribute information and the second IO state information of the mobile terminal when the mobile terminal is inserted on the second interface, and send the second IO attribute information and the second IO state information to the first communication unit, so that the first communication unit adjusts the interface information of the first interface according to the second IO attribute information and the second IO state information.

[0067] That is, the communication device provided by the embodiment of the application can adjust the second interface according to the first IO attribute information and the first IO state information of the mobile broadband device during data transmission, and can also adjust the first interface according to the second IO attribute information and the second IO state information of the mobile terminal. For example, the adjustment scheme can be determined according to the insertion order of the mobile broadband device and the mobile terminal, which is not described herein.

[0068] The first IO attribute information refers to the basic attribute of the first interface, which can include the port type (digital port or analog port) of the first interface, the data direction (input port, output port or bidirectional port) of the first interface, the signal level (voltage range during signal transmission) of the first interface, the driving capability (the size of the current that the port can provide) of the first interface, the pull-up / pull-down resistance (whether there is a default state) of the first interface, and the interrupt function (whether to send an interrupt signal when the state of the port changes) of the first interface. The first IO state information refers to the real-time state or data value of the first interface during data transmission at a certain time, which can include the current level of the first interface (whether the port is at a high level or a low level), the data value of the first interface (the current data value or voltage value or current value of the port), the state change of the first interface, and the error state of the first interface.

[0069] The second IO attribute information refers to the basic attribute of the second interface, and can include the port type (digital port or analog port) of the second interface, the data direction (input port, output port or bidirectional port) of the second interface, the signal level (voltage range when transmitting a signal) of the second interface, the driving capability (the current size that the port can provide) of the second interface, the pull-up / pull-down resistance (whether there is a default state) of the second interface, and the interrupt function (whether to send an interrupt signal when the port state changes) of the second interface, and the like. The second IO state information refers to the real-time state or data value of the second interface when transmitting data at a certain time, and can include the current level (whether the port is at a high level or a low level) of the second interface, the data value (the current data value or voltage value or current value of the port) of the second interface, the state change of the second interface, and the error state of the second interface, and the like.

[0070] The mobile broadband device can be a device that provides wireless high-speed Internet access services based on a mobile communication network (such as 2G, 3G, 4G, 5G, etc.), for example, a mobile broadband device (Mobile Broadband, MBB). The mobile terminal can be any device that needs to access the network, such as a smartphone, a tablet computer, and a notebook computer.

[0071] The first communication unit is configured to transmit data from the mobile broadband device to the second communication unit and transmit data from the second communication unit to the mobile broadband device through the first interface, the first control module, the first input / output module, and the first transmission module; and the second communication unit is configured to transmit data from the mobile terminal to the first communication unit and transmit data from the first communication unit to the mobile terminal through the second interface, the second control module, the second input / output module, and the second transmission module.

[0072] It can be understood that when the first interface and the second interface are adjusted to have the same IO attribute information and the same IO state information, the mobile broadband device and the mobile terminal can perform data transmission through the communication device provided by the embodiment of the application, so as to ensure the integrity of the signal transmission process between the mobile broadband device and the mobile terminal.

[0073] Optionally, the first communication unit can transmit out-of-band data from the mobile broadband device to the second communication unit through the first interface, the first control module, the first input / output module, and the first transmission module. After receiving the data from the mobile broadband device, the second communication unit can transmit the out-of-band data from the mobile broadband device to the mobile terminal through the second transmission module, the second input / output module, the second control module, and the second interface.

[0074] Optionally, the second communication unit can send the out-of-band data from the mobile terminal to the first communication unit through the second interface, the second control module, the second input / output module and the second transmission module, and the first communication unit can send the out-of-band data from the mobile terminal to the mobile broadband device through the first transmission module, the first input / output module, the first control module and the first interface after receiving the data from the mobile terminal.

[0075] That is, the communication device provided by the embodiment of the present application is bidirectional in data transmission, and can be flexibly adjusted according to the requirement of data transmission, which will not be described herein.

[0076] In the embodiment, the first communication unit and the second communication unit are arranged in the communication device, the first interface, the first control module, the first input / output module and the first transmission module are sequentially connected in the first communication unit, and the second interface, the second control module, the second input / output module and the second transmission module are sequentially connected in the second communication unit, so that the first interface or the second interface can be adjusted after the mobile terminal broadband device and the mobile terminal device are accessed, so that the first interface of the first communication unit and the second interface of the second communication unit can realize data transmission between the mobile broadband device and the mobile terminal with the same IO attribute information and the same IO state information, and the integrity of the signal transmission process between the mobile broadband device and the mobile terminal is ensured.

[0077] In a possible implementation, the first communication unit is further configured to adjust a state of a first target pin of the first transmission module to a target state before sending data to the second communication unit, so that a state of a second target pin connected with the first target pin on the second transmission module is adjusted to the target state correspondingly; and the second communication unit is further configured to adjust a state of a second target pin of the second transmission module to a target state before sending data to the first communication unit, so that a state of a first target pin connected with the second target pin on the first transmission module is adjusted to the target state correspondingly.

[0078] It can be understood that, in order to improve the integrity and accuracy of data in the data transmission process, the first communication unit and the second communication unit can also synchronize the timing in the data transmission process, so as to avoid data loss or device failure.

[0079] Optionally, the first communication unit can adjust a state of a first target pin of the first transmission module to a target state before sending data to the second communication unit, so that a state of a second target pin connected with the first target pin on the second transmission module is adjusted to the target state correspondingly. The target state can be adjusted from a pull-down state to a pull-up state or from a disconnected state to an accessed state.

[0080] Exemplarily, taking the mobile terminal as an example, the PCIe interface device has multiple I / O states such as Perst (Persist State) / Pwake (Power Wake) / CLKREQ (Clock Request), and the first communication unit and the second communication unit can be precisely time-synchronized in the I / O state changes of Perst, Pawke, CLKREQ, etc. by using the idle pin (such as SBU2) of the first transmission module or the second transmission module as the starting point of data transmission.

[0081] In a possible implementation, the first communication unit is specifically configured to:

[0082] The first communication unit obtains the first IO attribute information and the first IO state information sent by the mobile broadband device through the first interface, encapsulates the first IO attribute information and the first IO state information into a first IO message through the first control module, and sends the first IO message to the second communication unit through the first input and output module and the first transmission module, so that the second communication unit adjusts the interface information of the second interface according to the first IO message.

[0083] It can be understood that the IO attribute synchronization and the IO state synchronization can be performed simultaneously or separately.

[0084] Exemplarily, when the mobile broadband device is inserted into the first interface, the communication device provided by the embodiment of the application can first perform IO attribute synchronization, and then perform IO state synchronization after the IO attribute synchronization is completed, and meanwhile, the IO state synchronization is continuously performed in the data transmission process.

[0085] Optionally, Figure 2 A schematic diagram of the first communication unit and the second communication unit in the communication device provided by the embodiment of the application for performing IO attribute information synchronization is shown in FIG. 1. Figure 2 As shown in FIG. 1, the first communication unit can obtain the first IO attribute information configured in advance through the first interface, package the first IO attribute information into a first IO message through the first control module, perform an uplink request for the first IO message through the first control module, convert the first IO message into a coded signal through the first control module, and send the coded signal to the second communication unit through the first input and output module and the first transmission module.

[0086] Optionally, continuing to refer to FIG. 1, Figure 2As shown, the second communication unit receives the encoded signal through the second input / output module and the second transmission module, parses the encoded signal through the second control module, parses the first IO message through the second control module to obtain the first IO attribute information, and configures the second interface according to the first IO attribute information.

[0087] Optionally, continuing to refer to Figure 2 As shown, the second communication unit can also send a control message (Good CRC) to the first communication unit to indicate that the first IO message has been normally received, so that the first communication unit determines that the IO attribute synchronization between the first communication unit and the second communication unit has been completed through the first control module after receiving the control message.

[0088] Optionally, Figure 3 A schematic diagram of the communication device provided in the embodiment of the present application when the first communication unit and the second communication unit perform IO state information synchronization is provided with reference to Figure 3 As shown, the first communication unit can obtain the first IO state information through the first interface, pack the first IO state information into a first IO message through the first control module, execute the uplink request first IO message through the first control module, convert the first IO message into an encoded signal through the first control module, and send the encoded signal to the second communication unit through the first input / output module and the first transmission module.

[0089] Optionally, continuing to refer to Figure 3 As shown, the second communication unit receives the encoded signal through the second input / output module and the second transmission module, parses the encoded signal through the second control module, parses the first IO message through the second control module to obtain the first IO state information, and configures the second interface according to the first IO state information.

[0090] Optionally, continuing to refer to Figure 3 As shown, the second communication unit can also send a control message (Good CRC) to the first communication unit to indicate that the first IO message has been normally received, so that the first communication unit determines that the IO state synchronization between the first communication unit and the second communication unit has been completed through the first control module after receiving the control message.

[0091] The first IO attribute information and the first IO state information sent by the mobile broadband device are acquired through the first interface, the first IO attribute information and the first IO state information are encapsulated into first IO messages by the first control module, and the first IO messages are sent to the second communication unit through the first input and output module and the first transmission module, so that the second communication unit adjusts the interface information of the second interface according to the first IO messages, the integrity and consistency of data can be maintained in the data reading and writing process, meanwhile, the collapse or unstable situation caused by the inconsistency of input and output operations of the mobile broadband device and the mobile terminal is reduced, and the overall performance of the communication device provided by the embodiment of the application is ensured.

[0092] In a possible implementation, the second communication unit is specifically configured to:

[0093] The second IO attribute information and the second IO state information sent by the mobile terminal are acquired through the second interface, the second IO attribute information and the second IO state information are encapsulated into second IO messages by the second control module, and the second IO messages are sent to the first communication unit through the second input and output module and the second transmission module, so that the first communication unit adjusts the interface information of the first interface according to the second IO messages.

[0094] It can be understood that the IO attribute synchronization and the IO state synchronization can be performed simultaneously or separately.

[0095] Exemplarily, when the mobile terminal is inserted into the second interface, the communication device provided by the embodiment of the application can first perform the IO attribute synchronization, and then perform the IO state synchronization after the IO attribute synchronization is completed, and meanwhile, the IO state synchronization is continuously performed in the data transmission process.

[0096] Optionally, Figure 4 Another schematic diagram when the first communication unit and the second communication unit in the communication device provided by the embodiment of the application perform the IO attribute information synchronization is shown in FIG. 2. Figure 4 As shown in FIG. 2, the second communication unit can acquire the second IO attribute information preconfigured through the second interface, encapsulate the second IO attribute information into second IO messages by the second control module, perform a downlink request second IO message by the second control module, convert the second IO message into a coded signal by the second control module, and send the coded signal to the first communication unit through the second input and output module and the second transmission module.

[0097] Optionally, continuing to refer to FIG. 2, Figure 4As shown, the first communication unit receives the encoded signal through the first input / output module and the first transmission module, parses the encoded signal through the first control module, parses the first IO message through the first control module to obtain the first IO attribute information, and configures the first interface according to the first IO attribute information.

[0098] Optionally, continuing to refer to Figure 4 As shown, the first communication unit can also send a control message (Good CRC) to the second communication unit to indicate that the second IO message has been normally received, so that the second communication unit determines that the IO attribute synchronization between the second communication unit and the first communication unit has been completed through the second control module after receiving the control message.

[0099] Optionally, Figure 5 Another schematic diagram of the first communication unit and the second communication unit in the communication device provided by the embodiment of the present application when performing IO state information synchronization is provided, referring to Figure 5 As shown, the second communication unit can obtain the second IO state information through the second interface, pack the second IO state information into a second IO message through the second control module, execute a downlink request for the second IO message through the second control module, convert the second IO message into an encoded signal through the second control module, and send the encoded signal to the first communication unit through the second input / output module and the second transmission module.

[0100] Optionally, continuing to refer to Figure 5 As shown, the first communication unit receives the encoded signal through the first input / output module and the first transmission module, parses the encoded signal through the first control module, parses the first IO message through the first control module to obtain the first IO state information, and configures the first interface according to the first IO state information.

[0101] Optionally, continuing to refer to Figure 5 As shown, the first communication unit can also send a control message (Good CRC) to the second communication unit to indicate that the second IO message has been normally received, so that the second communication unit determines that the IO state synchronization between the second communication unit and the second communication unit has been completed through the second control module after receiving the control message.

[0102] The second IO attribute information and the second IO state information sent by the mobile terminal are acquired through the second interface, the second IO attribute information and the second IO state information are encapsulated into a second IO message by the second control module, and the second IO message is sent to the first communication unit through the second input and output module and the second transmission module, so that the first communication unit adjusts the interface information of the first interface according to the second IO message, the integrity and consistency of data can be maintained in the data reading and writing process, meanwhile, the collapse or unstable situation caused by the inconsistency of input and output operations of the mobile broadband device and the mobile terminal is reduced, and the overall performance of the communication device provided in the embodiment of the application is ensured.

[0103] In a possible implementation, the first communication unit is specifically configured to:

[0104] The first transmission data from the mobile broadband device is received through the first interface, the first transmission data is encoded by the first control module to obtain first encoded data, and the first encoded data is sent to the second communication unit through the first input and output module and the first transmission module in sequence.

[0105] Optionally, after the mobile broadband device accesses the communication device provided in the embodiment of the application, the first communication unit receives the first transmission data from the mobile broadband device through the first interface, encodes the first transmission data by the first control module to obtain first encoded data, and sends the first encoded data to the second communication unit through the first input and output module and the first transmission module in sequence.

[0106] The first communication unit is further specifically configured to receive second encoded data from the second communication unit through the first transmission module and the first input and output module in sequence, decode the second encoded data by the first control module to obtain second transmission data, and send the second transmission data to the mobile broadband device through the first interface.

[0107] Optionally, after the mobile terminal accesses the communication device provided in the embodiment of the application, the first communication unit can further receive second encoded data from the second communication unit through the first transmission module and the first input and output module in sequence, decode the second encoded data by the first control module to obtain second transmission data, and send the second transmission data to the mobile broadband device through the first interface.

[0108] In a possible implementation, the second communication unit is specifically configured to:

[0109] The second transmission data from the mobile terminal is received through the second interface, the second transmission data is encoded by the second control module to obtain second encoded data, and the second encoded data is sent to the first communication unit through the second input and output module and the second transmission module in sequence.

[0110] Optionally, the second communication unit can receive the second transmission data from the mobile terminal through the second interface, encode the second transmission data through the second control module to obtain second encoded data, and send the second encoded data to the first communication unit through the second input / output module and the second transmission module in sequence.

[0111] The second communication unit is also specifically configured to receive the first encoded data from the first communication unit through the second transmission module and the second input / output module in sequence, decode the second encoded data through the second control module to obtain the first transmission data, and send the first transmission data to the mobile terminal through the second interface.

[0112] Optionally, the second communication unit can receive the first encoded data from the first communication unit through the second transmission module and the second input / output module in sequence, decode the second encoded data through the second control module to obtain the first transmission data, and send the first transmission data to the mobile terminal through the second interface.

[0113] Figure 6 Another structural schematic diagram of the communication device provided by the embodiment of the present application.

[0114] In a possible implementation manner, referring to FIG. 1, on the basis of FIG. 1, the first communication unit further includes a first high-speed transmission module, and the second communication unit further includes a second high-speed transmission module. Figure 6 Figure 1

[0115] Optionally, a third end of the first interface is connected with a third end of the first input / output module, a third end of the second interface is connected with a third end of the second input / output module, one end of the first high-speed transmission module is connected with a fourth end of the first interface, the other end of the first high-speed transmission module is connected with a third end of the first transmission module, one end of the second high-speed transmission module is connected with a fourth end of the second interface, and the other end of the second high-speed transmission module is connected with a third end of the second transmission module.

[0116] ​​Specifically, the first high-speed transmission module and the second high-speed transmission module can be a USB / PCIe repeater, the first high-speed transmission module can also be connected with a Serial (such as: I2C) port of the first control module, the second high-speed transmission module can also be connected with a Serial (such as: I2C) port of the second control module, through the cooperation between the first control module and the first high-speed transmission module, and through the cooperation between the second control module and the second high-speed transmission module, the in-band data can be conditioned and equalized, and the transmission distance of the USB / PCIe bus can be extended, the transmission quality when the communication device provided by the embodiment of the application performs data transmission is improved, and faults in data transmission can be found and reported in time, ensuring the continuity and stability of data transmission.

[0117] The first communication unit is also configured to send data from the mobile broadband device to the second communication unit and send data from the second communication unit to the mobile broadband device through the first high-speed transmission module and the first transmission module.

[0118] Optionally, the first communication unit can send in-band data from the mobile broadband device to the second communication unit and send in-band data from the second communication unit to the mobile broadband device through the first high-speed transmission module and the first transmission module.

[0119] The second communication unit is also configured to send data from the mobile terminal to the first communication unit and send data from the first communication unit to the mobile terminal through the second high-speed transmission module and the second transmission module.

[0120] Optionally, the second communication unit can send in-band data from the mobile terminal to the first communication unit and send in-band data from the first communication unit to the mobile terminal through the second high-speed transmission module and the second transmission module.

[0121] In a possible implementation, the first communication unit is specifically configured to receive third transmission data from the mobile broadband device through the first interface, and send the third transmission data to the second communication unit and send fourth transmission data from the second communication unit to the mobile broadband device through the first transmission module and the first high-speed transmission module.

[0122] Optionally, the first communication unit can receive third transmission data from the mobile broadband device through the first interface, and after processing the third transmission data through the first high-speed transmission module, such as equalization and de-emphasis of data, send the third transmission data to the second communication unit through the first transmission module, and send fourth transmission data from the second communication unit to the mobile broadband device through the first high-speed transmission module.

[0123] Optionally, the second communication unit can receive fourth transmission data from the mobile terminal through the second interface, and send the fourth transmission data to the first communication unit through the second high-speed transmission module after performing data equalization and de-emphasis processing on the fourth transmission data, and send third transmission data from the first communication unit to the mobile terminal through the second high-speed transmission module. The third transmission data and the fourth transmission data are both in-band data.

[0124] Figure 7 Another structure schematic diagram of the communication device provided by the embodiment of the application is provided.

[0125] In a possible implementation manner, referring to Figure 7 , on the basis of Figure 6 , the first communication unit further includes a third interface connected with the first control module.

[0126] Exemplarily, the third interface can be a Type-C interface, one end of the third interface is connected with the first control module, and specifically, the third interface can be connected with a USB interface on the first control module, and the other end of the third interface is connected with the host computer, where the host computer can be the mobile terminal.

[0127] The first communication unit is further configured to acquire first state data of the first communication unit in the data transmission process through the first input and output module, and send the first state data to the mobile terminal through the third interface.

[0128] Optionally, the first input and output module can monitor the first state data of the first communication unit in the data transmission process, so that the first communication unit can collect the first state data of the first communication unit through the third interface, the first control module and the first input and output module. The first state data can be current, voltage, power and IO state information of the first communication unit in the data transmission process.

[0129] The first communication unit is further configured to acquire second state data of the second communication unit through the second input and output module, the second transmission module and the first transmission module, and send the first state data to the mobile terminal through the third interface.

[0130] Optionally, the second input and output module can monitor the second state data of the second communication unit in the data transmission process, so that the first communication unit can collect the second state data of the second communication unit through the third interface, the first control module, the first input and output module, the first transmission module, the second transmission module and the second input and output module.

[0131] The second state data can be information such as current, voltage, power, and IO state of the second communication unit in the data transmission process.

[0132] By setting the third interface in the first communication unit, the communication device provided in the embodiments of the present application can access the physical detection device for analysis when the mobile broadband device has a problem in the data transmission process, thereby helping to ensure correct communication and data exchange between the mobile broadband device and the mobile terminal.

[0133] In a possible implementation, continuing to refer to Figure 7 As shown in the figure, the first communication unit is further configured to perform firmware configuration on the first high-speed transmission module through the third interface, and the second communication unit is further configured to perform firmware configuration on the second high-speed transmission module through the third interface.

[0134] Optionally, the host computer can send firmware configuration information to the first communication unit through the third interface, so that the first communication unit can perform firmware configuration on the first high-speed transmission module through the first control module, so that the first high-speed transmission module can perform data equalization and de-emphasis processing.

[0135] Optionally, the host computer can send firmware configuration information to the second communication unit through the third interface, so that the second communication unit can perform firmware configuration on the second high-speed transmission module through the second control unit, so that the second high-speed transmission module can perform data equalization and de-emphasis processing. The firmware configuration information can include multiple sets of signal conditioning parameters such as PCB board material and Type-C cable length of the first communication unit and the second communication unit.

[0136] By performing firmware configuration on the first high-speed transmission module through the third interface and performing firmware configuration on the second high-speed transmission module through the third interface, the communication device provided in the embodiments of the present application can be flexibly adjusted during research and development debugging, thereby improving the overall performance of the communication device provided in the embodiments of the present application.

[0137] Exemplarily, Figure 8 Another structure diagram of the communication device provided in the embodiments of the present application is shown in FIG. 6. Figure 8 As shown in the figure, the I2C port, Serial (I2C) port, Driver (SPI) port, ADC port, and IRQ port of the first control module are connected with the first input and output module respectively, the I / O port of the first control module is connected with the first interface, the Serial (I2C) port of the first control module is connected with the first high-speed transmission module, the first input and output module is connected with the CC1, CC2, VBUS, and SUB pins of the first transmission module, and the USB port of the first control module is connected with the third interface.

[0138] By way of example, continuing to refer to Figure 8 As shown, the I2C port, Driver (SPI) port, ADC port and IRQ port of the second control module are connected with the second input / output module respectively, the Serial (I2C) port of the second control module is connected with the second high-speed transmission module, and the CC1, CC2, VBUS and SUB pins of the second input / output module are connected with the second transmission module.

[0139] The above merely illustrates the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of the changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application.

Claims

1. A communication device, characterized in that: include: a first communication unit and a second communication unit; The first communication unit includes a first interface, a first control module, a first input / output module, and a first transmission module connected in sequence; The second communication unit includes a second interface, a second control module, a second input and output module, and a second transmission module connected in sequence; The first communication unit is configured to determine, when a mobile broadband device is inserted into the first interface, first IO attribute information and first IO state information of the mobile broadband device, and send the first IO attribute information and the first IO state information to the second communication unit, so that the second communication unit adjusts interface information of the second interface according to the first IO attribute information and the first IO state information; The second communication unit is configured to determine second IO attribute information and second IO status information of the mobile terminal when the mobile terminal is inserted into the second interface, and send the second IO attribute information and the second IO status information to the first communication unit, so that the first communication unit adjusts interface information of the first interface according to the second IO attribute information and the second IO status information, where the interface information includes the IO attribute information and the IO status information; After the first interface and the second interface are adjusted to interfaces having the same IO attribute information and the same IO state information, the first communication unit is configured to send data from the mobile broadband device to the second communication unit and send data from the second communication unit to the mobile broadband device through the first interface, the first control module, the first input / output module, and the first transmission module; The second communication unit is configured to send data from the mobile terminal to the first communication unit and send data from the first communication unit to the mobile terminal through the second interface, the second control module, the second input / output module, and the second transmission module.

2. The communication device according to claim 1, wherein The first communication unit is further configured to adjust the state of a first target pin of the first transmission module to a target state before sending data to the second communication unit, so that the state of a second target pin connected to the first target pin on the second transmission module is correspondingly adjusted to the target state; The second communication unit is also used to adjust the state of the second target pin of the second transmission module to the target state before sending data to the first communication unit, so that the state of the first target pin connected to the second target pin on the first transmission module is correspondingly adjusted to the target state.

3. The communication device according to claim 1, wherein The first communication unit is specifically configured to: The first IO attribute information and the first IO status information sent by the mobile broadband device are obtained through the first interface, the first IO attribute information and the first IO status information are encapsulated into a first IO message through the first control module, and the first IO message is sent to the second communication unit through the first input / output module and the first transmission module, so that the second communication unit adjusts the interface information of the second interface according to the first IO message.

4. The communication device according to claim 1, wherein: The second communication unit is specifically configured to: The second IO attribute information and the second IO status information sent by the mobile terminal are obtained through the second interface, the second IO attribute information and the second IO status information are encapsulated into a second IO message through the second control module, and the second IO message is sent to the first communication unit through the second input / output module and the second transmission module, so that the first communication unit adjusts the interface information of the first interface according to the second IO message. The communication device according to claim 1 , wherein: The first communication unit is specifically configured to: receiving first transmission data from a mobile broadband device through the first interface, encoding the first transmission data through the first control module to obtain first encoded data, and sequentially sending the first encoded data to the second communication unit through the first input / output module and the first transmission module; The first communication unit is further specifically configured to receive second encoded data from the second communication unit through the first transmission module and the first input / output module in sequence, decode the second encoded data through the first control module to obtain second transmission data, and send the second transmission data to the mobile broadband device through the first interface. The communication device according to claim 1 , wherein: The second communication unit is specifically configured to: receiving second transmission data from the mobile terminal through the second interface, encoding the second transmission data through the second control module to obtain second encoded data, and sequentially sending the second encoded data to the first communication unit through the second input and output module and the second transmission module; The second communication unit is also specifically used to receive the first encoded data from the first communication unit through the second transmission module and the second input and output module in sequence, decode the second encoded data through the second control module to obtain first transmission data, and send the first transmission data to the mobile terminal through the second interface.

7. The communication device according to any one of claims 1 to 6, characterized in that: The first communication unit further includes: a first high-speed transmission module, and the second communication unit further includes: a second high-speed transmission module; The first communication unit is further configured to transmit data from the mobile broadband device to the second communication unit via the first high-speed transmission module and the first transmission module, and transmit data from the second communication unit to the mobile broadband device; The second communication unit is further configured to send data from the mobile terminal to the first communication unit through the second high-speed transmission module and the second transmission module, and to send data from the first communication unit to the mobile terminal.

8. The communication device according to claim 7, wherein: The first communication unit is specifically configured to receive third transmission data from the mobile broadband device through the first interface, send the third transmission data to the second communication unit through the first transmission module and the first high-speed transmission module, and send fourth transmission data from the second communication unit to the mobile broadband device; The second communication unit is specifically used to receive fourth transmission data from the mobile terminal through the second interface, and send the fourth transmission data to the first communication unit through the second transmission module and the second high-speed transmission module, and send the third transmission data from the first communication unit to the mobile terminal.

9. The communication device according to claim 7, wherein: The first communication unit further includes: a third interface; The third interface is connected to the first control module; The first communication unit is further configured to obtain first status data of the first communication unit during data transmission through the first input / output module, and send the first status data to the mobile terminal through the third interface; The first communication unit is further configured to obtain second status data of the second communication unit through the second input / output module, the second transmission module, and the first transmission module, and send the first status data to the mobile terminal through the third interface.

10. The communication device according to claim 9, wherein: The first communication unit is further configured to perform firmware configuration on the first high-speed transmission module through the third interface, and the second communication unit is further configured to perform firmware configuration on the second high-speed transmission module through the third interface.

Citation Information

Patent Citations

  • Data card and communication method and system thereof

    CN102869125A

  • Information transmission method and device related to MBB equipment and power consumption control system

    CN118158785A