Data transmission method, transmission device, electronic equipment and storage medium
By determining and sending data transmission frames containing network selection information, working mode information and frequency band information in the cellular communication module, the problem of slow transmission speed of existing interface types is solved, and the need for rapid transmission of data of cellular communication module and dynamic antenna tuning is realized.
Patent Information
- Application Number
- CN202510114304.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-06
AI Technical Summary
The existing interface type has slow transmission speed, which cannot meet the rapid data transmission requirements of cellular communication modules, resulting in the inability to meet the needs of dynamic antenna tuning.
By determining the data transmission frame, the frame includes start flag information, target address information, read and write operation information, register address information and a first data structure. The first data structure includes network selection information, working mode information and frequency band information of the cellular communication module, so as to realize the rapid transmission of data.
The data transmission speed in the cellular communication module is improved and the needs of dynamic antenna tuning is met.
Smart Images

Figure CN119946713A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a data transmission method, a transmission device, an electronic device and a storage medium. Background Art
[0002] In the relevant technical solutions, cellular third-generation mobile communication technology (3rd-Generation, 3G), long-term evolution of general mobile communication technology (Long Term Evolution, LTE), fifth-generation mobile communication technology (5th Generation Mobile Communication Technology, 5G), satellite communication, wireless network communication technology, Bluetooth, Global Positioning System (Global Positioning System, GPS) and other modules have become standard configurations of electronic devices.
[0003] With the continuous improvement of electronic devices, electronic devices are becoming thinner and thinner. Therefore, modules such as the third-generation mobile communication technology (3rd-Generation, 3G), long-term evolution of general mobile communication technology (Long Term Evolution, LTE), fifth-generation mobile communication technology (5th Generation Mobile Communication Technology, 5G), satellite communication, wireless network communication technology, Bluetooth, and global positioning system (Global Positioning System, GPS) will share radio frequency paths and antennas.
[0004] When dynamically tuning the antenna, the information that the cellular communication module needs to transmit changes rapidly and the amount of information is large. The existing interface type has a slow transmission speed and cannot meet the cellular communication module's demand for fast data transmission. Therefore, it cannot meet the needs of dynamic antenna tuning. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a data transmission method, a transmission device, an electronic device and a storage medium, which can solve the problem of the cellular communication module's demand for rapid data transmission.
[0006] In a first aspect, an embodiment of the present application provides a data transmission method, including: determining a data transmission frame, the data transmission frame including start flag information, target address information, read and write operation information, register address information and a first data structure, the first data structure including network selection information of a cellular communication module, working mode information of the cellular communication module and frequency band information of the cellular communication module; sending a data transmission frame.
[0007] In the second aspect, an embodiment of the present application provides a data transmission device, including: a determination module, used to determine a data transmission frame, the data transmission frame includes start flag information, target address information, read and write operation information, register address information and a first data structure; the first data structure includes network selection information of a cellular communication module, working mode information of the cellular communication module and frequency band information of the cellular communication module; a sending module, used to send a data transmission frame.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising: an antenna assembly, the antenna assembly comprising at least one antenna; a tuning assembly, the tuning assembly comprising 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 sub-module and a satellite communication sub-module and a sensor sub-module; a cellular communication module; a logic processing module, connected to the signal processing module and the cellular communication module, respectively, the cellular communication module communicating with the logic processing module using a data transmission method such as any one of the first aspect; wherein the logic processing module is used to determine control parameters according to first working status information of the signal processing module and second working status information of the cellular communication module, and control the tuner to operate according to the control parameters.
[0009] In a fourth aspect, an embodiment of the present application provides another electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0011] In a sixth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
[0012] In a seventh aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0013] In an embodiment of the present application, a data transmission method is proposed, in which a determined data transmission frame includes start flag information, target address information, read and write operation information, register address information and a first data structure, wherein the first data structure includes network selection information of a cellular communication module, working 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 of the cellular communication module, the working mode information of the cellular communication module and the frequency band information of the cellular communication module can be directly transmitted together. Compared with the existing interface type, the data transmission speed in the cellular communication module is improved, thereby meeting the needs of dynamic tuning of the antenna. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A schematic diagram showing a flow chart of a data transmission method provided in an embodiment of the present application is shown;
[0015] Figure 2 A schematic diagram of a data transmission frame proposed in an embodiment of the present application is shown;
[0016] Figure 3 A schematic diagram of a data transmission frame proposed in an embodiment of the present application is shown;
[0017] Figure 4 A schematic diagram of a data transmission frame proposed in an embodiment of the present application is shown;
[0018] Figure 5 A schematic block diagram of a data transmission device proposed in an embodiment of the present application is shown;
[0019] Figure 6 One of the topological schematic diagrams of the electronic device proposed in the embodiment of the present application is shown;
[0020] Figure 7 A second topological schematic diagram of an electronic device proposed in an embodiment of the present application is shown;
[0021] Figure 8 A schematic diagram showing the interaction of electronic device states proposed in an embodiment of the present application is shown;
[0022] Fig. 9 An interactive schematic diagram of the electronic device status output proposed in an embodiment of the present application is shown;
[0023] Fig.10 A schematic block diagram of a cellular communication module proposed in an embodiment of the present application is shown;
[0024] Fig.11 is a schematic block diagram of an electronic device in an embodiment of the present application;
[0025] Fig.12 It is a schematic diagram of the hardware structure of the electronic device in the embodiment of the present application.
[0026] in, Figure 6 and Figure 7 The corresponding relationship between the reference numerals and the component names is as follows:
[0027] 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 user identification card module, 614 application processing module. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly describe the embodiments in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0030] In conjunction with the accompanying drawings, the data transmission method, transmission device, electronic device and storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0031] In one embodiment, if Figure 1 , Figure 2 , Figure 3 and Figure 4 As shown, a data transmission method is proposed, comprising:
[0032] Step 102, determine a 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 network selection information of the cellular communication module, working mode information of the cellular communication module and frequency band information of the cellular communication module.
[0033] In some embodiments of the present application, the data transmission frame 200 can be understood as a data frame for data transmission, in which the start flag information 202 is used to indicate the start of sending cellular status information, that is, the first data structure, the target address information 204 indicates the identification information of the receiving device, the read and write operation information 206 can be a read and write bit, which is used to configure the read and write states so that subsequent data can be judged for consistency, and the register address information 208 is used to indicate the location where the cellular status information is stored.
[0034] 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, wherein 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.
[0035] Step 104: Send a data transmission frame.
[0036] In an embodiment of the present application, a data transmission method is proposed, in which a determined data transmission frame includes start flag information, target address information, read and write operation information, register address information and a first data structure, wherein the first data structure includes network selection information of a cellular communication module, working 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 of the cellular communication module, the working mode information of the cellular communication module and the frequency band information of the cellular communication module can be directly transmitted together. Compared with the existing interface type, the data transmission speed in the cellular communication module is improved, thereby meeting the needs of dynamic tuning of the antenna.
[0037] Specifically, in the data transmission scheme of the general-purpose input / output (GPIO), one IO can only send a certain state of a frequency band. If the network selection information, transceiver mode information and frequency band information need to be transmitted at the same time, several IO combinations are required to achieve it.
[0038] In the technical solution of the present invention, the network selection information of the cellular communication module, the working mode information of the cellular communication module and the frequency band information of the cellular communication module can be sent to the target module at one time, such as the logic processing module described below, so that the amount of information is greatly expanded, thereby meeting the needs of dynamic tuning of the antenna.
[0039] In some embodiments of the present application, the first data structure 210 further includes: reserved information Res, where the reserved information Res is information of reserved storage data.
[0040] In this embodiment, the reserved information Res is divided into the first data structure 210 to provide the possibility of rapid antenna tuning for the coexistence of subsequent complex communication modules.
[0041] Specifically, the set reserved information Res is used as information for reserving stored data and can be used according to the need of the cellular communication module to transmit data. Obviously, the setting of the reserved information can meet the control needs based on the cellular communication module in the future.
[0042] In some embodiments of the present application, the reserved information can be used for the interface provided by future new technologies to ensure that the data transmission method proposed in the present invention is compatible with the new technologies, thereby meeting the development needs of the new technologies.
[0043] In some embodiments of the present application, the start flag information 202, the target address information 204, the read / write operation information 206, the register address information 208 and the first data structure 210 are set in sequence, and the data transmission frame 200 also includes: a first check bit 212, located between the register address information 208 and the first data structure 210, and the first check bit 212 is used to check the start flag information 202, the target address information 204, the read / write operation information 206 and the register address information 208; and / or a second check bit 214, located after the first data structure 210, and the second check bit 214 is used to check the first data structure 210.
[0044] In this embodiment, the first check bit 212 is set so that the start flag information 202, the target address information 204, the read / write operation information 206, and the register address information 208 can be checked using the first check bit 212, so that before and after the data transmission frame 200 is transmitted, it can be determined whether there is an abnormality in the data transmission through the first check bit 212.
[0045] In this process, when the data transmission frame is abnormally transmitted, especially when the start flag information 202, the target address information 204, the read / write operation information 206, and the register address information 208 are abnormally transmitted, the abnormality can be discovered in time.
[0046] Similarly, a second check bit 214 is set so that the first data structure 210 can be checked using the second check bit 214. In this process, before and after the data transmission frame 200 is transmitted, the second check bit 214 can be used to determine whether there is an abnormality in the first data structure 210, and then if there is an abnormality, the abnormal data transmission frame can be processed.
[0047] In some embodiments of the present application, the first check bit and the second check bit are parity check bits.
[0048] Among them, parity bits are mostly used in error detection of computer hardware, and parity is usually used in data communication to ensure the validity of data.
[0049] In this embodiment, the use of parity bits can not only realize error detection, but also reduce the proportion of the data amount corresponding to the first check bit and the second check bit in the total data amount corresponding to the data transmission frame, so that the data transmission frame can transmit data to the greatest extent.
[0050] In some embodiments of the present application, the network selection information is used to store first data representing one of the following network modes: WCDMA, LTE, NR, NTN.
[0051] Among them, Wideband Code Division Multiple Access (W-CDMA) is a 3G cellular network.
[0052] Among them, Long Term Evolution (LTE) is the long-term evolution of the UMTS (Universal Mobile Telecommunications System) technical standard formulated by 3GPP (The 3rd Generation Partnership Project).
[0053] Among them, 5G New Radio (5GNR) is a global 5G standard with a brand-new air interface design based on orthogonal frequency division multiplexing (OFDM) technology.
[0054] Among them, Non Terrestrial Network (NTN) technology is one of the technical directions for mobile phones to directly connect to satellites.
[0055] In some embodiments of the present application, the working mode information of the cellular communication module is used to store second data representing one of the following modes: a sending mode, a receiving mode, and a transceiver mode.
[0056] In this embodiment, the second data may be used to indicate the working mode of the cellular communication module. During this process, the working state of the cellular communication module may be known by using the data transmission frame, thereby meeting the need for dynamic antenna tuning.
[0057] In some embodiments of the present 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.
[0058] Specifically, B1 / B2 / B5 / B8 / B39 / B40 / B41…, n1 / n41 / n78…, or ENDC:B3+n78 are respectively the frequency bands in which the cellular communication module may operate.
[0059] Among them, ENDC, the abbreviation of E-UTRAN New Radio-Dual Connectivity, refers to the technical solution of using 4G and 5G simultaneously in the 5G network.
[0060] In some embodiments of the present application, Figure 2 , Figure 3 As shown, 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, a first data structure 210, a first check bit 212, a second check bit 214 and a termination flag bit BPC.
[0061] The start flag information, namely the start flag bit, is used to indicate that the high-speed receiving end starts to send the cellular status information.
[0062] The target address information, also known as the target address, indicates the identification information of the receiving device that needs to be matched.
[0063] The read and write operation information, namely the read and write bit, is used to configure the read and write states respectively, which facilitates the subsequent judgment of data consistency.
[0064] The register address information, namely the register address, is used to indicate that the receiving end can save the cellular state information in a specified location.
[0065] Among them, the network selection information of the cellular communication module can select WCDMA / LTE / NR / NTN.
[0066] The working mode information of the cellular communication module can select Tx only / Rx only / TRx.
[0067] Among them, Tx only indicates the sending mode, Rx only indicates the receiving mode, and TRx indicates the transceiver mode.
[0068] The frequency band information of the cellular communication module can be selected from B1 / B2 / B5 / B8 / B39 / B40 / B41…, n1 / n41 / n78…, or ENDC:B3+n78.
[0069] Among them, B1, B2, B5, B8, B39, B40, B41, n1, n41, n78, B3 and n78 represent different frequency bands.
[0070] The data transmission method provided in the embodiment of the present application can be executed by a data transmission device. In the embodiment of the present application, a data transmission device executing the data transmission method is taken as an example to illustrate the data transmission device provided in the embodiment of the present application.
[0071] In some embodiments of the present application, Figure 5 As shown, a data transmission device 500 is provided, including: a determination module 502, used to determine a data transmission frame, the data transmission frame includes start flag information, target address information, read and write operation information, register address information and a first data structure; the first data structure includes network selection information of a cellular communication module, working mode information of the cellular communication module and frequency band information of the cellular communication module; a sending module 504, used to send a data transmission frame.
[0072] In an embodiment of the present application, a data transmission device 500 is proposed, wherein a determined data transmission frame includes start flag information, target address information, read / write operation information, register address information and a first data structure, wherein the first data structure includes network selection information of a cellular communication module, operating mode information of the cellular communication module and frequency band information of the cellular communication module. Therefore, in the case of sending a data transmission frame, 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 can be directly transmitted together, which improves the data transmission speed in the cellular communication module compared to the existing interface type, thereby meeting the needs of dynamic tuning of the antenna.
[0073] In some embodiments of the present application, the first data structure further includes: reservation information, which is information for reserving storage data.
[0074] In some embodiments of the present application, the start flag information, the target address information, the read / write operation information, the register address information and the first data structure are arranged in sequence, and the data transmission frame further includes: a first check bit, located between the register address information and the first data structure, and the first check bit is used to check the start flag information, the target address information, the read / write operation information and the register address information; and / or a second check bit, located after the first data structure, and the second check bit is used to check the first data structure.
[0075] In some embodiments of the present application, the first check bit and the second check bit are parity check bits.
[0076] In some embodiments of the present 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.
[0077] In some embodiments of the present application, the working mode information of the cellular communication module is used to store second data representing one of the following modes: a sending mode, a receiving mode, and a transceiver mode.
[0078] The data transmission device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0079] The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0080] The data transmission device provided in the embodiment of the present application can achieve Figure 1 The various processes implemented by the data transmission method embodiment can achieve the same technical effect. To avoid repetition, they will not be described here.
[0081] like Figure 6As shown, an embodiment of the present application provides an electronic device 600, including: an antenna component 602, the antenna component 602 includes at least one antenna ANT; a tuning component 604, the tuning component 604 includes at least one tuner 6042, each tuner 6042 is connected to the corresponding antenna ANT; a signal processing module 606, the signal processing module 606 includes at least one of a short-range communication sub-module 6062 and a satellite communication sub-module 6064 and a sensor sub-module 6066; a cellular communication module 608; a logic processing module 610, which is respectively connected to the signal processing module 606 and the cellular communication module 608, and the cellular communication module 608 communicates with the logic processing module 610 using a data transmission method such as any one of the first aspects; wherein the logic processing module 610 is used to determine control parameters according to the first working state information of the signal processing module 606 and the second working state information of the cellular communication module 608, and control the tuner 6042 to operate according to the control parameters.
[0082] In this embodiment, the second working status information of the cellular communication module 608 can be transmitted using a data transmission method such as any one of the first aspects, so that the logic processing module 610 is used to determine control parameters based on the first working status information of the signal processing module 606 and the second working status information of the cellular communication module 608, and control the tuner 6042 to operate according to the control parameters.
[0083] In this process, when performing antenna ANT tuning, it is necessary to comprehensively consider the performance and requirements of multiple modules, perform system optimization, and achieve the optimal configuration of antenna ANT tuning.
[0084] In the relevant technical solutions, in the scenario where multiple modules coexist, the dynamic tuning of the antenna ANT needs to be verified in a complex, detailed and targeted manner. For example, the control between multiple modules is complex, different modules interfere with each other, and the integration requirements are also high, that is, there are problems of complexity, space limitations and mutual interference.
[0085] Specifically, with respect to complexity, tuning multiple antenna ANT modules requires independent tuning of each module, increasing system complexity and cost.
[0086] Regarding space limitations, in some cases, tuning multiple antenna ANT modules may become difficult due to space limitations, especially in small devices or highly integrated systems.
[0087] Regarding mutual interference, antenna ANT tuning between multiple modules needs to ensure that they do not interfere with each other, otherwise it will cause signal quality degradation or even communication interruption.
[0088] Therefore, when tuning the antenna ANT, it is necessary to comprehensively consider the performance and requirements of multiple modules and perform system optimization. For example, the cellular communication subsystem has very strict timing requirements, and the timing requirements of the short-range communication subsystem and satellite navigation subsystem are different from those of the cellular communication subsystem. It is necessary to perform aggregate judgment through independent modules and then output the optimal configuration for antenna ANT tuning.
[0089] In the embodiment of the present application, since the data transmission method proposed in the first aspect is used to transmit the second working state information of the cellular communication module 608, the second working state information of the cellular communication module 608 can be quickly transmitted. Therefore, it is possible to comprehensively consider the performance and requirements of multiple modules, perform system optimization, and achieve the optimal configuration of antenna ANT tuning.
[0090] Specifically, according to the known communication module types, the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0091] However, the above interface types cannot meet the high-speed switching requirements of the cellular communication module 608. The specific comparison is as follows:
[0092] Interface Type advantage shortcoming I2C Simple architecture Slow speed mipi Faster speed and simple structure Susceptible to interference GPIO Simple structure, not easy to be disturbed Limited number of interfaces SPI Fast speed Modules are susceptible to interference UART Fast speed Poor scalability and limited stability
[0093] As can be seen above, not all interfaces are suitable for signal synchronization, and not all module signals are suitable for the same interface type.
[0094] Among them, the Global Navigation Satellite System (GNSS) includes one or more satellite constellations and their augmentation systems required to support specific tasks.
[0095] Among them, Wideband Coherent Neural Networks (WCN) is a neural network used to process wireless communications.
[0096] like Figure 7 As shown, the cellular communication standard, frequency band, TRx status, etc. change rapidly and have a large amount of information, which cannot be transmitted through I2C, GPIO and other communication types. A new private standard is proposed here to transmit the information at high speed, that is, to use the data transmission method proposed in this application for transmission.
[0097] Specifically, when the Mobile Industry Processor Interface (MIPI) is used to transmit the cellular communication standard, frequency band, and TRx status, it is necessary to parse the mipidata and infer the frequency band based on the data, which consumes dozens of additional us.
[0098] In an embodiment of the present application, the standard, frequency band, and TRx status of the cellular communication can be directly sent to the logic processing module 610, so that the logic processing module 610 can store them in the coexistence chip for combining the status of other modules to perform logic state judgment. Since the standard, frequency band, and TRx status of the cellular communication can be directly transmitted using the data transmission frame without the need for reverse deduction, the communication speed is faster.
[0099] In some embodiments of the present application, the electronic device 600 also includes: a user identification card module 612; an application processing module 614, the application processing module 614 is connected to the user identification card module 612, the sensor sub-module 6066 and the logic processing module 610 respectively, and the logic processing module 610 is connected to the sensor sub-module 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; determine control parameters according to the first working state information of the signal processing module 606 and the second working state information of the cellular communication module 608, specifically including: filtering from the first configuration relationship table according to the frequency band set to obtain a second configuration relationship table; determining the control parameters from the second configuration relationship table according to the first working state information of the signal processing module 606 and the second working state information of the cellular communication module 608; wherein the first configuration relationship table includes the corresponding relationship between the working state 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 the user identification card information, and then determine the frequency band set of the electronic device 600 based on the user identification card information, so as to obtain the second configuration relationship table from the first configuration relationship table based on the frequency band set. In this process, a configuration relationship table suitable for the frequency band set of the electronic device 600 can be filtered out from the first configuration relationship table, that is, the second configuration relationship table, and then when determining the control parameters, the search range can be narrowed and the time required to search the control parameters can be reduced.
[0101] In some embodiments of the present application, the logic processing module 610 is also used to: send the first working status information of the signal processing module 606 and the second working 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 working status information of the signal processing module 606 and the second working 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 is used to verify the first working status information of the signal processing module 606 and the second working status information of the cellular communication module 608 to determine whether the first working status information of the signal processing module 606 and the second working status information of the cellular communication module 608 received by the logic processing module 610 are abnormal.
[0103] In this process, when an abnormality exists in the logic processing module 610 , the abnormality of the logic processing module 610 can be diagnosed in time, thereby improving the reliability of the electronic device 600 .
[0104] In some embodiments of the present application, the logic processing module 610 also includes a first storage bit, and the logic processing module 610 is further used to: when the first storage bit is empty or the application processing module 614 stores an updated first configuration relationship table, start the download mode; wherein, when the download mode is turned on, the logic processing module 610 obtains the first configuration relationship table from the application processing module 614; wherein, when the first storage bit 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 may autonomously download the first configuration relationship table according to the first storage bit and whether an updated configuration relationship table exists, thereby autonomously updating the first configuration relationship table.
[0106] Exemplarily, the electronic device 600 is mainly divided into five stages, namely:
[0107] In the first stage, i.e., the first step, the electronic device 600 is turned on, the logic processing module 610 is powered on, and enters the self-test mode, scans the connection status of the tuners of each front-end antenna connected to the logic processing module 610, ensures that the tuner is connected, informs the logic processing module 610 of readiness through the communication structure, and self-checks whether the internal storage unit calls the logic judgment table, i.e., the first configuration relationship table, from the application processing module 614. If the storage bit of the logic judgment table is empty or the application processing module 614 has a newer version of the logic state table, the download mode is turned on to download the logic state table from the application processing module 614.
[0108] In the second stage, i.e. the 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 the electronic device 600, and comparing it with the configuration table built into the front-end antenna coexistence integrated chip to confirm how many logic states can be configured.
[0109] Exemplarily, there are several corresponding output mipi control codes according to the input state:
[0110]
[0111]
[0112] In the third stage, namely the third step, the logic processing module 610 calls the default state and sends a default control code to the corresponding tuner to ensure that the basic operation is normal.
[0113] The logic processing module 610 scans the input information of each module in the input register unit in real time. If the status of any module changes, the control code required for the corresponding configuration of the tuner of the front-end antenna to be configured is determined based on the latest status combination and sent immediately.
[0114] Among them, Figure 8 and Fig. 9 As shown, the input information includes the following modules connected to the logic processing module 610: a sensor submodule 6066 , a cellular communication module 608 , a short-range communication submodule 6062 (including WiFi communication and BT communication submodules), and a satellite communication submodule 6064 .
[0115] Among them, WiFi is also known as mobile hotspot, and BT is also known as bluetooth, which is a short-range wireless communication technology called Bluetooth.
[0116] Among them, the satellite radio navigation service (Radio Navigation Satellite Service, RNSS), BD application (Application, APP), that is, BD APP is an application used to enable or disable the satellite radio navigation service.
[0117] In the fourth stage, i.e. 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 smoothly stored in the register of the logic processing module 610 according to the input time.
[0118] According to the status of the above modules, it is transmitted back to the cellular communication module 608 through the private flag path, and then uploaded to the application processing module 614 through the module as a basis for judging whether the input signal is abnormal.
[0119] The fifth stage, or the fifth step, is to output the corresponding front-end antenna tuning value through an internal table lookup method based on the information of each sub-module stored in the input cache of the logic processing module 610, and send it to the tuner of the front-end antenna in the mipi format.
[0120] In some embodiments of the present application, the logic processing module 610 is integrated into the cellular communication module 608 .
[0121] Specifically, Fig.10 As shown, the cellular communication module 608 includes a modem module, and the logic processing module 610 is integrated in the modem module.
[0122] 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.
[0123] In addition, based on the second working state information of the cellular communication module 608 , as the first working state information of the signal processing module 606 is updated, the tuning state of the antenna ANT can be adjusted in real time to optimize the performance of the electronic device 600 .
[0124] Among them, the Radio Frequency Front-End (RFFE) is the core component of the wireless communication module.
[0125] like Fig.11As shown, an embodiment of the present application also provides an electronic device 1100, including a processor 1102 and a memory 1104, wherein the memory 1104 stores programs or instructions that can be executed on the processor 1102, and when the program or instructions are executed by the processor 1102, the various steps of the above-mentioned data transmission method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0126] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0127] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0128] like Fig.12 As shown, the electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210 and other components.
[0129] Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1210 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0130] In some embodiments of the present application, the processor 1210 is used to determine a data transmission frame, the data transmission frame includes start flag information, target address information, read and write operation information, register address information and a first data structure, the first data structure includes network selection information of the cellular communication module, working mode information of the cellular communication module and frequency band information of the cellular communication module; and send a data transmission frame.
[0131] In some embodiments of the present application, the first data structure further includes: reservation information, which is information for reserving storage data.
[0132] In some embodiments of the present application, the start flag information, the target address information, the read / write operation information, the register address information and the first data structure are arranged in sequence, and the data transmission frame further includes: a first check bit, located between the register address information and the first data structure, and the first check bit is used to check the start flag information, the target address information, the read / write operation information and the register address information; and / or a second check bit, located after the first data structure, and the second check bit is used to check the first data structure.
[0133] In some embodiments of the present application, the first check bit and the second check bit are parity check bits.
[0134] In some embodiments of the present 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.
[0135] In some embodiments of the present application, the working mode information of the cellular communication module is used to store second data representing one of the following modes: a sending mode, a receiving mode, and a transceiver mode.
[0136] It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 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 two parts: a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0137] The memory 1209 can be used to store software programs and various data. The memory 1209 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1209 may include a volatile memory or a non-volatile memory, or the memory 1209 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1209 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0138] The processor 1210 may include one or more processing units; optionally, the processor 1210 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1210.
[0139] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned data transmission method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0140] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0141] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data transmission method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0142] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0143] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned data transmission method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0144] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "including one" do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0145] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the embodiments of the present application are essentially or partly contributed to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0146] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A data transmission method, characterized in that: include: 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, wherein the first data structure includes network selection information of a cellular communication module, working mode information of the cellular communication module, and frequency band information of the cellular communication module; The data transmission frame is sent.
2. The data transmission method according to claim 1, characterized in that: The first data structure also includes: The reserved information is information for reserving storage data.
3. The data transmission method according to claim 1, characterized in that: The start flag information, the target address information, the read / write operation information, the register address information and the first data structure are sequentially arranged, and the data transmission frame further includes: A first check bit is located between the register address information and the first data structure, and the first check bit is used to check the start flag information, the target address information, the read / write operation information and the register address information; and / or A second check bit is located after the first data structure, and the second check bit is used to check the first data structure.
4. The data transmission method according to claim 3, characterized in that: 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, characterized in that: 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, characterized in that: The working 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 device, characterized in that: include: A determination module, 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 a cellular communication module, working mode information of the cellular communication module and frequency band information of the cellular communication module; The sending module is used to send the data transmission frame.
8. An electronic device, characterized in that: include: an antenna assembly, the antenna assembly comprising at least one antenna; A tuning component, the tuning component comprising at least one tuner, each of the tuners 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, connected to the signal processing module and the cellular communication module respectively, wherein the cellular communication module communicates with the logic processing module using the data transmission method according to any one of claims 1 to 6; The logic processing module is used to determine control parameters according to the first working state information of the signal processing module and the second working state information of the cellular communication module, and control the tuner to operate according to the control parameters.
9. The electronic device according to claim 8, characterized in that: The electronic device further comprises: User identification card module; An application processing module, wherein the application processing module is connected to the user identification card module, the sensor submodule and the logic processing module respectively, and the logic processing module is connected to the sensor submodule through the application processing module; The logic processing module is also used for: Receiving the user identification card information sent by the user identification card module through the application processing module; Determine a frequency band set based on the user identification card information; The determining of the control parameter according to the first working state information of the signal processing module and the second working state information of the cellular communication module specifically includes: Filtering the first configuration relationship table according to the frequency band set to obtain a second configuration relationship table; Determine a control parameter from the second configuration relationship table according to the first working state information of the signal processing module and the second working state information of the cellular communication module; The first configuration relationship table includes the corresponding relationship between the working state information of the signal processing module and the control parameters under different frequency bands.
10. The electronic device according to claim 9, characterized in that: The logic processing module is also used for: The first working status information of the signal processing module and the second working status information of the cellular communication module are sent to the cellular communication module so that the cellular communication module can send the first working status information of the signal processing module and the second working status information of the cellular communication module to the application processing module so that the application processing module can verify it.
11. The electronic device according to claim 9, characterized in that: The logic processing module further includes a first storage bit, and the logic processing module is further configured to: When the first storage location is empty or the application processing module stores an updated first configuration relationship table, starting the download mode; Wherein, when the download mode is turned on, the logic processing module obtains the first configuration relationship table from the application processing module; Wherein, when 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, characterized in that: The logic processing module is integrated into the cellular communication module.
13. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data transmission method according to any one of claims 1 to 6 are implemented.
14. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the data transmission method according to any one of claims 1 to 6 are implemented.