Data transmission method, data transmission apparatus, electronic device and storage medium
By adopting a data transmission frame structure in the cellular communication module to directly transmit network selection information, operating mode information, and frequency band information, the problem of insufficient data transmission speed in the cellular communication module is solved, and fast and efficient transmission of antenna dynamic tuning is achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2026-01-20
- Publication Date
- 2026-07-30
AI Technical Summary
In existing technologies, the data transmission speed of cellular communication modules cannot meet the demands of rapid changes and large amounts of information, making dynamic antenna tuning difficult.
The data transmission frame structure includes start flag information, target address information, read/write operation information, register address information, and a first data structure. The first data structure contains the network selection information, operating mode information, and frequency band information of the cellular communication module. This information is transmitted directly to improve the transmission speed.
By directly transmitting the network selection information, operating mode information, and frequency band information of the cellular communication module, the data transmission speed is improved, the need for dynamic antenna tuning is met, and system complexity and mutual interference are reduced.
Smart Images

Figure CN2026073606_30072026_PF_FP_ABST
Abstract
Description
Data transmission methods, transmission devices, electronic devices and storage media
[0001] Cross-reference of related applications
[0002] This application claims priority to Chinese Patent Application No. 202510114304.9, filed on January 24, 2025, entitled "Data Transmission Method, Transmission Apparatus, Electronic Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application belongs to the field of communication technology, and specifically relates to a data transmission method, transmission device, electronic device, and storage medium. Background Technology
[0004] In related technical solutions, modules such as cellular third-generation mobile communication technology (3G), long-term evolution of general mobile communication technology (LTE), fifth-generation mobile communication technology (5G), satellite communication, wireless network communication technology, Bluetooth, and global positioning system (GPS) have become standard configurations for electronic devices.
[0005] As electronic devices continue to improve and become thinner, modules such as 3rd-Generation (3G), Long Term Evolution (LTE), 5th Generation Mobile Communication Technology (5G), satellite communication, wireless network communication technology, Bluetooth, and Global Positioning System (GPS) will share radio frequency paths and antennas.
[0006] During antenna dynamic tuning, the information that the cellular communication module needs to transmit changes rapidly and is of a large amount. Existing interface types have slow transmission speeds and cannot meet the rapid data transmission requirements of the cellular communication module. Therefore, they cannot meet the needs of antenna dynamic tuning. Summary of the Invention
[0007] This application provides a data transmission method, transmission device, electronic device, and storage medium that can solve the problem of the need for fast data transmission in cellular communication modules.
[0008] In a first aspect, embodiments of this application provide a data transmission method, comprising: determining a data transmission frame, the data transmission frame including start flag information, target address information, read / write operation information, register address information and a first data structure, the first data structure including network selection information of a cellular communication module, operating mode information of a cellular communication module and frequency band information of a cellular communication module; and sending the data transmission frame.
[0009] Secondly, embodiments of this application provide a data transmission apparatus, comprising: a determining module, configured to determine a data transmission frame, the data transmission frame including start flag information, target address information, read / write operation information, register address information, and a first data structure; the first data structure including network selection information of a cellular communication module, operating mode information of a cellular communication module, and frequency band information of a cellular communication module; and a transmitting module, configured to transmit the data transmission frame.
[0010] Thirdly, embodiments of this application provide an electronic device, including: an antenna assembly, the antenna assembly including at least one antenna; a tuning assembly, the tuning assembly including at least one tuner, each tuner connected to a corresponding antenna; a signal processing module, the signal processing module including at least one of a short-range communication submodule and a satellite communication submodule and a sensor submodule; a cellular communication module; and a logic processing module, respectively connected to the signal processing module and the cellular communication module, wherein the cellular communication module communicates with the logic processing module using a data transmission method as described in any of the first aspects; wherein the logic processing module is used to determine control parameters based on first operating state information of the signal processing module and second operating state information of the cellular communication module, and to control the tuner to operate according to the control parameters.
[0011] Fourthly, embodiments of this application provide another electronic device, which includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions implementing the steps of the method as described in the first aspect when executed by the processor.
[0012] Fifthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method as described in the first aspect.
[0013] In a sixth aspect, embodiments of this application provide a chip, which includes a processor and a communication interface, the communication interface and the processor being coupled together, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0014] In a seventh aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method as described in the first aspect.
[0015] In this application embodiment, a data transmission method is proposed. In this data transmission method, the determined data transmission frame includes start flag information, target address information, read / write operation information, register address information, and a first data structure. The first data structure includes network selection information of the cellular communication module, operating mode information of the cellular communication module, and frequency band information of the cellular communication module. Therefore, when sending a data transmission frame, the network selection information, operating mode information, and frequency band information of the cellular communication module can be transmitted together. Compared with existing interface types, this improves the data transmission speed in the cellular communication module, thereby meeting the needs of antenna dynamic tuning. Attached Figure Description
[0016] Figure 1 shows a flowchart of the data transmission method provided in an embodiment of this application;
[0017] Figure 2 shows a schematic diagram of a data transmission frame proposed in an embodiment of this application;
[0018] Figure 3 shows a schematic diagram of a data transmission frame proposed in an embodiment of this application;
[0019] Figure 4 shows a schematic diagram of a data transmission frame proposed in an embodiment of this application;
[0020] Figure 5 shows a schematic block diagram of the data transmission device proposed in an embodiment of this application;
[0021] Figure 6 shows one of the topological schematic diagrams of the electronic device proposed in the embodiments of this application;
[0022] Figure 7 shows a second topological schematic diagram of the electronic device proposed in the embodiments of this application;
[0023] Figure 8 shows an interactive schematic diagram of the electronic device state proposed in an embodiment of this application;
[0024] Figure 9 shows an interactive schematic diagram of the electronic device status output proposed in an embodiment of this application;
[0025] Figure 10 shows a schematic block diagram of the cellular communication module proposed in an embodiment of this application;
[0026] Figure 11 is a schematic block diagram of an electronic device in an embodiment of this application;
[0027] Figure 12 is a schematic diagram of the hardware structure of the electronic device in the embodiment of this application.
[0028] The correspondence between the reference numerals and component names in Figures 6 and 7 is as follows: 600 Electronic device, 602 Antenna assembly, ANT antenna, 604 Tuning assembly, 6042 Tuner, 606 Signal processing module, 6062 Short-range communication submodule, 6064 Satellite communication submodule, 6066 Sensor submodule, 608 Cellular communication module, 610 Logic processing module, 612 Subscriber identification card module, 614 Application processing module. Detailed Implementation
[0029] The embodiments of this application will now be clearly described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of, and not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0030] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0031] The data transmission method, transmission device, electronic device, and storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0032] In one embodiment, as shown in Figures 1, 2, 3, and 4, a data transmission method is proposed, comprising:
[0033] Step 102: Determine the data transmission frame. The data transmission frame includes start flag information, target address information, read / write operation information, register address information, and a first data structure. The first data structure includes the network selection information of the cellular communication module, the operating mode information of the cellular communication module, and the frequency band information of the cellular communication module.
[0034] In some embodiments of this application, the data transmission frame 200 can be understood as a data frame used for data transmission. In this data frame, the start flag information 202 is used to indicate the start of sending cellular status information, i.e., the first data structure. The target address information 204 indicates the identification information of the receiving device. The read / write operation information 206 can be read / write bits, used to configure read and write states so that subsequent data can be judged for consistency. The register address information 208 is used to indicate the location where the cellular status information is stored.
[0035] Among them, the network selection information RAT of the cellular communication module, the working mode information TRX of the cellular communication module, and the frequency band information Band of the cellular communication module can be understood as three pieces of information in the first data structure 210. The network selection information of the cellular communication module is used to indicate the network standard selected by the cellular communication module, the working mode information of the cellular communication module indicates the current working mode of the cellular communication module, and the frequency band information of the cellular communication module indicates the current working frequency band of the cellular communication module.
[0036] Step 104: Send data transmission frame.
[0037] In this application embodiment, a data transmission method is proposed. In this data transmission method, the determined data transmission frame includes start flag information, target address information, read / write operation information, register address information, and a first data structure. The first data structure includes network selection information of the cellular communication module, operating mode information of the cellular communication module, and frequency band information of the cellular communication module. Therefore, when sending a data transmission frame, the network selection information, operating mode information, and frequency band information of the cellular communication module can be transmitted together. Compared with existing interface types, this improves the data transmission speed in the cellular communication module, thereby meeting the needs of antenna dynamic tuning.
[0038] Specifically, in the data transmission scheme of general-purpose input / output (GPIO), one IO can only send a certain state of a frequency band. If it is necessary to transmit network selection information, transmit / receive mode information and frequency band information at the same time, several IOs need to be combined to achieve this.
[0039] In the technical solution of this invention, the network selection information, operating mode information, and frequency band information of the cellular communication module can be sent to the target module at once, as described in the logic processing module below, which greatly expands the amount of information and thus meets the needs of antenna dynamic tuning.
[0040] In some embodiments of this application, the first data structure 210 further includes: reservation information Res, which is information for reserving storage data.
[0041] In this embodiment, reserved information Res is partitioned in the first data structure 210 to provide the possibility of rapid antenna tuning for the coexistence of subsequent complex communication modules.
[0042] Specifically, the reserved information Res is used as information for reserved storage of data, which can be used according to the data transmission needs of the cellular communication module. Obviously, the setting of the reserved information can meet the control needs based on the cellular communication module for a period of time in the future.
[0043] In some embodiments of this application, the reserved information can be used for interfaces provided by future new technologies to ensure that the data transmission method proposed in this invention is compatible with new technologies and thus meets the development needs of new technologies.
[0044] In some embodiments of this application, the start flag information 202, target address information 204, read / write operation information 206, register address information 208, and first data structure 210 are set sequentially. The data transmission frame 200 further includes: a first check bit 212, located between the register address information 208 and the first data structure 210, which is used to check the start flag information 202, target address information 204, read / write operation information 206, and register address information 208; and / or a second check bit 214, located after the first data structure 210, which is used to check the first data structure 210.
[0045] In this embodiment, a first check bit 212 is set so as to verify the start flag information 202, the target address information 204, the read / write operation information 206, and the register address information 208, so that the first check bit 212 can be used to determine whether there is an abnormality in the data transmission before and after the data transmission frame 200 is transmitted.
[0046] During this process, anomalies can be detected in a timely manner in the event of abnormal data transmission frames, especially in the event of abnormal transmission of start flag information 202, target address information 204, read / write operation information 206, and register address information 208.
[0047] Similarly, a second check bit 214 is set so that the first data structure 210 can be checked using the second check bit 214. During this process, before and after the transmission of the data transmission frame 200, the second check bit 214 can be used to determine whether there is an abnormality in the first data structure 210, and then the abnormal data transmission frame can be processed if there is an abnormality.
[0048] In some embodiments of this application, the first check bit and the second check bit are parity check bits.
[0049] Parity bits are often used in error detection in computer hardware, while parity checks are typically used in data communication to ensure data validity.
[0050] In this embodiment, the use of parity bits can not only achieve error detection, but also reduce the proportion of the data corresponding to the first and second parity bits in the total data volume of the data transmission frame, so that the data transmission frame can transmit data to the maximum extent.
[0051] In some embodiments of this application, network selection information is used to store first data representing one of the following network modes: WCDMA, LTE, NR, NTN.
[0052] Wideband Code Division Multiple Access (W-CDMA) is a type of 3G cellular network.
[0053] Among them, Long Term Evolution (LTE) is the long-term evolution of the UMTS (Universal Mobile Telecommunications System) technical standard developed by the 3GPP (The 3rd Generation Partnership Project) organization.
[0054] Among them, 5G New Radio (5GNR) is a global 5G standard based on a brand-new air interface design using Orthogonal Frequency Division Multiplexing (OFDM) technology.
[0055] Among them, Non-Terrestrial Network (NTN) technology is one of the technological directions for direct satellite connection between mobile phones and satellites.
[0056] In some embodiments of this application, the operating mode information of the cellular communication module is used to store second data representing one of the following modes: transmit mode, receive mode, and transmit / receive mode.
[0057] In this embodiment, the second data can be used to represent the operating mode of the cellular communication module. During this process, the operating status of the cellular communication module can be known by using data transmission frames, thereby meeting the needs of dynamic antenna tuning.
[0058] In some embodiments of this application, the frequency band information of the cellular communication module is used to store third data representing one of the following frequency bands: B1 / B2 / B5 / B8 / B39 / B40 / B41…, n1 / n41 / n78…, or ENDC:B3+n78.
[0059] Specifically, B1 / B2 / B5 / B8 / B39 / B40 / B41…, n1 / n41 / n78…, or ENDC:B3+n78 are the frequency bands that the cellular communication module may operate on.
[0060] ENDC, short for E-UTRAN New Radio-Dual Connectivity, refers to a technical solution that uses both 4G and 5G in a 5G network.
[0061] In some embodiments of this application, as shown in Figures 2 and 3, the format of the data transmission frame includes start flag information 202, target address information 204, read / write operation information 206, register address information 208, first data structure 210, first check bit 212, second check bit 214, and stop flag bit BPC.
[0062] The start flag information, also known as the start flag bit, is used to indicate that the high-speed receiver has started transmitting cellular status information.
[0063] The target address information, also known as the target address, indicates the identity information of the receiving device that needs to be matched.
[0064] Read / write operation information, also known as read / write bits, is used to configure read and write states separately, which facilitates subsequent data consistency checks.
[0065] Register address information, also known as register address, is used to indicate where the receiver can store cellular status information.
[0066] Among them, the network selection information for the cellular communication module can be selected as WCDMA / LTE / NR / NTN.
[0067] The operating mode information of the cellular communication module can be selected as Tx only / Rx only / TRx.
[0068] Where Tx only indicates the sending mode, Rx only indicates the receiving mode, and TRx indicates the sending and receiving mode.
[0069] The frequency band information for the cellular communication module can be selected as B1 / B2 / B5 / B8 / B39 / B40 / B41…, n1 / n41 / n78…, or ENDC:B3+n78.
[0070] Among them, B1, B2, B5, B8, B39, B40, B41, n1, n41, n78, B3 and n78 represent different frequency bands.
[0071] The data transmission method provided in this application can be executed by a data transmission device. This application uses a data transmission device executing the data transmission method as an example to illustrate the data transmission device provided in this application.
[0072] In some embodiments of this application, as shown in FIG5, a data transmission device 500 is provided, including: a determining module 502, used to determine a data transmission frame, the data transmission frame including start flag information, target address information, read / write operation information, register address information and a first data structure; the first data structure includes network selection information of the cellular communication module, operating mode information of the cellular communication module and frequency band information of the cellular communication module; and a transmitting module 504, used to transmit the data transmission frame.
[0073] In this application embodiment, a data transmission device 500 is proposed, wherein the determined data transmission frame includes start flag information, target address information, read / write operation information, register address information, and a first data structure. The first data structure includes network selection information of the cellular communication module, operating mode information of the cellular communication module, and frequency band information of the cellular communication module. Therefore, when sending a data transmission frame, the network selection information, operating mode information, and frequency band information of the cellular communication module can be transmitted together. Compared with existing interface types, this improves the data transmission speed in the cellular communication module, thereby meeting the needs of antenna dynamic tuning.
[0074] In some embodiments of this application, the first data structure further includes: reserved information, which is information for reserving data for storage.
[0075] In some embodiments of this application, the start flag information, target address information, read / write operation information, register address information, and first data structure are set sequentially. The data transmission frame further includes: a first check bit located between the register address information and the first data structure, the first check bit being used to verify the start flag information, target address information, read / write operation information, and register address information; and / or a second check bit located after the first data structure, the second check bit being used to verify the first data structure.
[0076] In some embodiments of this application, the first check bit and the second check bit are parity check bits.
[0077] In some embodiments of this application, the network selection information of the cellular communication module is used to store first data representing one of the following network modes: WCDMA, LTE, NR, NTN.
[0078] In some embodiments of this application, the operating mode information of the cellular communication module is used to store second data representing one of the following modes: transmit mode, receive mode, and transmit / receive mode.
[0079] The data transmission device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific type of device.
[0080] The data transmission device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0081] The data transmission device provided in this application embodiment can implement all the processes implemented in the data transmission method embodiment of FIG1 and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0082] As shown in Figure 6, this application embodiment provides an electronic device 600, including: an antenna assembly 602, the antenna assembly 602 including at least one antenna ANT; a tuning assembly 604, the tuning assembly 604 including at least one tuner 6042, each tuner 6042 being connected to a corresponding antenna ANT; a signal processing module 606, the signal processing module 606 including at least one of a short-range communication submodule 6062 and a satellite communication submodule 6064, and a sensor submodule 6066; a cellular communication module 608; and a logic processing module 610, connected to the signal processing module 606 and the cellular communication module 608 respectively, the cellular communication module 608 communicating with the logic processing module 610 using a data transmission method as described in any of the first aspects; wherein, the logic processing module 610 is used to determine control parameters based on the first operating state information of the signal processing module 606 and the second operating state information of the cellular communication module 608, and to control the tuner 6042 to operate according to the control parameters.
[0083] In this embodiment, the second operating status information of the cellular communication module 608 can be transmitted using a data transmission method as described in any of the first aspects, so that the logic processing module 610 can determine control parameters based on the first operating status information of the signal processing module 606 and the second operating status information of the cellular communication module 608, and control the tuner 6042 to operate according to the control parameters.
[0084] During this process, when tuning the antenna (ANT), it is necessary to comprehensively consider the performance and requirements of multiple modules, optimize the system, and achieve the optimal configuration for antenna (ANT) tuning.
[0085] In related technical solutions, in scenarios where multiple modules coexist, the dynamic tuning of the antenna (ANT) requires complex, detailed, and targeted verification. For example, the control between multiple modules is complex, different modules interfere with each other, and the integration requirements are also high, which means there are problems of complexity, space constraints, and mutual interference.
[0086] Specifically, regarding complexity, tuning multiple antenna (ANT) modules requires independent tuning of each module, increasing the system's complexity and cost.
[0087] Regarding space constraints, in some situations, tuning multiple antenna (ANT) modules can become difficult due to space limitations, especially in small devices or highly integrated systems.
[0088] Regarding mutual interference, the ANT tuning of multiple modules' antennas needs to ensure that they do not interfere with each other; otherwise, it will lead to a decrease in signal quality or even communication interruption.
[0089] Therefore, when performing antenna ANT tuning, it is necessary to comprehensively consider the performance and requirements of multiple modules and optimize the system. For example, the timing requirements of the cellular communication subsystem are very strict, while the timing requirements of the short-range communication subsystem and the satellite navigation subsystem are different from those of the cellular communication subsystem. It is necessary to aggregate and judge through independent modules, and then output the optimal configuration for antenna ANT tuning.
[0090] In the embodiments of this application, since the data transmission method proposed in the first aspect is used to transmit the second operating status information of the cellular communication module 608, the second operating status information of the cellular communication module 608 can be transmitted quickly. Therefore, it provides the possibility for system optimization and optimal configuration of antenna ANT tuning that requires comprehensive consideration of the performance and requirements of multiple modules.
[0091] Specifically, according to known communication module types, interfaces may include inter-integrated circuit (I2C) interfaces, inter-integrated circuit sound (I2S) interfaces, pulse code modulation (PCM) interfaces, universal asynchronous receiver / transmitter (UART) interfaces, mobile industry processor interfaces (MIPI), general-purpose input / output (GPIO) interfaces, subscriber identity module (SIM) interfaces, and / or universal serial bus (USB) interfaces, etc.
[0092] However, none of the above interface types can meet the high-speed switching requirements of the cellular communication module 608. A detailed comparison is as follows:
[0093] As can be seen from the above, not all interfaces are suitable for signal synchronization, and not all modules' signals are suitable for the same interface type.
[0094] The Global Navigation Satellite System (GNSS) comprises one or more satellite constellations and the augmentation systems required to support specific tasks.
[0095] Wideband Coherent Neural Networks (WCN) is a type of neural network used for processing wireless communications.
[0096] As shown in Figure 7, the standard, frequency band, TRx status, etc. of cellular communication change rapidly and involve a large amount of information, which cannot be transmitted through communication types such as I2C and GPIO. Therefore, a new proprietary standard is proposed to transmit this information at high speed, that is, to use the data transmission method proposed in this application for transmission.
[0097] Specifically, when using the Mobile Industry Processor Interface (MIPI) to transmit cellular communication standards, frequency bands, and TRx status, it is necessary to parse mipidata and deduce which frequency band the information belongs to based on the data. This deduction process consumes tens of microseconds.
[0098] In the embodiments of this application, the cellular communication standard, frequency band, and TRx status can be directly sent to the logic processing module 610 so that the logic processing module 610 can store them in the coexistence chip and use them to make logic status judgments in conjunction with the status of other modules. Since the cellular communication standard, frequency band, and TRx status can be directly transmitted using data transmission frames without the need for reverse calculation, the communication speed is faster.
[0099] In some embodiments of this application, the electronic device 600 further includes: a user identification card module 612; an application processing module 614, which is connected to the user identification card module 612, the sensor submodule 6066, and the logic processing module 610, respectively. The logic processing module 610 is connected to the sensor submodule 6066 through the application processing module 614. The logic processing module 610 is also used to: receive user identification card information sent by the user identification card module 612 through the application processing module 614; determine a frequency band set based on the user identification card information; and determine control parameters according to the first operating status information of the signal processing module 606 and the second operating status information of the cellular communication module 608. Specifically, this includes: obtaining a second configuration relationship table by filtering from a first configuration relationship table according to the frequency band set; and determining control parameters from the second configuration relationship table according to the first operating status information of the signal processing module 606 and the second operating status information of the cellular communication module 608. The first configuration relationship table includes the correspondence between the operating status information of the signal processing module 606 and the control parameters under different frequency bands.
[0100] In this embodiment, the user identification card module 612 can be used to read user identification card information, and then the frequency band set of the electronic device 600 can be determined based on the user identification card information. In order to obtain the second configuration relationship table from the first configuration relationship table based on the frequency band set, the configuration relationship table that is suitable for the frequency band set of the electronic device 600, i.e., the second configuration relationship table, can be selected from the first configuration relationship table. In this way, when determining the control parameters, the search range can be narrowed and the time required to search for the control parameters can be reduced.
[0101] In some embodiments of this application, the logic processing module 610 is further configured to: send the first operating status information of the signal processing module 606 and the second operating status information of the cellular communication module 608 to the cellular communication module 608, so that the cellular communication module 608 can send the first operating status information of the signal processing module 606 and the second operating status information of the cellular communication module 608 to the application processing module 614 for verification by the application processing module 614.
[0102] In this embodiment, the application processing module 614 verifies the first operating status information of the signal processing module 606 and the second operating status information of the cellular communication module 608 in order to determine whether the first operating status information of the signal processing module 606 and the second operating status information of the cellular communication module 608 received by the logic processing module 610 are abnormal.
[0103] During this process, if there is an anomaly in the logic processing module 610, the anomaly can be diagnosed in a timely manner, thereby improving the reliability of the electronic device 600.
[0104] In some embodiments of this application, the logic processing module 610 further includes a first storage location. The logic processing module 610 is also configured to: enable a download mode when the first storage location is empty or when the application processing module 614 stores an updated first configuration relationship table; wherein, when the download mode is enabled, the logic processing module 610 obtains the first configuration relationship table from the application processing module 614; wherein, when the first storage location is empty, the logic processing module 610 does not obtain the first configuration relationship table from the application processing module 614.
[0105] In this embodiment, the logic processing module 610 can autonomously download the first configuration relationship table based on the first storage location and whether an updated configuration relationship table exists, thereby achieving autonomous updating of the first configuration relationship table.
[0106] For example, electronic device 600 is mainly divided into five stages, namely:
[0107] In the first stage, or first step, the electronic device 600 is powered on, the logic processing module 610 is powered on, and enters self-test mode. It scans the connection status of the tuners of each front-end antenna connected to the logic processing module 610 to ensure the tuners are connected. It then informs the logic processing module 610 of its readiness via the communication structure and checks whether its internal storage unit has retrieved the logic judgment table (i.e., the first configuration relationship table) from the application processing module 614. If the logic judgment table storage is empty or the application processing module 614 has an updated version of the logic status table, it initiates download mode and downloads the logic status table from the application processing module 614.
[0108] In the second stage, or second step, the logic processing module 610 obtains the user's SIM card information through the application processing module 614, thereby determining the frequency band information set of the cellular communication module 608 used by this electronic device 600, comparing it with the configuration table built into the front-end antenna coexistence integrated chip, and confirming how many logic states can be configured.
[0109] For example, depending on the input state, there are several corresponding output MIPI control codes:
[0110] In the third stage, or third step, the logic processing module 610 calls the default state and sends the default control code to the corresponding tuner to ensure that the basic operation is normal.
[0111] The logic processing module 610 scans the input information of each module in the input register unit in real time. If the state of any module changes, it determines the control code that the tuner of the front-end antenna needs to be configured according to the latest state combination and sends it immediately.
[0112] As shown in Figures 8 and 9, the input information includes the following modules connected to the logic processing module 610: sensor submodule 6066, cellular communication module 608, short-range communication submodule 6062 (including WiFi communication and BT communication submodules), and satellite communication submodule 6064.
[0113] WiFi, or mobile hotspot, and BT, or Bluetooth, are short-range wireless communication technologies.
[0114] Among them, the Radio Navigation Satellite Service (RNSS) and the BD Application (APP), also known as the BD APP, are applications used to enable or disable the Radio Navigation Satellite Service.
[0115] In the fourth stage, or the fourth step, the signal types of the cellular communication module 608, the short-range communication submodule 6062, the positioning module, and the satellite communication submodule 6064 are successfully stored in the register of the logic processing module 610 according to the input time.
[0116] Based on the status of the aforementioned modules, the data is transmitted back to the cellular communication module 608 through the private identifier path, and then uploaded to the application processing module 614 through the module, serving as the basis for determining whether the input signal is abnormal.
[0117] In the fifth stage, or fifth step, based on the information of each sub-module stored in the input cache of the logic processing module 610, the corresponding front-end antenna tuning value is output through an internal table lookup method and sent to the tuner of the front-end antenna in MIPI format.
[0118] In some embodiments of this application, the logic processing module 610 is integrated into the cellular communication module 608.
[0119] Specifically, as shown in Figure 10, the cellular communication module 608 includes a modulation and demodulation module, and the logic processing module 610 is integrated into the modulation and demodulation module.
[0120] In this embodiment, the logic processing module 610 is integrated into the cellular communication module 608, which can improve the communication speed between the logic processing module 610 and the cellular communication module 608, and achieve fast synchronization to meet more stringent timing requirements.
[0121] Furthermore, based on the second operating status information of the cellular communication module 608, and as the first operating status information of the signal processing module 606 is updated, the antenna ANT tuning status can be adjusted in real time to optimize the performance of the electronic device 600.
[0122] The radio frequency front-end (RFFE) is the core component of the wireless communication module.
[0123] As shown in Figure 11, this application embodiment also provides an electronic device 1100, including a processor 1102 and a memory 1104. The memory 1104 stores a program or instructions that can run on the processor 1102. When the program or instructions are executed by the processor 1102, they implement the various steps of the above-described data transmission method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0124] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
[0125] Figure 12 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.
[0126] As shown in Figure 12, the electronic device 1200 includes, but is not limited to, the following components: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
[0127] Those skilled in the art will understand that the electronic device 1200 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 1210 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in Figure 12 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0128] In some embodiments of this application, the processor 1210 is used to determine a data transmission frame, the data transmission frame including start flag information, target address information, read / write operation information, register address information and a first data structure, the first data structure including network selection information of the cellular communication module, operating mode information of the cellular communication module and frequency band information of the cellular communication module; and to send the data transmission frame.
[0129] In some embodiments of this application, the first data structure further includes: reserved information, which is information for reserving data for storage.
[0130] In some embodiments of this application, the start flag information, target address information, read / write operation information, register address information, and first data structure are set sequentially. The data transmission frame further includes: a first check bit located between the register address information and the first data structure, the first check bit being used to verify the start flag information, target address information, read / write operation information, and register address information; and / or a second check bit located after the first data structure, the second check bit being used to verify the first data structure.
[0131] In some embodiments of this application, the first check bit and the second check bit are parity check bits.
[0132] In some embodiments of this application, the network selection information of the cellular communication module is used to store first data representing one of the following network modes: WCDMA, LTE, NR, NTN.
[0133] In some embodiments of this application, the operating mode information of the cellular communication module is used to store second data representing one of the following modes: transmit mode, receive mode, and transmit / receive mode.
[0134] It should be understood that, in this embodiment, the input unit 1204 may include a graphics processing unit (GPU) 12041 and a microphone 12042. The GPU 12041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1207 includes a touch panel 12071 and at least one of other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.
[0135] The memory 1209 can be used to store software programs and various data. The memory 1209 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1209 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1209 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0136] Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1210.
[0137] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described data transmission method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0138] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0139] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described data transmission method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0140] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0141] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes described in the above-described data transmission method embodiments, and achieves the same technical effects. To avoid repetition, further details are omitted here.
[0142] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the embodiments of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0144] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A data transmission method, comprising: A data transmission frame is determined, which includes start flag information, target address information, read / write operation information, register address information, and a first data structure. The first data structure includes network selection information of the cellular communication module, operating mode information of the cellular communication module, and frequency band information of the cellular communication module. Send the data transmission frame.
2. The data transmission method according to claim 1, wherein, The first data structure also includes: Reserved information, which is information reserved for storing data.
3. The data transmission method according to claim 1, wherein, The start flag information, the target address information, the read / write operation information, the register address information, and the first data structure are set sequentially, and the data transmission frame further includes: A first check bit is located between the register address information and the first data structure. This first check bit is used to verify the start flag information, the target address information, the read / write operation information, and the register address information; and / or The second check bit is located after the first data structure, and the second check bit is used to verify the first data structure.
4. The data transmission method according to claim 3, wherein, The first check bit and the second check bit are parity check bits.
5. The data transmission method according to any one of claims 1 to 4, wherein, The network selection information of the cellular communication module is used to store first data representing one of the following network modes: WCDMA, LTE, NR, NTN.
6. The data transmission method according to any one of claims 1 to 4, wherein, The operating mode information of the cellular communication module is used to store second data representing one of the following modes: Send mode, receive mode, send and receive mode.
7. A data transmission apparatus, comprising: A determination module is used to determine a data transmission frame, wherein the data transmission frame includes start flag information, target address information, read / write operation information, register address information, and a first data structure; the first data structure includes network selection information of the cellular communication module, operating mode information of the cellular communication module, and frequency band information of the cellular communication module. A sending module is used to send the data transmission frame.
8. An electronic device, comprising: Antenna assembly, the antenna assembly including at least one antenna; A tuning assembly, the tuning assembly including at least one tuner, each tuner being connected to a corresponding antenna; A signal processing module, the signal processing module comprising at least one of a short-range communication submodule and a satellite communication submodule, and a sensor submodule; Cellular communication module; A logic processing module is connected to the signal processing module and the cellular communication module respectively, and the cellular communication module communicates with the logic processing module using the data transmission method as described in any one of claims 1 to 6; The logic processing module is used to determine control parameters based on the first operating state information of the signal processing module and the second operating state information of the cellular communication module, and to control the tuner to operate according to the control parameters.
9. The electronic device according to claim 8, wherein, The electronic device also includes: User identification card module; An application processing module is connected to the user identification card module, the sensor sub-module, and the logic processing module, respectively. The logic processing module is connected to the sensor sub-module through the application processing module. The logic processing module is also used for: The application processing module receives user identification card information sent by the user identification card module. The frequency band set is determined based on the user identification card information; The step of determining the control parameters based on the first operating state information of the signal processing module and the second operating state information of the cellular communication module specifically includes: The second configuration relationship table is obtained by filtering from the first configuration relationship table based on the frequency band set; Control parameters are determined from the second configuration relationship table based on the first operating status information of the signal processing module and the second operating status information of the cellular communication module. The first configuration relationship table includes the correspondence between the working status information of the signal processing module and the control parameters under different frequency bands.
10. The electronic device according to claim 9, wherein, The logic processing module is also used for: The first operating status information of the signal processing module and the second operating status information of the cellular communication module are sent to the cellular communication module, so that the cellular communication module can send the first operating status information of the signal processing module and the second operating status information of the cellular communication module to the application processing module for verification by the application processing module.
11. The electronic device according to claim 9, wherein, The logic processing module further includes a first storage bit, and the logic processing module is further configured to: If the first storage bit is empty or the application processing module stores an updated first configuration relationship table, the download mode is enabled. When the download mode is enabled, the logic processing module obtains the first configuration relationship table from the application processing module. In the case where the first storage bit is empty, the logic processing module does not obtain the first configuration relationship table from the application processing module.
12. The electronic device according to any one of claims 8 to 11, wherein, The logic processing module is integrated into the cellular communication module.
13. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the data transmission method as claimed in any one of claims 1 to 6.
14. A readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the data transmission method as described in any one of claims 1 to 6.